Bug 581808

Summary: error CS1501: No overload for method `Add' takes `3' arguments
Product: [Mono] Mono: Compilers Reporter: Forgotten User -tLCgEURvB <forgotten_-tLCgEURvB>
Component: C#Assignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Critical    
Priority: P5 - None CC: forgotten_-tLCgEURvB
Version: 2.6.x   
Target Milestone: 2.6.x   
Hardware: 64bit   
OS: RHEL 5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User -tLCgEURvB 2010-02-22 15:33:27 UTC
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0)

With Build from Feb19/2010 Im now getting the following error:
Server/DomainModel/DataContainers/DataStoreArrLocal.cs(75,10): error CS1501: No overload for method `Add' takes `3' arguments
Compilation failed: 3 error(s), 0 warnings

this is the call its having a problem with:
Add(ref m_data, new T[arrSize], 1);

this is the add declaration:
private static void Add(ref T[][] arr, T[] val, int numBlocks)

m_data is defined as:
private T[][] m_data;

Given this information it shouldnt have a problem finding the add method. It used to work in mono 2.4 but as for 2.6 it stopped working. Im not sure where in 2.6 it stopped working given that a lot of things got broken in 2.6



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Rodrigo Kumpera 2010-02-22 15:44:48 UTC
Compiler.
Comment 2 Marek Safar 2010-04-27 11:36:17 UTC
Please provide test case which exposes the bug.
Comment 3 Forgotten User -tLCgEURvB 2010-04-27 11:54:45 UTC
actually this is a duplicate of bug 589069
Comment 4 Marek Safar 2010-04-27 12:31:28 UTC
duplicate

*** This bug has been marked as a duplicate of bug 589069 ***