1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7604this.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)
2047diagnostics.AddRange(lambda.Diagnostics); 2213Debug.Assert(ErrorFacts.PreventsSuccessfulDelegateConversion(bindingResult.Diagnostics.Diagnostics)); 2214diagnostics.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)
7620if (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)) 11988return node.Update(unboundLambda, node.Symbol, body, node.Diagnostics, node.Binder, type); 14549updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, infoAndType.Type); 14554updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, node.Type); 16804new TreeDumperNode("diagnostics", node.Diagnostics, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1627node = node.Update(node.UnboundLambda, node.Symbol, newBody, node.Diagnostics, node.Binder, newType);