Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DebuggerDisplayAttribute.cs
Go to the documentation of this file.
1
namespace
System.Diagnostics
;
2
3
[AttributeUsage(
AttributeTargets
.Assembly |
AttributeTargets
.Class |
AttributeTargets
.Struct |
AttributeTargets
.Enum |
AttributeTargets
.Property |
AttributeTargets
.Field |
AttributeTargets
.Delegate, AllowMultiple =
true
)]
4
public
sealed
class
DebuggerDisplayAttribute
:
Attribute
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
33
public
DebuggerDisplayAttribute
(
string
?
value
)
34
{
35
Value
=
value
??
""
;
36
Name
=
""
;
37
Type
=
""
;
38
}
39
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Attribute
Definition
Attribute.cs:12
System.Diagnostics.DebuggerDisplayAttribute._target
Type _target
Definition
DebuggerDisplayAttribute.cs:6
System.Diagnostics.DebuggerDisplayAttribute.Name
string? Name
Definition
DebuggerDisplayAttribute.cs:10
System.Diagnostics.DebuggerDisplayAttribute.TargetTypeName
string? TargetTypeName
Definition
DebuggerDisplayAttribute.cs:31
System.Diagnostics.DebuggerDisplayAttribute.Target
Type? Target
Definition
DebuggerDisplayAttribute.cs:15
System.Diagnostics.DebuggerDisplayAttribute.Value
string Value
Definition
DebuggerDisplayAttribute.cs:8
System.Diagnostics.DebuggerDisplayAttribute.DebuggerDisplayAttribute
DebuggerDisplayAttribute(string? value)
Definition
DebuggerDisplayAttribute.cs:33
System.Diagnostics.DebuggerDisplayAttribute
Definition
DebuggerDisplayAttribute.cs:5
System.Type
Definition
Type.cs:14
System.Diagnostics
Definition
AggregationManager.cs:6
System.ExceptionArgument.value
@ value
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.CoreLib
System.Diagnostics
DebuggerDisplayAttribute.cs
Generated by
1.10.0