25 instantiations of ManagedMethodId
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
21=> new(id.Module, id.Token, id.Version);
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
611group region.Region by new ManagedMethodId(moduleRegions.ModuleId, region.Method));
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\ActiveStatementsDescription.cs (2)
49instructionMap: OldStatements.ToDictionary(s => new ManagedInstructionId(new ManagedMethodId(Guid.NewGuid(), 0x060000001, version: 1), ilOffset: 0), s => s.Statement)); 169new ManagedMethodId(
Microsoft.CodeAnalysis.Features.UnitTests (20)
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)
433new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1), 1110new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1), 1988new ManagedInstructionId(new ManagedMethodId(mvidA, token: 0x06000001, version: 1), ilOffset: 1), 1993new ManagedInstructionId(new ManagedMethodId(mvidB, token: 0x06000001, version: 1), ilOffset: 1), 2478var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 2715new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 0), 3894var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 3895var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1); 3970var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 3971var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1); 4027new ManagedInstructionId(new ManagedMethodId(Guid.Empty, token: 0x06000001, version: 1), ilOffset: 0),
EditAndContinue\EditSessionActiveStatementsTests.cs (5)
156new ManagedInstructionId(new ManagedMethodId(module: Guid.NewGuid(), token: 0x06000005, version: 1), ilOffset: 10), 164new ManagedInstructionId(new ManagedMethodId(module: module3, token: 0x06000005, version: 1), ilOffset: 10), 173new ManagedInstructionId(new ManagedMethodId(module: module4, token: 0x06000005, version: 1), ilOffset: 10), 513{ new ManagedMethodId(module1, 0x06000003, 1), ImmutableArray.Create( 519{ new ManagedMethodId(module1, 0x06000004, 1), ImmutableArray.Create(
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
94var methodId1 = new ManagedMethodId(moduleId1, token: 0x06000003, version: 2);
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
21=> new(id.Module, id.Token, id.Version);
32 references to ManagedMethodId
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
20public static InternalContracts.ManagedMethodId ToContract(this ManagedMethodId id)
Microsoft.CodeAnalysis.Features (18)
Contracts\EditAndContinue\ManagedInstructionId.cs (2)
23ManagedMethodId method, 31public ManagedMethodId Method { get; } = method;
Contracts\EditAndContinue\ManagedMethodId.cs (7)
24ManagedModuleMethodId method) : IEquatable<ManagedMethodId> 47public bool Equals(ManagedMethodId other) 52public override bool Equals(object? obj) => obj is ManagedMethodId method && Equals(method); 59public static bool operator ==(ManagedMethodId left, ManagedMethodId right) => left.Equals(right); 61public static bool operator !=(ManagedMethodId left, ManagedMethodId right) => !(left == right);
Contracts\EditAndContinue\ManagedModuleMethodId.cs (1)
14/// See <see cref="ManagedMethodId"/> for more details.
EditAndContinue\ActiveStatementsMap.cs (2)
61ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> remapping) 127private static bool TryGetUpToDateSpan(ManagedActiveStatementDebugInfo activeStatementInfo, ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> remapping, out LinePositionSpan newSpan)
EditAndContinue\DebuggingSession.cs (3)
154nonRemappableRegions: ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty, 241internal void RestartEditSession(ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>? nonRemappableRegions, bool? inBreakState) 599ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>? newNonRemappableRegions = null;
EditAndContinue\EditSession.cs (3)
63internal readonly ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> NonRemappableRegions; 90ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> nonRemappableRegions, 1306ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> previousNonRemappableRegions,
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\ActiveStatementTestHelpers.cs (1)
107public static IEnumerable<string> InspectNonRemappableRegions(ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> regions)
Microsoft.CodeAnalysis.Features.UnitTests (11)
EditAndContinue\ActiveStatementsMapTests.cs (5)
143var map = ActiveStatementsMap.Create(debugInfos, remapping: ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty); 195var map = ActiveStatementsMap.Create(debugInfos, remapping: ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty); 249var remapping = ImmutableDictionary.CreateBuilder<ManagedMethodId, ImmutableArray<NonRemappableRegion>>(); 310var remapping = ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty.Add( 350var remapping = ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty.Add(
EditAndContinue\EditSessionActiveStatementsTests.cs (5)
36ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>> nonRemappableRegions = null, 64debuggingSession.RestartEditSession(nonRemappableRegions ?? ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty, inBreakState: true); 277previousNonRemappableRegions: ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty, 390previousNonRemappableRegions: ImmutableDictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>.Empty, 511var initialNonRemappableRegions = new Dictionary<ManagedMethodId, ImmutableArray<NonRemappableRegion>>
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
94var methodId1 = new ManagedMethodId(moduleId1, token: 0x06000003, version: 2);
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
20public static InternalContracts.ManagedMethodId ToContract(this ManagedMethodId id)