You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReadonlyCollectionPropertiesBehavior does not account for the collection property being null.
The code in ReadonlyCollectionPropertiesCommand retrieves the value of the collection property and immediately passes it to the InstanceMethodQuery constructor which throws ArgumentNullException when the value is null.
Describe the Bug
ReadonlyCollectionPropertiesBehavior
does not account for the collection property beingnull
.The code in
ReadonlyCollectionPropertiesCommand
retrieves the value of the collection property and immediately passes it to theInstanceMethodQuery
constructor which throwsArgumentNullException
when the value isnull
.AutoFixture/Src/AutoFixture/Kernel/ReadonlyCollectionPropertiesCommand.cs
Lines 57 to 63 in 730b478
Scenario
Expected Behavior
The code above should not throw.
More Information
Using AutoFixture 4.17
The text was updated successfully, but these errors were encountered: