Table of Contents

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

IEnumerable<IType>

IsReferenceType

public override bool? IsReferenceType { get; }

Property Value

bool?

Kind

Gets the type kind.

public override TypeKind Kind { get; }

Property Value

TypeKind

Name

public override string Name { get; }

Property Value

string

ReflectionName

public override string ReflectionName { get; }

Property Value

string

Types

public ReadOnlyCollection<IType> Types { get; }

Property Value

ReadOnlyCollection<IType>

Methods

Create(IEnumerable<IType>)

public static IType Create(IEnumerable<IType> types)

Parameters

types IEnumerable<IType>

Returns

IType

Equals(IType)

public override bool Equals(IType other)

Parameters

other IType

Returns

bool

GetAccessors(Predicate<IMethod>, GetMemberOptions)

public override IEnumerable<IMethod> GetAccessors(Predicate<IMethod> filter, GetMemberOptions options)

Parameters

filter Predicate<IMethod>
options GetMemberOptions

Returns

IEnumerable<IMethod>

GetEvents(Predicate<IEvent>, GetMemberOptions)

public override IEnumerable<IEvent> GetEvents(Predicate<IEvent> filter, GetMemberOptions options)

Parameters

filter Predicate<IEvent>
options GetMemberOptions

Returns

IEnumerable<IEvent>

GetFields(Predicate<IField>, GetMemberOptions)

public override IEnumerable<IField> GetFields(Predicate<IField> filter, GetMemberOptions options)

Parameters

filter Predicate<IField>
options GetMemberOptions

Returns

IEnumerable<IField>

GetHashCode()

public override int GetHashCode()

Returns

int

GetMembers(Predicate<IMember>, GetMemberOptions)

public override IEnumerable<IMember> GetMembers(Predicate<IMember> filter, GetMemberOptions options)

Parameters

filter Predicate<IMember>
options GetMemberOptions

Returns

IEnumerable<IMember>

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

IEnumerable<IMethod>

GetMethods(Predicate<IMethod>, GetMemberOptions)

public override IEnumerable<IMethod> GetMethods(Predicate<IMethod> filter, GetMemberOptions options)

Parameters

filter Predicate<IMethod>
options GetMemberOptions

Returns

IEnumerable<IMethod>

GetProperties(Predicate<IProperty>, GetMemberOptions)

public override IEnumerable<IProperty> GetProperties(Predicate<IProperty> filter, GetMemberOptions options)

Parameters

filter Predicate<IProperty>
options GetMemberOptions

Returns

IEnumerable<IProperty>