ImportedFunctionInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A single function imported from a native module.
public sealed record ImportedFunctionInfo : IEquatable<ImportedFunctionInfo>Inheritance
Section titled “Inheritance”Object → ImportedFunctionInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”ImportedFunctionInfo(string?, ushort?, ushort?)
Section titled “ImportedFunctionInfo(string?, ushort?, ushort?)”A single function imported from a native module.
Parameters:
Name(String): The imported function name, or null for ordinal-only imports.Ordinal(Nullable<UInt16>): The import ordinal, or null for named imports.Hint(Nullable<UInt16>): The export-name-table hint for named imports, or null.
public ImportedFunctionInfo(string? Name, ushort? Ordinal, ushort? Hint)Properties
Section titled “Properties”The export-name-table hint for named imports, or null.
Returns: Nullable<UInt16>
public ushort? Hint { get; init; }The imported function name, or null for ordinal-only imports.
Returns: String
public string? Name { get; init; }Ordinal
Section titled “Ordinal”The import ordinal, or null for named imports.
Returns: Nullable<UInt16>
public ushort? Ordinal { get; init; }Methods
Section titled “Methods”Deconstruct(out string?, out ushort?, out ushort?)
Section titled “Deconstruct(out string?, out ushort?, out ushort?)”Parameters:
Name(String)Ordinal(Nullable<UInt16>)Hint(Nullable<UInt16>)
public void Deconstruct(out string? Name, out ushort? Ordinal, out ushort? Hint)Equals(ImportedFunctionInfo?)
Section titled “Equals(ImportedFunctionInfo?)”Parameters:
other(ImportedFunctionInfo)
Returns: Boolean
public bool Equals(ImportedFunctionInfo? 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()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(ImportedFunctionInfo?, ImportedFunctionInfo?)
Section titled “operator !=(ImportedFunctionInfo?, ImportedFunctionInfo?)”Parameters:
left(ImportedFunctionInfo)right(ImportedFunctionInfo)
Returns: Boolean
public static bool operator !=(ImportedFunctionInfo? left, ImportedFunctionInfo? right)operator ==(ImportedFunctionInfo?, ImportedFunctionInfo?)
Section titled “operator ==(ImportedFunctionInfo?, ImportedFunctionInfo?)”Parameters:
left(ImportedFunctionInfo)right(ImportedFunctionInfo)
Returns: Boolean
public static bool operator ==(ImportedFunctionInfo? left, ImportedFunctionInfo? right)