Skip to content

Fixed a crash when reflecting on a write-only property. #79

Fixed a crash when reflecting on a write-only property.

Fixed a crash when reflecting on a write-only property. #79

GitHub Actions / Test Results succeeded Nov 23, 2024 in 0s

All 130 tests pass in 7s

  3 files  ±0    3 suites  ±0   7s ⏱️ +3s
130 tests +1  130 ✅ +1  0 💤 ±0  0 ❌ ±0 
388 runs  +3  388 ✅ +3  0 💤 ±0  0 ❌ ±0 

Results for commit d883c99. ± Comparison against earlier commit 96c2ca7.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

130 tests found

There are 130 tests, see "Raw output" for the full list of tests.
Raw output
Reflectify.Specs.PropertyInfoExtensionsSpecs ‑ Can_determine_a_property_is_an_indexer
Reflectify.Specs.PropertyInfoExtensionsSpecs ‑ Can_determine_a_property_is_not_an_indexer
Reflectify.Specs.TypeMemberExtensionsSpecs+ConversionOperators ‑ Can_find_the_explicit_convertor_for_a_specific_source_and_target_type
Reflectify.Specs.TypeMemberExtensionsSpecs+ConversionOperators ‑ Can_find_the_implicit_convertor_for_a_specific_source_and_target_type
Reflectify.Specs.TypeMemberExtensionsSpecs+ConversionOperators ‑ The_source_type_of_the_explicit_convertor_must_match
Reflectify.Specs.TypeMemberExtensionsSpecs+ConversionOperators ‑ The_source_type_of_the_implicit_convertor_must_match
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ A_field_name_is_required(name: "")
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ A_field_name_is_required(name: null)
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Can_find_a_public_instance_field
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Can_find_a_static_field_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Can_find_an_explicitly_implemented_property_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Can_find_an_internal_field_if_you_ask_for_them
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Can_find_an_internal_protected_property_if_you_ask_for_them
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Cannot_find_a_default_interface_property_if_you_dont_ask_for_that
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Cannot_find_a_field_if_it_does_not_exist
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Cannot_find_a_static_field_if_you_dont_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Cannot_find_an_explicitly_implemented_property_if_you_dont_ask_for_that
Reflectify.Specs.TypeMemberExtensionsSpecs+FindField ‑ Cannot_find_an_internal_field_if_you_ask_for_public_ones
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ A_property_name_is_required(propertyName: "")
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ A_property_name_is_required(propertyName: null)
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_a_default_interface_property_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_a_normal_property
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_a_property_that_hides_its_base_class_name_sake
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_a_property_that_is_hidden_by_a_superclass_provided_you_refer_to_the_baseclass
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_a_public_indexer
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_an_explicitly_implemented_property_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_an_internal_indexer_if_you_ask_for_ot
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_an_internal_property_if_you_ask_for_them
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Can_find_an_internal_protected_property_if_you_ask_for_them
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Cannot_find_a_default_interface_property_if_you_dont_ask_for_that
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Cannot_find_a_property_if_it_does_not_exist
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Cannot_find_an_explicitly_implemented_property_if_you_dont_ask_for_that
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Cannot_find_an_internal_indexer_if_you_ask_for_public_ones
Reflectify.Specs.TypeMemberExtensionsSpecs+FindProperty ‑ Cannot_find_an_internal_property_if_you_ask_for_public_ones
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_find_all_fields
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_find_all_members
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_find_internal_fields
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_find_public_fields
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_all_properties_from_an_interface
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_all_public_explicit_and_default_instance_interface_properties
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_all_public_static_properties
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_default_interface_properties_only
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_explicit_properties_only
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_internal_properties
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_normal_public_properties
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Can_get_write_only_properties
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Prefers_normal_property_over_explicitly_implemented_one
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Supports_returning_no_fields_if_asked_for
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Supports_returning_no_properties_if_asked_for
Reflectify.Specs.TypeMemberExtensionsSpecs+GetPropertiesAndFields ‑ Will_ignore_indexers
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_detect_a_method_with_specific_parameter
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_method_with_any_parameter
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_method_with_specific_parameter
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_parameterless_method
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_parameterless_method_directly
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_protected_internal_method_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_a_static_method
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Can_find_an_internal_method_if_you_ask_for_it
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ Cannot_find_an_internal_method_if_you_ask_for_public_ones
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ The_name_is_required(methodName: "")
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ The_name_is_required(methodName: null)
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ The_name_of_the_method_must_match
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ The_number_of_parameters_must_match
Reflectify.Specs.TypeMemberExtensionsSpecs+Methods ‑ The_type_of_the_parameters_must_match
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetClosedGenericInterfaces ‑ Can_find_closed_generic_interfaces
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetClosedGenericInterfaces ‑ Returns_nothing_if_a_class_does_not_implement_any_closed_generic_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetClosedGenericInterfaces ‑ Returns_nothing_if_an_interface_does_not_inherit_any_closed_generic_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetClosedGenericInterfaces ‑ Returns_nothing_if_the_class_does_not_implement_the_open_generic_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ A_predicate_must_be_valid
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Can_find_all_attributes_of_a_specific_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Can_find_all_attributes_of_a_specific_type_in_a_derived_class
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Can_find_all_attributes_of_a_specific_type_with_a_specific_property
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Can_find_all_attributes_of_a_specific_type_with_a_specific_property_in_a_derived_class
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Can_find_all_attributes_of_a_specific_type_with_a_specific_property_in_a_derived_class_and_base_class
Reflectify.Specs.TypeMetaDataExtensionsSpecs+GetMatchingAttributes ‑ Will_apply_the_predicate_when_finding_attributes
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ An_attribute_predicate_cannot_be_null
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ An_attribute_with_a_property_must_be_applied_directly_to_the_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_check_that_a_derived_attribute_has_a_specific_property
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_check_that_an_attribute_doesnt_have_a_specific_property
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_check_that_an_attribute_has_a_specific_property
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_determine_a_derived_attribute_exists_on_a_specific_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_determine_an_attribute_exists_on_a_specific_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ Can_determine_that_the_attribute_does_not_exist
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttribute ‑ The_attribute_must_be_applied_directly_to_the_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttributeInHierarchy ‑ Can_find_an_attribute_in_a_base_class
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttributeInHierarchy ‑ Can_find_an_attribute_with_a_specific_property
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttributeInHierarchy ‑ Cannot_find_an_attribute_if_none_exist
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttributeInHierarchy ‑ Cannot_find_an_attribute_on_a_base_class_if_its_not_inheritable
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasAttributeInHierarchy ‑ Ignores_the_attribute_if_the_predicate_does_not_match
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasFriendlyName ‑ A_normal_class_has_a_friendly_name
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasFriendlyName ‑ A_tuple_does_not_have_a_friendly_name
Reflectify.Specs.TypeMetaDataExtensionsSpecs+HasFriendlyName ‑ An_anonymous_type_does_not_have_a_friendly_name
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsAnonymous ‑ A_normal_class_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsAnonymous ‑ A_tuple_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsAnonymous ‑ An_anonymous_type_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsCompilerGenerated ‑ A_custom_type_is_never_compiler_generated
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsCompilerGenerated ‑ A_record_is_compiler_generated
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsCompilerGenerated ‑ A_tuple_is_compiler_generated
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsCompilerGenerated ‑ An_anonymous_type_is_compiler_generated
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsDerivedFromOpenGeneric ‑ An_open_generic_type_cannot_derive_from_itself
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsDerivedFromOpenGeneric ‑ An_unrelated_class_is_not_going_to_match_an_open_generic_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsDerivedFromOpenGeneric ‑ Can_detect_a_type_derived_from_an_open_generic_type
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_key_value_pair_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_key_value_pair_of_int_and_string_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_key_value_pair_of_int_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_key_value_pair_of_string_and_int_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_key_value_pair_of_string_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ A_normal_class_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsKeyValuePair ‑ An_anonymous_type_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecord ‑ A_normal_class_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecord ‑ A_record_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecord ‑ An_anonymous_type_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordClass ‑ A_normal_class_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordClass ‑ A_record_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordClass ‑ An_anonymous_type_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordStruct ‑ A_class_record_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordStruct ‑ A_normal_class_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordStruct ‑ A_struct_record_is
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsRecordStruct ‑ An_anonymous_type_is_not
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_derived_from_another
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_derived_from_another_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_not_derived_from_another
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_not_derived_from_another_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_the_same_as_another
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsSameOrInherits ‑ Can_detect_if_a_type_is_the_same_as_another_interface
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsTuple ‑ A_normal_class_is_not_a_tuple
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsTuple ‑ A_tuple_is_a_tuple
Reflectify.Specs.TypeMetaDataExtensionsSpecs+IsTuple ‑ An_anonymous_type_is_not_a_tuple
Reflectify.Specs.TypeMetaDataExtensionsSpecs+OverridesEquals ‑ Can_detect_if_a_type_implements_equality
Reflectify.Specs.TypeMetaDataExtensionsSpecs+OverridesEquals ‑ Can_detect_that_a_type_implements_reference_equality