[Mono-dev] [PATCH] Small fix for CSharpCodegenerator

Ankit Jain radical at gmail.com
Thu Jun 19 12:50:27 EDT 2008


A newline is emitted for every type parameter, even if it doesn't have any
constraint defined, which results in :

------------
        public string GenericAbc<T, U>(T t, U u)


        {
                throw new NotImplementedException();
        }
------------

See the extra lines between the first line and the open brace.

Ok to commit?

-Ankit


-- 
Walt Disney  - "I love Mickey Mouse more than any woman I have ever known."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codegen.patch
Type: text/x-patch
Size: 1160 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080619/18845f07/attachment-0001.bin 


More information about the Mono-devel-list mailing list