[tasks] avoid passing dupe assemblies to Cecil (#4624) fixes #4620
authorStephane Delcroix <stephane@delcroix.org>
Tue, 4 Dec 2018 18:17:54 +0000 (19:17 +0100)
committerRui Marinho <me@ruimarinho.net>
Tue, 4 Dec 2018 18:17:54 +0000 (18:17 +0000)
commitf330652d74f2fbc5ceeff8fc413e359c09853b4c
treecfc681a6b7cd3d5eb207a15cad2063117c584693
parent38e12de583a5f498fca4a42f42615102be1d8f8e
[tasks] avoid passing dupe assemblies to Cecil (#4624) fixes #4620

* [tasks] avoid passing dupe assemblies to Cecil

avoid feeding Mono.Cecil with dupes. Removes a negligeable handful
of milliseconds (100ms on average, hard to measure) from XamlC. Even
less from XamlG.

- fixes #4620

* add extra check
Xamarin.Forms.Build.Tasks/XamlCTask.cs
Xamarin.Forms.Build.Tasks/XamlGenerator.cs