19 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.ValueChecks.cs (2)
1343
if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
1361
else if (
ReportUseSite
(eventSymbol, diagnostics, eventSyntax))
Binder\Binder_InterpolatedString.cs (1)
501
ReportUseSite
(interpolatedStringHandlerType, diagnostics, syntax);
Binder\Binder_Operators.cs (2)
1334
ReportUseSite
(bestMethod, diagnostics, node);
1443
ReportUseSite
(bestMethod, diagnostics, node);
Binder\Binder_Symbols.cs (4)
552
ReportUseSite
(constructedType.Type.OriginalDefinition, diagnostics, syntax);
1641
ReportUseSite
(typeSymbol, diagnostics, node);
2227
wasError =
ReportUseSite
(singleResult, diagnostics, where);
2281
ReportUseSite
(symbols[i], diagnostics, where);
Compiler\MethodBodySynthesizer.cs (2)
371
Binder.
ReportUseSite
(updateMethod, diagnostics, syntax);
419
Binder.
ReportUseSite
(compareExchangeMethod, diagnostics, syntax);
Lowering\SyntheticBoundNodeFactory.cs (6)
308
Binder.
ReportUseSite
(propertySym, Diagnostics, Syntax);
338
Binder.
ReportUseSite
(specialType, Diagnostics, Syntax);
350
Binder.
ReportUseSite
(wellKnownType, Diagnostics, Syntax);
407
Binder.
ReportUseSite
(specialMember, Diagnostics, Syntax);
773
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
781
Binder.
ReportUseSite
(methodSymbol, Diagnostics, Syntax);
Symbols\Tuples\TupleTypeSymbol.cs (1)
260
Binder.
ReportUseSite
(firstTupleType, diagnostics, syntax);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\PlaceholderLocalSymbol.cs (1)
161
Binder.
ReportUseSite
(intPtrType, bindingDiagnostics, syntax);