ITypeDecl Methods |
The ITypeDecl type exposes the following members.
Name | Description | |
---|---|---|
AddToDictionary |
Add the CodeObject to the specified dictionary.
(Inherited from INamedCodeObject.) | |
CreateArrayRef(Int32) |
Create an array reference to the type.
| |
CreateArrayRef(Boolean, Int32) |
Create an array reference to the type.
| |
CreateNullableRef |
Create a nullable reference to the type.
| |
CreateRef(Boolean) |
Create a reference to the CodeObject.
(Inherited from INamedCodeObject.) | |
CreateRef(ChildListExpression, ListInt32, Int32) |
Create a reference to the type.
| |
CreateRef(Boolean, ChildListExpression, ListInt32, Int32) |
Create a reference to the type.
| |
FindParentT |
Find the parent object of the specified type.
(Inherited from INamedCodeObject.) | |
FindTypeArgumentInBase |
Find a type argument in a base class for the specified type parameter.
| |
GetAttribute |
Returns the first attribute expression (Call or ConstructorRef) with the specified name on the CodeObject.
| |
GetBaseType |
Get the base type.
| |
GetConstructor |
Get the non-static constructor with the specified parameters.
| |
GetConstructors |
Get all non-static constructors for this type.
| |
GetDelegateParameters |
Get the delegate parameters of the type (if any).
| |
GetDelegateReturnType |
Get the delegate return type of the type (if any).
| |
GetEvent |
Get the event with the specified name.
| |
GetField |
Get the field with the specified name.
| |
GetFullName |
Get the full name of the INamedCodeObject, including any namespace name.
(Inherited from INamedCodeObject.) | |
GetIndexer |
Get the indexer with the specified parameter types.
| |
GetMethod |
Get the method with the specified name and parameter types.
| |
GetMethods(String, Boolean) |
Get all methods with the specified name.
| |
GetMethods(String, Boolean, NamedObjectGroup) |
Get all methods with the specified name.
| |
GetNamespace |
Get the Namespace for this CodeObject.
| |
GetNestedType |
Get the nested type with the specified name.
| |
GetProperty |
Get the property with the specified name.
| |
IsAssignableFrom |
Determine if the type is assignable from the specified type.
| |
IsImplementationOf |
Determine if the type implements the specified interface type.
| |
IsSubclassOf |
Determine if the type is a subclass of the specified type.
| |
RemoveFromDictionary |
Remove the CodeObject from the specified dictionary.
(Inherited from INamedCodeObject.) | |
ResolveIndexerRef |
Resolve indexers.
| |
ResolveRef |
Resolve child code objects that match the specified name.
|