File: src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\GeneratedCodeAttribute.cs
Web Access
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.CodeDom.Compiler
{
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
    public sealed class GeneratedCodeAttribute : Attribute
    {
        private readonly string? _tool;
        private readonly string? _version;
 
        public GeneratedCodeAttribute(string? tool, string? version)
        {
            _tool = tool;
            _version = version;
        }
 
        public string? Tool
        {
            get { return _tool; }
        }
 
        public string? Version
        {
            get { return _version; }
        }
    }
}