public void DetectTypeCode(VeinTypeCode code, object value) { var str = value.ToString(); var result = FieldDeclaratorSyntax.RedefineIntegerExpression(new UndefinedIntegerNumericLiteral(str) .SetPos(new Position(0, 0, 0), 0), false); Assert.AreEqual(code, result.GetTypeCode()); }
public override void VisitFieldDeclarator(FieldDeclaratorSyntax node) { Append("{0}", node.Identifier); if (node.Expression != null) { Append(" = "); node.Expression?.Accept(this); } }
public virtual void VisitFieldDeclarator(FieldDeclaratorSyntax node) => DefaultVisit(node);
public void VisitFieldDeclarator(FieldDeclaratorSyntax fieldDeclaratorSyntax) { throw new NotImplementedException(); }