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)
2094
diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_BadWin32Resource,
NoLocation
.Singleton, CodeAnalysisResources.UnrecognizedResourceFileFormat));
2099
diagnostics.Add(MessageProvider.CreateDiagnostic(MessageProvider.ERR_BadWin32Resource,
NoLocation
.Singleton, ex.Message));
2112
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);