6 references to MustBeOfType
PresentationFramework (6)
System\Windows\ComponentResourceKeyConverter.cs (1)
100throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "ComponentResourceKey"));
System\Windows\DynamicResourceExtensionConverter.cs (1)
47throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "DynamicResourceExtension"), nameof(value));
System\Windows\ResourceReferenceExpressionConverter.cs (1)
116throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "ResourceReferenceExpression"));
System\Windows\SystemKeyConverter.cs (1)
132throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "SystemResourceKey or SystemThemeKey"));
System\Windows\TemplateBindingExpressionConverter.cs (1)
45throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "TemplateBindingExpression"));
System\Windows\TemplateBindingExtensionConverter.cs (1)
51throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "TemplateBindingExtension"), nameof(value));