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