internal UnloadedArrayType(VirtualMachine virtualMachine, string signature) : base(virtualMachine, signature) { Contract.Requires(virtualMachine != null); Contract.Requires(!string.IsNullOrEmpty(signature)); _componentSignature = Signature.Substring(1); _componentTypeName = SignatureHelper.DecodeTypeName(_componentSignature); _componentType = new UnloadedReferenceType(VirtualMachine, _componentSignature); }
public bool Equals(IReferenceType other) { UnloadedReferenceType otherType = other as UnloadedReferenceType; if (otherType == null) { return(false); } return(this.VirtualMachine.Equals(otherType.VirtualMachine) && this.Signature == otherType.Signature); }