<commit_before>using System;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;

namespace CSLA
{
	/// <summary>
	/// Summary description for ReadOnlyCollectionBase.
	/// </summary>
  [Serializable()]
  abstract public class ReadOnlyCollectionBase : 
      CSLA.Core.BindableCollectionBase, ICloneable,
      Serialization.ISerializationNotification
  {
    public ReadOnlyCollectionBase()
    {
      AllowEdit = false;
      AllowNew = false;
      AllowRemove = false;
    }

    #region Remove, Clear, Set

    /// <summary>
    /// Indicates that the collection is locked, so insert, remove
    /// and change operations are disallowed.
    /// </summary>
    protected bool locked = true;
<commit_msg>Inherit from SortableCollectionBase instead of BindableCollectionBase.<commit_after>using System;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;

namespace CSLA
{
	/// <summary>
	/// Summary description for ReadOnlyCollectionBase.
	/// </summary>
  [Serializable()]
  abstract public class ReadOnlyCollectionBase : 
      CSLA.Core.SortableCollectionBase, ICloneable,
      Serialization.ISerializationNotification
  {
    public ReadOnlyCollectionBase()
    {
      AllowEdit = false;
      AllowNew = false;
      AllowRemove = false;
    }

    #region Remove, Clear, Set

    /// <summary>
    /// Indicates that the collection is locked, so insert, remove
    /// and change operations are disallowed.
    /// </summary>
    protected bool locked = true;

{'fraction_non_alphanumeric': 0.09673286354900705, 'fraction_numerical': 0.0, 'mean_word_length': 3.143236074270557, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2124660', 'n_tokens_mistral': 425, 'n_tokens_neox': 420, 'n_words': 117}