Class SerializedNonOverloadedMethod
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of NonOverloadedMethod that is read from a PDB image.
public class SerializedNonOverloadedMethod : NonOverloadedMethod, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedNonOverloadedMethod
- Implements
- Inherited Members
Constructors
SerializedNonOverloadedMethod(PdbReaderContext, uint, ref BinaryStreamReader)
Reads a non-overloaded method from the provided input stream.
public SerializedNonOverloadedMethod(PdbReaderContext context, uint typeIndex, ref BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the method is situated in.
typeIndex
uintThe index to assign to the type.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetFunction()
Obtains the function that this method references.
protected override MemberFunctionLeaf? GetFunction()
Returns
- MemberFunctionLeaf
The function.
Remarks
This method is called upon initialization of the Function property.
GetName()
Obtains the name of the field.
protected override Utf8String GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon initialization of the Name property.