private void Write194_CustomAsyncFolder(string n, string ns, CustomAsyncFolder o, bool isNullable, bool needType) { if (o == null) { if (isNullable) { base.WriteNullTagLiteral(n, ns); } } else if (!needType && (o.GetType() != typeof(CustomAsyncFolder))) { throw base.CreateUnknownTypeException(o); } }