dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #9555] cscc error: indexer BindingsCollection th


From: Klaus Treichel
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 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[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:  None
Assigned to:  None
Status:  Open


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.












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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]