Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TypeDependencyAttribute.cs
Go to the documentation of this file.
1
namespace
System.Runtime.CompilerServices
;
2
3
[AttributeUsage(
AttributeTargets
.Class |
AttributeTargets
.Struct |
AttributeTargets
.Interface, AllowMultiple =
true
, Inherited =
false
)]
4
internal
sealed
class
TypeDependencyAttribute
:
Attribute
5
{
6
private
readonly
string
typeName
;
7
8
public
TypeDependencyAttribute
(
string
typeName
)
9
{
10
if
(
typeName
==
null
)
11
{
12
throw
new
ArgumentNullException
(
"typeName"
);
13
}
14
this.typeName =
typeName
;
15
}
16
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Attribute
Definition
Attribute.cs:12
System.Runtime.CompilerServices.TypeDependencyAttribute.TypeDependencyAttribute
TypeDependencyAttribute(string typeName)
Definition
TypeDependencyAttribute.cs:8
System.Runtime.CompilerServices.TypeDependencyAttribute.typeName
readonly string typeName
Definition
TypeDependencyAttribute.cs:6
System.Runtime.CompilerServices.TypeDependencyAttribute
Definition
TypeDependencyAttribute.cs:5
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.CoreLib
System.Runtime.CompilerServices
TypeDependencyAttribute.cs
Generated by
1.10.0