Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System / compmod / system / codedom / compiler / GeneratedCodeAttribute.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="GeneratedCodeAttribute.cs" company="Microsoft">
3 // 
4 // <OWNER>Microsoft</OWNER>
5 //     Copyright (c) Microsoft Corporation.  All rights reserved.
6 // </copyright>                                                                
7 //------------------------------------------------------------------------------
8
9 namespace System.CodeDom.Compiler {
10     [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
11     public sealed class GeneratedCodeAttribute : Attribute {
12         private readonly string tool;
13         private readonly string version;
14
15         public GeneratedCodeAttribute(string tool, string version) {
16             this.tool = tool;
17             this.version = version;
18         }
19
20         public string Tool {
21             get { return this.tool; }
22         }
23
24         public string Version {
25             get { return this.version; }
26         }
27     }
28 }