Table of Contents

Interface ITypeReference

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll

Represents a reference to a type. Must be resolved before it can be used as type.

public interface ITypeReference

Methods

Resolve(ITypeResolveContext)

Resolves this type reference.

IType Resolve(ITypeResolveContext context)

Parameters

context ITypeResolveContext

Context to use for resolving this type reference. Which kind of context is required depends on the which kind of type reference this is; please consult the documentation of the method that was used to create this type reference, or that of the class implementing this method.

Returns

IType

Returns the resolved type. In case of an error, returns an unknown type (Unknown). Never returns null.