Aracılığıyla paylaş


ITypeSymbol.AllInterfaces Property

Definition

The list of all interfaces of which this type is a declared subtype, excluding this type itself. This includes all declared base interfaces, all declared base interfaces of base types, and all declared base interfaces of those results (recursively). This also is the effective interface set of a type parameter. Each result appears exactly once in the list. This list is topologically sorted by the inheritance relationship: if interface type A extends interface type B, then A precedes B in the list. This is not quite the same as "all interfaces of which this type is a proper subtype" because it does not take into account variance: AllInterfaces for IEnumerable<string> will not include IEnumerable<object>.

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::INamedTypeSymbol ^> AllInterfaces { System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::INamedTypeSymbol ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol> AllInterfaces { get; }
member this.AllInterfaces : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.INamedTypeSymbol>
Public ReadOnly Property AllInterfaces As ImmutableArray(Of INamedTypeSymbol)

Property Value

Applies to