26 references to GetInstance
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Crefs.cs (1)
891
BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Binder\Binder_Expressions.cs (3)
8363
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies);
10276
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, useSiteInfo.AccumulatesDependencies);
10406
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Binder\Binder_InterpolatedString.cs (1)
675
BindingDiagnosticBag conversionDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Binder\EarlyWellKnownAttributeBinder.cs (1)
32
var dummyDiagnosticBag = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Binder\ForEachLoopBinder.cs (1)
494
createConversionDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: false, withDependencies: false);
BoundTree\UnboundLambda.cs (2)
785
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, _unboundLambda.WithDependencies);
994
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, _unboundLambda.WithDependencies);
BoundTree\VariablePendingInference.cs (1)
80
var inferenceDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies:
Compilation\CSharpCompilation.cs (9)
2637
var bag = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
2702
var bindingDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: false, withDependencies: true);
2928
var builder = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3018
var methodBodyDiagnostics = builder.AccumulatesDependencies ? BindingDiagnosticBag.GetConcurrentInstance() : BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3089
var bindingDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3137
var discarded = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3272
var builder = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3519
var methodBodyDiagnosticBag = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3713
var xmlDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Emitter\Model\PEModuleBuilder.cs (1)
2070
var bindingDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
FlowAnalysis\NullableWalker.cs (3)
8501
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
8696
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
8752
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Symbols\ConstraintsHelper.cs (1)
506
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Symbols\Source\SourceComplexParameterSymbol.cs (1)
351
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Symbols\TypeSymbol.cs (1)
778
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: this.DeclaringCompilation is object);