16 references to MustBeOfType
ReachFramework (16)
Serialization\FontTypeConverter.cs (1)
157throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "GlyphRun"));
Serialization\ImageSourceTypeConverter.cs (1)
162throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "BitmapSource"));
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
113throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCSerializer.cs (2)
676throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 895throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
127throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
45throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
83throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
65throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
111throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
88throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
128throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachVisualSerializer.cs (2)
43throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual))); 179throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual)));
Serialization\Manager\ReachVisualSerializerAsync.cs (2)
76throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual))); 229throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual)));