22 references to Format
System.IO.Packaging (22)
System\IO\Packaging\FileFormatException.cs (2)
59
: SR.
Format
(SR.FileFormatExceptionWithFileName, sourceUri))
93
: SR.
Format
(SR.FileFormatExceptionWithFileName, sourceUri),
System\IO\Packaging\InternalRelationshipCollection.cs (8)
161
throw new XmlException(SR.
Format
(SR.NotAValidXmlIdString, id), exception);
340
throw new XmlException(SR.
Format
(SR.RequiredRelationshipAttributeMissing, TargetAttributeName), null, reader.LineNumber, reader.LinePosition);
347
throw new XmlException(SR.
Format
(SR.RequiredRelationshipAttributeMissing, TypeAttributeName), null, reader.LineNumber, reader.LinePosition);
353
throw new XmlException(SR.
Format
(SR.RequiredRelationshipAttributeMissing, IdAttributeName), null, reader.LineNumber, reader.LinePosition);
372
throw new XmlException(SR.
Format
(SR.ElementIsNotEmptyElement, RelationshipTagName), null, reader.LineNumber, reader.LinePosition);
570
throw new XmlException(SR.
Format
(SR.InvalidXmlBaseAttributePresent, XmlBaseAttributeName), null, reader.LineNumber, reader.LinePosition);
576
throw new XmlException(SR.
Format
(SR.InvalidValueForTheAttribute, attributeName), ex, reader.LineNumber, reader.LinePosition);
606
throw new XmlException(SR.
Format
(SR.NotAUniqueRelationshipId, id));
System\IO\Packaging\PackageRelationship.cs (1)
132
throw new XmlException(SR.
Format
(SR.NotAValidXmlIdString, id), exception);
System\IO\Packaging\PackUriHelper.PackUriScheme.cs (1)
81
throw new ArgumentException(SR.
Format
(SR.FragmentMustStartWithHash, nameof(fragment)));
System\IO\Packaging\PartBasedPackageProperties.cs (8)
389
throw new XmlException(SR.
Format
(SR.DuplicateCorePropertyName, reader!.Name),
505
throw new XmlException(SR.
Format
(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name),
545
SR.
Format
(SR.InvalidPropertyNameInCorePropertiesPart, reader.LocalName),
562
throw new XmlException(SR.
Format
(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name),
577
throw new XmlException(SR.
Format
(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name),
611
throw new XmlException(SR.
Format
(SR.UnknownDCDateTimeXsiType, reader.Name),
620
throw new XmlException(SR.
Format
(SR.UnknownDCDateTimeXsiType, reader.Name),
630
throw new XmlException(SR.
Format
(SR.UnknownDCDateTimeXsiType, reader.Name),
System\IO\Packaging\XmlCompatibilityReader.cs (1)
1101
Error(SR.
Format
(SR.XCRInvalidACChild, Reader.Name));
System\IO\Packaging\ZipPackage.cs (1)
1231
throw new XmlException(SR.
Format
(SR.ElementIsNotEmptyElement, elementName), null, ((IXmlLineInfo)reader).LineNumber, ((IXmlLineInfo)reader).LinePosition);