1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7604
this.
Diagnostics
= diagnostics;
16 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (1)
5354
diagnostics.AddRange(boundLambda.
Diagnostics
);
Binder\Binder_Invocation.cs (1)
1151
diagnostics.AddRange(boundWithErrors.
Diagnostics
);
Binder\Binder_Statements.cs (3)
2047
diagnostics.AddRange(lambda.
Diagnostics
);
2213
Debug.Assert(ErrorFacts.PreventsSuccessfulDelegateConversion(bindingResult.
Diagnostics
.Diagnostics));
2214
diagnostics.AddRange(bindingResult.
Diagnostics
);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1580
if (ErrorFacts.PreventsSuccessfulDelegateConversion(bound.
Diagnostics
.Diagnostics))
BoundTree\UnboundLambda.cs (4)
807
diagnostics.AddRange(returnInferenceLambda.
Diagnostics
);
1250
IEnumerable<KeyValuePair<T, BoundLambda>> minDiagnosticsGroup = candidates.GroupBy(lambda => lambda.Value.
Diagnostics
.Diagnostics.Length).OrderBy(group => group.Key).First();
1311
var convBags = from boundLambda in _bindingCache select boundLambda.Value.
Diagnostics
;
1312
var retBags = from boundLambda in _returnInferenceCache!.Values select boundLambda.
Diagnostics
;
Generated\BoundNodes.xml.Generated.cs (5)
7620
if (unboundLambda != this.UnboundLambda || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(symbol, this.Symbol) || body != this.Body || diagnostics != this.
Diagnostics
|| binder != this.Binder || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11988
return node.Update(unboundLambda, node.Symbol, body, node.
Diagnostics
, node.Binder, type);
14549
updatedNode = node.Update(unboundLambda, symbol, body, node.
Diagnostics
, node.Binder, infoAndType.Type);
14554
updatedNode = node.Update(unboundLambda, symbol, body, node.
Diagnostics
, node.Binder, node.Type);
16804
new TreeDumperNode("diagnostics", node.
Diagnostics
, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1627
node = node.Update(node.UnboundLambda, node.Symbol, newBody, node.
Diagnostics
, node.Binder, newType);