diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 3dac049c5c3fa..cbf1b64b64a4c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -238,9 +238,9 @@ https://github.com/dotnet/runtime 1967649721058a457157d4321af3e6fceaa5441b - + https://github.com/dotnet/linker - e2b3a925b1ee6c55f9b95540647ce8362fe9ee44 + 60f48c55b5e0183bd1cee4cfa14f1d9ad3d90935 https://github.com/dotnet/xharness diff --git a/eng/Versions.props b/eng/Versions.props index 99f010d68e354..5da99c17d594a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -169,7 +169,7 @@ 7.0.0-preview-20220707.1 - 7.0.100-1.22362.3 + 7.0.100-1.22369.1 $(MicrosoftNETILLinkTasksVersion) 7.0.0-rc.1.22362.2 diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/ReflectionEmitCachingMemberAccessor.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/ReflectionEmitCachingMemberAccessor.cs index 2e0e5e94b2a87..017d824d18d8d 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/ReflectionEmitCachingMemberAccessor.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/ReflectionEmitCachingMemberAccessor.cs @@ -27,7 +27,9 @@ internal sealed partial class ReflectionEmitCachingMemberAccessor : MemberAccess => s_cache.GetOrAdd((nameof(CreateConstructor), classType, null), [UnconditionalSuppressMessage("ReflectionAnalysis", "IL2077:UnrecognizedReflectionPattern", Justification = "Cannot apply DynamicallyAccessedMembersAttribute to tuple properties.")] +#pragma warning disable IL2077 // The suppression doesn't work for the trim analyzer: https://github.com/dotnet/roslyn/issues/59746 static (key) => s_sourceAccessor.CreateConstructor(key.declaringType)); +#pragma warning restore IL2077 public override Func CreateFieldGetter(FieldInfo fieldInfo) => s_cache.GetOrAdd((nameof(CreateFieldGetter), typeof(TProperty), fieldInfo), static key => s_sourceAccessor.CreateFieldGetter((FieldInfo)key.member!));