9 references to ReportUseSite
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Conversions.cs (1)
451
diagnostics.
ReportUseSite
(elementField, syntax);
Binder\Binder_Expressions.cs (1)
10150
diagnostics.
ReportUseSite
(lengthOrCountProperty, syntax);
Binder\Binder_Patterns.cs (3)
1278
_ = diagnostics.
ReportUseSite
(iTupleType, node) ||
1279
diagnostics.
ReportUseSite
(iTupleGetLength, node) ||
1280
diagnostics.
ReportUseSite
(iTupleGetItem, node);
Binder\Binder_Symbols.cs (1)
1745
return diagnostics.
ReportUseSite
(symbol, node);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1432
_diagnostics.
ReportUseSite
(arrayEmpty, syntax);
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
242
_diagnostics.
ReportUseSite
(iDisposableType, usingSyntax);
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
710
_factory.Diagnostics.
ReportUseSite
(callSiteType, _factory.Syntax);