21 instantiations of ManagedActiveStatementDebugInfo
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
15=> new(ToContract(info.ActiveInstruction), info.DocumentName, ToContract(info.SourceSpan), (InternalContracts.ActiveStatementFlags)info.Flags);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
167new ManagedActiveStatementDebugInfo(
Microsoft.CodeAnalysis.Features.UnitTests (18)
EditAndContinue\ActiveStatementsMapTests.cs (3)
131=> new(new(new(moduleId, token++, version: 1), ilOffset: 0), fileName, new SourceSpan(startLine, startColumn, endLine, endColumn), ActiveStatementFlags.MethodUpToDate); 188=> new(new(new(moduleId, token++, version: 1), ilOffset: 0), fileName, new SourceSpan(startLine, startColumn, endLine, endColumn), ActiveStatementFlags.MethodUpToDate); 241=> new(new(new(moduleId, token++, version: 1), ilOffset: 0), "a.cs", new SourceSpan(startLine, startColumn, endLine, endColumn), ActiveStatementFlags.NonLeafFrame);
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (11)
1022new ManagedActiveStatementDebugInfo( 1767new ManagedActiveStatementDebugInfo( 2784new ManagedActiveStatementDebugInfo( 2789new ManagedActiveStatementDebugInfo( 3348new ManagedActiveStatementDebugInfo( 3579var activeStatements = ImmutableArray.Create(new ManagedActiveStatementDebugInfo( 4763new ManagedActiveStatementDebugInfo( 4768new ManagedActiveStatementDebugInfo( 4839new ManagedActiveStatementDebugInfo( 4844new ManagedActiveStatementDebugInfo( 4891new ManagedActiveStatementDebugInfo(
EditAndContinue\EditSessionActiveStatementsTests.cs (3)
154new ManagedActiveStatementDebugInfo( 162new ManagedActiveStatementDebugInfo( 171new ManagedActiveStatementDebugInfo(
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
104var as1 = new ManagedActiveStatementDebugInfo(
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
15=> new(ToContract(info.ActiveInstruction), info.DocumentName, ToContract(info.SourceSpan), (InternalContracts.ActiveStatementFlags)info.Flags);
34 references to ManagedActiveStatementDebugInfo
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\Contracts\ContractWrappers.cs (1)
14public static InternalContracts.ManagedActiveStatementDebugInfo ToContract(this ManagedActiveStatementDebugInfo info)
EditAndContinue\ManagedHotReloadServiceProxy.cs (1)
28public async ValueTask<ImmutableArray<InternalContracts.ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken)
Microsoft.CodeAnalysis.ExternalAccess.Debugger (1)
GlassTestsHotReloadService.cs (1)
21public async ValueTask<ImmutableArray<InternalContracts.ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellation)
Microsoft.CodeAnalysis.ExternalAccess.HotReload (2)
Api\HotReloadService.cs (2)
21public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken) 22=> ValueTask.FromResult(ImmutableArray<ManagedActiveStatementDebugInfo>.Empty);
Microsoft.CodeAnalysis.Features (15)
Contracts\EditAndContinue\IManagedHotReloadService.cs (3)
25/// Returns all the active statements in the session. Each <see cref="ManagedActiveStatementDebugInfo"/> has an unique <see cref="ManagedActiveStatementDebugInfo.ActiveInstruction"/>. 28ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellation);
EditAndContinue\ActiveStatementsMap.cs (7)
28private static readonly Comparer<(ManagedActiveStatementDebugInfo, SourceFileSpan, ActiveStatementId)> s_infoSpanComparer = 29Comparer<(ManagedActiveStatementDebugInfo, SourceFileSpan span, ActiveStatementId)>.Create((x, y) => x.span.Start.CompareTo(y.span.Start)); 60ImmutableArray<ManagedActiveStatementDebugInfo> debugInfos, 63using var _1 = PooledDictionary<string, ArrayBuilder<(ManagedActiveStatementDebugInfo info, SourceFileSpan span, ActiveStatementId id)>>.GetInstance(out var updatedSpansByDocumentPath); 66foreach (var debugInfo in debugInfos) 82updatedSpansByDocumentPath.Add(documentName, documentInfos = ArrayBuilder<(ManagedActiveStatementDebugInfo, SourceFileSpan, ActiveStatementId)>.GetInstance()); 121private static bool TryGetUpToDateSpan(ManagedActiveStatementDebugInfo activeStatementInfo, ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> remapping, out LinePositionSpan newSpan)
EditAndContinue\Remote\IRemoteEditAndContinueService.cs (1)
20ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(RemoteServiceCallbackId callbackId, CancellationToken cancellationToken);
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (2)
38public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(RemoteServiceCallbackId callbackId, CancellationToken cancellationToken) 68public async ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken)
ExternalAccess\UnitTesting\API\UnitTestingHotReloadService.cs (2)
22public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken) 23=> ValueTask.FromResult(ImmutableArray<ManagedActiveStatementDebugInfo>.Empty);
Microsoft.CodeAnalysis.Features.Test.Utilities (5)
EditAndContinue\ActiveStatementsDescription.cs (1)
157internal static ImmutableArray<ManagedActiveStatementDebugInfo> GetActiveStatementDebugInfos(
EditAndContinue\ActiveStatementTestHelpers.cs (1)
19public static ImmutableArray<ManagedActiveStatementDebugInfo> GetActiveStatementDebugInfosCSharp(
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
195ImmutableArray<ManagedActiveStatementDebugInfo> activeStatements = default)
EditAndContinue\MockManagedEditAndContinueDebuggerService.cs (2)
19public Func<ImmutableArray<ManagedActiveStatementDebugInfo>>? GetActiveStatementsImpl; 22public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features.UnitTests (6)
EditAndContinue\ActiveStatementsMapTests.cs (3)
130ManagedActiveStatementDebugInfo CreateInfo(int startLine, int startColumn, int endLine, int endColumn, string fileName) 187ManagedActiveStatementDebugInfo CreateInfo(int startLine, int startColumn, int endLine, int endColumn, string fileName) 240ManagedActiveStatementDebugInfo CreateInfo(int startLine, int startColumn, int endLine, int endColumn)
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
35ImmutableArray<ManagedActiveStatementDebugInfo> activeStatements,
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
104var as1 = new ManagedActiveStatementDebugInfo( 167var activeStatement = (await remoteDebuggeeModuleMetadataProvider!.GetActiveStatementsAsync(CancellationToken.None)).Single();
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\EditAndContinue\RemoteEditAndContinueService.cs (1)
38ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> IManagedHotReloadService.GetActiveStatementsAsync(CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices.DevKit (2)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
14public static InternalContracts.ManagedActiveStatementDebugInfo ToContract(this ManagedActiveStatementDebugInfo info)
src\EditorFeatures\Core\EditAndContinue\ManagedHotReloadServiceProxy.cs (1)
28public async ValueTask<ImmutableArray<InternalContracts.ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken)