xamarin-macios/tools/linker
Rolf Bjarne Kvinge 884ab8fe48 [linker] Filter smart enum conversion to enums, and downgrade warnings to log messages.
Only apply smart enum conversion to enums, and downgrade related warnings to log messages.

This avoids spurious warnings like this:

> warning MT4124: Invalid BindAsAttribute found on 'Bindings.Test.ObjCRegistrarTest.GetBooleanArray': could not find the smart extension type System.BooleanExtensions. Please file a bug report at https://bugzilla.xamarin.com

when the BindAs attribute is valid, but just not about a smart enum in the first place.
2017-09-25 16:06:54 +02:00
..
Descriptors [linker] Update mscorlib.xml to preserve generic collection interfaces. Fixes #50290 (#1384) (#1427) 2017-01-03 13:03:29 -05:00
MonoTouch.Tuner [linker] Filter smart enum conversion to enums, and downgrade warnings to log messages. 2017-09-25 16:06:54 +02:00
ApplyPreserveAttribute.cs [linker] Remove static state, and put the state inside DerivedLinkContext instead. (#1657) 2017-02-10 07:45:42 +01:00
BaseProfile.cs Build mmp. 2016-04-24 14:47:26 -04:00
ChangeLog Build mmp. 2016-04-24 14:47:26 -04:00
CoreHttpMessageHandler.cs [linker] Update BaseSubStep subclasses to use ExceptionalSubStep (#1507) 2017-01-16 11:42:41 -05:00
CoreMarkStep.cs [linker] Capture and show more information when a MT2001 error occurs (#1947) 2017-03-30 14:41:56 -05:00
CoreOptimizeGeneratedCode.cs [linker] Remove static state, and put the state inside DerivedLinkContext instead. (#1657) 2017-02-10 07:45:42 +01:00
CorePreserveCode.cs Build mmp. 2016-04-24 14:47:26 -04:00
CoreRemoveAttributes.cs [generator] Keep [NotImplemented] info so it is usable in 3rd party bindings. Fixes bug 52664 (#2131) 2017-05-25 14:42:25 -05:00
CoreRemoveSecurity.cs Build mmp. 2016-04-24 14:47:26 -04:00
ExceptionalSubStep.cs [linker] Remove static state, and put the state inside DerivedLinkContext instead. (#1657) 2017-02-10 07:45:42 +01:00
MarkNSObjects.cs [linker] Remove static state, and put the state inside DerivedLinkContext instead. (#1657) 2017-02-10 07:45:42 +01:00
MobileExtensions.cs [linker] Remove static state, and put the state inside DerivedLinkContext instead. (#1657) 2017-02-10 07:45:42 +01:00
MobileMarkStep.cs [mmp] Add support for linking only the platform (Xamarin.Mac.dll) assembly on the full profile (#1990) 2017-05-16 18:05:26 -04:00
MobileProfile.cs [Do not merge yet] Update to mono 2017-04 branch (#1960) 2017-05-29 18:39:29 +02:00
MobileRemoveAttributes.cs Build mmp. 2016-04-24 14:47:26 -04:00
MobileResolveMainAssemblyStep.cs [linker] Don't mark public types from product assemblies when in embeddinator mode. 2017-04-19 11:39:06 +02:00
MobileSweepStep.cs [linker] Remove method the base class now has. (#2439) 2017-08-08 08:46:03 -04:00
ObjCExtensions.cs [Xcode9] Add IOSurface bindings (#2363) 2017-09-05 08:57:58 -04:00
README.linker Build mmp. 2016-04-24 14:47:26 -04:00
RemoveSelectors.cs [macos][mmp] Fix RemoveSelectors when generics are used, Fix #55693 (#2104) 2017-05-18 08:45:23 -04:00
RemoveUserResourcesSubStep.cs [mtouch][mmp] Unify user resources removal as a link step (#1026) 2016-11-01 13:11:25 -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