System\Windows\Markup\Primitives\ElementMarkupObject.cs (10)
70ValueSerializer valueSerializer = ValueSerializer.GetSerializerFor(ObjectType, Context);
71if (valueSerializer != null && valueSerializer.CanConvertToString(_instance, Context))
368if (converter != null && converter.CanConvertTo(Context, typeof(InstanceDescriptor)))
734return _object.Context;
1002ValueSerializer serializer = ValueSerializer.GetSerializerFor(_object.ObjectType, _object.Context);
1003Debug.Assert(serializer != null && serializer.CanConvertToString(_object.Instance, _object.Context),
1005return serializer.ConvertToString(_object.Instance, _object.Context);
1027ValueSerializer serializer = ValueSerializer.GetSerializerFor(_object.ObjectType, _object.Context);
1028Debug.Assert(serializer != null && serializer.CanConvertToString(_object.Instance, _object.Context),
1030return serializer.TypeReferences(_object.Instance, _object.Context);