Class IntersectionType
- Namespace
- ICSharpCode.Decompiler.TypeSystem
- Assembly
- ICSharpCode.Decompiler.dll
Represents the intersection of several types.
public class IntersectionType : AbstractType, IType, INamedElement, IEquatable<IType>
- Inheritance
-
IntersectionType
- Implements
- Inherited Members
- Extension Methods
Properties
DirectBaseTypes
public override IEnumerable<IType> DirectBaseTypes { get; }
Property Value
IsReferenceType
public override bool? IsReferenceType { get; }
Property Value
- bool?
Kind
Gets the type kind.
public override TypeKind Kind { get; }
Property Value
Name
public override string Name { get; }
Property Value
ReflectionName
public override string ReflectionName { get; }
Property Value
Types
public ReadOnlyCollection<IType> Types { get; }
Property Value
Methods
Create(IEnumerable<IType>)
public static IType Create(IEnumerable<IType> types)
Parameters
types
IEnumerable<IType>
Returns
Equals(IType)
public override bool Equals(IType other)
Parameters
other
IType
Returns
GetAccessors(Predicate<IMethod>, GetMemberOptions)
public override IEnumerable<IMethod> GetAccessors(Predicate<IMethod> filter, GetMemberOptions options)
Parameters
filter
Predicate<IMethod>options
GetMemberOptions
Returns
GetEvents(Predicate<IEvent>, GetMemberOptions)
public override IEnumerable<IEvent> GetEvents(Predicate<IEvent> filter, GetMemberOptions options)
Parameters
filter
Predicate<IEvent>options
GetMemberOptions
Returns
GetFields(Predicate<IField>, GetMemberOptions)
public override IEnumerable<IField> GetFields(Predicate<IField> filter, GetMemberOptions options)
Parameters
filter
Predicate<IField>options
GetMemberOptions
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetMembers(Predicate<IMember>, GetMemberOptions)
public override IEnumerable<IMember> GetMembers(Predicate<IMember> filter, GetMemberOptions options)
Parameters
filter
Predicate<IMember>options
GetMemberOptions
Returns
GetMethods(IReadOnlyList<IType>, Predicate<IMethod>, GetMemberOptions)
public override IEnumerable<IMethod> GetMethods(IReadOnlyList<IType> typeArguments, Predicate<IMethod> filter, GetMemberOptions options)
Parameters
typeArguments
IReadOnlyList<IType>filter
Predicate<IMethod>options
GetMemberOptions
Returns
GetMethods(Predicate<IMethod>, GetMemberOptions)
public override IEnumerable<IMethod> GetMethods(Predicate<IMethod> filter, GetMemberOptions options)
Parameters
filter
Predicate<IMethod>options
GetMemberOptions
Returns
GetProperties(Predicate<IProperty>, GetMemberOptions)
public override IEnumerable<IProperty> GetProperties(Predicate<IProperty> filter, GetMemberOptions options)
Parameters
filter
Predicate<IProperty>options
GetMemberOptions