1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7605this.Diagnostics = diagnostics;
16 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (1)
5354diagnostics.AddRange(boundLambda.Diagnostics);
Binder\Binder_Invocation.cs (1)
1151diagnostics.AddRange(boundWithErrors.Diagnostics);
Binder\Binder_Statements.cs (3)
2050diagnostics.AddRange(lambda.Diagnostics); 2216Debug.Assert(ErrorFacts.PreventsSuccessfulDelegateConversion(bindingResult.Diagnostics.Diagnostics)); 2217diagnostics.AddRange(bindingResult.Diagnostics);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1580if (ErrorFacts.PreventsSuccessfulDelegateConversion(bound.Diagnostics.Diagnostics))
BoundTree\UnboundLambda.cs (4)
807diagnostics.AddRange(returnInferenceLambda.Diagnostics); 1250IEnumerable<KeyValuePair<T, BoundLambda>> minDiagnosticsGroup = candidates.GroupBy(lambda => lambda.Value.Diagnostics.Diagnostics.Length).OrderBy(group => group.Key).First(); 1311var convBags = from boundLambda in _bindingCache select boundLambda.Value.Diagnostics; 1312var retBags = from boundLambda in _returnInferenceCache!.Values select boundLambda.Diagnostics;
Generated\BoundNodes.xml.Generated.cs (5)
7621if (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)) 11989return node.Update(unboundLambda, node.Symbol, body, node.Diagnostics, node.Binder, type); 14550updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, infoAndType.Type); 14555updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, node.Type); 16805new TreeDumperNode("diagnostics", node.Diagnostics, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1627node = node.Update(node.UnboundLambda, node.Symbol, newBody, node.Diagnostics, node.Binder, newType);