8 references to EffectiveInterfacesNoUseSiteDiagnostics
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (1)
466
var interfaces = inputType is TypeParameterSymbol typeParam ? typeParam.
EffectiveInterfacesNoUseSiteDiagnostics
: inputType.AllInterfacesNoUseSiteDiagnostics;
CodeGen\EmitExpression.cs (1)
441
((TypeParameterSymbol)receiverType).
EffectiveInterfacesNoUseSiteDiagnostics
.IsEmpty) || // This could be a nullable value type, which must be copied in order to not mutate the original value
Symbols\TypeParameterSymbol.cs (1)
296
var result =
EffectiveInterfacesNoUseSiteDiagnostics
;
Symbols\TypeSymbol.cs (2)
108
var interfaces = (baseType.TypeKind == TypeKind.TypeParameter) ? ((TypeParameterSymbol)baseType).
EffectiveInterfacesNoUseSiteDiagnostics
: baseType.InterfacesNoUseSiteDiagnostics();
344
var interfaces = (baseType.TypeKind == TypeKind.TypeParameter) ? ((TypeParameterSymbol)baseType).
EffectiveInterfacesNoUseSiteDiagnostics
: baseType.InterfacesNoUseSiteDiagnostics();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\GenericConstraintTests.cs (2)
4887
CheckTypeParameterContainingSymbols(method, typeParameter.
EffectiveInterfacesNoUseSiteDiagnostics
[0], 1);
4898
CheckTypeParameterContainingSymbols(method, typeParameter.
EffectiveInterfacesNoUseSiteDiagnostics
[0], 1);
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
63
Assert.Equal(0, varC1_T.
EffectiveInterfacesNoUseSiteDiagnostics
.Length);