21 instantiations of ManagedActiveStatementDebugInfo
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
17=> 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)
947new ManagedActiveStatementDebugInfo( 1632new ManagedActiveStatementDebugInfo( 2626new ManagedActiveStatementDebugInfo( 2631new ManagedActiveStatementDebugInfo( 3121new ManagedActiveStatementDebugInfo( 3352var activeStatements = ImmutableArray.Create(new ManagedActiveStatementDebugInfo( 4530new ManagedActiveStatementDebugInfo( 4535new ManagedActiveStatementDebugInfo( 4606new ManagedActiveStatementDebugInfo( 4611new ManagedActiveStatementDebugInfo( 4658new ManagedActiveStatementDebugInfo(
EditAndContinue\EditSessionActiveStatementsTests.cs (3)
154new ManagedActiveStatementDebugInfo( 162new ManagedActiveStatementDebugInfo( 171new ManagedActiveStatementDebugInfo(
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
100var as1 = new ManagedActiveStatementDebugInfo(
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
17=> 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)
16public static InternalContracts.ManagedActiveStatementDebugInfo ToContract(this ManagedActiveStatementDebugInfo info)
EditAndContinue\Contracts\ManagedHotReloadServiceBridge.cs (1)
16public 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()); 127private 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)
194ImmutableArray<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)
100var as1 = new ManagedActiveStatementDebugInfo( 163var 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.CodeAnalysis.Remote.Workspaces (1)
EditAndContinue\ManagedHotReloadServiceProxy.cs (1)
19public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices.DevKit (2)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
16public static InternalContracts.ManagedActiveStatementDebugInfo ToContract(this ManagedActiveStatementDebugInfo info)
src\EditorFeatures\Core\EditAndContinue\Contracts\ManagedHotReloadServiceBridge.cs (1)
16public async ValueTask<ImmutableArray<InternalContracts.ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(CancellationToken cancellation)