13 instantiations of SourceSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
26=> new(id.StartLine, id.StartColumn, id.EndLine, id.EndColumn);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (2)
279activeStatements: [new ManagedActiveStatementUpdate(methodId, ilOffset: 1, new(1, 2, 3, 4))], 280exceptionRegions: [new ManagedExceptionRegionUpdate(methodId, delta: 1, new(10, 20, 30, 40))])
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\Utilities\Extensions.cs (1)
35=> 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)
3362sourceSpan: new SourceSpan(0, 15, 0, 16), 4668sourceSpan: new SourceSpan(0, 1, 0, 2),
EditAndContinue\EditSessionActiveStatementsTests.cs (2)
166new SourceSpan(1, 1, 1, 10), 175new SourceSpan(2, 1, 2, 10),
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
111newSpan: new SourceSpan(1, 2, 1, 5));
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
26=> new(id.StartLine, id.StartColumn, id.EndLine, id.EndColumn);
21 references to SourceSpan
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\Contracts\ContractWrappers.cs (2)
25public static InternalContracts.SourceSpan ToContract(this SourceSpan id) 69public static SourceSpan FromContract(this InternalContracts.SourceSpan id)
Microsoft.CodeAnalysis.Features (17)
Contracts\EditAndContinue\ManagedActiveStatementDebugInfo.cs (2)
22SourceSpan sourceSpan, 43public SourceSpan SourceSpan { get; } = sourceSpan;
Contracts\EditAndContinue\ManagedActiveStatementUpdate.cs (2)
22SourceSpan newSpan) 42public SourceSpan NewSpan { get; } = newSpan;
Contracts\EditAndContinue\ManagedExceptionRegionUpdate.cs (2)
21SourceSpan newSpan) 52public SourceSpan NewSpan { get; } = newSpan;
Contracts\EditAndContinue\ManagedHotReloadDiagnostic.cs (2)
26SourceSpan span) 57public SourceSpan Span { get; } = span;
Contracts\EditAndContinue\SourceSpan.cs (7)
17internal readonly struct SourceSpan : IEquatable<SourceSpan> 81public bool Equals(SourceSpan other) 89public override bool Equals(object? obj) => obj is SourceSpan span && Equals(span); 99public static bool operator ==(SourceSpan left, SourceSpan right) => left.Equals(right); 101public static bool operator !=(SourceSpan left, SourceSpan right) => !(left == right);
EditAndContinue\Utilities\Extensions.cs (2)
31public static LinePositionSpan ToLinePositionSpan(this SourceSpan span) 34public static SourceSpan ToSourceSpan(this LinePositionSpan span)
Microsoft.VisualStudio.LanguageServices.DevKit (2)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (2)
25public static InternalContracts.SourceSpan ToContract(this SourceSpan id) 69public static SourceSpan FromContract(this InternalContracts.SourceSpan id)