12 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (1)
307
ReportUseSite
(conversion.Method, diagnostics, syntax.Location);
Binder\Binder_Statements.cs (1)
3935
if (Binder.
ReportUseSite
(baseConstructor, diagnostics, diagnosticsLocation))
Binder\Binder_Symbols.cs (2)
1648
ReportUseSite
(typeSymbol, diagnostics, location);
1777
ReportUseSite
(typeSymbol, diagnostics, location);
Emitter\Model\PEAssemblyBuilder.cs (1)
611
Binder.
ReportUseSite
(result, diagnostics, Location.None);
Symbols\Compilation_WellKnownMembers.cs (1)
675
var errorReported = Binder.
ReportUseSite
(userDefinedAttribute, diagnosticsOpt, locationOpt);
Symbols\Source\SourceEventAccessorSymbol.cs (3)
116
Binder.
ReportUseSite
(eventTokenType, diagnostics, this.Location);
132
Binder.
ReportUseSite
(voidType, diagnostics, this.Location);
143
Binder.
ReportUseSite
(voidType, diagnostics, this.Location);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1038
if (Binder.
ReportUseSite
(overriddenMember, diagnostics, overridingMember.GetFirstLocation()))
Symbols\Source\SourceMemberFieldSymbol.cs (1)
469
Binder.
ReportUseSite
(tokenTableType, diagnosticsForFirstDeclarator, this.ErrorLocation);
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
77
Binder.
ReportUseSite
(defaultUnderlyingType, diagnostics, this.GetFirstLocation());