> > I don't believe that the CSharp uses unsafe code. After all, the Java > > runtime doesn't use it. I've only found managed code, nothing unsafe.
----- Original Message ----- From: "Johannes Luber" <[email protected]> To: "Gavin Lambert" <[email protected]>; <[email protected]> Cc: <[email protected]> Sent: Thursday, January 22, 2009 7:23 AM Subject: Re: [antlr-interest] CSharp2: serialize/deserialize as AST >> At 20:17 22/01/2009, Johannes Luber wrote: >> >Actually, I don't know how pointers are treated, but I'd be >> >surprised if the standard formatters don't handle this case >> >themselves as it is a general case with using references >> >instead value types in member fields. >> >> Is it an actual pointer (unsafe something *) or is it just a >> reference-type field? > > I don't believe that the CSharp uses unsafe code. After all, the Java > runtime doesn't use it. >> >> Because binary formatters handle the latter perfectly fine; they >> can even cope properly with cycles in the object graph (which is >> what will be the case here -- parent->child->parent). >> >> The XmlSerializer can't (it's not a binary formatter), but the >> SoapFormatter can (because it is, even though it outputs XML). > > Good to know. > > Johannes > -- > NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL > für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
