59 references to GetInstance
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder_Expressions.cs (1)
6433
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)
1877
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1921
var diagnostics = BindingDiagnosticBag.
GetInstance
();
3279
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)
54
var diagnostics = BindingDiagnosticBag.
GetInstance
();
191
var diagnostics = BindingDiagnosticBag.
GetInstance
();
252
var diagnostics = BindingDiagnosticBag.
GetInstance
();
481
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)
248
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1538
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
();
3233
var diagnostics = BindingDiagnosticBag.
GetInstance
();
3295
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
34
var diagnostics = BindingDiagnosticBag.
GetInstance
();
Symbols\Source\SourceMemberFieldSymbol.cs (2)
460
var diagnostics = BindingDiagnosticBag.
GetInstance
();
470
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)
278
var diagnostics = BindingDiagnosticBag.
GetInstance
();
750
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
();
1763
var diagnostics = BindingDiagnosticBag.
GetInstance
();
1802
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
();