Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / SelfReferenceEquivalencyOptions<TSelf> Class / WithoutStrictTyping Method
In This Topic
    WithoutStrictTyping Method
    In This Topic
    Disables the strict typing requirement for all members, allowing members in the expectation to be of different types than members in the subject.
    Syntax
    public TSelf WithoutStrictTyping()
    Remarks
    This is particularly useful when you have enabled strict typing globally or for specific tests but want to override it for a particular assertion.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also