IndexerDecl Constructor
|
Initializes a new instance of the IndexerDecl class. |
Attributes (inherited from MemberDecl) | Gets or sets the modifier flags for this member (public, private etc). |
Comments (inherited from MemberDecl) | Gets the collection of comments for this member. |
CustomAttributes (inherited from MemberDecl) | Gets the collection of Custom Attributes used for this member (custom attributes are the ones declared between brackets, like [Flags]). |
Definition | Gets the (scoped) definition. |
GetAccessor | Gets or sets the 'get' accessor for the indexer. This will not have an associated block if the indexer is declared as abstract or in an interface. |
HasGet | Gets or sets the boolean value that indicates whether a get accessor is to be used. Setting this to false will not destroy the GetAccessor value. |
HasSet | Gets or sets the boolean value that indicates whether a set accessor is to be used. Setting this to false will not destroy the SetAccessor value. |
InterfaceType | Gets or sets the interface type, if present. In the case of a class implementing multiple interfaces that require indexers, the interface type is prepended to 'this' (with the syntax IList.this). |
LinePragma (inherited from CSharpGraph) | |
MemberKind | |
Name | Gets the name of the indexer (which is always 'Item'). |
Parameters | Gets the collection of parameters for the indexer. Each of these hold information about the type, direction etc. |
Scope | |
SetAccessor | Gets or sets the 'set' accessor for the indexer. This will not have an associated block if the indexer is declared as abstract or in an interface. |
Type | Gets or sets the type of the indexer. |
UserData (inherited from CSharpGraph) | Gets or sets the user-definable data for the current object. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
VerifyModifiers (inherited from MemberDecl) |
IndexerDecl Class | DDW.CSharp.Dom Namespace