Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Init() [2/5]

void System.Reflection.RuntimeCustomAttributeData.Init ( FieldOffsetAttribute fieldOffset)
inlineprivate

Definition at line 396 of file RuntimeCustomAttributeData.cs.

397 {
398 m_ctor = typeof(FieldOffsetAttribute).GetConstructors(BindingFlags.Instance | BindingFlags.Public)[0];
399 m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[1]
400 {
401 new CustomAttributeTypedArgument(fieldOffset.Value)
402 });
403 m_namedArgs = Array.AsReadOnly(Array.Empty<CustomAttributeNamedArgument>());
404 }
IList< CustomAttributeTypedArgument > m_typedCtorArgs
IList< CustomAttributeNamedArgument > m_namedArgs

References System.Reflection.RuntimeCustomAttributeData.m_ctor, System.Reflection.RuntimeCustomAttributeData.m_namedArgs, and System.Reflection.RuntimeCustomAttributeData.m_typedCtorArgs.