1 instantiation of NoLocation
Microsoft.CodeAnalysis (1)
Diagnostic\NoLocation.cs (1)
13
public static readonly Location Singleton = new
NoLocation
();
7 references to NoLocation
Microsoft.CodeAnalysis (7)
Compilation\Compilation.cs (3)
2102
diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_BadWin32Resource,
NoLocation
.Singleton, CodeAnalysisResources.UnrecognizedResourceFileFormat));
2107
diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_BadWin32Resource,
NoLocation
.Singleton, ex.Message));
2120
diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_BadWin32Resource,
NoLocation
.Singleton, CodeAnalysisResources.UnrecognizedResourceFileFormat));
Diagnostic\Location.cs (1)
153
public static Location None { get { return
NoLocation
.Singleton; } }
PEWriter\MetadataWriter.cs (2)
3169
this.Context.Diagnostics.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_TooManyUserStrings,
NoLocation
.Singleton));
3187
this.Context.Diagnostics.Add(this.messageProvider.CreateDiagnostic(this.messageProvider.ERR_TooManyUserStrings,
NoLocation
.Singleton));
Syntax\SyntaxNode.cs (1)
693
return !tree.SupportsLocations ?
NoLocation
.Singleton : new SourceLocation(this);