[master] Update dependencies from mono/linker#47709
Conversation
Microsoft.NET.ILLink.Tasks From Version 6.0.0-alpha.1.21079.1 -> To Version 6.0.0-alpha.1.21101.1
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
Tagging subscribers to this area: @ViktorHofer Issue DetailsThis pull request updates the following dependencies From https://github.com/mono/linker
|
Microsoft.NET.ILLink.Tasks From Version 6.0.0-alpha.1.21079.1 -> To Version 6.0.0-alpha.1.21101.2
|
@mateoatr please resolve the IL2026 issues to unblock the merge |
|
I have a fix for the linker issue in dotnet/linker#1798 After that change there are 3 new warnings (and some duplicates) which are valid and will need to be baselined (and eventually fixed): F:\dotnet\runtime2\src\libraries\System.Data.Common\src\System\Data\ColumnTypeConverter.cs(96,21): Trim analysis warning IL2026: System.Data.ColumnTypeConverter.ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type): Using method 'System.Type.GetType(String,Func<AssemblyName,Assembly>,Func<Assembly,String,Boolean,Type>,Boolean)' which has 'RequiresUnreferencedCodeAttribute' which can break functionality when trimming application code. The type might be removed.
F:\dotnet\runtime2\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs(84,17): Trim analysis warning IL2026: System.Resources.ResourceReader.InitializeBinaryFormatter(): Using method 'System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream)' which has 'RequiresUnreferencedCodeAttribute' which can break functionality when trimming application code. BinaryFormatter serialization is not trim compatible because the Type of objects being processed cannot be statically discovered..
F:\dotnet\runtime2\src\libraries\System.Security.Cryptography.Primitives\src\System\Security\Cryptography\CryptoConfigForwarder.cs(20,13): Trim analysis warning IL2026: System.Security.Cryptography.CryptoConfigForwarder.BindCreateFromName(): Using method 'System.Security.Cryptography.CryptoConfig.CreateFromName(String)' which has 'RequiresUnreferencedCodeAttribute' which can break functionality when trimming application code. The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead..
|
|
dotnet/linker#1798 has been merged. A new build should update this PR (I assume) and the number of warnings should reduce substantially. Then we will need to baseline the new warnings in the PR. |
Microsoft.NET.ILLink.Tasks From Version 6.0.0-alpha.1.21079.1 -> To Version 6.0.0-alpha.1.21103.1
|
@mateoatr could you add the 4 unique ones to the baseline? @vitek-karas there is still a lot of duplicated warnings |
|
Some of them look like duplicates but they're not: ColumnTypeConverter.cs(96,21): ... 'System.Type.GetType(String,Func<AssemblyName,Assembly>,Func<Assembly,String,Boolean,Type>,Boolean,Boolean)'
ColumnTypeConverter.cs(96,21): ... 'System.Type.GetType(String,Func<AssemblyName,Assembly>,Func<Assembly,String,Boolean,Type>,Boolean)'
ColumnTypeConverter.cs(96,21): ... 'System.Type.GetType(String,Func<AssemblyName,Assembly>,Func<Assembly,String,Boolean,Type>)'
ColumnTypeConverter.cs(96,21): ... 'System.Type.GetType(String)' which has 'RequiresUnreferencedCodeAttribute'
ColumnTypeConverter.cs(96,21): ... 'System.Type.GetType(String,Boolean)'There does seem to be duplication on top of them though - I haven't seen it locally though. |
…thub.com:dotnet/runtime into darc-master-5f52e578-14f8-4808-8cf7-bb796d37745f
This pull request updates the following dependencies
From https://github.com/mono/linker