19 references to XamlObjectReaderException
System.Xaml (18)
System\Xaml\XamlObjectReader.cs (18)
344
throw new
XamlObjectReaderException
(SR.Format(SR.DeferringLoaderInstanceNull, deferringLoader));
1260
throw new
XamlObjectReaderException
(SR.ObjectReaderInstanceDescriptorIncompatibleArguments);
1267
throw new
XamlObjectReaderException
(SR.ObjectReaderInstanceDescriptorInvalidMethod);
1274
throw new
XamlObjectReaderException
(SR.ObjectReaderInstanceDescriptorIncompatibleArguments);
1288
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderInstanceDescriptorIncompatibleArgumentTypes, "null", parameterInfo.ParameterType));
1294
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderInstanceDescriptorIncompatibleArgumentTypes, argument.GetType(), parameterInfo.ParameterType));
1701
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderNoDefaultConstructor, value.GetType()));
1704
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderNoMatchingConstructor, value.GetType()));
1726
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderTypeIsNested, xamlType.Name));
1730
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderTypeCannotRoundtrip, xamlType.Name));
1781
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderXamlNamedElementAlreadyRegistered, Name));
1806
throw new
XamlObjectReaderException
(SR.ObjectReaderMultidimensionalArrayNotSupported);
1885
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderAttachedPropertyNotFound, owningType, ap.Key.MemberName));
2143
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderXamlNamePropertyMustBeString, property.Name, property.DeclaringType));
2642
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReaderTypeNotAllowed,
2654
throw new
XamlObjectReaderException
(SR.Format(SR.ObjectReader_TypeNotVisible, clrType.FullName));
2899
throw new
XamlObjectReaderException
(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType));
2910
throw new
XamlObjectReaderException
(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType));
System.Xaml.Tests (1)
System\Xaml\XamlObjectReaderExceptionTests.cs (1)
26
var exception = new
XamlObjectReaderException
("message");