1 write to Diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\MethodGroupResolution.cs (1)
60
this.
Diagnostics
= diagnostics;
11 references to Diagnostics
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (1)
846
if (!expr.HasAnyErrors) diagnostics.AddRange(resolution.
Diagnostics
); // Suppress cascading.
Binder\Binder_Conversions.cs (1)
1370
if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.
Diagnostics
); // Suppress cascading.
Binder\Binder_Expressions.cs (3)
8007
diagnostics.AddRange(resolution.
Diagnostics
);
8059
diagnostics.AddRange(resolution.
Diagnostics
);
10657
diagnostics.AddRange(methodResolution.
Diagnostics
); // Could still have use site warnings.
Binder\Binder_Invocation.cs (3)
732
diagnostics.AddRange(resolution.
Diagnostics
);
745
if (!methodGroup.HasAnyErrors) diagnostics.AddRange(resolution.
Diagnostics
); // Suppress cascading.
2436
diagnostics.AddRange(resolution.
Diagnostics
);
Binder\ForEachLoopBinder.cs (1)
1553
diagnostics.AddRange(methodGroupResolutionResult.
Diagnostics
);
Binder\MethodGroupResolution.cs (1)
70
get { return this.
Diagnostics
.Diagnostics.HasAnyErrors(); }
Binder\Semantics\Conversions\Conversions.cs (1)
309
diagnostics.AddRange(resolution.
Diagnostics
);