Skip to content

Incorrect documentation for BitConverter.ToUInt128 #117364

@TonyValenti

Description

@TonyValenti

Description

If you look at the documentation for BitConverter.ToUInt128 you will the following disscrepency:

    // Summary:
    //     Returns a 128-bit unsigned integer converted from **four bytes** at a specified position
    //     in a byte array.
    //
    // Parameters:
    //   value:
    //     An array of bytes.
    //
    //   startIndex:
    //     The starting position within value.
    //
    // Returns:
    //     A 128-bit unsigned integer formed by **sixteen bytes** beginning at startIndex.

Reproduction Steps

See above

Expected behavior

The documentation is correct.

Actual behavior

The documentation is incorrect.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions