16 references to MustBeOfType
ReachFramework (16)
Serialization\FontTypeConverter.cs (1)
158throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "GlyphRun"));
Serialization\ImageSourceTypeConverter.cs (1)
163throw new ArgumentException(SR.Format(SR.MustBeOfType, "value", "BitmapSource"));
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
114throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCSerializer.cs (2)
686throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 905throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
128throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
46throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
84throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(System.Collections.Generic.IEnumerable<DocumentReference>)));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
66throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
112throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
89throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
129throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable)));
Serialization\Manager\ReachVisualSerializer.cs (2)
44throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual))); 180throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual)));
Serialization\Manager\ReachVisualSerializerAsync.cs (2)
77throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual))); 230throw new ArgumentException(SR.Format(SR.MustBeOfType, "serializedObject", typeof(Visual)));