// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if !FULL_AOT_RUNTIME
using System.Runtime.InteropServices;
namespace System.Reflection.Emit {
/// <summary>
/// Represents the Token returned by the metadata to represent a Parameter.
/// </summary>
-#if NET_2_0
[ComVisible (true)]
-#endif
[Serializable]
public struct ParameterToken {
internal int tokValue;
- public static readonly ParameterToken Empty;
-
-
- static ParameterToken ()
- {
- Empty = new ParameterToken ();
- }
-
+ public static readonly ParameterToken Empty = new ParameterToken ();
internal ParameterToken (int val)
{
return res;
}
-#if NET_2_0
public bool Equals (ParameterToken obj)
{
return (this.tokValue == obj.tokValue);
{
return !Equals (a, b);
}
-#endif
/// <summary>
/// Tests whether the given object is an instance of
}
+#endif