public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckProperty(() => _constructor.MethodHandle, "MethodHandle"); UnsupportedMemberTestHelper.CheckProperty(() => _constructor.ReflectedType, "ReflectedType"); UnsupportedMemberTestHelper.CheckMethod(() => _constructor.Invoke(null, 0, null, null, null), "Invoke"); UnsupportedMemberTestHelper.CheckMethod(() => _constructor.Invoke(0, null, null, null), "Invoke"); }
public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckProperty(() => _field.FieldHandle, "FieldHandle"); UnsupportedMemberTestHelper.CheckProperty(() => _field.ReflectedType, "ReflectedType"); UnsupportedMemberTestHelper.CheckMethod(() => _field.GetValue(null), "GetValue"); UnsupportedMemberTestHelper.CheckMethod(() => _field.SetValue(null, null), "SetValue"); }
public void UnsupportedMembers() { var property = CustomPropertyInfoObjectMother.Create(); UnsupportedMemberTestHelper.CheckProperty(() => property.ReflectedType, "ReflectedType"); UnsupportedMemberTestHelper.CheckMethod(() => property.SetValue(null, null, null), "SetValue"); UnsupportedMemberTestHelper.CheckMethod(() => property.GetValue(null, null), "GetValue"); }
public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customMethod.ReflectedType, "ReflectedType"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customMethod.MetadataToken, "MetadataToken"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customMethod.Module, "Module"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customMethod.MethodHandle, "MethodHandle"); UnsupportedMemberTestHelper.CheckMethod(() => _customMethod.GetMethodBody(), "GetMethodBody"); UnsupportedMemberTestHelper.CheckMethod(() => _customMethod.Invoke(null, 0, null, null, null), "Invoke"); }
public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckMethod(() => _type.GetCustomAttributeData(), "GetCustomAttributeData"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllNestedTypes(), "GetAllNestedTypes"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllInterfaces(), "GetAllInterfaces"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllFields(), "GetAllFields"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllConstructors(), "GetAllConstructors"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllProperties(), "GetAllProperties"); UnsupportedMemberTestHelper.CheckMethod(() => _type.GetAllEvents(), "GetAllEvents"); }
public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customType.ReflectedType, "ReflectedType"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customType.MetadataToken, "MetadataToken"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customType.GUID, "GUID"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customType.StructLayoutAttribute, "StructLayoutAttribute"); UnsupportedMemberTestHelper.CheckProperty(() => Dev.Null = _customType.TypeHandle, "TypeHandle"); UnsupportedMemberTestHelper.CheckMethod(() => _customType.GetInterfaceMap(null), "GetInterfaceMap"); UnsupportedMemberTestHelper.CheckMethod(() => _customType.GetDefaultMembers(), "GetDefaultMembers"); UnsupportedMemberTestHelper.CheckMethod(() => _customType.InvokeMember(null, 0, null, null, null, null, null, null), "InvokeMember"); UnsupportedMemberTestHelper.CheckMethod(() => _customType.MakePointerType(), "MakePointerType"); UnsupportedMemberTestHelper.CheckMethod(() => _customType.GetArrayRank(), "GetArrayRank"); }
public void UnsupportedMembers() { var event_ = CustomEventInfoObjectMother.Create(); UnsupportedMemberTestHelper.CheckProperty(() => event_.ReflectedType, "ReflectedType"); }
public void UnsupportedMembers() { UnsupportedMemberTestHelper.CheckMethod(() => _type.MakeByRefType(), "MakeByRefType"); UnsupportedMemberTestHelper.CheckMethod(() => _type.MakeArrayType(), "MakeArrayType"); UnsupportedMemberTestHelper.CheckMethod(() => _type.MakeArrayType(7), "MakeArrayType"); }