Skip to content

ImportedFunctionInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A single function imported from a native module.

public sealed record ImportedFunctionInfo : IEquatable<ImportedFunctionInfo>

ObjectImportedFunctionInfo

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)

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; }

The import ordinal, or null for named imports.

Returns: Nullable<UInt16>

public ushort? Ordinal { get; init; }

Deconstruct(out string?, out ushort?, out ushort?)

Section titled “Deconstruct(out string?, out ushort?, out ushort?)”

Parameters:

public void Deconstruct(out string? Name, out ushort? Ordinal, out ushort? Hint)

Parameters:

Returns: Boolean

public bool Equals(ImportedFunctionInfo? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(ImportedFunctionInfo?, ImportedFunctionInfo?)

Section titled “operator !=(ImportedFunctionInfo?, ImportedFunctionInfo?)”

Parameters:

Returns: Boolean

public static bool operator !=(ImportedFunctionInfo? left, ImportedFunctionInfo? right)

operator ==(ImportedFunctionInfo?, ImportedFunctionInfo?)

Section titled “operator ==(ImportedFunctionInfo?, ImportedFunctionInfo?)”

Parameters:

Returns: Boolean

public static bool operator ==(ImportedFunctionInfo? left, ImportedFunctionInfo? right)