1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7286this.Diagnostics = diagnostics;
17 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Conversions.cs (1)
704diagnostics.AddRange(boundLambda.Diagnostics);
Binder\Binder_Expressions.cs (1)
4557diagnostics.AddRange(boundLambda.Diagnostics);
Binder\Binder_Invocation.cs (1)
979diagnostics.AddRange(boundWithErrors.Diagnostics);
Binder\Binder_Statements.cs (3)
2017diagnostics.AddRange(lambda.Diagnostics); 2183Debug.Assert(ErrorFacts.PreventsSuccessfulDelegateConversion(bindingResult.Diagnostics.Diagnostics)); 2184diagnostics.AddRange(bindingResult.Diagnostics);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1502if (ErrorFacts.PreventsSuccessfulDelegateConversion(bound.Diagnostics.Diagnostics))
BoundTree\UnboundLambda.cs (4)
768diagnostics.AddRange(returnInferenceLambda.Diagnostics); 1210IEnumerable<KeyValuePair<T, BoundLambda>> minDiagnosticsGroup = candidates.GroupBy(lambda => lambda.Value.Diagnostics.Diagnostics.Length).OrderBy(group => group.Key).First(); 1271var convBags = from boundLambda in _bindingCache select boundLambda.Value.Diagnostics; 1272var retBags = from boundLambda in _returnInferenceCache!.Values select boundLambda.Diagnostics;
Generated\BoundNodes.xml.Generated.cs (5)
7302if (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)) 11554return node.Update(unboundLambda, node.Symbol, body, node.Diagnostics, node.Binder, type); 14012updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, infoAndType.Type); 14017updatedNode = node.Update(unboundLambda, symbol, body, node.Diagnostics, node.Binder, node.Type); 16184new TreeDumperNode("diagnostics", node.Diagnostics, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1599node = node.Update(node.UnboundLambda, node.Symbol, newBody, node.Diagnostics, node.Binder, newType);