> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to