Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs70
1 files changed, 0 insertions, 70 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs b/mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs
deleted file mode 100644
index 38216a23996..00000000000
--- a/mcs/class/corlib/System.Reflection.Emit/PropertyToken.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-// PropertyToken.cs
-//
-// (C) 2001 Ximian, Inc. http://www.ximian.com
-
-
-namespace System.Reflection.Emit {
-
-
- /// <summary>
- /// Represents the Token returned by the metadata to represent a Property.
- /// </summary>
- [Serializable]
- public struct PropertyToken {
-
- internal int tokValue;
-
- public static readonly PropertyToken Empty;
-
-
- static PropertyToken ()
- {
- Empty = new PropertyToken ();
- }
-
-
- internal PropertyToken (int val)
- {
- tokValue = val;
- }
-
-
-
- /// <summary>
- /// </summary>
- public override bool Equals (object obj)
- {
- bool res = obj is PropertyToken;
-
- if (res) {
- PropertyToken that = (PropertyToken) obj;
- res = (this.tokValue == that.tokValue);
- }
-
- return res;
- }
-
-
- /// <summary>
- /// Tests whether the given object is an instance of
- /// PropertyToken and has the same token value.
- /// </summary>
- public override int GetHashCode ()
- {
- return tokValue;
- }
-
-
- /// <summary>
- /// Returns the metadata token for this Property.
- /// </summary>
- public int Token {
- get {
- return tokValue;
- }
- }
-
- }
-
-}
-