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