<commit_before>﻿namespace AngleSharp.Parser
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.IO;
    using System.Text;

    /// <summary>
    /// Represents the source code manager.
    /// </summary>
    [DebuggerStepThrough]
    sealed class SourceManager : IDisposable
    {
        #region Fields

        Int32 _column;
        Int32 _row;
        Int32 _insertion;
        Stack<Int32> _collengths;
        Char _current;
        TextReader _reader;
        StringBuilder _buffer;
        Boolean _ended;
        Boolean _lwcr;
        Encoding _encoding;

        #endregion

        #region ctor

        /// <summary>
        /// Prepares everything.
        /// </summary>
        /// <param name="encoding">The default encoding to use.</param>
        SourceManager(Encoding encoding = null)
        {<commit_msg>Readonly where it belongs<commit_after>﻿namespace AngleSharp.Parser
{
    using System;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.IO;
    using System.Text;

    /// <summary>
    /// Represents the source code manager.
    /// </summary>
    [DebuggerStepThrough]
    sealed class SourceManager : IDisposable
    {
        #region Fields

        readonly Stack<Int32> _collengths;
        readonly StringBuilder _buffer;

        Int32 _column;
        Int32 _row;
        Int32 _insertion;
        Char _current;
        Boolean _ended;
        Boolean _lwcr;
        Encoding _encoding;
        TextReader _reader;

        #endregion

        #region ctor

        /// <summary>
        /// Prepares everything.
        /// </summary>
        /// <param name="encoding">The default encoding to use.</param>
        SourceManager(Encoding encoding = null)
        {
{'fraction_non_alphanumeric': 0.09035136642498606, 'fraction_numerical': 0.008923591745677636, 'mean_word_length': 1.8888888888888888, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5981552', 'n_tokens_mistral': 500, 'n_tokens_neox': 477, 'n_words': 129}