System.Reflection.Metadata.Ecma335.LiteralEncoder
Provides methods for encoding literals.
Returns the encoder used to encode the literal value.
Returns a pair of encoders that must be used to encode the type and value of a literal in the order they appear in the parameter list.
public void TaggedScalar(Action<CustomAttributeElementTypeEncoder> type, Action<ScalarEncoder> scalar)
Encodes the type and the value of a literal using the specified delegates.
Returns a pair of encoders that must be used to encode the type and the items of a vector literal in the order they appear in the parameter list.
public void TaggedVector(Action<CustomAttributeArrayTypeEncoder> arrayType, Action<VectorEncoder> vector)
Encodes the type and the items of a vector literal using the specified delegates.
Gets a vector encoder used to encode the items of a vector.