-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a temporary shim to get strongly typed capabilities that will be …
…removed in future when the debugger API changes.
- Loading branch information
1 parent
393b4d7
commit 18bfbbe
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...s/Core/Portable/EditAndContinue/ManagedEditAndContinueDebuggerServiceExtensions_REMOVE.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | ||
} | ||
} | ||
} |