Sarcasm.Unparsing.FormatYielder._YieldIndentation C# (CSharp) Méthode

_YieldIndentation() private static méthode

/// If topLeft is non-calculated or thrown out. ///
private static _YieldIndentation ( UnparsableAst self, BlockIndentation blockIndentationParameter, Unparser direction, FormatYielder formatYielder, bool left ) : IEnumerable
self UnparsableAst
blockIndentationParameter BlockIndentation
direction Unparser
formatYielder FormatYielder
left bool
Résultat IEnumerable
        private static IEnumerable<UtokenBase> _YieldIndentation(UnparsableAst self, BlockIndentation blockIndentationParameter, Unparser.Direction direction,
            FormatYielder formatYielder, bool left)
        {
#if DEBUG
            BlockIndentation originalBlockIndentationParameter = blockIndentationParameter;
#endif
            var utokens = _YieldIndentation(self, ref blockIndentationParameter, direction, formatYielder, left);
#if DEBUG
            Debug.Assert(object.ReferenceEquals(blockIndentationParameter, originalBlockIndentationParameter),
                string.Format("unwanted change of blockIndentationParameter reference in _YieldIndentation ({0})", left ? "left" : "right"));
#endif
            return utokens;
        }