[Mono-devel-list] Mono .net 2.0 preview and generics
Gert Kello
gert.kello at mail.ee
Thu May 13 11:44:41 EDT 2004
the method like
public void Something(ref int Param)
must be called like
int aParam = 0;
Something(ref aParam);
> [prw at desdemona generics]$ gmcs Gsort.cs
> Mono C# Compiler 0.91.0.0 for Generics
> Gsort.cs(70) error CS1502: The best overloaded match for method 'void Polysort.swap (T, T)' has some invalid arguments
> Gsort.cs(70) error CS1503: Argument 0: Cannot convert from 'ref T' to 'T'
> Gsort.cs(103) error CS1502: The best overloaded match for method 'void Polysort.swap (T, T)' has some invalid arguments
> Gsort.cs(103) error CS1503: Argument 0: Cannot convert from 'ref T' to 'T'
> Compilation failed: 4 error(s), 0 warnings
>
--
Gert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3212 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040513/b5698571/attachment.bin
More information about the Mono-devel-list
mailing list