Table of Contents

Class SerializedMemberFunctionLeaf

Namespace
AsmResolver.Symbols.Pdb.Leaves.Serialized
Assembly
AsmResolver.Symbols.Pdb.dll

Provides a lazily initialized implementation of MemberFunctionLeaf that is read from a PDB image.

public class SerializedMemberFunctionLeaf : MemberFunctionLeaf, ITpiLeaf, ICodeViewLeaf
Inheritance
SerializedMemberFunctionLeaf
Implements
Inherited Members

Constructors

SerializedMemberFunctionLeaf(PdbReaderContext, uint, BinaryStreamReader)

Reads a member function from the provided input stream.

public SerializedMemberFunctionLeaf(PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)

Parameters

context PdbReaderContext

The reading context in which the function is situated in.

typeIndex uint

The index to assign to the type.

reader BinaryStreamReader

The input stream to read from.

Methods

GetArguments()

Obtains the argument types of the function.

protected override ArgumentListLeaf? GetArguments()

Returns

ArgumentListLeaf

The argument types.

Remarks

This method is called upon initialization of the Arguments property.

GetDeclaringType()

Obtains the declaring type of the function.

protected override CodeViewTypeRecord? GetDeclaringType()

Returns

CodeViewTypeRecord

The declaring type.

Remarks

This method is called upon initialization of the DeclaringType property.

GetReturnType()

Obtains the return type of the function.

protected override CodeViewTypeRecord? GetReturnType()

Returns

CodeViewTypeRecord

The return type.

Remarks

This method is called upon initialization of the ReturnType property.

GetThisType()

Obtains the this-type of the function.

protected override CodeViewTypeRecord? GetThisType()

Returns

CodeViewTypeRecord

The this-type.

Remarks

This method is called upon initialization of the ThisType property.