1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\MethodGroupResolution.cs (1)
60this.Diagnostics = diagnostics;
10 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.ValueChecks.cs (1)
627if (!expr.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading.
Binder\Binder_Expressions.cs (3)
7967diagnostics.AddRange(resolution.Diagnostics); 8019diagnostics.AddRange(resolution.Diagnostics); // Tracked by https://github.com/dotnet/roslyn/issues/76130 : test dependencies/diagnostics 10661diagnostics.AddRange(methodResolution.Diagnostics); // Could still have use site warnings.
Binder\Binder_Invocation.cs (3)
724diagnostics.AddRange(resolution.Diagnostics); 737if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.Diagnostics); // Suppress cascading. 2325diagnostics.AddRange(resolution.Diagnostics);
Binder\ForEachLoopBinder.cs (1)
1541diagnostics.AddRange(methodGroupResolutionResult.Diagnostics);
Binder\MethodGroupResolution.cs (1)
70get { return this.Diagnostics.Diagnostics.HasAnyErrors(); }
Binder\Semantics\Conversions\Conversions.cs (1)
309diagnostics.AddRange(resolution.Diagnostics);