/// <summary> /// Gets whethere the specified type is an interface. /// </summary> /// <param name="type">The type to test.</param> /// <returns>Returns true if the type is an interface.</returns> public static bool IsInterface(this ConceptualType_I type) { return(XConceptualMetadataBase.Api.Elements.Types.IsInterface(type)); }
public static bool IsTypeParameter(this ConceptualType_I type) { return(XConceptualMetadataBase.Api.Elements.Types.IsTypeParameter(type)); }
public RuntimeTypeHandle TypeHandle(ConceptualType_I type) { return(XMetadataBase.Api.TypeHandle(type)); }
/// <summary> /// Gets the type handle associated with the specified type; /// </summary> /// <param name="type">The type from which to get the associated handle.</param> /// <returns>Returns the type handle associated with the specified type. If one is not associated, it returns the default handle.</returns> public static RuntimeTypeHandle TypeHandle(this ConceptualType_I type) { return(XConceptualMetadataBase.Api.Elements.Types.TypeHandle(type)); }
public bool IsTypeParameter(ConceptualType_I type) { return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.TypeParameter); }
public bool IsArray(ConceptualType_I type) { return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Array); }
public bool IsStruct(ConceptualType_I type) { return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Struct); }
public bool IsDelegate(ConceptualType_I type) { return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Delegate); }
public bool IsInterface(ConceptualType_I type) { return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Interface); }