1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\MethodGroupResolution.cs (1)
60this.Diagnostics = diagnostics;
11 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (1)
844if (!expr.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading.
Binder\Binder_Conversions.cs (1)
1370if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading.
Binder\Binder_Expressions.cs (3)
7976diagnostics.AddRange(resolution.Diagnostics); 8028diagnostics.AddRange(resolution.Diagnostics); 10626diagnostics.AddRange(methodResolution.Diagnostics); // Could still have use site warnings.
Binder\Binder_Invocation.cs (3)
731diagnostics.AddRange(resolution.Diagnostics); 744if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading. 2366diagnostics.AddRange(resolution.Diagnostics);
Binder\ForEachLoopBinder.cs (1)
1545diagnostics.AddRange(methodGroupResolutionResult.Diagnostics);
Binder\MethodGroupResolution.cs (1)
70get { return this.Diagnostics.Diagnostics.HasAnyErrors(); }
Binder\Semantics\Conversions\Conversions.cs (1)
309diagnostics.AddRange(resolution.Diagnostics);