Table of Contents

Class BoxedArgument

Namespace
AsmResolver.DotNet.Signatures
Assembly
AsmResolver.DotNet.dll

Represents a boxed object in a custom attribute signature.

public sealed class BoxedArgument
Inheritance
BoxedArgument
Inherited Members

Constructors

BoxedArgument(TypeSignature, object?)

Creates a new instance of the BoxedArgument class.

public BoxedArgument(TypeSignature type, object? value)

Parameters

type TypeSignature

The value type of the boxed object.

value object

The boxed value.

Properties

Type

Gets the type of the boxed argument.

public TypeSignature Type { get; }

Property Value

TypeSignature

Value

Gets the boxed value.

public object? Value { get; }

Property Value

object

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.