public static BoundStatement Rewrite(BoundStatement node, MethodSymbol containingSymbol, Compilation compilation) { Debug.Assert(node != null); Debug.Assert(compilation != null); var rewriter = new IsAndAsRewriter(containingSymbol, compilation); var result = (BoundStatement)rewriter.Visit(node); return result; }
public static BoundStatement Rewrite(BoundStatement node, MethodSymbol containingSymbol, Compilation compilation) { Debug.Assert(node != null); Debug.Assert(compilation != null); var rewriter = new IsAndAsRewriter(containingSymbol, compilation); var result = (BoundStatement)rewriter.Visit(node); return(result); }