MethodDefInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Information about a method defined in the assembly’s MethodDef metadata table.
public sealed record MethodDefInfo : IEquatable<MethodDefInfo>Inheritance
Section titled “Inheritance”Object → MethodDefInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MethodDefInfo(int, string, string, string, MethodAttributes, MethodImplAttributes, int)
Section titled “MethodDefInfo(int, string, string, string, MethodAttributes, MethodImplAttributes, int)”Information about a method defined in the assembly’s MethodDef metadata table.
Parameters:
Token(Int32): The metadata token for this method definition.DeclaringType(String): The fully qualified name of the type that declares this method.Name(String): The simple name of the method.Signature(String): The decoded method signature string (e.g., “void(int, string)”).Attributes(MethodAttributes): The method attribute flags (access, vtable layout, implementation).ImplAttributes(MethodImplAttributes): The method implementation attribute flags (IL, native, runtime).Rva(Int32): The relative virtual address of the method body, or zero for abstract/extern methods.
public MethodDefInfo(int Token, string DeclaringType, string Name, string Signature, MethodAttributes Attributes, MethodImplAttributes ImplAttributes, int Rva)Properties
Section titled “Properties”Attributes
Section titled “Attributes”The method attribute flags (access, vtable layout, implementation).
Returns: MethodAttributes
public MethodAttributes Attributes { get; init; }DeclaringType
Section titled “DeclaringType”The fully qualified name of the type that declares this method.
Returns: String
public string DeclaringType { get; init; }ImplAttributes
Section titled “ImplAttributes”The method implementation attribute flags (IL, native, runtime).
Returns: MethodImplAttributes
public MethodImplAttributes ImplAttributes { get; init; }The simple name of the method.
Returns: String
public string Name { get; init; }The relative virtual address of the method body, or zero for abstract/extern methods.
Returns: Int32
public int Rva { get; init; }Signature
Section titled “Signature”The decoded method signature string (e.g., “void(int, string)”).
Returns: String
public string Signature { get; init; }The metadata token for this method definition.
Returns: Int32
public int Token { get; init; }