23 references to new
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
21
=>
new
(id.Module, id.Token, id.Version);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
49
instructionMap: OldStatements.ToDictionary(s => new ManagedInstructionId(new
ManagedMethodId
(Guid.NewGuid(), 0x060000001, version: 1), ilOffset: 0), s => s.Statement));
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)
433
new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 1),
1110
new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 1),
1988
new ManagedInstructionId(new
ManagedMethodId
(mvidA, token: 0x06000001, version: 1), ilOffset: 1),
1993
new ManagedInstructionId(new
ManagedMethodId
(mvidB, token: 0x06000001, version: 1), ilOffset: 1),
2478
var activeInstruction1 = new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 1);
2715
new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 0),
3894
var activeInstruction1 = new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 1);
3895
var activeInstruction2 = new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000002, version: 1), ilOffset: 1);
3970
var activeInstruction1 = new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000001, version: 1), ilOffset: 1);
3971
var activeInstruction2 = new ManagedInstructionId(new
ManagedMethodId
(moduleId, token: 0x06000002, version: 1), ilOffset: 1);
4027
new ManagedInstructionId(new
ManagedMethodId
(Guid.Empty, token: 0x06000001, version: 1), ilOffset: 0),
EditAndContinue\EditSessionActiveStatementsTests.cs (5)
156
new ManagedInstructionId(new
ManagedMethodId
(module: Guid.NewGuid(), token: 0x06000005, version: 1), ilOffset: 10),
164
new ManagedInstructionId(new
ManagedMethodId
(module: module3, token: 0x06000005, version: 1), ilOffset: 10),
173
new 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)
94
var 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);