Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 public static bool IsTypeParameter(this ConceptualType_I type)
 {
     return(XConceptualMetadataBase.Api.Elements.Types.IsTypeParameter(type));
 }
Esempio n. 3
0
 public RuntimeTypeHandle TypeHandle(ConceptualType_I type)
 {
     return(XMetadataBase.Api.TypeHandle(type));
 }
Esempio n. 4
0
 /// <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));
 }
Esempio n. 5
0
 public bool IsTypeParameter(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.TypeParameter);
 }
Esempio n. 6
0
 public bool IsArray(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Array);
 }
Esempio n. 7
0
 public bool IsStruct(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Struct);
 }
Esempio n. 8
0
 public bool IsDelegate(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Delegate);
 }
Esempio n. 9
0
 public bool IsInterface(ConceptualType_I type)
 {
     return(type.TypeKind == Models.E01D.Base.Cli.Metadata.Conceptual.TypeKind.Interface);
 }