1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7605
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)
2050
diagnostics.AddRange(lambda.
Diagnostics
);
2216
Debug.Assert(ErrorFacts.PreventsSuccessfulDelegateConversion(bindingResult.
Diagnostics
.Diagnostics));
2217
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)
7621
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))
11989
return node.Update(unboundLambda, node.Symbol, body, node.
Diagnostics
, node.Binder, type);
14550
updatedNode = node.Update(unboundLambda, symbol, body, node.
Diagnostics
, node.Binder, infoAndType.Type);
14555
updatedNode = node.Update(unboundLambda, symbol, body, node.
Diagnostics
, node.Binder, node.Type);
16805
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);