PostSharp//API Reference/Post­Sharp.​Reflection.​Method­Body/ISwitch­Expression
Open sandboxFocus

Interface ISwitchExpression

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.