[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9555] cscc error: indexer BindingsCollection th
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #9555] cscc error: indexer BindingsCollection this[int index] not recognized if used in same compilation unit |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9555] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Mon 10/25/2004 at 13:53 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Invalid
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
There is no UpdateIsBinding() in the class 'Binding' (which is what the
compiler actually chokes on). You are calling a non existent method on a class .
You should have got this error too ?
./CurrencyManager.cs:245: called object is not a method or delegate
/**************************************************************************/
[bugs #9555] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9555>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Mon 07/05/2004 at 14:54
Category: None
Severity: 1 - None
Item Group: None
Resolution: Invalid
Privacy: Public
Assigned to: None
Status: Closed
Summary: cscc error: indexer BindingsCollection this[int index] not recognized
if used in same compilation unit
Original Submission: when using the indexer inside System.Windows.Forms.dll
the error "array or indexed value expected" occures where is shouldn't have.
How to reproduce the error:
Replace the method UpdateIsBinding in
pnetlib/System.Windows.Forms/CurrencyManager.cs with the following snippet:
protected override void UpdateIsBinding()
{
int numBindings;
int count;
numBindings = Bindings.Count;
count = 0;
while (count <= numBindings)
{
Bindings[count].UpdateIsBinding();
count++;
}
}
when compiling System.Windows.Forms.dll the error above occures.
Using the indexer BindingsCollection.this[int index] in an extra compilation
unit for example a test case linked with System.Windows.Forms.dll is ok.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 10/25/2004 at 13:53 By: Gopal.V <t3rmin4t0r>
There is no UpdateIsBinding() in the class 'Binding' (which is what the
compiler actually chokes on). You are calling a non existent method on a class .
You should have got this error too ?
./CurrencyManager.cs:245: called object is not a method or delegate
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9555>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bugs #9555] cscc error: indexer BindingsCollection this[int index] not recognized if used in same compilation unit,
Gopal.V <=