![]() OperatorFromString | A helper method that converts strings to operators. Note: the unary plus and negation strings should have a 'u' appened to differentiate them from addition and subtraction strings. |
![]() StringFromOperator | A helper method that converts operators to strings. Note: the unary plus and negation strings returned will NOT have a 'u' appened as that usually isn't desired. |
OperatorDecl Constructor
|
Initializes a new instance of the OperatorDecl 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. |
FirstParameter | Gets or sets the first object in a unary, binary or conversion overload. |
LinePragma (inherited from CSharpGraph) | |
MemberKind | |
Operator | Gets or sets the operator to overload. This can be 'explicit' or 'implicit' in the case of conversion. |
Parameters | Gets the collection of parameters - this is actually just putting the first and second (if present) parameter into a collection. |
Scope | |
SecondParameter | Gets or sets the second object in a binary overload (not set for unary and conversion overloads). |
Statements | Gets the collection of statements for the operator declaration. |
Type | Gets or sets the type that the operator will affect. |
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) |
OperatorDecl Class | DDW.CSharp.Dom Namespace