<commit_before>﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Globalization;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Shared;
using Microsoft.Build.Tasks.Deployment.ManifestUtilities;
using Microsoft.Build.Utilities;

namespace Microsoft.Build.Tasks
{
    /// <summary>
    /// Base class for all manifest generation tasks.
    /// </summary>
    public abstract class GenerateManifestBase : Task
    {
        private enum AssemblyType { Unspecified, Managed, Native, Satellite };
        private enum DependencyType { Install };

        private string _processorArchitecture;
        private int _startTime;
        private string _targetFrameworkVersion = Constants.TargetFrameworkVersion20;

        private Manifest _manifest;
        protected abstract bool OnManifestLoaded(Manifest manifest);
        protected abstract bool OnManifestResolved(Manifest manifest);
        protected abstract Type GetObjectType();


        protected GenerateManifestBase() : base(AssemblyResources.PrimaryResources, "MSBuild.")
        {
        }

        public string AssemblyName { get; set; }

        public string AssemblyVersion { get; set; }

        public string Description { get; set; }

        public ITaskItem EntryPoint { get; set; }

        public ITaskItem InputManifest { get; set; }
<commit_msg>Restore private enum value ResourceType.Prerequisite (#3496)<commit_after>﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Globalization;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Shared;
using Microsoft.Build.Tasks.Deployment.ManifestUtilities;
using Microsoft.Build.Utilities;

namespace Microsoft.Build.Tasks
{
    /// <summary>
    /// Base class for all manifest generation tasks.
    /// </summary>
    public abstract class GenerateManifestBase : Task
    {
        private enum AssemblyType { Unspecified, Managed, Native, Satellite };
        private enum DependencyType { Install, Prerequisite };

        private string _processorArchitecture;
        private int _startTime;
        private string _targetFrameworkVersion = Constants.TargetFrameworkVersion20;

        private Manifest _manifest;
        protected abstract bool OnManifestLoaded(Manifest manifest);
        protected abstract bool OnManifestResolved(Manifest manifest);
        protected abstract Type GetObjectType();


        protected GenerateManifestBase() : base(AssemblyResources.PrimaryResources, "MSBuild.")
        {
        }

        public string AssemblyName { get; set; }

        public string AssemblyVersion { get; set; }

        public string Description { get; set; }

        public ITaskItem EntryPoint { get; set; }

        public ITaskItem InputManifest { get; set; }

{'fraction_non_alphanumeric': 0.07416029265048221, 'fraction_numerical': 0.002660458929165281, 'mean_word_length': 3.272727272727273, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3847797', 'n_tokens_mistral': 726, 'n_tokens_neox': 709, 'n_words': 246}