TypeRef Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
public class TypeRef : IEquatable<Microsoft.VisualStudio.Composition.Reflection.TypeRef>, IEquatable<Type>
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
type TypeRef = class
interface IEquatable<TypeRef>
interface IEquatable<Type>
Public Class TypeRef
Implements IEquatable(Of Type), IEquatable(Of TypeRef)
- Inheritance
-
TypeRef
- Attributes
- Implements
Properties
AssemblyId | |
AssemblyName | |
BaseTypes |
Gets the full list of base types and interfaces for this instance. |
ElementTypeRef | |
FullName |
Gets the full name of the type represented by this instance. When representing a generic type, this is the full name of the generic type definition. |
GenericTypeArguments | |
GenericTypeParameterCount | |
IsArray | |
IsGenericType | |
IsGenericTypeDefinition | |
IsShallow |
Gets a value indicating whether or not this TypeRef is shallow. Shallow TypeRefs do not have a defined list of base types. |
IsValueType | |
MetadataToken | |
TypeFlags |
Methods
Equals(Object) | |
Equals(Type) | |
Equals(TypeRef) | |
Get(Resolver, AssemblyName, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef) | |
Get(Resolver, StrongAssemblyIdentity, Int32, String, TypeRefFlags, Int32, ImmutableArray<TypeRef>, Boolean, ImmutableArray<TypeRef>, TypeRef) | |
Get(Type, Resolver) |
Gets a TypeRef that represents a given Type instance. |
GetHashCode() | |
IsAssignableFrom(TypeRef) |
Checks if the type represented by the given TypeRef can be assigned to the type represented by this instance. |
MakeGenericTypeRef(ImmutableArray<TypeRef>) |
Extension Methods
Resolve(TypeRef) |