19 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (2)
1840
if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
1858
else if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
Binder\Binder_InterpolatedString.cs (1)
647
ReportUseSite
(interpolatedStringHandlerType, diagnostics, syntax);
Binder\Binder_Operators.cs (4)
204
ReportUseSite
(bestMethod, diagnostics, node);
1189
ReportUseSite
(bestMethod, diagnostics, node);
1512
ReportUseSite
(bestMethod, diagnostics, node);
2392
ReportUseSite
(bestMethod, diagnostics, node);
Binder\Binder_Symbols.cs (4)
564
ReportUseSite
(constructedType.Type.OriginalDefinition, diagnostics, syntax);
1718
ReportUseSite
(typeSymbol, diagnostics, node);
2351
wasError =
ReportUseSite
(singleResult, diagnostics, where);
2405
ReportUseSite
(symbols[i], diagnostics, where);
Compiler\MethodBodySynthesizer.cs (2)
374
Binder.
ReportUseSite
(updateMethod, diagnostics, syntax);
423
Binder.
ReportUseSite
(compareExchangeMethod, diagnostics, syntax);
Lowering\SyntheticBoundNodeFactory.cs (5)
269
Binder.
ReportUseSite
(propertySym, Diagnostics, Syntax);
299
Binder.
ReportUseSite
(specialType, Diagnostics, Syntax);
311
Binder.
ReportUseSite
(wellKnownType, Diagnostics, Syntax);
829
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
837
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
Symbols\Tuples\TupleTypeSymbol.cs (1)
253
Binder.
ReportUseSite
(firstTupleType, diagnostics, syntax);