src/Shared/EntityFramework/Core/SchemaObjectModel/SchemaEnumMember.cs
// <summary>
// Handler for the Member Value attribute.
// </summary>
// <param name="reader"> XmlReader positioned on the Member Value attribute. </param>
Handler for the Member Value attribute.
Handler for the Member Value attribute .
private void HandleValueAttribute(XmlReader reader)
        {
            DebugCheck.NotNull(reader);
            long tmpValue;
            if (long.TryParse(reader.Value, NumberStyles.AllowLeadingSign, CultureInfo.InvariantCulture, out tmpValue))
            {
                _value = tmpValue;
            }
        }
private void HandleValueAttribute ( XmlReader reader ) { DebugCheck . NotNull ( reader ) ; long tmpValue ; if ( long . TryParse ( reader . Value , NumberStyles . AllowLeadingSign , CultureInfo . InvariantCulture , out tmpValue ) ) { _value = tmpValue ; } }
Handler for the Member Value attribute.
Handler for the Member Value attribute .
// xsd validation will report an error if the value is not a valid xs:long number. If the number is valid // xs:long number then long.TryParse will succeed.
reader
XmlReader
XmlReader positioned on the Member Value attribute.
XmlReader positioned on the Member Value attribute .