Beispiel #1
0
        private bool IsValueType(Type type)
        {
            if (type != _isValueTypeType)
            {
                _isValueType     = FasterflectManager.IsValueType(type);
                _isValueTypeType = type;
            }

            return(_isValueType);
        }
Beispiel #2
0
        private MemberSetter GetMemberSetter(Type type)
        {
            if (type != _memberSetterType)
            {
                _memberSetter     = FasterflectManager.GetFieldSetter(type, info.Value.Name);
                _memberSetterType = type;
            }

            return(_memberSetter);
        }