7 references to Singleton
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);