Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TupleElementNamesAttribute.cs
Go to the documentation of this file.
1
using
System.Collections.Generic
;
2
3
namespace
System.Runtime.CompilerServices
;
4
5
[
CLSCompliant
(
false
)]
6
[
AttributeUsage
(
AttributeTargets
.Class |
AttributeTargets
.Struct |
AttributeTargets
.Property |
AttributeTargets
.Field |
AttributeTargets
.Event |
AttributeTargets
.Parameter |
AttributeTargets
.ReturnValue)]
7
public
sealed
class
TupleElementNamesAttribute
:
Attribute
8
{
9
private
readonly
string
[]
_transformNames
;
10
11
public
IList<string?>
TransformNames
=>
_transformNames
;
12
13
public
TupleElementNamesAttribute
(
string
?[]
transformNames
)
14
{
15
if
(
transformNames
==
null
)
16
{
17
throw
new
ArgumentNullException
(
"transformNames"
);
18
}
19
_transformNames
=
transformNames
;
20
}
21
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Attribute
Definition
Attribute.cs:12
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Runtime.CompilerServices.TupleElementNamesAttribute._transformNames
readonly string[] _transformNames
Definition
TupleElementNamesAttribute.cs:9
System.Runtime.CompilerServices.TupleElementNamesAttribute.TupleElementNamesAttribute
TupleElementNamesAttribute(string?[] transformNames)
Definition
TupleElementNamesAttribute.cs:13
System.Runtime.CompilerServices.TupleElementNamesAttribute.TransformNames
IList< string?> TransformNames
Definition
TupleElementNamesAttribute.cs:11
System.Runtime.CompilerServices.TupleElementNamesAttribute
Definition
TupleElementNamesAttribute.cs:8
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.CoreLib
System.Runtime.CompilerServices
TupleElementNamesAttribute.cs
Generated by
1.10.0