Class Role
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
Represents the role a node plays within its parent.
public abstract class Role
- Inheritance
-
Role
- Derived
- Inherited Members
Fields
RoleIndexBits
public const int RoleIndexBits = 9
Field Value
Properties
Index
public uint Index { get; }
Property Value
Methods
GetByIndex(uint)
Gets the role with the specified index.
public static Role GetByIndex(uint index)
Parameters
index
uint
Returns
IsValid(object)
Gets whether the specified node is valid in this role.
public abstract bool IsValid(object node)
Parameters
node
object