Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​RuntimeMethodHandle

Assembly: System.Runtime

<see cref="T:System.RuntimeMethodHandle" /> is a handle to the internal metadata representation of a method.

Properties

public nint
Value
Gets the value of this instance.

Methods

public bool
Equals​(object obj)
obj A <see cref="T:System.Object" /> to compare to this instance.
Returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.RuntimeMethodHandle" /> and equal to the value of this instance; otherwise, <see langword="false" /> .
Indicates whether this instance is equal to a specified object.
public bool
Equals​(RuntimeMethodHandle handle)
handle A <see cref="T:System.RuntimeMethodHandle" /> to compare to this instance.
Returns <see langword="true" /> if <paramref name="handle" /> is equal to the value of this instance; otherwise, <see langword="false" /> .
Indicates whether this instance is equal to a specified <see cref="T:System.RuntimeMethodHandle" /> .
public nint
GetFunctionPointer​()
Returns A pointer to the method represented by this instance.
Obtains a pointer to the method represented by this instance.
public int
GetHashCode​()
Returns A 32-bit signed integer hash code.
Returns the hash code for this instance.
public void
GetObjectData​(SerializationInfo info, StreamingContext context)
info The object to populate with serialization information.
context (Reserved) The place to store and retrieve serialized data.
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data necessary to deserialize the field represented by this instance.
public string
ToString​()
Inherited from ValueType
Returns The fully qualified type name.
Returns the fully qualified type name of this instance.
protected void
Finalize​()
Inherited from object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public Type
GetType​()
Inherited from object
Returns The exact runtime type of the current instance.
Gets the <see cref="T:System.Type" /> of the current instance.
protected object
MemberwiseClone​()
Inherited from object
Returns A shallow copy of the current <see cref="T:System.Object" /> .
Creates a shallow copy of the current <see cref="T:System.Object" /> .