PostSharpAPI ReferencePost­Sharp.​Reflection.​Method­BodyISwitch­Expression
Open sandboxFocus

ISwitchExpression Interface

Expression that represent a switch (conditional statement with multiple branches).

Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public interface ISwitchExpression : IExpression, IMethodBodyElement

Properties

Name Description
Condition

Gets the condition expression.

Targets

Gets the list of target blocks.