Table of Contents

Struct AccessPathElement

Namespace
ICSharpCode.Decompiler.IL.Transforms
Assembly
ICSharpCode.Decompiler.dll
public struct AccessPathElement : IEquatable<AccessPathElement>
Implements
Inherited Members

Constructors

AccessPathElement(OpCode, IMember, ILInstruction[]?)

public AccessPathElement(OpCode opCode, IMember member, ILInstruction[]? indices = null)

Parameters

opCode OpCode
member IMember
indices ILInstruction[]

Fields

Indices

public readonly ILInstruction[]? Indices

Field Value

ILInstruction[]

Member

public readonly IMember Member

Field Value

IMember

OpCode

public readonly OpCode OpCode

Field Value

OpCode

Methods

Equals(AccessPathElement)

public bool Equals(AccessPathElement other)

Parameters

other AccessPathElement

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetAccessPath(ILInstruction, IType, DecompilerSettings?, CSharpTypeResolveContext?, Dictionary<ILVariable, (int Index, ILInstruction Value)>?)

public static (AccessPathKind Kind, List<AccessPathElement> Path, List<ILInstruction>? Values, ILVariable? Target) GetAccessPath(ILInstruction instruction, IType rootType, DecompilerSettings? settings = null, CSharpTypeResolveContext? resolveContext = null, Dictionary<ILVariable, (int Index, ILInstruction Value)>? possibleIndexVariables = null)

Parameters

instruction ILInstruction
rootType IType
settings DecompilerSettings
resolveContext CSharpTypeResolveContext
possibleIndexVariables Dictionary<ILVariable, (int Index, ILInstruction Value)>

Returns

(AccessPathKind Kind, List<AccessPathElement> Path, List<ILInstruction> Values, ILVariable Target)

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AccessPathElement, AccessPathElement)

public static bool operator ==(AccessPathElement lhs, AccessPathElement rhs)

Parameters

lhs AccessPathElement
rhs AccessPathElement

Returns

bool

operator !=(AccessPathElement, AccessPathElement)

public static bool operator !=(AccessPathElement lhs, AccessPathElement rhs)

Parameters

lhs AccessPathElement
rhs AccessPathElement

Returns

bool