Skip to content

Commit

Permalink
Add a temporary shim to get strongly typed capabilities that will be …
Browse files Browse the repository at this point in the history
…removed in future when the debugger API changes.
  • Loading branch information
davidwengier committed Apr 14, 2021
1 parent 393b4d7 commit 18bfbbe
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Debugger.Contracts.EditAndContinue;

namespace Microsoft.CodeAnalysis.EditAndContinue
{
internal static class ManagedEditAndContinueDebuggerServiceExtensions_REMOVE
{
/// <summary>
/// This will be removed when IManagedEditAndContinueDebuggerService gets the method for real
/// </summary>
public static ValueTask<string> GetCapabilitiesAsync(this IManagedEditAndContinueDebuggerService _1, CancellationToken _2)
{
return new ValueTask<string>("Baseline");
}
}
}

0 comments on commit 18bfbbe

Please sign in to comment.