Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CustomAttributeNamedParameter.cs
Go to the documentation of this file.
2
3namespace System.Reflection;
4
5[StructLayout(LayoutKind.Auto)]
6internal readonly struct CustomAttributeNamedParameter
7{
8 private readonly string m_argumentName;
9
11
13
14 private readonly CustomAttributeType m_type;
15
17
19
21 {
22 if (argumentName == null)
23 {
24 throw new ArgumentNullException("argumentName");
25 }
26 m_argumentName = argumentName;
27 m_fieldOrProperty = fieldOrProperty;
28 m_padding = fieldOrProperty;
29 m_type = type;
31 }
32}
CustomAttributeNamedParameter(string argumentName, CustomAttributeEncoding fieldOrProperty, CustomAttributeType type)
readonly CustomAttributeEncodedArgument m_encodedArgument