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
Afficher le fichier Open project: visualmutator/visualmutator Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System

AssertStatement() public méthode

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
Résultat System

Dispatch() public méthode

Calls the visitor.Visit(IAssertStatement) method.
public Dispatch ( ICodeVisitor visitor ) : void
visitor ICodeVisitor
Résultat void