System.Reflection.Emit.SignatureToken Structure

Assembly: Mscorlib.dll
Namespace: System.Reflection.Emit
Summary
Represents the Token returned by the metadata to represent a signature.
C# Syntax:
[Serializable]
public struct SignatureToken
Thread Safety
Reflection Emit is thread-safe when using assemblies that were created with the AppDomain.DefineDynamicAssembly method with the Boolean parameter isSynchronized set to true.
See also:
System.Reflection.Emit Namespace

System.Reflection.Emit.SignatureToken Member List:

Public Fields
Empty The default SignatureToken with SignatureToken.Token value 0.
Public Properties
Token Read-only

Retrieves the metadata token for the local variable signature for this method.
Public Methods
Equals Overridden:
Checks if the given object is an instance of SignatureToken and is equal to this instance.
GetHashCode Overridden:
Generates the hash code for this signature.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.ValueType)
See base class member description: System.ValueType.ToString


Returns the fully qualified type name of this instance.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Reflection.Emit.SignatureToken Member Details

Field: Empty
Summary
The default SignatureToken with SignatureToken.Token value 0.
C# Syntax:
public static readonly SignatureToken Empty;

Return to top


Property: Token (read-only)
Summary
Retrieves the metadata token for the local variable signature for this method.
C# Syntax:
public int Token {get;}
Remarks
This returns a numeric representation of the metadata token.

Return to top


Overridden Method: Equals(
   object obj
)
Summary
Checks if the given object is an instance of SignatureToken and is equal to this instance.
C# Syntax:
public override bool Equals(
   object obj
);
Parameters:

obj

The object to compare with this SignatureToken.

Return Value:
true if obj is an instance of SignatureToken and is equal to this object; otherwise, false.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~SignatureToken();

For more information on members inherited from System.Object click on the link above.

Return to top


Overridden Method: GetHashCode()
Summary
Generates the hash code for this signature.
C# Syntax:
public override int GetHashCode();
Return Value:
Returns the hash code for this signature.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.ValueType.ToString

Summary
Returns the fully qualified type name of this instance.
C# Syntax:
public override string ToString();
Return Value:
A String containing a fully qualified type name.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.