Closed
Description
They still keep unconditionally a lot of BCL code. On simple Xamarin app removing all remaining ILLinkTrim.xml
files (except SPC) saves about 60% of the BCL size.
- ./Microsoft.CSharp/src/ILLinkTrim.xml
- ./System.Diagnostics.StackTrace/src/ILLinkTrim.xml
- ./System.Security.Claims/src/ILLinkTrim.xml
- ./System.ComponentModel.TypeConverter/src/ILLinkTrim.xml
- ./System.Security.Principal.Windows/src/ILLinkTrim.xml
- ./System.Private.DataContractSerialization/src/ILLinkTrim.xml
- ./System.Linq/src/ILLinkTrim.xml
- ./System.Runtime.InteropServices/src/ILLinkTrim.xml
- ./System.Private.Xml.Linq/src/ILLinkTrim.xml
- ./System.Private.Xml/src/ILLinkTrim.xml
It would be also nice to block adding them accidentally back again by not allowing ILLinkTrimXml property for them.