14 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Conversions.cs (1)
277
ReportUseSite
(conversion.Method, diagnostics, syntax.Location);
Binder\Binder_Statements.cs (1)
3839
if (Binder.
ReportUseSite
(baseConstructor, diagnostics, diagnosticsLocation))
Binder\Binder_Symbols.cs (2)
1649
ReportUseSite
(typeSymbol, diagnostics, location);
1754
ReportUseSite
(typeSymbol, diagnostics, location);
Binder\InMethodBinder.cs (1)
158
ReportUseSite
(objectType, diagnostics, errorLocation);
Emitter\Model\PEAssemblyBuilder.cs (2)
551
Binder.
ReportUseSite
(result, diagnostics, Location.None);
558
Binder.
ReportUseSite
(result, diagnostics, Location.None);
Symbols\Compilation_WellKnownMembers.cs (1)
647
var errorReported = Binder.
ReportUseSite
(userDefinedAttribute, diagnosticsOpt, locationOpt);
Symbols\Source\SourceEventAccessorSymbol.cs (3)
113
Binder.
ReportUseSite
(eventTokenType, diagnostics, this.Location);
132
Binder.
ReportUseSite
(voidType, diagnostics, this.Location);
146
Binder.
ReportUseSite
(voidType, diagnostics, this.Location);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1040
if (Binder.
ReportUseSite
(overriddenMember, diagnostics, overridingMember.Locations[0]))
Symbols\Source\SourceMemberFieldSymbol.cs (1)
465
Binder.
ReportUseSite
(tokenTableType, diagnosticsForFirstDeclarator, this.ErrorLocation);
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
77
Binder.
ReportUseSite
(defaultUnderlyingType, diagnostics, this.Locations[0]);