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