System.Xml.Xsl.XslCompiledTransform.GetFirstError C# (CSharp) Méthode

GetFirstError() private méthode

Returns the first compiler error except warnings
private GetFirstError ( ) : CompilerError
Résultat System.CodeDom.Compiler.CompilerError
        private CompilerError GetFirstError()
        {
            foreach (CompilerError error in _compilerErrorColl)
            {
                if (!error.IsWarning)
                {
                    return error;
                }
            }
            return null;
        }