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

◆ IsDefined() [1/9]

static bool System.Reflection.CustomAttribute.IsDefined ( RuntimeAssembly assembly,
RuntimeType caType )
inlinestaticpackage

Definition at line 102 of file CustomAttribute.cs.

103 {
104 return IsCustomAttributeDefined(assembly.ManifestModule as RuntimeModule, RuntimeAssembly.GetToken(assembly.GetNativeHandle()), caType);
105 }
static bool IsCustomAttributeDefined(RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType)

References System.Reflection.RuntimeAssembly.GetNativeHandle(), System.Reflection.RuntimeAssembly.GetToken(), System.Reflection.CustomAttribute.IsCustomAttributeDefined(), and System.Reflection.RuntimeAssembly.ManifestModule.