64 references to AccumulatesDependencies
Microsoft.CodeAnalysis (8)
Binding\BindingDiagnosticBag.cs (7)
112
Debug.Assert(allowMismatchInDependencyAccumulation || other.Dependencies.IsDefaultOrEmpty || this.
AccumulatesDependencies
|| !this.AccumulatesDiagnostics);
121
Debug.Assert(allowMismatchInDependencyAccumulation || !other.
AccumulatesDependencies
|| this.
AccumulatesDependencies
);
188
Debug.Assert(allowMismatchInDependencyAccumulation || !dependencies.
AccumulatesDependencies
|| this.
AccumulatesDependencies
);
203
Debug.Assert(!useSiteInfo.AccumulatesDependencies || this.
AccumulatesDependencies
);
257
Debug.Assert(!useSiteInfo.AccumulatesDependencies || this.
AccumulatesDependencies
);
Binding\UseSiteInfo.cs (1)
146
else if (!futureDestination.
AccumulatesDependencies
)
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_Initializers.cs (1)
32
var diagsForInstanceInitializers = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Binder\Binder_InterpolatedString.cs (1)
585
var outConstructorDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true, withDependencies: diagnostics.
AccumulatesDependencies
);
Binder\Binder_Lambda.cs (1)
246
return UnboundLambda.Create(syntax, this, diagnostics.
AccumulatesDependencies
, returnRefKind, returnType, parameterAttributes, refKinds, scopes, types, names, discardsOpt, parameterSyntaxList, defaultValues, isAsync: isAsync, isStatic: isStatic, hasParamsArray: hasParamsArray);
Binder\Binder_Operators.cs (1)
3296
bindAsTypeDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true, withDependencies: diagnostics.
AccumulatesDependencies
);
Binder\Binder_Query.cs (16)
232
var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), x, v, diagnostics.
AccumulatesDependencies
);
258
var lambdaLeft = MakeQueryUnboundLambda(state.RangeVariableMap(), x, k, diagnostics.
AccumulatesDependencies
);
262
BoundExpression lambdaRight = MakeQueryUnboundLambda(state.RangeVariableMap(), x, v, diagnostics.
AccumulatesDependencies
);
366
var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), state.rangeVariable, where.Condition, diagnostics.
AccumulatesDependencies
);
406
var outerKeySelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), state.rangeVariable, join.LeftExpression, diagnostics.
AccumulatesDependencies
);
410
var innerKeySelectorLambda = MakeQueryUnboundLambda(QueryTranslationState.RangeVariableMap(x2), x2, join.RightExpression, diagnostics.
AccumulatesDependencies
);
424
var resultSelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x1, x2), select.Expression, diagnostics.
AccumulatesDependencies
);
452
var resultSelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x1, g), select.Expression, diagnostics.
AccumulatesDependencies
);
492
var resultSelectorLambda = MakePairLambda(join, state, x1, x2, diagnostics.
AccumulatesDependencies
);
522
var resultSelectorLambda = MakePairLambda(join, state, x1, g, diagnostics.
AccumulatesDependencies
);
567
var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), state.rangeVariable, ordering.Expression, diagnostics.
AccumulatesDependencies
);
590
collectionSelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), x1, from.Expression, diagnostics.
AccumulatesDependencies
);
594
collectionSelectorLambda = MakeQueryUnboundLambdaWithCast(state.RangeVariableMap(), x1, from.Expression, from.Type, BindTypeArgument(from.Type, diagnostics), diagnostics.
AccumulatesDependencies
);
609
var resultSelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x1, x2), select.Expression, diagnostics.
AccumulatesDependencies
);
655
var resultSelectorLambda = MakePairLambda(from, state, x1, x2, diagnostics.
AccumulatesDependencies
);
751
var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x), let.Expression, bodyFactory, diagnostics.
AccumulatesDependencies
);
Binder\Binder_Statements.cs (1)
991
var localDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Binder\BindingDiagnosticBag.cs (3)
64
return GetInstance(template.AccumulatesDiagnostics, template.
AccumulatesDependencies
);
71
if (template.
AccumulatesDependencies
)
78
else if (template.
AccumulatesDependencies
)
Binder\ForEachLoopBinder.cs (1)
1301
withDependencies: diagnostics.
AccumulatesDependencies
);
Binder\Semantics\Conversions\Conversions.cs (1)
258
var overloadDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Compiler\ClsComplianceChecker.cs (1)
75
var queue = new BindingDiagnosticBag(diagnostics.DiagnosticBag, diagnostics.
AccumulatesDependencies
? new ConcurrentSet<AssemblySymbol>() : null);
Compiler\MethodCompiler.cs (1)
1548
var diagnosticsForThisMethod = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
106
var bag = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
100
var bag = BindingDiagnosticBag.GetInstance(withDiagnostics: true, diagnostics.
AccumulatesDependencies
);
Symbols\Source\LocalFunctionSymbol.cs (1)
125
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: false, withDependencies: addTo.
AccumulatesDependencies
);
Microsoft.CodeAnalysis.VisualBasic (25)
Binding\Binder_Delegates.vb (1)
71
Return New BoundAddressOfOperator(node, Me, diagnostics.
AccumulatesDependencies
, group, hasErrors)
Binding\Binder_Expressions.vb (5)
1103
Dim exprDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
3119
diagnostics.
AccumulatesDependencies
,
4667
Dim ignoreDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
4718
ignoreDiagnostics.
AccumulatesDependencies
,
4816
ignoreDiagnostics.
AccumulatesDependencies
,
Binding\Binder_Initializers.vb (1)
500
Dim initValueDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
Binding\Binder_Lambda.vb (1)
80
Return New UnboundLambda(node, Me, modifiers, parameters, returnType, New UnboundLambda.UnboundLambdaBindingCache(diagnostics.
AccumulatesDependencies
), hasErrors)
Binding\Binder_ObjectInitializer.vb (2)
639
Dim memberBindingDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
911
diagnostics.
AccumulatesDependencies
,
Binding\Binder_Query.vb (2)
2329
Dim conversionDiagnostic = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
4575
diagnostics.
AccumulatesDependencies
,
Binding\Binder_Statements.vb (4)
2652
Dim diagBag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
3721
Dim detailedDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=diagnostics.
AccumulatesDependencies
)
4090
temporaryDiagnostics.
AccumulatesDependencies
,
4126
temporaryDiagnostics.
AccumulatesDependencies
,
Binding\BindingDiagnosticBag.vb (2)
51
Return GetInstance(withDiagnostics:=template.AccumulatesDiagnostics, withDependencies:=template.
AccumulatesDependencies
)
70
Return Create(withDiagnostics:=template.AccumulatesDiagnostics, withDependencies:=template.
AccumulatesDependencies
)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
152
Dim diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, _diagnostics.
AccumulatesDependencies
)
Compilation\VisualBasicCompilation.vb (2)
1755
If diagnostics.
AccumulatesDependencies
AndAlso _lazyImportClauseDependencies IsNot Nothing AndAlso
2194
If(builder.
AccumulatesDependencies
, New ConcurrentSet(Of AssemblySymbol), Nothing))
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
309
Dim bag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=Me.Diagnostics.
AccumulatesDependencies
)
Lowering\IteratorRewriter\IteratorRewriter.vb (1)
95
Dim bag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=Me.Diagnostics.
AccumulatesDependencies
)
Symbols\Source\SourceMemberMethodSymbol.vb (1)
820
Dim syntheticAddressOf = New BoundAddressOfOperator(singleHandleClause, typeBinder, diagBag.
AccumulatesDependencies
, syntheticMethodGroup).MakeCompilerGenerated
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
56
Dim defaultInstancePropertyDiagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics:=False, withDependencies:=diagnostics.
AccumulatesDependencies
)