scripts
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
|
||||
namespace System.CodeDom.Compiler
|
||||
{
|
||||
/// <summary>Identifies code generated by a tool. This class cannot be inherited.</summary>
|
||||
// Token: 0x0200000A RID: 10
|
||||
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class GeneratedCodeAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.CodeDom.Compiler.GeneratedCodeAttribute" /> class specifying the name and version of the tool that generated the code.</summary>
|
||||
/// <param name="tool">The name of the tool that generated the code.</param>
|
||||
/// <param name="version">The version of the tool that generated the code.</param>
|
||||
// Token: 0x0600000C RID: 12 RVA: 0x00002160 File Offset: 0x00000360
|
||||
public GeneratedCodeAttribute(string tool, string version)
|
||||
{
|
||||
this.tool = tool;
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/// <summary>Gets the name of the tool that generated the code.</summary>
|
||||
/// <returns>The name of the tool that generated to code.</returns>
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x0600000D RID: 13 RVA: 0x00002178 File Offset: 0x00000378
|
||||
public string Tool
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.tool;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the version of the tool that generated the code.</summary>
|
||||
/// <returns>The version of the tool that generated the code.</returns>
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x0600000E RID: 14 RVA: 0x00002180 File Offset: 0x00000380
|
||||
public string Version
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400001F RID: 31
|
||||
private string tool;
|
||||
|
||||
// Token: 0x04000020 RID: 32
|
||||
private string version;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user