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

◆ GetCustomAttributes() [2/2]

override object[] System.Reflection.RuntimeModule.GetCustomAttributes ( Type attributeType,
bool inherit )
inlinevirtualinherited

Reimplemented from System.Reflection.Module.

Definition at line 387 of file RuntimeModule.cs.

388 {
389 if (attributeType == null)
390 {
391 throw new ArgumentNullException("attributeType");
392 }
394 if (runtimeType == null)
395 {
396 throw new ArgumentException(SR.Arg_MustBeType, "attributeType");
397 }
398 return CustomAttribute.GetCustomAttributes(this, runtimeType);
399 }

References System.SR.Arg_MustBeType, System.Runtime.Serialization.Dictionary, System.Reflection.CustomAttribute.GetCustomAttributes(), and System.Reflection.RuntimeModule.RuntimeType.