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