Base:
property
Location
Microsoft.CodeAnalysis.Diagnostic.Location
13 references to Location
Microsoft.CodeAnalysis (4)
Diagnostic\DiagnosticWithInfo.cs (4)
152
return Hash.Combine(this.
Location
.GetHashCode(), this.Info.GetHashCode());
170
this.
Location
.Equals(other._location) &&
183
return "Unresolved diagnostic at " + this.
Location
;
188
return "Void diagnostic at " + this.
Location
;
Microsoft.CodeAnalysis.CSharp (4)
Errors\CSDiagnostic.cs (3)
33
if (location != this.
Location
)
46
return new CSDiagnostic(info, this.
Location
, this.IsSuppressed);
56
return new CSDiagnostic(this.Info, this.
Location
, isSuppressed);
Symbols\Symbol_Attributes.cs (1)
493
Location location = withInfo.
Location
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Diagnostics\DiagnosticTest.cs (5)
85
Assert.Equal(l1, d1.
Location
);
86
Assert.Same(syntaxTree, d1.
Location
.SourceTree);
87
Assert.Equal(new TextSpan(5, 8), d1.
Location
.SourceSpan);
100
Assert.Same(syntaxTree, d3.
Location
.SourceTree);
101
Assert.Equal(new TextSpan(1, 1), d3.
Location
.SourceSpan);