<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.4.26230.115" />

System.Reflection.Metadata.Ecma335.LiteralEncoder

public struct LiteralEncoder
Provides methods for encoding literals.
namespace System.Reflection.Metadata.Ecma335 { public readonly struct LiteralEncoder { public BlobBuilder Builder { get; } public LiteralEncoder(BlobBuilder builder); public VectorEncoder Vector(); public void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector); public void TaggedVector(Action<CustomAttributeArrayTypeEncoder> arrayType, Action<VectorEncoder> vector); public ScalarEncoder Scalar(); public void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar); public void TaggedScalar(Action<CustomAttributeElementTypeEncoder> type, Action<ScalarEncoder> scalar); } }