Exemple #1
0
 /// <summary>
 /// Encodes the type and the value of a literal.
 /// Returns a pair of encoders that must be used in the order they appear in the parameter list.
 /// </summary>
 /// <param name="type">Called first, to encode the type of the literal.</param>
 /// <param name="scalar">Called second, to encode the value of the literal.</param>
 public void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar)
 {
     type   = new CustomAttributeElementTypeEncoder(Builder);
     scalar = new ScalarEncoder(Builder);
 }
 public void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar)
 {
     type = new CustomAttributeElementTypeEncoder(Builder);
     scalar = new ScalarEncoder(Builder);
 }