<commit_before>﻿using System;

namespace CefSharp
{
    /// <summary>
    /// This Class provides tool functionality for managed Dispose Pattern
    /// http://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx
    /// </summary>
    public class ObjectBase : IDisposable
    {
        #region IDisposable

        ~ObjectBase()
        {
            DoDispose(false);
            IsDisposed = true;
            GC.SuppressFinalize(this);
        }

        public void Dispose()
        {
            DoDispose(true);
            IsDisposed = true;
        }

        protected virtual void DisposeMember<T>(ref T field)
            where T : class, IDisposable
        {
            var oldvalue = field;<commit_msg>moved suppress finalize to the right place<commit_after>﻿using System;

namespace CefSharp
{
    /// <summary>
    /// This Class provides tool functionality for managed Dispose Pattern
    /// http://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx
    /// </summary>
    public class ObjectBase : IDisposable
    {
        #region IDisposable

        ~ObjectBase()
        {
            DoDispose(false);
            IsDisposed = true;
        }

        public void Dispose()
        {
            DoDispose(true);
            IsDisposed = true;
            GC.SuppressFinalize(this);
        }

        protected virtual void DisposeMember<T>(ref T field)
            where T : class, IDisposable
        {
            var oldvalue = field;
{'fraction_non_alphanumeric': 0.0974949221394719, 'fraction_numerical': 0.005416384563303994, 'mean_word_length': 1.7119266055045872, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2187717', 'n_tokens_mistral': 431, 'n_tokens_neox': 409, 'n_words': 97}