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

◆ IsDefined()

override bool System.Reflection.RuntimeModule.IsDefined ( Type attributeType,
bool inherit )
inlinevirtualinherited

Reimplemented from System.Reflection.Module.

Definition at line 401 of file RuntimeModule.cs.

402 {
403 if (attributeType == null)
404 {
405 throw new ArgumentNullException("attributeType");
406 }
408 if (runtimeType == null)
409 {
410 throw new ArgumentException(SR.Arg_MustBeType, "attributeType");
411 }
412 return CustomAttribute.IsDefined(this, runtimeType);
413 }

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

Referenced by System.Reflection.Emit.ModuleBuilder.IsDefined().