public void ValidateType(ClrEntityType ospaceEntityType) { if (ospaceEntityType != _entityType && ospaceEntityType.HashedDescription != _entityType.HashedDescription) { Debug.Assert(ospaceEntityType.ClrType == _entityType.ClrType); throw EntityUtil.DuplicateTypeForProxyType(ospaceEntityType.ClrType); } }