MethodToken MethodToken MethodToken MethodToken Struct

Definition

The MethodToken struct is an object representation of a token that represents a method.

public value class MethodToken
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct MethodToken
type MethodToken = struct
Public Structure MethodToken
Inheritance
MethodTokenMethodTokenMethodTokenMethodToken
Attributes

Fields

Empty Empty Empty Empty

The default MethodToken with Token value 0.

Properties

Token Token Token Token

Returns the metadata token for this method.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether the given object is equal to this MethodToken object.

Equals(MethodToken) Equals(MethodToken) Equals(MethodToken) Equals(MethodToken)

Indicates whether the current instance is equal to the specified MethodToken.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the generated hash code for this method.

Operators

Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken)

Indicates whether two MethodToken structures are equal.

Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken)

Indicates whether two MethodToken structures are not equal.

Applies to