Subclasses of generic parents are not disassembled properly (additional <T> on using that subclass).

Original:
public class Class4&lt;T&gt; where T : class
&#123;
	private DictionarySet&#91;&#93; m_dictionarySets = null;
	private class DictionarySet
	&#123;
		public SortedDictionary&lt;string, T&gt; String = new SortedDictionary&lt;string,T&gt;&#40;&#41;;
	&#125;
&#125;

Generated:
public class Class4&lt;T&gt; where T: class
&#123;
        private DictionarySet&lt;T&gt;&#91;&#93; m_dictionarySets;

        public Class4&#40;&#41;
        &#123;
            this.m_dictionarySets = null;
        &#125;

        private class DictionarySet
        &#123;
            public SortedDictionary&lt;string, T&gt; String;

            public DictionarySet&#40;&#41;
            &#123;
                this.String = new SortedDictionary&lt;string, T&gt;&#40;&#41;;
            &#125;
        &#125;
&#125;
jozsef.fa
0

Add comment

Please sign in to leave a comment.