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

◆ Init() [5/5]

void System.Reflection.RuntimeCustomAttributeData.Init ( TypeForwardedToAttribute forwardedTo)
inlineprivate

Definition at line 459 of file RuntimeCustomAttributeData.cs.

460 {
462 Type[] types = new Type[1] { typeof(Type) };
463 m_ctor = typeFromHandle.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, types, null);
464 m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[1]
465 {
466 new CustomAttributeTypedArgument(typeof(Type), forwardedTo.Destination)
467 });
468 CustomAttributeNamedArgument[] array = Array.Empty<CustomAttributeNamedArgument>();
469 m_namedArgs = Array.AsReadOnly(array);
470 }
IList< CustomAttributeTypedArgument > m_typedCtorArgs
IList< CustomAttributeNamedArgument > m_namedArgs

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