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