2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="GeneratedCodeAttribute.cs" company="Microsoft">
|
|
|
|
//
|
2017-08-21 15:34:15 +00:00
|
|
|
// <OWNER>Microsoft</OWNER>
|
2016-08-03 10:59:49 +00:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
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) {
|
|
|
|
this.tool = tool;
|
|
|
|
this.version = version;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Tool {
|
|
|
|
get { return this.tool; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Version {
|
|
|
|
get { return this.version; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|