Skip to content

Fails to Reinterpret from bool[] #2

@HelloKitty

Description

@HelloKitty

Test Name: Ctor_BitArray
Test FullName: Guardians.WireReadyBitArrayTests.Ctor_BitArray
Test Source: C:\Users\Glader\Documents\GitHub\Guardians.Library\test\Guardians.Tests\UnitTests\ZoneCommon\WireReadyBitArrayTests.cs : line 128
Test Outcome: Failed
Test Duration: 0:00:00.004

Result StackTrace:
at Reinterpret.Net.ThrowHelpers.ThrowMismatchedArraySizeForElementTypeTConvertType
at Reinterpret.Net.ReInterpretFromBytesExtensions.ReinterpretToArray[TConvertType](Byte[] bytes)
at Guardians.WireReadyBitArrayTests.Ctor_BitArray_TestData()+MoveNext() in C:\Users\Glader\Documents\GitHub\Guardians.Library\test\Guardians.Tests\UnitTests\ZoneCommon\WireReadyBitArrayTests.cs:line 108
at NUnit.Framework.TestCaseSourceAttribute.GetTestCasesFor(IMethodInfo method) in C:\src\nunit\nunit\src\NUnitFramework\framework\Attributes\TestCaseSourceAttribute.cs:line 177
Result Message: System.InvalidOperationException : Cannot reinterpret to Type: Char[] because the array size mismatches from a multiple of the element size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions