Microsoft.Zing.ZingDecompiler.VisitForEach C# (CSharp) Méthode

VisitForEach() public méthode

public VisitForEach ( System.Compiler.ForEach forEach ) : System.Compiler.Statement
forEach System.Compiler.ForEach
Résultat System.Compiler.Statement
        public override Statement VisitForEach(ForEach forEach)
        {
            WriteStart("foreach (");
            this.VisitTypeReference(forEach.TargetVariableType);
            Write(" ");
            this.VisitExpression(forEach.TargetVariable);
            Write(" in ");
            this.VisitExpression(forEach.SourceEnumerable);
            Write(")");
            this.VisitBlock(forEach.Body);
            return forEach;
        }