Name
MethodToken
Synopsis
This class represents the token for a
method. See
EventToken
for more details on tokens.
public struct MethodToken {
// Public Static Fields
public static readonly MethodToken Empty;
// =System.Reflection.Emit.MethodToken
// Public Instance Properties
public int Token{get; }
// Public Instance Methods
public override bool Equals(object obj
);
// overrides ValueType
public override int GetHashCode( );
// overrides ValueType
}
Hierarchy
System.Object
→
System.ValueType
→
MethodToken
Returned By
ConstructorBuilder.GetToken( )
,
MethodBuilder.GetToken( )
,
ModuleBuilder.{GetArrayMethodToken( )
,
GetConstructorToken( )
, GetMethodToken( )}
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.