21 references to XamlXmlWriterException
System.Xaml (20)
System\Xaml\XamlXmlWriter.cs (20)
515
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterDuplicateMember, property.Name));
744
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterPrefixAlreadyDefinedInCurrentScope, prefix));
749
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterNamespaceAlreadyHasPrefixInCurrentScope, ns));
783
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteObject"));
788
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteEndObject"));
793
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteStartMember"));
798
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteEndMember"));
803
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteValue"));
808
throw new
XamlXmlWriterException
(SR.Format(SR.XamlXmlWriterWriteNotSupportedInCurrentState, "WriteNamespace"));
966
throw new
XamlXmlWriterException
(SR.XamlXmlWriterWriteObjectNotSupportedInCurrentState);
1073
throw new
XamlXmlWriterException
(SR.ExpandPositionalParametersinTypeWithNoDefaultConstructor);
1181
throw new
XamlXmlWriterException
(SR.ExpandPositionalParametersinTypeWithNoDefaultConstructor);
1330
throw new
XamlXmlWriterException
(SR.Format(SR.CannotWriteXmlSpacePreserveOnMember, frameWithXmlSpacePreserve.Member, value));
1911
throw new
XamlXmlWriterException
(SR.Format(
1923
throw new
XamlXmlWriterException
(SR.ConstructorNotFoundForGivenPositionalParameters);
1943
throw new
XamlXmlWriterException
(SR.ConstructorNotFoundForGivenPositionalParameters);
1951
throw new
XamlXmlWriterException
(SR.ExpandPositionalParametersWithReadOnlyProperties);
1965
throw new
XamlXmlWriterException
(SR.ConstructorNotFoundForGivenPositionalParameters);
1980
throw new
XamlXmlWriterException
(SR.ConstructorNotFoundForGivenPositionalParameters);
1988
throw new
XamlXmlWriterException
(SR.ConstructorNotFoundForGivenPositionalParameters);
System.Xaml.Tests (1)
System\Xaml\XamlXmlWriterExceptionTests.cs (1)
26
var exception = new
XamlXmlWriterException
("message");