Public Member Functions |
| CsEntityTypeRef | clone () |
| void | replace_generic_parameters (CsEntity parent, cs_generic_param_type generic_type, CsEntityTypeRef[] arguments) |
| void | replace_generic_parameters (CsTypeArgumentList tal) |
| bool | is_contains_generic_parameters (cs_generic_param_type generic_type) |
| int | CompareTo (CsEntityTypeRef rhs) |
| bool | equal_type (CsEntityTypeRef rhs) |
| | Returns true if types are equal.
|
| bool | equal_type (CsEntityTypeRef rhs, equal_option option) |
| cs_inferred_type | equalInferred (CsEntityTypeRef A, CsEntityTypeRef[] method_type_arguments) |
| bool | isUnknown () |
| | Returns true if the type is unknown (undefined).
|
| bool | isVoid () |
| | Returns true if the type is void.
|
| bool | isBoolean () |
| | Returns true if the type is boolean.
|
| bool | isChar () |
| | Returns true if the type is char.
|
| bool | isInt8 () |
| | Returns true if the type is sbyte.
|
| bool | isUInt8 () |
| | Returns true if the type is byte.
|
| bool | isInt16 () |
| | Returns true if the type is short.
|
| bool | isUInt16 () |
| | Returns true if the type is ushort.
|
| bool | isInt32 () |
| | Returns true if the type is int.
|
| bool | isUInt32 () |
| | Returns true if the type is uint.
|
| bool | isInt64 () |
| | Returns true if the type is long.
|
| bool | isUInt64 () |
| | Returns true if the type is ulong.
|
| bool | isFloat32 () |
| | Returns true if the type is float.
|
| bool | isFloat64 () |
| | Returns true if the type is double.
|
| bool | isDecimal () |
| | Returns true if the type is decimal.
|
| bool | isEnum () |
| | Returns true if the type is enum.
|
| bool | isNullableEnum () |
| | Returns true if the type is enum?.
|
| bool | isEnumOrNullableEnum () |
| | Returns true if the type is enum or enum?.
|
| bool | isValueType () |
| | Returns true if the type is value type.
|
| bool | isValueTypeOrNullableValueType () |
| | Returns true if the type is value type or nullable value type.
|
| bool | isVoidOrValueType () |
| | Returns true if the type is void or value type.
|
| bool | isReferenceType () |
| | Returns true if the type is reference type.
|
| bool | isClass () |
| | Returns true if the type is class.
|
| bool | isInterface () |
| | Returns true if the type is interface.
|
| bool | isDelegate () |
| | Returns true if the type is delegate.
|
| bool | isClassOrInterface () |
| | Returns true if the type is class or interface.
|
| bool | isClassOrValueType () |
| | Returns true if the type is class or value-type.
|
| bool | isClassOrValueTypeOrDelegate () |
| | Returns true if the type is class, value-type or delegate.
|
| bool | isArray () |
| | Returns true if the type is array.
|
| bool | isNull () |
| | Returns true if the type is null literal.
|
| bool | isAnonymousFunction () |
| | Returns true if the type is anonymous function.
|
| bool | isGenericParam () |
| | Returns true if the type is class, value-type or delegate.
|
| bool | isGeneric () |
| | Returns true if the type is generic.
|
| void | setConstantExpression () |
| | Set constant expression flag.
|
| void | clearConstantExpression () |
| | Clear constant expression flag.
|
| bool | isConstantExpression () |
| | Returns true if type is constant expression.
|
| void | setZero () |
| | Set zero flag.
|
| bool | isZero () |
| | Returns true if type is zero.
|
| void | setNullable () |
| | Set nullable type flag.
|
| bool | isNullable () |
| | Returns true if the type is nullable.
|
| bool | isSZArray () |
| | Returns ELEMENT_TYPE_SZARRAY flag.
|
| bool | isOpenType () |
| | Returns true if type is open.
|
| void | setModopt () |
| | Set modopt flag.
|
| bool | isModopt () |
| | Returns true if the type has ELEMENT_TYPE_CMOD_OPT prefix.
|
| void | setComImport () |
| | Set ComImport flag.
|
| bool | isComImport () |
| | Returns true if parent type has ComImport attribute.
|
| bool | isDynamic () |
| | Returns type is dynamic.
|
| bool | isAnonymousType () |
| | Returns true if the type is anonymous type.
|
| void | setImplicitlyTyped () |
| | Set anonymous type.
|
| bool | isImplicitlyTyped () |
| | Returns true if the type is anonymous type.
|
| void | setExpressionTree () |
| | Set expression tree flag.
|
| bool | isExpressionTree () |
| | Returns true if the type is expression tree.
|
| bool | isCsPredefinedValueType () |
| | Returns true if the type is C# predefined value type (includes integral, float and decimal types).
|
| bool | isCsPredefinedType () |
| CsEntityType | getNonNullableType () |
| | Returns Nonnulable type from nullable type.
|
| CsEntityDelegate | getDelegate () |
| | Returns delegate entity from delegate or expression tree type.
|
| CsEntityTypeRef | getEnumUnderlyingType () |
| CsEntityTypeRef[] | getDelegateArguments () |
| | Returns delegate generic parameter arguments from delegate or expression tree type.
|
| bool | isUnmanagedType () |
| | Returns true if the type is unmanaged.
|
| bool | isUnsafe () |
| | Returns true if the type is unsafe.
|
| CsEntityType | getType () |
| | Returns direct or indirect type.
|
| override int | GetHashCode () |
| string | getNameAsString (CsEntity.entity_name_options options) |
| void | CopyTo (CsEntityTypeRef copy) |
Static Public Member Functions |
| static bool | isBaseDerived (CsEntityTypeRef base_type, CsEntityTypeRef derived_type) |
| | Returns true if base_type derived from derived_type.
|
| static bool | isBaseDerived (CsEntityTypeRef base_type, CsEntityTypeRef derived_type, equal_option option) |
| | Returns true if base_type derived from derived_type.
|
Public Attributes |
| cs_entity_type | type |
| | Entity type specifier enumeration.
|
| cs_entity_type_transitive_flag | transitive_flag |
| | Transitive flags.
|
| cs_entity_type_nontransitive_flag | nontransitive_flag |
| | Non-Transitive flags.
|
| cs_entity_special_type | special_type |
| | Special type.
|
| object | u |
| | Entity or struct.
|