System.Enum.ToHexString C# (CSharp) Method

ToHexString() private method

private ToHexString ( ) : String
return String
        private String ToHexString()
        {
            Type eT = this.GetType();
            FieldInfo thisField = GetValueField(eT);

            // Retrieve the value from the field.
            return InternalFormattedHexString(((RtFieldInfo)thisField).InternalGetValue(this, false));
            //return  InternalFormattedHexString(((RuntimeFieldInfo)thisField).GetValue(this));
        }