Table of Contents

Class AnyNode

Namespace
ICSharpCode.Decompiler.IL.Patterns
Assembly
ICSharpCode.Decompiler.dll

Matches any node

public sealed class AnyNode : PatternInstruction
Inheritance
AnyNode
Inherited Members

Constructors

AnyNode(CaptureGroup?)

public AnyNode(CaptureGroup? group = null)

Parameters

group CaptureGroup

Methods

Clone()

public override sealed ILInstruction Clone()

Returns

ILInstruction

GetChild(int)

protected override sealed ILInstruction GetChild(int index)

Parameters

index int

Returns

ILInstruction

GetChildCount()

protected override sealed int GetChildCount()

Returns

int

GetChildSlot(int)

protected override sealed SlotInfo GetChildSlot(int index)

Parameters

index int

Returns

SlotInfo

PerformMatch(ILInstruction?, ref Match)

protected override bool PerformMatch(ILInstruction? other, ref Match match)

Parameters

other ILInstruction
match Match

Returns

bool

SetChild(int, ILInstruction)

protected override sealed void SetChild(int index, ILInstruction value)

Parameters

index int
value ILInstruction

WriteTo(ITextOutput, ILAstWritingOptions)

Writes the ILAst to the text output.

public override void WriteTo(ITextOutput output, ILAstWritingOptions options)

Parameters

output ITextOutput
options ILAstWritingOptions