Exemple #1
0
 public XamlUnexpectedParseException(XamlScanner xamlScanner, ScannerNodeType nodetype, string parseRule) : base(xamlScanner, System.Xaml.SR.Get("UnexpectedNodeType", new object[] { nodetype.ToString(), parseRule }))
 {
 }
Exemple #2
0
        // FxCop says this is never called
        //public XamlUnexpectedParseException(string message)
        //    : base(message) { }

        // FxCop says this is never called
        //public XamlUnexpectedParseException(string message, Exception innerException)
        //    : base(message, innerException) { }

        public XamlUnexpectedParseException(XamlScanner xamlScanner, ScannerNodeType nodetype, string parseRule)
            : base(xamlScanner, SR.Get(SRID.UnexpectedNodeType, nodetype.ToString(), parseRule))
        {
        }
Exemple #3
0
 public XamlPullParser(XamlParserContext context, XamlScanner scanner, XamlXmlReaderSettings settings)
 {
     _context     = context;
     _xamlScanner = scanner;
     _settings    = settings;
 }
 internal XamlParseException(XamlScanner xamlScanner, string message) : base(message, null, xamlScanner.LineNumber, xamlScanner.LinePosition)
 {
 }