xamarin-macios/tools/linker
Sebastien Pouliot 656dfa039f
Revert "[dotnet-linker] Make PreserveSmartEnumConversionsStep active for type as well to work around a linker bug." (#11064)
This reverts commit 482151eea7.

This issue https://github.com/mono/linker/issues/1458 has been fixed a while ago.

Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
2021-04-02 00:00:13 -04:00
..
MonoTouch.Tuner Revert "[dotnet-linker] Make PreserveSmartEnumConversionsStep active for type as well to work around a linker bug." (#11064) 2021-04-02 00:00:13 -04:00
ApplyPreserveAttribute.cs [dotnet-linker] Add ApplyPreserveAttribute into the pipeline. (#9529) 2020-08-27 18:30:19 +02:00
BaseProfile.cs [tools] Remove BaseProfile.GetNamespace, it's not used. (#9533) 2020-08-28 09:57:27 +02:00
ChangeLog Build mmp. 2016-04-24 14:47:26 -04:00
CoreHttpMessageHandler.cs [linker] Stop passing data to the CoreHttpMessageHandler step using a constructor. 2020-05-07 15:51:38 +02:00
CoreMarkStep.cs [linker] Fix infinite queue found with nullability PR (#8337) 2020-04-10 10:59:01 -04:00
CoreOptimizeGeneratedCode.cs [dotnet-linker] Add OptimizeGeneratedCodeSubStep into the pipeline. (#9608) 2020-09-10 08:30:45 +02:00
CorePreserveCode.cs [linker] Make the corlib name dynamic. (#8499) 2020-05-04 18:31:48 +02:00
CoreRemoveAttributes.cs [linker] Always create the [Core]RemoveAttributes steps, and instead detect if it should be active using the LinkContext field. 2020-05-07 15:51:38 +02:00
CoreRemoveSecurity.cs [linker] Always create the CoreRemoveSecurity step, and instead detect if it should be active using the LinkContext field. 2020-05-07 15:51:38 +02:00
CoreSweepStep.cs [linker] Find linked away interfaces when resolving removed interfaces. Fixes #3513. (#3515) (#3524) 2018-02-19 15:24:40 +01:00
CoreTypeMapStep.cs [linker] Directly use Annotations in BaseStep subclasses (#8530) 2020-05-06 20:43:16 -04:00
CustomSymbolWriter.cs [mtouch] Use a custom symbol writer to ensure only pdb file names are written to assemblies. 2019-02-13 14:59:34 +01:00
ExceptionalSubStep.cs [dotnet-linker] Catch any exceptions from our custom steps and show them using our error reporting logic. (#9954) 2020-10-26 20:16:03 +01:00
MarkNSObjects.cs [catalyst] Remove more framework that are not available on catalyst (#10678) 2021-02-23 09:11:14 -05:00
MobileApplyPreserveAttribute.cs [dotnet-linker] Add ApplyPreserveAttribute into the pipeline. (#9529) 2020-08-27 18:30:19 +02:00
MobileExtensions.cs [Localization] mtouch/mmp C# (#7710) 2020-01-31 15:02:52 -05:00
MobileMarkStep.cs [linker] Remove code to deal with ExportedTypes (#8632) 2020-05-21 08:44:48 -04:00
MobileProfile.cs Bump mono to 2019-08@528103728fc2aedb7b6062e11255d39a0ed3f31c to add missing NS2.1 APIs (#7147) 2019-10-02 07:59:39 -04:00
MobileRemoveAttributes.cs [linker] Remove internal [NullablePublicOnly] attribute from apps (#8568) 2020-05-11 19:39:43 -04:00
MobileResolveMainAssemblyStep.cs Bump to mono:2017-12 (#3421) 2018-02-14 11:08:01 -05:00
MobileSweepStep.cs [linker] Remove code to deal with ExportedTypes (#8632) 2020-05-21 08:44:48 -04:00
ObjCExtensions.cs [mtouch/mmp] Simplify namespace handling now that we don't support Classic anymore. (#8410) 2020-04-17 12:26:38 +02:00
README.linker Build mmp. 2016-04-24 14:47:26 -04:00
RemoveRejectedTypesStep.cs [tools] Renumber RemoveRejectedTypesStep's error code base to match other ExceptionalSubStep subclasses. (#9955) 2020-10-26 09:58:41 +01:00
RemoveSelectors.cs [macos][mmp] Fix RemoveSelectors when generics are used, Fix #55693 (#2104) 2017-05-18 08:45:23 -04:00
RemoveUserResourcesSubStep.cs [dotnet-linker] Add the RemoveUserResources sub step. (#10456) 2021-01-19 14:06:25 +01:00
ScanTypeReferenceStep.cs [linker] Fix warnings on type references that still exists. Fix #8814 (#9600) 2020-09-09 03:04:35 -04:00

README.linker

README.linker

Q: Why some stuff is not linked out ?

A: In most case this is because:
	a) the BCL uses it internally
	b) the mono runtime depends on the type, methods, class layout


= mscorlib.dll =

System.Security.PermissionSet
	* Assembly has (3) fields of that type
	* mscorlib.xml preserve all fields from Assembly (object-internals.h)
	* code is "stubified" by the linker
System.Security.Policy.ApplicationTrust: 
	* Used as a field in AppDomainSetup;
	* Field also exists in unmanaged code (domain-internals.h);
	* mscorlib.xml preserve all fields from AppDomainSetup
	* only the default .ctor remains and is stubified by the linker
System.Security.Policy.Evidence
	* Used by AppDomain.Load[Assembly]
	* Used by Assembly.LoadWithPartialName overloads
	* code is "stubified" by the linker


= System.dll =

System.Text.RegularExpressions.*
	* Included because there is 2 regex in UriParser