Skip to content

Question about OpCodes.Ldind_I8 with integer values of less than 8 bytes #8682

Open
@gurustron

Description

@gurustron

Sorry for stupid question, but...

The docs mention have the following description for instruction:

Loads the int64 value at address addr onto the stack as an int64.

And mention next:

Note that integer values of less than 4 bytes are extended to int32 (not native int) when they are loaded onto the evaluation stack. Floating-point values are converted to F type when loaded onto the evaluation stack.

But what will happen with values less than 8 bytes? Isn't int64 8 bytes? Am I missing something or should this be mentioned/fixed in the docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.Reflection.Emitdoc-bugProblem with the content; needs to be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions