Table of Contents

Class FixLoneIsInst

Namespace
ICSharpCode.Decompiler.IL.Transforms
Assembly
ICSharpCode.Decompiler.dll

C# cannot represent isinst T directly for value-types. This transform un-inlines the argument of isinst instructions that can't be directly translated to C#, thus allowing the emulation via "expr is T ? (T)expr : null".

public class FixLoneIsInst : IILTransform
Inheritance
FixLoneIsInst
Implements
Inherited Members

Constructors

FixLoneIsInst()

public FixLoneIsInst()