29 internal readonly
struct CustomAttributeTypedArgument
33 readonly
object value;
40 internal CustomAttributeTypedArgument(
Type type,
object value)
46 public override bool Equals(
object obj)
48 return this == obj as CustomAttributeTypedArgument?;
51 public override int GetHashCode()
53 return type.GetHashCode() ^ 77 * (value ==
null ? 0 : value.GetHashCode());
56 public Type ArgumentType
66 public static bool operator ==(CustomAttributeTypedArgument arg1, CustomAttributeTypedArgument arg2)
68 return arg1.type.Equals(arg2.type) && (arg1.value == arg2.value || (arg1.value !=
null && arg1.value.Equals(arg2.value)));
71 public static bool operator !=(CustomAttributeTypedArgument arg1, CustomAttributeTypedArgument arg2)
73 return !(arg1 == arg2);
IKVM.Reflection.Type Type