41 references to XslTransformException
System.Private.Xml (41)
System\Xml\Xsl\Runtime\XmlCollation.cs (6)
198
throw new
XslTransformException
(SR.Coll_UnsupportedLanguage, lang);
211
throw new
XslTransformException
(SR.Coll_Unsupported, collationLiteral);
228
throw new
XslTransformException
(SR.Coll_BadOptFormat, option);
254
throw new
XslTransformException
(SR.Coll_UnsupportedOpt, pair[0]);
263
throw new
XslTransformException
(SR.Coll_UnsupportedOptVal, pair[0], pair[1]);
333
throw new
XslTransformException
(SR.Coll_UnsupportedSortOpt, sort);
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (5)
201
throw new
XslTransformException
(/*[XT_037]*/SR.XmlIl_AmbiguousExtensionMethod, _namespaceUri, _name, _numArgs.ToString(CultureInfo.InvariantCulture));
213
throw new
XslTransformException
(/*[XT_038]*/SR.XmlIl_NonPublicExtensionMethod, _namespaceUri, _name);
215
throw new
XslTransformException
(/*[XT_039]*/SR.XmlIl_NoExtensionMethod, _namespaceUri, _name, _numArgs.ToString(CultureInfo.InvariantCulture));
219
throw new
XslTransformException
(/*[XT_040]*/SR.XmlIl_GenericExtensionMethod, _namespaceUri, _name);
333
throw new
XslTransformException
(/*[XT_050]*/SR.XmlIl_ByRefType, _namespaceUri, _name);
System\Xml\Xsl\Runtime\XmlQueryContext.cs (5)
68
throw new
XslTransformException
(SR.XmlIl_UnknownDocument, s);
107
throw new
XslTransformException
(SR.XmlIl_NoDefaultDocument, string.Empty);
194
throw new
XslTransformException
(SR.XmlIl_CantStripNav, string.Empty);
200
throw new
XslTransformException
(SR.XmlIl_CantResolveEntity, uriRelative, dataSource.GetType().ToString());
266
throw new
XslTransformException
(SR.XmlIl_UnknownExtObj, namespaceUri);
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (6)
726
throw new
XslTransformException
(SR.XmlIl_NmspConflict, new string[] { prefix.Length == 0 ? "" : ":", prefix, ns, nsExisting });
1148
throw new
XslTransformException
(SR.XmlIl_NmspAfterAttr, string.Empty);
1573
throw new
XslTransformException
(SR.XmlIl_BadXmlState, new string[] { constructorType.ToString(), XmlStateToNodeType(_xstate).ToString() });
1578
throw new
XslTransformException
(SR.XmlIl_BadXmlState, new string[] { constructorType.ToString(), _rootType.ToString() });
1581
throw new
XslTransformException
(SR.XmlIl_BadXmlStateAttr, string.Empty);
1586
throw new
XslTransformException
(SR.XmlIl_BadXmlState, new string[] { "Unknown", XmlStateToNodeType(_xstate).ToString() });
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (5)
423
throw new
XslTransformException
(SR.Xslt_InvalidPrefix, prefix);
523
throw new
XslTransformException
(SR.Xslt_UnsupportedClrType, destinationType.Name);
577
throw new
XslTransformException
(SR.Xslt_ItemNull, string.Empty);
674
throw new
XslTransformException
(SR.Xslt_UnsupportedClrType, sourceType.Name);
693
throw new
XslTransformException
(SR.Xslt_ItemNull, string.Empty);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (2)
141
throw new
XslTransformException
(SR.XmlIl_TopLevelAttrNmsp, string.Empty);
167
throw new
XslTransformException
(SR.XmlIl_TopLevelAttrNmsp, string.Empty);
System\Xml\Xsl\Runtime\XsltConvert.cs (3)
141
throw new
XslTransformException
(SR.Xslt_NodeSetNotNode, string.Empty);
331
throw new
XslTransformException
(SR.XPath_NodeSetExpected, string.Empty);
334
throw new
XslTransformException
(SR.XPath_RtfInPathExpr, string.Empty);
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
413
throw new
XslTransformException
(SR.Xslt_InvalidCompareOption, options);
544
throw new
XslTransformException
(SR.Xslt_InvalidLanguage, lang);
System\Xml\Xsl\Runtime\XsltLibrary.cs (6)
105
throw new
XslTransformException
(SR.Xslt_ScriptAndExtensionClash, nsUri);
205
throw new
XslTransformException
(SR.Xslt_NoDecimalFormat, errorMessageName);
245
throw new
XslTransformException
(SR.Xslt_InvalidAttrValue, nameof(lang), lang);
266
throw new
XslTransformException
(SR.Xslt_InvalidLanguage, lang);
294
throw new
XslTransformException
(SR.Xslt_InvalidAttrValue, nameof(lang), lang);
315
throw new
XslTransformException
(SR.Xslt_InvalidLanguage, lang);
System\Xml\Xsl\XslException.cs (1)
135
:
base
(SR.Xml_UserException, new string[] { error.ErrorText })