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