Class SwitchOnStringTransform
- Namespace
- ICSharpCode.Decompiler.IL.Transforms
- Assembly
- ICSharpCode.Decompiler.dll
Detects switch-on-string patterns employed by the C# compiler and transforms them to an ILAst-switch-instruction.
public class SwitchOnStringTransform : IILTransform
- Inheritance
-
SwitchOnStringTransform
- Implements
- Inherited Members
Constructors
SwitchOnStringTransform()
public SwitchOnStringTransform()
Methods
Run(ILFunction, ILTransformContext)
public void Run(ILFunction function, ILTransformContext context)
Parameters
function
ILFunctioncontext
ILTransformContext