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)
864if (!expr.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading.
Binder\Binder_Conversions.cs (1)
1894if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading.
Binder\Binder_Expressions.cs (3)
8209diagnostics.AddRange(resolution.Diagnostics); 8261diagnostics.AddRange(resolution.Diagnostics); 10939diagnostics.AddRange(methodResolution.Diagnostics); // Could still have use site warnings.
Binder\Binder_Invocation.cs (3)
732diagnostics.AddRange(resolution.Diagnostics); 745if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading. 2445diagnostics.AddRange(resolution.Diagnostics);
Binder\ForEachLoopBinder.cs (1)
1532diagnostics.AddRange(methodGroupResolutionResult.Diagnostics);
Binder\MethodGroupResolution.cs (1)
70get { return this.Diagnostics.Diagnostics.HasAnyErrors(); }
Binder\Semantics\Conversions\Conversions.cs (1)
310diagnostics.AddRange(resolution.Diagnostics);