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