scripts
This commit is contained in:
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Diagnostics
|
||||
{
|
||||
/// <summary>Determines how a class or field is displayed in the debugger variable windows.</summary>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x0200015F RID: 351
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Delegate, AllowMultiple = true)]
|
||||
[ComVisible(true)]
|
||||
public sealed class DebuggerDisplayAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DebuggerDisplayAttribute" /> class. </summary>
|
||||
/// <param name="value">The string to be displayed in the value column for instances of the type; an empty string ("") causes the value column to be hidden.</param>
|
||||
// Token: 0x06001137 RID: 4407 RVA: 0x00045058 File Offset: 0x00043258
|
||||
public DebuggerDisplayAttribute(string value)
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
value = string.Empty;
|
||||
}
|
||||
this.value = value;
|
||||
this.type = string.Empty;
|
||||
this.name = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>Gets the string to display in the value column of the debugger variable windows.</summary>
|
||||
/// <returns>The string to display in the value column of the debugger variable.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x170002ED RID: 749
|
||||
// (get) Token: 0x06001138 RID: 4408 RVA: 0x00045098 File Offset: 0x00043298
|
||||
public string Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the type of the attribute's target.</summary>
|
||||
/// <returns>A <see cref="T:System.Type" /> object that identifies the attribute's target type.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <see cref="P:System.Diagnostics.DebuggerDisplayAttribute.Target" /> is set to null.</exception>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x170002EE RID: 750
|
||||
// (get) Token: 0x06001139 RID: 4409 RVA: 0x000450A0 File Offset: 0x000432A0
|
||||
// (set) Token: 0x0600113A RID: 4410 RVA: 0x000450A8 File Offset: 0x000432A8
|
||||
public Type Target
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.target_type;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
throw new ArgumentNullException("value");
|
||||
}
|
||||
this.target_type = value;
|
||||
this.target_type_name = this.target_type.AssemblyQualifiedName;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the type name of the attribute's target.</summary>
|
||||
/// <returns>The name of the attribute's target type.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x170002EF RID: 751
|
||||
// (get) Token: 0x0600113B RID: 4411 RVA: 0x000450D4 File Offset: 0x000432D4
|
||||
// (set) Token: 0x0600113C RID: 4412 RVA: 0x000450DC File Offset: 0x000432DC
|
||||
public string TargetTypeName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.target_type_name;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.target_type_name = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the string to display in the type column of the debugger variable windows.</summary>
|
||||
/// <returns>The string to display in the type column of the debugger variable windows.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x170002F0 RID: 752
|
||||
// (get) Token: 0x0600113D RID: 4413 RVA: 0x000450E8 File Offset: 0x000432E8
|
||||
// (set) Token: 0x0600113E RID: 4414 RVA: 0x000450F0 File Offset: 0x000432F0
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.type = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the name to display in the debugger variable windows.</summary>
|
||||
/// <returns>The name to display in the debugger variable windows.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x170002F1 RID: 753
|
||||
// (get) Token: 0x0600113F RID: 4415 RVA: 0x000450FC File Offset: 0x000432FC
|
||||
// (set) Token: 0x06001140 RID: 4416 RVA: 0x00045104 File Offset: 0x00043304
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.name = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000447 RID: 1095
|
||||
private string value;
|
||||
|
||||
// Token: 0x04000448 RID: 1096
|
||||
private string type;
|
||||
|
||||
// Token: 0x04000449 RID: 1097
|
||||
private string name;
|
||||
|
||||
// Token: 0x0400044A RID: 1098
|
||||
private string target_type_name;
|
||||
|
||||
// Token: 0x0400044B RID: 1099
|
||||
private Type target_type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user