public StringElementTraits() { if (intPtrTraits == null) { intPtrTraits = TraitFunctions.GetTypeTraits <IntPtr>(); } }
public EflObjectElementTraits(System.Type concrete) { if (intPtrTraits == null) { intPtrTraits = TraitFunctions.GetTypeTraits <IntPtr>(); } concreteType = concrete; }
public Primitive64ElementTraits() { if (int64Traits == null) { if (typeof(T) == typeof(Int64)) // avoid infinite recursion { int64Traits = (IBaseElementTraits <Int64>) this; } else { int64Traits = TraitFunctions.GetTypeTraits <Int64>(); } } }