Bug 316534 (MONO69917) - [GMCS] Array.Resize arguments not infered
Summary: [GMCS] Array.Resize arguments not infered
Status: RESOLVED FIXED
Alias: MONO69917
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-25 19:55 UTC by Ben Maurer
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:59:43 UTC


---- Reported by bmaurer@users.sf.net 2004-11-25 12:55:34 MST ----

using System;

class X {
	static void Main ()
	{
		int [] foo = null;
		Array.Resize (ref foo, 10);
	}
}

[benm@omega benm]$ gmcs arr-resize.cs
ALPHA SOFTWARE: Mono C# Compiler 1.1.2.0 for Generics
arr-resize.cs(7) error CS0411: The type arguments for method `Resize'
cannot be infered from the usage. Try specifying the type arguments explicitly.
Compilation failed: 1 error(s), 0 warnings



---- Additional Comments From martin@ximian.com 2004-11-25 16:08:23 MST ----

Fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".