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