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