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

◆ ShouldLdtoken() [1/2]

static bool System.Linq.Expressions.Compiler.ILGen.ShouldLdtoken ( MethodBase mb)
inlinestaticpackage

Definition at line 372 of file ILGen.cs.

373 {
374 if (mb is DynamicMethod)
375 {
376 return false;
377 }
378 Type declaringType = mb.DeclaringType;
379 if (!(declaringType == null))
380 {
381 return ShouldLdtoken(declaringType);
382 }
383 return true;
384 }
static bool ShouldLdtoken(Type t)
Definition ILGen.cs:363

References System.Reflection.MemberInfo.DeclaringType, and System.Linq.Expressions.Compiler.ILGen.ShouldLdtoken().