public UsingDeclaration(string nameSpace) { AddChild(AstType.Create(nameSpace), ImportRole); }
public IsExpression IsType(Type type) { return(new IsExpression { Type = AstType.Create(type), Expression = this }); }
public CastExpression CastTo(Type type) { return(new CastExpression { Type = AstType.Create(type), Expression = this }); }
public AsExpression CastAs(Type type) { return(new AsExpression { Type = AstType.Create(type), Expression = this }); }
public UsingDeclaration(string nameSpace) { AddChild(AstType.Create(nameSpace, BoxedTextColor.Namespace), ImportRole); }