242 references to XmlException
PresentationFramework (20)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
779
throw new
XmlException
(SR.XamlFilterNestedFixedPage);
System\Windows\Annotations\Annotation.cs (8)
325
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.Annotation));
340
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.Annotation));
550
throw new
XmlException
(SR.Format(SR.UnexpectedAttribute, reader.LocalName, elementName));
664
throw new
XmlException
(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Annotation));
672
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.Id, AnnotationXmlConstants.Elements.Annotation));
676
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.CreationTime, AnnotationXmlConstants.Elements.Annotation));
680
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.LastModificationTime, AnnotationXmlConstants.Elements.Annotation));
684
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.TypeName, AnnotationXmlConstants.Elements.Annotation));
System\Windows\Annotations\AnnotationResource.cs (3)
190
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.Resource));
455
throw new
XmlException
(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Resource));
462
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.Id, AnnotationXmlConstants.Elements.Resource));
System\Windows\Annotations\LocatorGroup.cs (1)
145
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.ContentLocatorGroup));
System\Windows\Annotations\LocatorPartList.cs (6)
207
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.ContentLocator));
240
throw new
XmlException
(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Item));
247
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.ItemName, AnnotationXmlConstants.Elements.Item));
251
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.ItemValue, AnnotationXmlConstants.Elements.Item));
267
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, AnnotationXmlConstants.Elements.Item));
278
throw new
XmlException
(SR.Format(SR.InvalidXmlContent, part.PartType.Name));
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
566
throw new
XmlException
(SR.Format(SR.RequiredAttributeMissing, AnnotationXmlConstants.Attributes.Id, AnnotationXmlConstants.Elements.Annotation));
System.IO.Packaging (1)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
610
throw new
XmlException
(SR.Format(SR.NotAUniqueRelationshipId, id));
System.Private.DataContractSerialization (99)
System\Runtime\Serialization\ExtensionDataReader.cs (4)
160
throw new
XmlException
(SR.InvalidXmlDeserializingExtensionData);
251
throw new
XmlException
(SR.InvalidXmlDeserializingExtensionData);
325
throw new
XmlException
(SR.InvalidXmlDeserializingExtensionData);
652
throw new
XmlException
(SR.Format(SR.InvalidDataNode, DataContract.GetClrTypeFullName(type)));
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
47
throw new
XmlException
(SR.Format(SR.XmlInvalidConversion, value, type));
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (7)
291
_ => throw new
XmlException
(SR.JsonEncodingNotSupported),
300
_ => throw new
XmlException
(SR.JsonEncodingNotSupported),
323
throw new
XmlException
(SR.JsonEncodingNotSupported);
341
throw new
XmlException
(SR.JsonInvalidBytes);
351
throw new
XmlException
(SR.Format(SR.JsonExpectedEncoding, GetEncodingName(expEnc), GetEncodingName(actualEnc)));
366
throw new
XmlException
(SR.JsonUnexpectedEndOfFile);
389
throw new
XmlException
(SR.JsonUnexpectedEndOfFile);
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
70
throw new
XmlException
(SR.Format(SR.XmlInvalidConversion, value, Globals.TypeOfInt));
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (4)
95
throw new
XmlException
(SR.Format(SR.XmlStartElementExpected, "EndElement"));
266
throw new
XmlException
(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64")));
292
throw new
XmlException
(SR.Format(SR.XmlStartElementExpected, "EndElement"));
299
throw new
XmlException
(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64")));
System\Runtime\Serialization\Json\XmlJsonReader.cs (11)
492
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, (char)ch)));
549
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter,
590
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter,
678
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, (char)ch)));
1162
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, (char)nextByte)));
1181
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, (char)nextByte)));
1213
new
XmlException
(SR.Format(SR.XmlInvalidLowSurrogate, bufferAsString)));
1263
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, (char)ch)));
1306
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.JsonInvalidFFFE));
1573
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, val[i])));
1602
new
XmlException
(SR.Format(SR.JsonEncounteredUnexpectedCharacter, val[i])));
System\Runtime\Serialization\Json\XmlJsonWriter.cs (28)
431
throw new
XmlException
(SR.JsonNoMatchingStartAttribute);
477
throw new
XmlException
(SR.Format(SR.JsonUnexpectedAttributeValue, _attributeText));
544
throw new
XmlException
(SR.JsonEndElementNoOpenNodes);
548
throw new
XmlException
(SR.Format(SR.JsonOpenAttributeMustBeClosedFirst, "WriteEndElement"));
581
throw new
XmlException
(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.serverTypeString));
588
throw new
XmlException
(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.itemString, string.Empty, JsonGlobals.itemString));
666
throw new
XmlException
(SR.JsonXmlInvalidDeclaration);
752
throw new
XmlException
(SR.JsonAttributeMustHaveElement);
756
throw new
XmlException
(SR.Format(SR.JsonOpenAttributeMustBeClosedFirst, "WriteStartAttribute"));
766
throw new
XmlException
(SR.Format(SR.JsonAttributeAlreadyWritten, JsonGlobals.typeString));
775
throw new
XmlException
(SR.Format(SR.JsonAttributeAlreadyWritten, JsonGlobals.serverTypeString));
780
throw new
XmlException
(SR.Format(SR.JsonServerTypeSpecifiedForInvalidDataType,
790
throw new
XmlException
(SR.Format(SR.JsonAttributeAlreadyWritten, JsonGlobals.itemString));
797
throw new
XmlException
(SR.JsonEndElementNoOpenNodes);
823
throw new
XmlException
(SR.Format(SR.JsonInvalidWriteState, "WriteStartDocument", WriteState.ToString()));
855
throw new
XmlException
(SR.Format(SR.JsonOpenAttributeMustBeClosedFirst, "WriteStartElement"));
859
throw new
XmlException
(SR.JsonMultipleRootElementsNotAllowedOnWriter);
868
throw new
XmlException
(SR.Format(SR.JsonInvalidRootElementName, localName, JsonGlobals.rootString));
877
throw new
XmlException
(SR.JsonNodeTypeArrayOrObjectNotSpecified);
893
throw new
XmlException
(SR.Format(SR.JsonInvalidItemNameForArrayElement, localName, JsonGlobals.itemString));
918
throw new
XmlException
(SR.Format(SR.JsonInvalidItemNameForArrayElement, localName, JsonGlobals.itemString));
924
throw new
XmlException
(SR.JsonInvalidStartElementCall);
1119
throw new
XmlException
(SR.JsonCannotWriteStandaloneTextAfterQuotedText);
1191
throw new
XmlException
(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.serverTypeString));
1198
throw new
XmlException
(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.itemString, string.Empty, JsonGlobals.itemString));
1227
throw new
XmlException
(SR.Format(SR.JsonInvalidDataTypeSpecifiedForServerType, JsonGlobals.typeString, dataTypeSpecified, JsonGlobals.serverTypeString, JsonGlobals.objectString));
1235
throw new
XmlException
(SR.JsonInvalidMethodBetweenStartEndAttribute);
1239
throw new
XmlException
(SR.Format(SR.JsonCannotWriteTextAfterNonTextAttribute, _dataType.ToString().ToLowerInvariant()));
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
338
throw new
XmlException
(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, type)));
344
throw new
XmlException
(SR.Format(SR.XmlStartElementExpected, "EndElement"));
System\Xml\EncodingStreamWrapper.cs (20)
105
throw new
XmlException
(SR.XmlDeclarationRequired);
129
_ => throw new
XmlException
(SR.XmlEncodingNotSupported),
138
_ => throw new
XmlException
(SR.XmlEncodingNotSupported),
147
_ => throw new
XmlException
(SR.XmlEncodingNotSupported),
161
throw new
XmlException
(SR.XmlEncodingNotSupported);
200
throw new
XmlException
(SR.UnexpectedEndOfFile);
254
throw new
XmlException
(SR.XmlDeclMissing);
262
throw new
XmlException
(SR.XmlDeclMissing);
269
throw new
XmlException
(SR.XmlBadBOM);
351
throw new
XmlException
(SR.XmlDeclarationRequired);
356
throw new
XmlException
(SR.XmlMalformedDecl);
365
throw new
XmlException
(SR.XmlDeclarationRequired);
374
throw new
XmlException
(SR.XmlMalformedDecl);
381
throw new
XmlException
(SR.XmlMalformedDecl);
435
throw new
XmlException
(SR.UnexpectedEndOfFile);
485
throw new
XmlException
(SR.XmlDeclarationRequired);
499
throw new
XmlException
(SR.Format(SR.XmlExpectedEncoding, GetEncodingName(expEnc), GetEncodingName(actualEnc)));
509
throw new
XmlException
(SR.Format(SR.XmlEncodingMismatch, declEnc, docEnc));
642
throw new
XmlException
(SR.UnexpectedEndOfFile);
663
throw new
XmlException
(SR.UnexpectedEndOfFile);
System\Xml\XmlBaseReader.cs (11)
130
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlDeclMissingVersion));
133
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlMalformedDecl));
137
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlDeclMissingVersion));
146
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlMalformedDecl));
150
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlMalformedDecl));
163
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlMalformedDecl));
169
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlInvalidStandalone));
178
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlMalformedDecl));
184
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.Format(valueSR)));
349
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.Format(SR.XmlSpecificBindingPrefix, "xml", xmlNamespace)));
353
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.Format(SR.XmlSpecificBindingPrefix, "xmlns", xmlnsNamespace)));
System\Xml\XmlConverter.cs (1)
459
throw new
XmlException
(SR.Format(SR.XmlInvalidQualifiedName, qname));
System\Xml\XmlDictionaryWriter.cs (1)
197
throw new
XmlException
(SR.XmlInvalidStream);
System\Xml\XmlExceptionHelper.cs (2)
39
throw new
XmlException
(s);
50
throw new
XmlException
(s);
System\Xml\XmlUTF8TextReader.cs (6)
866
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlSpaceBetweenAttributes));
899
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlInvalidFFFE));
1035
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlInvalidCommentChars));
1168
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlInvalidFFFE));
1326
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlCDATAInvalidAtTopLevel));
1369
XmlExceptionHelper.ThrowXmlException(this, new
XmlException
(SR.XmlCloseCData));
System.Private.Xml (16)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
2789
throw new
XmlException
(SR.XmlBin_MissingEndCDATA);
System\Xml\Core\XmlTextReaderImpl.cs (1)
9013
throw new
XmlException
(SR.Xml_NametableMismatch);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
3455
throw new
XmlException
(SR.Xml_InternalError);
System\Xml\Resolvers\XmlPreloadedResolver.cs (3)
33
throw new
XmlException
(SR.Xml_UnsupportedClass);
237
throw new
XmlException
(SR.Format(SR.Xml_CannotResolveUrl, absoluteUri));
250
throw new
XmlException
(SR.Xml_UnsupportedClass);
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (2)
30
throw new
XmlException
(SR.Format(SR.Xml_CannotResolveUrl, absoluteUri));
43
throw new
XmlException
(SR.Xml_UnsupportedClass);
System\Xml\Serialization\Xmlcustomformatter.cs (2)
75
throw new
XmlException
(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
254
throw new
XmlException
(SR.Format(SR.XmlUnsupportedDefaultValue, formatter));
System\Xml\ValidateNames.cs (1)
374
throw new
XmlException
(SR.Format(SR.Xml_EmptyName, string.Empty));
System\Xml\XmlException.cs (1)
85
public XmlException() :
this
(null)
System\Xml\XmlResolver.ThrowingResolver.cs (2)
40
throw new
XmlException
(SR.Format(SR.Xml_NullResolver, absoluteUri));
45
throw new
XmlException
(SR.Format(SR.Xml_NullResolver, absoluteUri));
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
325
throw new
XmlException
(SR.Xml_InternalError);
330
throw new
XmlException
(SR.Xml_InternalError);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CryptoSignedXmlRecursionException.cs (1)
21
public CryptoSignedXmlRecursionException(string message) :
base
(message) { }
System.ServiceModel.Primitives (94)
Internals\System\Xml\XmlExceptionHelper.cs (1)
31
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(s));
Internals\System\Xml\XmlMtomReader.cs (29)
95
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomBufferQuotaExceeded, maxBuffer)));
155
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomMessageInvalidContent));
192
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomMessageInvalidMimeVersion, header.Version, MimeVersionHeader.Default.Version)));
198
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomMessageContentTypeNotFound));
202
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomMessageNotMultipart, MtomGlobals.MediaType, MtomGlobals.MediaSubtype)));
206
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomMessageNotApplicationXopXml, MtomGlobals.XopType)));
209
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomMessageRequiredParamNotSpecified, MtomGlobals.BoundaryParam)));
211
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomBoundaryInvalid, boundary)));
223
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomRootContentTypeNotFound));
227
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomRootNotApplicationXopXml, MtomGlobals.XopMediaType, MtomGlobals.XopMediaSubtype)));
232
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomRootRequiredParamNotSpecified, MtomGlobals.CharsetParam)));
277
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomRootUnexpectedCharset, charset, expectedCharSetStr.ToString())));
286
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomRootRequiredParamNotSpecified, MtomGlobals.TypeParam)));
288
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomRootUnexpectedType, rootType, expectedType)));
298
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomContentTransferEncodingNotSupported,
308
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomContentTransferEncodingNotPresent,
311
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomInvalidTransferEncodingForMimePart,
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomInvalidStartUri, startUri)));
343
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomXopIncludeInvalidXopAttributes, _xmlReader.LocalName, MtomGlobals.XopIncludeNamespace)));
346
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomXopIncludeHrefNotSpecified, MtomGlobals.XopIncludeHrefLocalName)));
369
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomXopIncludeInvalidXopElement, _xmlReader.LocalName, MtomGlobals.XopIncludeNamespace)));
406
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomInvalidEmptyURI));
415
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomInvalidCIDUri, uri)));
420
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomMimePartReferencedMoreThanOnce, contentID)));
431
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomMessageInvalidContentInMimePart));
457
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MaxMimePartsExceeded, maxMimeParts, "MtomMessageEncoderBindingElement")));
466
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomPartNotFound, uri)));
478
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomRootPartNotFound));
483
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.MtomMessageInvalidContentInMimePart));
Internals\System\Xml\XmlMtomWriter.cs (5)
244
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomDataMustNotContainXopInclude, MtomGlobals.XopIncludeLocalName, MtomGlobals.XopIncludeNamespace)));
343
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.MtomExceededMaxSizeInBytes, maxSize)));
518
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.XmlInvalidStream));
557
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.XmlInvalidStream));
1414
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.WriteBufferOverflow));
System\IdentityModel\Tokens\KeyInfoSerializer.cs (3)
119
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null))));
165
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ErrorDeserializingKeyIdentifierClause)));
266
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CannotReadKeyIdentifierClause, reader.LocalName, reader.NamespaceURI)));
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
210
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CannotReadKeyIdentifierClause, reader.LocalName, reader.NamespaceURI)));
System\IdentityModel\Tokens\XmlDsigSep2000.cs (1)
76
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.ErrorDeserializingKeyIdentifierClause));
System\ServiceModel\Channels\AddressHeader.cs (1)
137
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ExpectedElementMissing, Name, Namespace)));
System\ServiceModel\Channels\CreateSequenceResponse.cs (1)
70
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
2044
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
System\ServiceModel\Channels\WsrmFault.cs (1)
564
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
System\ServiceModel\Channels\WsrmMessageInfo.cs (15)
624
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
662
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
775
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
819
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
860
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(reason));
1122
new
XmlException
(SRP.Format(SRP.InvalidSequenceRange, lower, upper)));
1144
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1157
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1172
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1185
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1212
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1223
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1233
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1239
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
1250
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(
System\ServiceModel\EndpointAddress.cs (3)
841
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace)));
913
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
927
return new
XmlException
(message);
System\ServiceModel\EndpointIdentity.cs (4)
156
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.Identity.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
186
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnrecognizedIdentityType, reader.Name, reader.NamespaceURI)));
195
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnrecognizedIdentityType, reader.Name, reader.NamespaceURI)));
202
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.InvalidIdentityElement));
System\ServiceModel\Security\WSSecureConversation.cs (3)
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.DerivedKeyTokenRequiresTokenReference));
155
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.DerivedKeyInvalidGenerationSpecified, generation)));
167
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.DerivedKeyInvalidOffsetSpecified, offset)));
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
384
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CantInferReferenceForToken, ValueTypeAbsoluteUri)));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
223
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null))));
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CannotReadToken, element.LocalName, element.NamespaceURI, element.GetAttribute(SecurityJan2004Strings.ValueType, null))));
470
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.RequiredAttributeMissing, idAttributeLocalName, issuedTokenXml.LocalName)));
System\ServiceModel\Security\WSTrust.cs (3)
407
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.NoRequestSecurityTokenResponseElements));
774
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnsupportedBinaryEncoding, encodingUri)));
839
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.TrustDriverIsUnableToCreatedNecessaryAttachedOrUnattachedReferences, issuedTokenXml.ToString())));
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
136
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.TrustDriverIsUnableToCreatedNecessaryAttachedOrUnattachedReferences, issuedTokenXml.ToString())));
System\ServiceModel\Security\XmlHelper.cs (12)
120
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CouldNotFindNamespaceForPrefix, prefix)));
171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ChildNodeTypeMissing, parentName, expectedNodeType)));
176
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ChildNodeTypeMissing, parent.Name, expectedNodeType)));
181
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.EmptyXmlElementError, r.Name)));
186
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.EmptyXmlElementError, e.Name)));
191
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedEndOfFile)));
196
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.CouldNotFindNamespaceForPrefix, prefix)));
201
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.RequiredAttributeMissing, attrName, elementName)));
206
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.ExpectedElementMissing, elementName, elementNamespace)));
211
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedXmlChildNode, r.Name, r.NodeType, parentName)));
216
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedXmlChildNode, n.Name, n.NodeType, parent.Name)));
260
new
XmlException
(SRP.Format(SRP.EmptyBase64Attribute, name, ns)));
System\ServiceModel\X509CertificateEndpointIdentity.cs (2)
58
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
80
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnexpectedEmptyElementExpectingClaim, XD.AddressingDictionary.X509v3Certificate.Value, XD.AddressingDictionary.IdentityExtensionNamespace.Value)));
System\ServiceModel\XmlUtil.cs (3)
30
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.XmlLangAttributeMissing));
130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.InvalidXmlQualifiedName, qname)));
139
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
XmlException
(SRP.Format(SRP.UnboundPrefixInQName, qname)));
System.ServiceModel.Syndication (11)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (2)
98
throw new
XmlException
(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI));
534
_ => throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.Format(SR.Atom10SpecRequiresTextConstruct, context, type))),
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
90
throw new
XmlException
(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (1)
91
throw new
XmlException
(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
81
throw new
XmlException
(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
98
throw new
XmlException
(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
113
throw new
XmlException
(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
426
throw new
XmlException
(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
367
throw new
XmlException
(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDateTime));
481
throw new
XmlException
(s);
System\ServiceModel\Syndication\SyndicationItem.cs (1)
172
throw new
XmlException
(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));