Прочетете на английски Редактиране

Споделяне чрез


SwitchInstructionEncoder Struct

Definition

Encodes the branches of an IL switch instruction.

C#
public readonly struct SwitchInstructionEncoder
Inheritance
SwitchInstructionEncoder

Remarks

See Switch(Int32) for usage guidelines.

Methods

Branch(LabelHandle)

Encodes a branch that is part of a switch instruction.

Applies to

Продукт Версии
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)