private TypeSchema BuildCore(TypeSchema w, SurrogateSchema r)
        {
            var schema = this.BuildDynamic(w, r.Surrogate);

            return(schema != null
                ? new SurrogateSchema(r.RuntimeType, r.SurrogateType, r.Surrogate)
                : null);
        }
 private void VisitCore(SurrogateSchema s)
 {
     s.Serializer = new SurrogateSerializer(this.settings, s);
     this.VisitDynamic(s.Surrogate);
 }
 private TypeSchema BuildCore(TypeSchema w, SurrogateSchema r)
 {
     var schema = this.BuildDynamic(w, r.Surrogate);
     return schema != null
         ? new SurrogateSchema(r.RuntimeType, r.SurrogateType, r.Surrogate)
         : null;
 }