Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@xamarin.com>2015-10-08 03:54:15 +0300
committerSebastien Pouliot <sebastien@xamarin.com>2015-12-04 23:28:42 +0300
commit39edf24948a62473ae6177c5f437a0b025810ee2 (patch)
treed75d89d5e47a7f8db8932f3a3e8ff31ec2881ac0
parent02bfbe04814c3f14829863211747e6fc9b4c0e3c (diff)
[linker] Both the TypeSpecification (T) along with the GenericArguments (G) must be preserved from custom attributes, e.g. T<G>mono-4.2.1.124
-rw-r--r--mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs b/mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs
index ce5988f3465..e1d5b2ed79d 100644
--- a/mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs
+++ b/mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs
@@ -358,7 +358,6 @@ namespace Mono.Linker.Steps {
if ((git != null) && git.HasGenericArguments) {
foreach (var ga in git.GenericArguments)
MarkWithResolvedScope (ga);
- return;
}
// we cannot set the Scope of a TypeSpecification but it's element type can be set
// e.g. System.String[] -> System.String