C# Class Microsoft.Cci.MutableCodeModel.AssertStatement

A statement that asserts that a condition must always be true when execution reaches it. For example the assert statement of Spec#.
Inheritance: Statement, IAssertStatement
显示文件 Open project: visualmutator/visualmutator Class Usage Examples

Public Methods

Method Description
AssertStatement ( ) : System

Allocates a statement that asserts that a condition must always be true when execution reaches it. For example the assert statement of Spec#.

AssertStatement ( IAssertStatement assertStatement ) : System

Allocates a copy of a statement that asserts that a condition must always be true when execution reaches it. For example the assert statement of Spec#.

Dispatch ( ICodeVisitor visitor ) : void

Calls the visitor.Visit(IAssertStatement) method.

Method Details

AssertStatement() public method

Allocates a statement that asserts that a condition must always be true when execution reaches it. For example the assert statement of Spec#.
public AssertStatement ( ) : System
return System

AssertStatement() public method

Allocates a copy of a statement that asserts that a condition must always be true when execution reaches it. For example the assert statement of Spec#.
public AssertStatement ( IAssertStatement assertStatement ) : System
assertStatement IAssertStatement
return System

Dispatch() public method

Calls the visitor.Visit(IAssertStatement) method.
public Dispatch ( ICodeVisitor visitor ) : void
visitor ICodeVisitor
return void