コード例 #1
0
 public static MemberAccessExpressionSyntax MemberAccess(NamedNode namedNode, string memberName)
 {
     return(MemberAccess((ExpressionSyntax)namedNode, memberName));
 }
コード例 #2
0
 public static ExpressionStatementSyntax Assignment(NamedNode left, ExpressionSyntax right)
 {
     return(Assignment(Syntax.IdentifierName(left.Name), right));
 }
コード例 #3
0
 public static ReturnStatementSyntax Return(NamedNode namedNode)
 {
     return(Syntax.ReturnStatement(namedNode));
 }
コード例 #4
0
 public static ExpressionStatementSyntax Assignment(NamedNode left, NamedNode right)
 {
     return(Assignment(SyntaxFactory.IdentifierName(left.Name), SyntaxFactory.IdentifierName(right.Name)));
 }