1 //------------------------------------------------------------------------------
2 // <copyright file="GeneratedCodeAttribute.cs" company="Microsoft">
4 // <OWNER>Microsoft</OWNER>
5 // Copyright (c) Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
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;
15 public GeneratedCodeAttribute(string tool, string version) {
17 this.version = version;
21 get { return this.tool; }
24 public string Version {
25 get { return this.version; }