Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DebuggerDisplayAttribute.cs
Go to the documentation of this file.
1namespace System.Diagnostics;
2
3[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Delegate, AllowMultiple = true)]
5{
6 private Type _target;
7
8 public string Value { get; }
9
10 public string? Name { get; set; }
11
12 public string? Type { get; set; }
13
14 public Type? Target
15 {
16 get
17 {
18 return _target;
19 }
20 set
21 {
22 if (value == null)
23 {
24 throw new ArgumentNullException("value");
25 }
26 TargetTypeName = value.AssemblyQualifiedName;
27 _target = value;
28 }
29 }
30
31 public string? TargetTypeName { get; set; }
32
34 {
35 Value = value ?? "";
36 Name = "";
37 Type = "";
38 }
39}