System.Xml.XmlBaseWriter.VerifyWhitespace C# (CSharp) Méthode

VerifyWhitespace() private méthode

private VerifyWhitespace ( char chars, int offset, int count ) : void
chars char
offset int
count int
Résultat void
        private void VerifyWhitespace(char[] chars, int offset, int count)
        {
            for (int i = 0; i < count; i++)
                if (!IsWhitespace(chars[offset + i]))
                    throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format(SR.XmlIllegalOutsideRoot)));
        }

Same methods

XmlBaseWriter::VerifyWhitespace ( char ch ) : void
XmlBaseWriter::VerifyWhitespace ( string s ) : void