11 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Symbols.cs (1)
1720return diagnostics.ReportUseSite(symbol, location);
Binder\BindingDiagnosticBag.cs (2)
98return ReportUseSite(symbol, node.Location); 103return ReportUseSite(symbol, token.GetLocation());
Compiler\ClsComplianceChecker.cs (1)
1188if (_diagnostics.ReportUseSite(attributeClass, symbol.Locations.IsEmpty ? NoLocation.Singleton : symbol.Locations[0]))
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\ImplicitNamedTypeSymbol.cs (1)
63diagnostics.ReportUseSite(this.DeclaringCompilation.GetSpecialType(SpecialType.System_Object), Locations[0]);
Symbols\Source\SourceAssemblySymbol.cs (1)
1408if (!diagnostics.ReportUseSite(forwarded, NoLocation.Singleton))
Symbols\Source\SourceTypeParameterSymbol.cs (1)
264if (!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);