CreateImmutableHashSetTypeInfo(TomlSerializerContext) Method

Definition

Assembly Tomlyn.dll

Creates metadata for System.Collections.Immutable.ImmutableHashSet`1.

[RequiresUnreferencedCode("Reflection-based TOML serialization is not compatible with trimming/NativeAOT. Use a source-generated TomlSerializerContext or pass a TomlTypeInfo instance.")]
[RequiresDynamicCode("Reflection-based TOML serialization is not compatible with trimming/NativeAOT. Use a source-generated TomlSerializerContext or pass a TomlTypeInfo instance.")]
protected static TomlTypeInfo<ImmutableHashSet<TElement>> CreateImmutableHashSetTypeInfo<TElement>(TomlSerializerContext context)

Type parameters

TElement

Parameters

Returns