Struct CustomModifier
Represents custom modifier, an object used to associate a special information with the type specification, as defined by ECMA-335
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: CilTools.BytecodeAnalysis
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public struct CustomModifier
Properties
IsRequired
Gets the value indicating whether this modifier is required or optional
Declaration
public bool IsRequired { get; }
Property Value
Type | Description |
---|---|
System.Boolean | 'true' if type users are required to understand this modifier in order to correctly use it, 'false' if the modifier can be ignored |
Remarks
See ECMA-335 I.9.7 (Metadata extensibility) for more information about required and optional modifiers
ModifierType
Gets the type of this modifier
Declaration
public Type ModifierType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
ToString()
Gets the textual representation of this modifier as CIL code
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()