59 references to GetInstance
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder_Expressions.cs (1)
6398
var d = BindingDiagnosticBag.
GetInstance
();
Binder\BindingDiagnosticBag.cs (1)
46
return
GetInstance
();
Binder\LockOrUsingBinder.cs (1)
83
var expressionDiagnostics = BindingDiagnosticBag.
GetInstance
();
Binder\SwitchBinder.cs (1)
63
var switchGoverningDiagnostics = BindingDiagnosticBag.
GetInstance
();
Compilation\CSharpCompilation.cs (3)
1872
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1916
var diagnostics = BindingDiagnosticBag.
GetInstance
();
3254
var builder = BindingDiagnosticBag.
GetInstance
();
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
56
var directiveDiagnostics = BindingDiagnosticBag.
GetInstance
();
132
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\AliasSymbol.cs (1)
318
var newDiagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\GlobalExpressionVariable.cs (1)
83
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\LambdaSymbol.cs (1)
290
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\LocalFunctionSymbol.cs (4)
53
var diagnostics = BindingDiagnosticBag.
GetInstance
();
190
var diagnostics = BindingDiagnosticBag.
GetInstance
();
246
var diagnostics = BindingDiagnosticBag.
GetInstance
();
474
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceAssemblySymbol.cs (3)
920
var diagnostics = BindingDiagnosticBag.
GetInstance
();
968
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1370
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceComplexParameterSymbol.cs (2)
247
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1532
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
36
var declaratorDiagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceFieldSymbol.cs (2)
293
var diagnostics = BindingDiagnosticBag.
GetInstance
();
330
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceFixedFieldSymbol.cs (1)
60
BindingDiagnosticBag diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceLocalSymbol.cs (1)
580
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberContainerSymbol.cs (10)
560
var diagnostics = BindingDiagnosticBag.
GetInstance
();
572
var diagnostics = BindingDiagnosticBag.
GetInstance
();
617
var diagnostics = BindingDiagnosticBag.
GetInstance
();
667
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1304
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1655
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1759
var diagnostics = BindingDiagnosticBag.
GetInstance
();
2352
var diagnostics = BindingDiagnosticBag.
GetInstance
();
3219
var diagnostics = BindingDiagnosticBag.
GetInstance
();
3281
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
34
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberFieldSymbol.cs (2)
450
var diagnostics = BindingDiagnosticBag.
GetInstance
();
460
var diagnosticsForFirstDeclarator = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
449
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceModuleSymbol.cs (2)
198
var diagnostics = BindingDiagnosticBag.
GetInstance
();
243
diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceNamedTypeSymbol.cs (2)
277
var diagnostics = BindingDiagnosticBag.
GetInstance
();
749
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
49
var diagnostics = BindingDiagnosticBag.
GetInstance
();
75
var diagnostics = BindingDiagnosticBag.
GetInstance
();
259
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
30
BindingDiagnosticBag diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
761
var directiveDiagnostics = BindingDiagnosticBag.
GetInstance
();
968
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceNamespaceSymbol.cs (1)
228
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1034
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
52
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourcePropertySymbolBase.cs (3)
390
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1758
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1797
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceTypeParameterSymbol.cs (1)
228
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Symbol_Attributes.cs (2)
309
var diagnostics = BindingDiagnosticBag.
GetInstance
();
510
var filtered = BindingDiagnosticBag.
GetInstance
();