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