25 references to AddUseSiteInfo
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Lookup.cs (2)
855currentType.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo); 1206b.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo);
Binder\Binder_Symbols.cs (1)
1789typeSymbol.AddUseSiteInfo(ref useSiteInfo);
Binder\Binder_WithExpression.cs (1)
50cloneMethod.AddUseSiteInfo(ref useSiteInfo);
Binder\Semantics\AccessCheck.cs (1)
593current.AddUseSiteInfo(ref useSiteInfo);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1622multicastDelegateType.AddUseSiteInfo(ref useSiteInfo);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
381systemDelegateType.AddUseSiteInfo(ref useSiteInfo);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
1212result.Member.AddUseSiteInfo(ref useSiteInfo, addDiagnostics: false); 1770result.Member.AddUseSiteInfo(ref useSiteInfo, addDiagnostics: result.HasUseSiteDiagnosticToReport);
BoundTree\BoundExpressionExtensions.cs (1)
140delegateType?.AddUseSiteInfo(ref useSiteInfo);
Symbols\BaseTypeAnalysis.cs (1)
193fieldType.AddUseSiteInfo(ref useSiteInfo);
Symbols\NamedTypeSymbol.cs (2)
78typeArgument.Type.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo); 87result.Type.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (4)
376type.AddUseSiteInfo(ref useSiteInfo); 692t.AddUseSiteInfo(ref useSiteInfo); 698@interface.AddUseSiteInfo(ref useSiteInfo); 772current.AddUseSiteInfo(ref useSiteInfo);
Symbols\TypeParameterSymbol.cs (5)
99((TypeSymbol)constraint.Type.OriginalDefinition).AddUseSiteInfo(ref useSiteInfo); 275result.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo); 299iface.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo); 324((TypeSymbol)result.OriginalDefinition).AddUseSiteInfo(ref useSiteInfo); 357iface.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo);
Symbols\TypeSymbol.cs (3)
168result.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo); 181result.AddUseSiteInfo(ref useSiteInfo); 226iface.OriginalDefinition.AddUseSiteInfo(ref useSiteInfo);