TypeParameterRef Properties |
The TypeParameterRef type exposes the following members.
Name | Description | |
---|---|---|
_AsString |
This property is just to make debugging easier.
(Inherited from CodeObject.) | |
Annotations |
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.) | |
ArrayRanks |
The array ranks of the type reference (if any).
(Inherited from TypeRefBase.) | |
Category |
The descriptive category of the SymbolicRef.
(Inherited from TypeRef.) | |
ColumnNumber |
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Comment |
The comment for the code object (if any).
(Inherited from CodeObject.) | |
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
DontUseKeyword |
True if the referenced type should display as a type name instead of a keyword if it's a primitive type.
(Inherited from TypeRefBase.) | |
EOLComment |
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.) | |
HasAnnotations |
True if the code object has any annotations.
(Inherited from CodeObject.) | |
HasArrayRanks |
True if the type reference has any array ranks.
(Inherited from TypeRefBase.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasComments |
True if the code object has any comments of any kind.
(Inherited from CodeObject.) | |
HasCompilerDirectives |
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.) | |
HasDocComments |
True if the code object has any documentation comments.
(Inherited from CodeObject.) | |
HasEOLComments |
True if the code object has any EOL comments.
(Inherited from CodeObject.) | |
HasEOLOrPostAnnotations |
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.) | |
HasErrors |
True if the code object has any error messages.
(Inherited from CodeObject.) | |
HasFirstOnLineAnnotations |
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.) | |
HasInfixComments |
True if the code object has any Infix comments.
(Inherited from CodeObject.) | |
HasMessages |
True if the code object has any generated messages.
(Inherited from CodeObject.) | |
HasNoIndentation |
Determines if the code object has no indentation.
(Inherited from CodeObject.) | |
HasNonEOLComments |
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.) | |
HasParens |
True if the expression is surrounded by parens.
(Inherited from Expression.) | |
HasParensDefault |
True if the expression should have parens by default.
(Inherited from Expression.) | |
HasPostAnnotations |
True if the code object has any postfix annotations.
(Inherited from CodeObject.) | |
HasTerminator |
Determines if the code object has a terminator character.
(Inherited from CodeObject.) | |
HasTypeArguments |
True if there are any type arguments.
(Inherited from TypeRefBase.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IsAbstract |
True if the referenced type is abstract.
(Inherited from TypeRef.) | |
IsArray |
True if the type reference is an array.
(Inherited from TypeRefBase.) | |
IsBitFlagsEnum |
True if the referenced type is a bit-flags enum.
(Inherited from TypeRef.) | |
IsBuiltInType |
True if the referenced type is a built-in type (has a keyword). The built-in types are:
object, void, sbyte, byte, short, ushort, int, uint, long, ulong, char, bool, string, float, double, decimal
(Inherited from TypeRef.) | |
IsBuiltInTypeOrArray |
True if the referenced type is a built-in type or an array of a built-in type.
(Inherited from TypeRef.) | |
IsClass |
True if the referenced type is a class.
(Inherited from TypeRef.) | |
IsConst |
Always false.
(Overrides TypeRefIsConst.) | |
IsContravariant |
True if the referenced type parameter is contra-variant.
| |
IsCovariant |
True if the referenced type parameter is co-variant.
| |
IsDelegateType |
Always false.
(Overrides TypeRefIsDelegateType.) | |
IsDocCodeReference |
Returns true if the TypeRefBase is a DocCodeRefBase reference to a code object, otherwise false.
(Inherited from TypeRefBase.) | |
IsEndFirstOnLine |
True if the closing paren or bracket is on a new line.
(Inherited from Expression.) | |
IsEnum |
True if the referenced type is an enum.
(Inherited from TypeRef.) | |
IsFirstOnLine |
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.) | |
IsFirstOnLineDefault |
True if the code object defaults to starting on a new line.
(Inherited from Expression.) | |
IsFixedBufferType |
True if the referenced type is a fixed buffer type.
(Inherited from TypeRef.) | |
IsGenerated |
Determines if the code object is generated.
(Inherited from CodeObject.) | |
IsGenericParameter |
Always true.
(Overrides TypeRefIsGenericParameter.) | |
IsGenericType |
True if the type is a generic type (meaning that either it or an enclosing type has type arguments).
(Inherited from TypeRef.) | |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsInterface |
True if the referenced type is an interface.
(Inherited from TypeRef.) | |
IsInternal |
True if the referenced type has internal access.
(Inherited from TypeRef.) | |
IsNested |
True if the referenced type is a nested type.
(Inherited from TypeRef.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsNullableType |
True if the referenced type is a nullable type.
(Inherited from TypeRef.) | |
IsOrContainsNestedGenericType |
True if the referenced type is a nested generic type, or if it (recursively) contains a nested generic type as a type argument.
(Inherited from TypeRef.) | |
IsPartial |
True if the referenced type is a partial type.
(Inherited from TypeRef.) | |
IsPointer |
True if the type reference is a pointer.
(Inherited from TypeRefBase.) | |
IsPossibleDelegateType |
Always true.
(Overrides ExpressionIsPossibleDelegateType.) | |
IsPrimitive |
True if the type is Primitive. The Primitive Types are:
sbyte, byte, short, ushort, int, uint, long, ulong, IntPtr, UIntPtr, char, bool, float, double.
The following are NOT primitive types: object, void, string, decimal
(Inherited from TypeRef.) | |
IsPrivate |
True if the referenced type has private access.
(Inherited from TypeRef.) | |
IsProtected |
True if the referenced type has protected access.
(Inherited from TypeRef.) | |
IsPublic |
True if the referenced type has public access.
(Inherited from TypeRef.) | |
IsRenderable |
True if the CodeObject is renderable.
(Inherited from CodeObject.) | |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Inherited from TypeRefBase.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from CodeObject.) | |
IsStatic |
True if the referenced type is static.
(Inherited from TypeRef.) | |
IsUserClass |
True if the referenced type is a user-defined class (excludes 'object' and 'string').
(Inherited from TypeRef.) | |
IsUserStruct |
True if the referenced type is a user-defined struct (excludes primitive types including 'void' and 'decimal', and enums).
(Inherited from TypeRef.) | |
IsValueType |
True if the referenced type is a value type.
(Overrides TypeRefIsValueType.) | |
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Name |
The name of the SymbolicRef.
(Overrides TypeRefName.) | |
NamespaceName |
The associated Namespace name.
(Inherited from TypeRef.) | |
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from CodeObject.) | |
Parent |
The parent CodeObject.
(Inherited from TypeRefBase.) | |
PointerCount |
The number of pointer dereferences.
(Inherited from TypeRefBase.) | |
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
Reference |
The code object to which the SymbolicRef refers.
(Inherited from SymbolicRef.) | |
TypeArgumentCount |
The number of type arguments.
(Inherited from TypeRefBase.) | |
TypeArguments |
The type argument Expressions of the reference (if any).
(Overrides TypeRefBaseTypeArguments.) | |
Variance |
The TypeParameterVariance of the type parameter (if any).
|