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)
8362
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies);
10275
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, useSiteInfo.AccumulatesDependencies);
10405
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)
2612
var bag = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
2677
var bindingDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: false, withDependencies: true);
2903
var builder = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
2993
var methodBodyDiagnostics = builder.AccumulatesDependencies ? BindingDiagnosticBag.GetConcurrentInstance() : BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3064
var bindingDiagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3112
var discarded = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3247
var builder = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3494
var methodBodyDiagnosticBag = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
3688
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)
8443
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
8638
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
8694
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)
350
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: false);
Symbols\TypeSymbol.cs (1)
778
var diagnostics = BindingDiagnosticBag.
GetInstance
(withDiagnostics: true, withDependencies: this.DeclaringCompilation is object);