System.Reflection.MdFieldInfo.GetValue C# (CSharp) Method

GetValue() private method

private GetValue ( bool raw ) : Object
raw bool
return Object
        internal unsafe Object GetValue(bool raw)
        {
            // Cannot cache these because they could be user defined non-agile enumerations

            Object value = MdConstant.GetValue(Module.MetadataImport, m_tkField, FieldType.GetTypeHandleInternal(), raw);

            if (value == DBNull.Value)
                throw new NotSupportedException(Environment.GetResourceString("Arg_EnumLitValueNotFound"));

            return value;
        } 

Same methods

MdFieldInfo::GetValue ( Object obj ) : Object