NativeSymbolName
Namespace: Dotsider.Core.Analysis.Disasm
Assembly: Dotsider.Core.dll
Splits a recovered managed name (as joined by the native symbol reader, e.g.
System.Text.StringBuilder.Append(char)) into its namespace, declaring type, and member,
so the native IL-inspector tree can bucket functions the same namespace → type → method way the
managed tree does. The parse is signature-aware (it ignores the parameter list) and handles
nested types (+) and generic arity markers.
public readonly struct NativeSymbolName : IEquatable<NativeSymbolName>Implements
Section titled “Implements”Constructors
Section titled “Constructors”NativeSymbolName(string, string, string)
Section titled “NativeSymbolName(string, string, string)”Splits a recovered managed name (as joined by the native symbol reader, e.g.
System.Text.StringBuilder.Append(char)) into its namespace, declaring type, and member,
so the native IL-inspector tree can bucket functions the same namespace → type → method way the
managed tree does. The parse is signature-aware (it ignores the parameter list) and handles
nested types (+) and generic arity markers.
Parameters:
Namespace(String): The namespace, or empty for the global namespace.TypeName(String): The declaring type (with any nested-type chain), or empty when absent.MemberName(String): The member name with its signature, or the whole name when it has no type qualifier.
public NativeSymbolName(string Namespace, string TypeName, string MemberName)Properties
Section titled “Properties”MemberName
Section titled “MemberName”The member name with its signature, or the whole name when it has no type qualifier.
Returns: String
public string MemberName { get; init; }Namespace
Section titled “Namespace”The namespace, or empty for the global namespace.
Returns: String
public string Namespace { get; init; }TypeName
Section titled “TypeName”The declaring type (with any nested-type chain), or empty when absent.
Returns: String
public string TypeName { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out string)
Section titled “Deconstruct(out string, out string, out string)”Parameters:
public void Deconstruct(out string Namespace, out string TypeName, out string MemberName)Equals(NativeSymbolName)
Section titled “Equals(NativeSymbolName)”Parameters:
other(NativeSymbolName)
Returns: Boolean
public bool Equals(NativeSymbolName other)Equals(object)
Section titled “Equals(object)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()Parse(string)
Section titled “Parse(string)”Parses a managed name into namespace, type, and member.
Parameters:
managedName(String): The joined managed name.
Returns: NativeSymbolName
public static NativeSymbolName Parse(string managedName)ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(NativeSymbolName, NativeSymbolName)
Section titled “operator !=(NativeSymbolName, NativeSymbolName)”Parameters:
left(NativeSymbolName)right(NativeSymbolName)
Returns: Boolean
public static bool operator !=(NativeSymbolName left, NativeSymbolName right)operator ==(NativeSymbolName, NativeSymbolName)
Section titled “operator ==(NativeSymbolName, NativeSymbolName)”Parameters:
left(NativeSymbolName)right(NativeSymbolName)
Returns: Boolean
public static bool operator ==(NativeSymbolName left, NativeSymbolName right)