public override object ProvideValue(IServiceProvider serviceProvider)
        {
            _stream.Position = 0;
            switch (_converterId)
            {
            case Baml2006SchemaContext.KnownTypes.XamlBrushSerializer:
                return(System.Windows.Media.SolidColorBrush.DeserializeFrom(_reader,
                                                                            new DeferredBinaryDeserializerExtensionContext(serviceProvider, _freezer, _canFreeze)));

            case Baml2006SchemaContext.KnownTypes.XamlPathDataSerializer:
                return(Parsers.DeserializeStreamGeometry(_reader));

            case Baml2006SchemaContext.KnownTypes.XamlPoint3DCollectionSerializer:
                return(Point3DCollection.DeserializeFrom(_reader));

            case Baml2006SchemaContext.KnownTypes.XamlPointCollectionSerializer:
                return(PointCollection.DeserializeFrom(_reader));

            case Baml2006SchemaContext.KnownTypes.XamlVector3DCollectionSerializer:
                return(Vector3DCollection.DeserializeFrom(_reader));

            default:
                throw new NotImplementedException();
            }
        }
        // Token: 0x0600107A RID: 4218 RVA: 0x000418F4 File Offset: 0x0003FAF4
        public override object ProvideValue(IServiceProvider serviceProvider)
        {
            this._stream.Position = 0L;
            switch (this._converterId)
            {
            case 744:
                return(SolidColorBrush.DeserializeFrom(this._reader, new DeferredBinaryDeserializerExtension.DeferredBinaryDeserializerExtensionContext(serviceProvider, this._freezer, this._canFreeze)));

            case 746:
                return(Parsers.DeserializeStreamGeometry(this._reader));

            case 747:
                return(Point3DCollection.DeserializeFrom(this._reader));

            case 748:
                return(PointCollection.DeserializeFrom(this._reader));

            case 752:
                return(Vector3DCollection.DeserializeFrom(this._reader));
            }
            throw new NotImplementedException();
        }
 // Token: 0x0600227A RID: 8826 RVA: 0x000AB5F5 File Offset: 0x000A97F5
 public static object StaticConvertCustomBinaryToObject(BinaryReader reader)
 {
     return(Vector3DCollection.DeserializeFrom(reader));
 }