[PreserveDependency(
".ctor(System.Text.Json.Serialization.Converters.EnumConverterOptions)",
- "System.Text.Json.Serialization.Converters.JsonConverterEnum`1",
- "System.Text.Json")]
+ "System.Text.Json.Serialization.Converters.JsonConverterEnum`1")]
public override JsonConverter CreateConverter(Type type, JsonSerializerOptions options)
{
JsonConverter converter = (JsonConverter)Activator.CreateInstance(
return (generic == typeof(KeyValuePair<,>));
}
- [PreserveDependency(".ctor()", "System.Text.Json.Serialization.Converters.JsonKeyValuePairConverter`2", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.Serialization.Converters.JsonKeyValuePairConverter`2")]
public override JsonConverter CreateConverter(Type type, JsonSerializerOptions options)
{
Type keyType = type.GetGenericArguments()[0];
options);
}
- [PreserveDependency(".ctor()", "System.Text.Json.JsonPropertyInfoNullable`2", "System.Text.Json")]
- [PreserveDependency(".ctor()", "System.Text.Json.Serialization.JsonPropertyInfoNotNullableContravariant`4", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.JsonPropertyInfoNullable`2")]
+ [PreserveDependency(".ctor()", "System.Text.Json.Serialization.JsonPropertyInfoNotNullableContravariant`4")]
internal static JsonPropertyInfo CreateProperty(
Type declaredPropertyType,
Type runtimePropertyType,
/// <inheritdoc />
[PreserveDependency(
".ctor(System.Text.Json.Serialization.Converters.EnumConverterOptions, System.Text.Json.JsonNamingPolicy)",
- "System.Text.Json.Serialization.Converters.JsonConverterEnum`1",
- "System.Text.Json")]
+ "System.Text.Json.Serialization.Converters.JsonConverterEnum`1")]
public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options)
{
JsonConverter converter = (JsonConverter)Activator.CreateInstance(
return (Action<TProperty>)addMethod.CreateDelegate(typeof(Action<TProperty>), target);
}
- [PreserveDependency(".ctor()", "System.Text.Json.ImmutableEnumerableCreator`2", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.ImmutableEnumerableCreator`2")]
public override ImmutableCollectionCreator ImmutableCollectionCreateRange(Type constructingType, Type collectionType, Type elementType)
{
MethodInfo createRange = ImmutableCollectionCreateRangeMethod(constructingType, elementType);
return creator;
}
- [PreserveDependency(".ctor()", "System.Text.Json.ImmutableDictionaryCreator`2", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.ImmutableDictionaryCreator`2")]
public override ImmutableCollectionCreator ImmutableDictionaryCreateRange(Type constructingType, Type collectionType, Type elementType)
{
Debug.Assert(collectionType.IsGenericType);
return (Action<TProperty>)addMethod.CreateDelegate(typeof(Action<TProperty>), target);
}
- [PreserveDependency(".ctor()", "System.Text.Json.ImmutableEnumerableCreator`2", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.ImmutableEnumerableCreator`2")]
public override ImmutableCollectionCreator ImmutableCollectionCreateRange(Type constructingType, Type collectionType, Type elementType)
{
MethodInfo createRange = ImmutableCollectionCreateRangeMethod(constructingType, elementType);
return creator;
}
- [PreserveDependency(".ctor()", "System.Text.Json.ImmutableDictionaryCreator`2", "System.Text.Json")]
+ [PreserveDependency(".ctor()", "System.Text.Json.ImmutableDictionaryCreator`2")]
public override ImmutableCollectionCreator ImmutableDictionaryCreateRange(Type constructingType, Type collectionType, Type elementType)
{
Debug.Assert(collectionType.IsGenericType);