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

◆ ShouldLdtoken() [2/2]

static bool System.Linq.Expressions.Compiler.ILGen.ShouldLdtoken ( Type t)
inlinestaticprivate

Definition at line 363 of file ILGen.cs.

364 {
365 if (!t.IsGenericParameter)
366 {
367 return t.IsVisible;
368 }
369 return true;
370 }

References System.Type.IsGenericParameter, and System.Type.IsVisible.

Referenced by System.Linq.Expressions.Compiler.ILGen.CanEmitConstant(), System.Linq.Expressions.Compiler.ILGen.ShouldLdtoken(), and System.Linq.Expressions.Compiler.ILGen.TryEmitConstant().