16 overrides of GetDeclaredInterfaces
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
261internal sealed override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
237internal sealed override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\ErrorTypeSymbol.cs (1)
461internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
531internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\NativeIntegerTypeSymbol.cs (1)
150internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => GetInterfaces(basesBeingResolved);
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
340internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
76internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
275internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
150internal sealed override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
220internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => _interfaces;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
902internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => _interfaces;
Symbols\Synthesized\SynthesizedContainer.cs (1)
166internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => InterfacesNoUseSiteDiagnostics(basesBeingResolved);
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
157internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => ImmutableArray<NamedTypeSymbol>.Empty;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
124internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => [];
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
151internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => ImmutableArray<NamedTypeSymbol>.Empty;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
143internal override ImmutableArray<NamedTypeSymbol> GetDeclaredInterfaces(ConsList<TypeSymbol> basesBeingResolved) => ImmutableArray<NamedTypeSymbol>.Empty;
6 references to GetDeclaredInterfaces
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Lookup.cs (2)
1048var interfaces = type.GetDeclaredInterfaces(basesBeingResolved); 1097ImmutableArray<NamedTypeSymbol> baseInterfaces = @interface.GetDeclaredInterfaces(basesBeingResolved);
Binder\Semantics\AccessCheck.cs (1)
651declaredInterfaces = namedType.GetDeclaredInterfaces(basesBeingResolved);
Symbols\BaseTypeAnalysis.cs (1)
45foreach (var bt in type.GetDeclaredInterfaces(null))
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
344var underlyingBaseInterfaces = _underlyingType.GetDeclaredInterfaces(basesBeingResolved);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
152return _unbound ? ImmutableArray<NamedTypeSymbol>.Empty : Map.SubstituteNamedTypes(OriginalDefinition.GetDeclaredInterfaces(basesBeingResolved));