<commit_before>﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.Remote
{
    internal partial class SolutionAssetStorage
    {
        internal class Scope : IDisposable
        {
            private readonly SolutionAssetStorage _storage;

            public readonly Checksum Checksum;
            public readonly PinnedSolutionInfo SolutionInfo;

            public Scope(SolutionAssetStorage storage, Checksum checksum, PinnedSolutionInfo solutionInfo)
            {
                _storage = storage;
                Checksum = checksum;
                SolutionInfo = solutionInfo;
            }

            public void Dispose()
                => _storage.DisposeScope(this);<commit_msg>Make sealed<commit_after>﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.Remote
{
    internal partial class SolutionAssetStorage
    {
        internal sealed class Scope : IDisposable
        {
            private readonly SolutionAssetStorage _storage;

            public readonly Checksum Checksum;
            public readonly PinnedSolutionInfo SolutionInfo;

            public Scope(SolutionAssetStorage storage, Checksum checksum, PinnedSolutionInfo solutionInfo)
            {
                _storage = storage;
                Checksum = checksum;
                SolutionInfo = solutionInfo;
            }

            public void Dispose()
                => _storage.DisposeScope(this);
{'fraction_non_alphanumeric': 0.050673854447439354, 'fraction_numerical': 0.0, 'mean_word_length': 2.2966252220248666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2888487', 'n_tokens_mistral': 425, 'n_tokens_neox': 412, 'n_words': 155}