Example #1
0
 public string WrittingAsyncStatement(PropertyFieldInfo p)
 {
     return($"CollectionPacker2.WriteNullableAsync{p.GenericParams()}(value.{p.MemberName}, serializer, cancellation);");
 }
Example #2
0
 public string ReadingAsyncStatement(PropertyFieldInfo p)
 {
     return($"CollectionPacker2.ReadNullableAsync{p.GenericParams()}(serializer, cancellation)");
 }
Example #3
0
 public string WrittingStatement(PropertyFieldInfo p)
 {
     return($"CollectionPacker2.WriteDict{p.GenericParams()}(value.{p.MemberName}, serializer, cache);");
 }
Example #4
0
 public string ReadingStatement(PropertyFieldInfo p)
 {
     return($"CollectionPacker2.ReadNullable{p.GenericParams()}(serializer)");
 }
Example #5
0
 public string ReadingStatement(PropertyFieldInfo p)
 {
     return($"CollectionPacker2.ReadArray{p.GenericParams()}(serializer, cache)");
 }