12 references to Format
System.Xaml (12)
System\Windows\Markup\ValueSerializer.cs (1)
249return new NotSupportedException(SR.Format(SR.ConvertToException, base.GetType().Name, text, destinationType.FullName));
System\Xaml\Context\NameFixupGraph.cs (1)
487exceptionMessage.Append(SR.Format(SR.LineNumberAndPosition, meName, token.LineNumber, token.LinePosition));
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
593err = SR.Format(SR.OpenPropertyInCurrentFrame_SM, _context.CurrentType.ToString(), 655throw _context.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.AttachedPropOnFwdRefTC, 908string err = SR.Format(SR.NoPropertyInCurrentFrame_NS, namespaceDeclaration.Prefix, 1862Debug.WriteLine(SR.Format(SR.DictionaryFirstChanceException, ctx.ParentType, key, ctx.ParentType.KeyType)); 2218throw ctx.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.TransitiveForwardRefDirectives, 2327exceptionMessage.Append(SR.Format(SR.LineNumberAndPosition, string.Empty, token.LineNumber, token.LinePosition));
System\Xaml\Parser\MePullParser.cs (1)
70_brokenRule = SR.Format(SR.UnexpectedToken,
System\Xaml\XamlException.cs (1)
48return SR.Format(SR.LineNumberAndPosition, base.Message, LineNumber, LinePosition);
System\Xaml\XamlObjectReader.cs (1)
915throw new InvalidOperationException(SR.Format(SR.AttachedPropertyOnTypeConvertedOrStringProperty, property.Name, value.ToString(), props[0].Key.ToString()));
System\Xaml\XamlSchemaContext.cs (1)
453throw new XamlSchemaException(SR.Format(SR.DuplicateXmlnsCompatAcrossAssemblies,