20 references to GetInstance
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Delegates.vb (1)
221Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, addressOfExpression.WithDependencies)
Binding\Binder_Invocation.vb (1)
3174Dim ignoreDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Binding\Binder_Lambda.vb (3)
156Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, source.WithDependencies) 770Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, source.WithDependencies) 898Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, source.WithDependencies)
Binding\EarlyWellKnownAttributeBinder.vb (1)
54Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Compilation\ClsComplianceChecker.vb (1)
73Dim queue = If(diagnostics.AccumulatesDependencies, BindingDiagnosticBag.GetConcurrentInstance(), BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False))
Compilation\SemanticModel.vb (1)
796Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Compilation\VisualBasicCompilation.vb (7)
1698Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False) 2133Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False) 2204Dim methodBodyDiagnostics = If(builder.AccumulatesDependencies, BindingDiagnosticBag.GetConcurrentInstance(), BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)) 2250Dim builder = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False) 2270Dim methodBodyDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False) 2501Dim methodBodyDiagnosticBag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False) 2563Dim xmlDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Semantics\TypeInference\TypeInferenceCollection.vb (1)
334Dim dominantTypeDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=False, withDependencies:=True)
Symbols\ReducedExtensionMethodSymbol.vb (1)
91BindingDiagnosticBag.GetInstance(withDiagnostics:=False, withDependencies:=True),
Symbols\Source\SourceFile.vb (1)
141Dim diagBag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
333Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)
Symbols\Source\SourceNamespaceSymbol.vb (1)
370Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=False)