19 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (2)
1808
if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
1826
else if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
Binder\Binder_InterpolatedString.cs (1)
647
ReportUseSite
(interpolatedStringHandlerType, diagnostics, syntax);
Binder\Binder_Operators.cs (4)
195
ReportUseSite
(bestMethod, diagnostics, node);
1150
ReportUseSite
(bestMethod, diagnostics, node);
1454
ReportUseSite
(bestMethod, diagnostics, node);
2275
ReportUseSite
(bestMethod, diagnostics, node);
Binder\Binder_Symbols.cs (4)
562
ReportUseSite
(constructedType.Type.OriginalDefinition, diagnostics, syntax);
1706
ReportUseSite
(typeSymbol, diagnostics, node);
2320
wasError =
ReportUseSite
(singleResult, diagnostics, where);
2374
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);
814
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
822
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
Symbols\Tuples\TupleTypeSymbol.cs (1)
253
Binder.
ReportUseSite
(firstTupleType, diagnostics, syntax);