32 readonly Type reflectedType;
33 readonly ConstructorInfo ctor;
42 Debug.Assert(reflectedType != ctor.DeclaringType);
43 this.reflectedType = reflectedType;
47 public override bool Equals(
object obj)
50 return other !=
null && other.reflectedType == reflectedType && other.ctor == ctor;
55 return reflectedType.GetHashCode() ^ ctor.GetHashCode();
60 get {
return reflectedType; }
63 internal override MethodInfo GetMethodInfo()
65 return ctor.GetMethodInfo();
68 internal override MethodInfo GetMethodOnTypeDefinition()
70 return ctor.GetMethodOnTypeDefinition();