Click or drag to resize
Llvm.NET LogoSwitchAddCase Method

[This is preliminary documentation and is subject to change.]

Adds a new case to the Switch instruction

Namespace:  Llvm.NET.Instructions
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public void AddCase(
	Value onVal,
	BasicBlock destination
)

Parameters

onVal
Type: Llvm.NET.ValuesValue
Value for the case to match
destination
Type: Llvm.NET.ValuesBasicBlock
Destination BasicBlock if the case matches
See Also