Table of Contents

Class NullCoalescingTransform

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

Transform for constructing the NullCoalescingInstruction (if.notnull(a,b), or in C#: ??) Note that this transform only handles the case where a,b are reference types.

The ?? operator for nullable value types is handled by NullableLiftingTransform.

public class NullCoalescingTransform : IStatementTransform
Inheritance
NullCoalescingTransform
Implements
Inherited Members

Constructors

NullCoalescingTransform()

public NullCoalescingTransform()

Methods

Run(Block, int, StatementTransformContext)

public void Run(Block block, int pos, StatementTransformContext context)

Parameters

block Block
pos int
context StatementTransformContext