22 instantiations of ManagedInstructionId
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
20=> new(ToContract(id.Method), id.ILOffset);
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)); 168new ManagedInstructionId(
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)
955new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1), 1640new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1), 2634new ManagedInstructionId(new ManagedMethodId(mvidA, token: 0x06000001, version: 1), ilOffset: 1), 2639new ManagedInstructionId(new ManagedMethodId(mvidB, token: 0x06000001, version: 1), ilOffset: 1), 3123var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 3360new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 0), 4533var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 4534var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1); 4609var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 4610var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1); 4666new ManagedInstructionId(new ManagedMethodId(Guid.Empty, token: 0x06000001, version: 1), ilOffset: 0),
EditAndContinue\EditSessionActiveStatementsTests.cs (3)
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),
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
98var instructionId1 = new ManagedInstructionId(methodId1, ilOffset: 10);
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
20=> new(ToContract(id.Method), id.ILOffset);
25 references to ManagedInstructionId
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
19public static InternalContracts.ManagedInstructionId ToContract(this ManagedInstructionId id)
Microsoft.CodeAnalysis.Features (17)
Contracts\EditAndContinue\ManagedActiveStatementDebugInfo.cs (2)
20ManagedInstructionId activeInstruction, 30public ManagedInstructionId ActiveInstruction { get; } = activeInstruction;
Contracts\EditAndContinue\ManagedInstructionId.cs (7)
24int ilOffset) : IEquatable<ManagedInstructionId> 39public bool Equals(ManagedInstructionId other) 44public override bool Equals(object? obj) => obj is ManagedInstructionId instr && Equals(instr); 51public static bool operator ==(ManagedInstructionId left, ManagedInstructionId right) => left.Equals(right); 53public static bool operator !=(ManagedInstructionId left, ManagedInstructionId right) => !(left == right);
EditAndContinue\ActiveStatement.cs (2)
28public readonly ManagedInstructionId InstructionId; 40public ActiveStatement(ActiveStatementId id, ActiveStatementFlags flags, SourceFileSpan span, ManagedInstructionId instructionId)
EditAndContinue\ActiveStatementsMap.cs (5)
23ImmutableDictionary<ManagedInstructionId, ActiveStatement>.Empty); 40public readonly IReadOnlyDictionary<ManagedInstructionId, ActiveStatement> InstructionMap; 49IReadOnlyDictionary<ManagedInstructionId, ActiveStatement> instructionMap) 101using var _2 = PooledDictionary<ManagedInstructionId, ActiveStatement>.GetInstance(out var byInstruction); 143var instructionId = activeStatementInfo.ActiveInstruction;
EditAndContinue\EditSession.cs (1)
1500var instructionId = newActiveStatement.InstructionId;
Microsoft.CodeAnalysis.Features.UnitTests (6)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
3123var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 4533var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 4534var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1); 4609var activeInstruction1 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000001, version: 1), ilOffset: 1); 4610var activeInstruction2 = new ManagedInstructionId(new ManagedMethodId(moduleId, token: 0x06000002, version: 1), ilOffset: 1);
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
98var instructionId1 = new ManagedInstructionId(methodId1, ilOffset: 10);
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
19public static InternalContracts.ManagedInstructionId ToContract(this ManagedInstructionId id)