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

◆ SetCustomAttribute() [1/2]

void System.Reflection.Emit.ModuleBuilder.SetCustomAttribute ( ConstructorInfo con,
byte[] binaryAttribute )
inline

Definition at line 1146 of file ModuleBuilder.cs.

1147 {
1148 if (con == null)
1149 {
1150 throw new ArgumentNullException("con");
1151 }
1152 if (binaryAttribute == null)
1153 {
1154 throw new ArgumentNullException("binaryAttribute");
1155 }
1156 TypeBuilder.DefineCustomAttribute(this, 1, GetConstructorToken(con), binaryAttribute);
1157 }
int GetConstructorToken(ConstructorInfo con)

References System.Reflection.Emit.TypeBuilder.DefineCustomAttribute(), and System.Reflection.Emit.ModuleBuilder.GetConstructorToken().