[linker] return count of marked methods
commit85ef32720f47822cbfda8bad585d0258a8dd6f31
authorRadek Doulik <rodo@xamarin.com>
Thu, 4 Jun 2015 20:07:33 +0000 (4 22:07 +0200)
committerRadek Doulik <rodo@xamarin.com>
Sun, 19 Jul 2015 08:42:24 +0000 (19 10:42 +0200)
tree100a7ea3d9d6ef1ea87faeba134b651f5156181e
parent9cb1729adaf1baa047ae4dc4073991b97019a6dc
[linker] return count of marked methods

[merged from monodroid by rodo]

 - part of

commit 216f75038afee2105182fc6af329f1fc83c4298f
Author: Radek Doulik <rodo@xamarin.com>
Date:   Sun Nov 23 11:40:42 2014 +0100

    [linker] mark methods (from Register attr) in base type when needed

     - fixes #10268
     - methods from these Register attributes were not marked:

       https://github.com/xamarin/monodroid/blob/master/src/Mono.Android/src/Android.Widget/AdapterView.cs#L132-135

       because the app used class derived from BaseAdapter class and the methods
       existed only in the base class and were not marked
mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs