15 references to new
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
24=> new(id.StartLine, id.StartColumn, id.EndLine, id.EndColumn);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
EditAndContinue\EditorManagedHotReloadLanguageServiceTests.cs (4)
430activeStatements: [new ManagedActiveStatementUpdate(methodId, ilOffset: 1, new(1, 2, 3, 4))], 431exceptionRegions: [new ManagedExceptionRegionUpdate(methodId, delta: 1, new(10, 20, 30, 40))]) 463Assert.Equal(new(1, 2, 3, 4), activeStatement.NewSpan); 469Assert.Equal(new(10, 20, 30, 40), exceptionRegion.NewSpan);
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\Utilities\Extensions.cs (1)
36=> new(span.Start.Line, span.Start.Character, span.End.Line, span.End.Character);
Microsoft.CodeAnalysis.Features.UnitTests (8)
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 (2)
3582sourceSpan: new SourceSpan(0, 15, 0, 16), 4894sourceSpan: new SourceSpan(0, 1, 0, 2),
EditAndContinue\EditSessionActiveStatementsTests.cs (2)
165new SourceSpan(1, 1, 1, 10), 174new SourceSpan(2, 1, 2, 10),
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
115newSpan: new SourceSpan(1, 2, 1, 5));
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
24=> new(id.StartLine, id.StartColumn, id.EndLine, id.EndColumn);