Skip to content

[Migrated] SemanticComparison not matching Nullable value against value where names match #1

Open
@zvirja

Description

@zvirja

Hi,

I am attempting to use SemanticComparison to create a proxy with the following properties:

Source

        public DateTime StartTime { get; set; }
        public DateTime? EndTime { get; set; }

Destination

        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }

I use <source>.AsSource().OfLikeness<dest>().CreateProxy();

EndTime propagates correctly but StartTime does not.


See more detail in the original issue: AutoFixture/AutoFixture#650

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions