private IEnumerator Start()
    {
        yield return(new WaitUntil(() => Input.GetKeyDown(KeyCode.Return)));

        XmlSerializationDefinition xmlDef = new XmlSerializationDefinition();

        TestGenericEnumerator(xmlDef.SerializationProcessors as ISerializationProcessor[]);         // This one apparently generates garbage still when retrieving the iterator.
        TestConcreteEnumerator(xmlDef.SerializationProcessors as ISerializationProcessor[]);        // This one does not generate garbage.
    }
 public XmlVector2AttributesProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }
 public XmlVector2Processor(XmlSerializationDefinition definition, XmlPrimitiveProcessingMethod preferredProcessingMethod)
     : this(new XmlVector2AttributesProcessor(definition), new XmlVector2ElementsProcessor(definition), preferredProcessingMethod)
 {
 }
 public XmlVector2ElementsProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }
 public XmlColorAttributesProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }
 public XmlColorElementsProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }
Exemple #7
0
 public XmlQuaternionAttributesProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }
Exemple #8
0
 public XmlQuaternionElementsProcessor(XmlSerializationDefinition definition)
     : base(definition)
 {
 }