8 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Symbols.cs (1)
1761
return diagnostics.
ReportUseSite
(symbol, location);
Compiler\ClsComplianceChecker.cs (1)
1195
if (_diagnostics.
ReportUseSite
(attributeClass, symbol.GetFirstLocationOrNone()))
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
166
bag.
ReportUseSite
(getter, body.Syntax.Location);
Symbols\AnonymousTypes\AnonymousTypeManager.SymbolCollection.cs (1)
71
hasError |= diagnostics.
ReportUseSite
(symbol, NoLocation.Singleton);
Symbols\Source\SourceAssemblySymbol.cs (1)
1417
if (!diagnostics.
ReportUseSite
(forwarded, NoLocation.Singleton))
Symbols\Source\SourceTypeParameterSymbol.cs (1)
266
if (!diagnostics.
ReportUseSite
(constraintType.Type, args.Args.Location))
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
35
diagnostics.
ReportUseSite
(submissionArrayType, NoLocation.Singleton);
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
267
diagnostics.
ReportUseSite
(taskT, NoLocation.Singleton);