[Mono-list] ArrayList.GetEnumerator

Gaurav Vaish gvaish@iitk.ac.in
Sat, 3 Nov 2001 16:43:08 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_0158_01C16486.9E956270
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Right.
    But I guess it's all valid till we don't use the code in the same =
form as it is.

    Unless we use the code as given by M$, we should be in a position to =
defend our project. And as far as I recall, there's no restriction over =
decompilation using ILDasm or otherwise to decompile their code. My view =
is - unless we duplicate their code, it should be no harm to us, I mean =
the project. I have included the "ToU" - Terms of Use - from the M$ site =
under the .NET downloads category where nothing is mentioned about =
decompilations and the related stuff.

    All of your views in this matter would be welcome. It is of high =
priority I think.

NB: I am forwarding the mail to the list to have their opinion over this =
matter.

Cheers,
Gaurav Vaish
----------------------------

<snip>
---------------------------
ACCEPTANCE OF TERMS.
The services that Microsoft provides to you are subject to the following =
Terms of Use ("TOU"). Microsoft reserves the right to update the TOU at =
any time without notice to you. The most current version of the TOU can =
be reviewed by clicking on the "Terms of Use" hypertext link located at =
the bottom of our Web pages.=20
DESCRIPTION OF SERVICES.=20
Through its network of Web properties, Microsoft provides you with =
access to a variety of resources, including developer tools, download =
areas, communication forums and product information (collectively =
"Services"). The Services, including any updates, enhancements, new =
features, and/or the addition of any new Web properties, are subject to =
the TOU.=20

PERSONAL AND NON-COMMERCIAL USE LIMITATION.
Unless otherwise specified, the Services are for your personal and =
non-commercial use. You may not modify, copy, distribute, transmit, =
display, perform, reproduce, publish, license, create derivative works =
from, transfer, or sell any information, software, products or services =
obtained from the Services.=20

PRIVACY AND PROTECTION OF PERSONAL INFORMATION.
See the Privacy Statement disclosures relating to the collection and use =
of your information.=20

NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE.
Any software that is made available to download from the Services =
("Software") is the copyrighted work of Microsoft and/or its suppliers. =
Use of the Software is governed by the terms of the end user license =
agreement, if any, which accompanies or is included with the Software =
("License Agreement"). An end user will be unable to install any =
Software that is accompanied by or includes a License Agreement, unless =
he or she first agrees to the License Agreement terms.=20

The Software is made available for download solely for use by end users =
according to the License Agreement. Any reproduction or redistribution =
of the Software not in accordance with the License Agreement is =
expressly prohibited by law, and may result in severe civil and criminal =
penalties. Violators will be prosecuted to the maximum extent possible.=20

WITHOUT LIMITING THE FOREGOING, COPYING OR REPRODUCTION OF THE SOFTWARE =
TO ANY OTHER SERVER OR LOCATION FOR FURTHER REPRODUCTION OR =
REDISTRIBUTION IS EXPRESSLY PROHIBITED, UNLESS SUCH REPRODUCTION OR =
REDISTRIBUTION IS EXPRESSLY PERMITTED BY THE LICENSE AGREEMENT =
ACCOMPANYING SUCH SOFTWARE.=20

THE SOFTWARE IS WARRANTED, IF AT ALL, ONLY ACCORDING TO THE TERMS OF THE =
LICENSE AGREEMENT. EXCEPT AS WARRANTED IN THE LICENSE AGREEMENT, =
MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS =
WITH REGARD TO THE SOFTWARE, INCLUDING ALL WARRANTIES AND CONDITIONS OF =
MERCHANTABILITY, WHETHER EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR A =
PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT.=20

FOR YOUR CONVENIENCE, MICROSOFT MAY MAKE AVAILABLE AS PART OF THE =
SERVICES OR IN ITS SOFTWARE PRODUCTS, TOOLS AND UTILITIES FOR USE AND/OR =
DOWNLOAD. MICROSOFT DOES NOT MAKE ANY ASSURANCES WITH REGARD TO THE =
ACCURACY OF THE RESULTS OR OUTPUT THAT DERIVES FROM SUCH USE OF ANY SUCH =
TOOLS AND UTILITIES. PLEASE RESPECT THE INTELLECTUAL PROPERTY RIGHTS OF =
OTHERS WHEN USING THE TOOLS AND UTILITIES MADE AVAILABLE ON THE SERVICES =
OR IN MICROSOFT SOFTWARE PRODUCTS.=20

RESTRICTED RIGHTS LEGEND. Any Software which is downloaded from the =
Services for or on behalf of the United States of America, its agencies =
and/or instrumentalities ("U.S. Government"), is provided with =
Restricted Rights. Use, duplication, or disclosure by the U.S. =
Government is subject to restrictions as set forth in subparagraph =
(c)(1)(ii) of the Rights in Technical Data and Computer Software clause =
at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial =
Computer Software - Restricted Rights at 48 CFR 52.227-19, as =
applicable. Manufacturer is Microsoft Corporation, One Microsoft Way, =
Redmond, WA 98052-6399.=20

NOTICE SPECIFIC TO DOCUMENTS AVAILABLE ON THIS WEB SITE.
Permission to use Documents (such as white papers, press releases, =
datasheets and FAQs) from the Services is granted, provided that (1) the =
below copyright notice appears in all copies and that both the copyright =
notice and this permission notice appear, (2) use of such Documents from =
the Services is for informational and non-commercial or personal use =
only and will not be copied or posted on any network computer or =
broadcast in any media, and (3) no modifications of any Documents are =
made. Accredited educational institutions, such as K-12, universities, =
private/public colleges, and state community colleges, may download and =
reproduce the Documents for distribution in the classroom. Distribution =
outside the classroom requires express written permission. Use for any =
other purpose is expressly prohibited by law, and may result in severe =
civil and criminal penalties. Violators will be prosecuted to the =
maximum extent possible.=20

Documents specified above do not include the design or layout of the =
Microsoft.com Web site or any other Microsoft owned, operated, licensed =
or controlled site. Elements of Microsoft Web sites are protected by =
trade dress, trademark, unfair competition, and other laws and may not =
be copied or imitated in whole or in part. No logo, graphic, sound or =
image from any Microsoft Web site may be copied or retransmitted unless =
expressly permitted by Microsoft.=20

MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT =
THE SUITABILITY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND =
RELATED GRAPHICS PUBLISHED AS PART OF THE SERVICES FOR ANY PURPOSE. ALL =
SUCH DOCUMENTS AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT =
WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY =
DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION, =
INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER =
EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE =
AND NON-INFRINGEMENT. IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE =
SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES =
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, =
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, =
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF =
INFORMATION AVAILABLE FROM THE SERVICES.=20

THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THE SERVICES COULD =
INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE =
PERIODICALLY ADDED TO THE INFORMATION HEREIN. MICROSOFT AND/OR ITS =
RESPECTIVE SUPPLIERS MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE =
PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED HEREIN AT ANY TIME.=20

NOTICES REGARDING SOFTWARE, DOCUMENTS AND SERVICES AVAILABLE ON THIS WEB =
SITE.
IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE =
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES =
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN =
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF =
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF SOFTWARE, DOCUMENTS, =
PROVISION OF OR FAILURE TO PROVIDE SERVICES, OR INFORMATION AVAILABLE =
FROM THE SERVICES.=20

MEMBER ACCOUNT, PASSWORD, AND SECURITY.
If any of the Services requires you to open an account, you must =
complete the registration process by providing us with current, complete =
and accurate information as prompted by the applicable registration =
form. You also will choose a password and a user name. You are entirely =
responsible for maintaining the confidentiality of your password and =
account. Furthermore, you are entirely responsible for any and all =
activities that occur under your account. You agree to notify Microsoft =
immediately of any unauthorized use of your account or any other breach =
of security. Microsoft will not be liable for any loss that you may =
incur as a result of someone else using your password or account, either =
with or without your knowledge. However, you could be held liable for =
losses incurred by Microsoft or another party due to someone else using =
your account or password. You may not use anyone else's account at any =
time, without the permission of the account holder.=20

NO UNLAWFUL OR PROHIBITED USE.
As a condition of your use of the Services, you will not use the =
Services for any purpose that is unlawful or prohibited by these terms, =
conditions, and notices. You may not use the Services in any manner that =
could damage, disable, overburden, or impair any Microsoft server, or =
the network(s) connected to any Microsoft server, or interfere with any =
other party's use and enjoyment of any Services. You may not attempt to =
gain unauthorized access to any Services, other accounts, computer =
systems or networks connected to any Microsoft server or to any of the =
Services, through hacking, password mining or any other means. You may =
not obtain or attempt to obtain any materials or information through any =
means not intentionally made available through the Services.=20

USE OF SERVICES.
The Services may contain e-mail services, bulletin board services, chat =
areas, news groups, forums, communities, personal web pages, calendars, =
photo albums, file cabinets and/or other message or communication =
facilities designed to enable you to communicate with others (each a =
"Communication Service" and collectively "Communication Services"). You =
agree to use the Communication Services only to post, send and receive =
messages and material that are proper and, when applicable, related to =
the particular Communication Service. By way of example, and not as a =
limitation, you agree that when using the Communication Services, you =
will not:=20

  a.. Use the Communication Services in connection with surveys, =
contests, pyramid schemes, chain letters, junk email, spamming or any =
duplicative or unsolicited messages (commercial or otherwise).=20
  b.. Defame, abuse, harass, stalk, threaten or otherwise violate the =
legal rights (such as rights of privacy and publicity) of others.=20
  c.. Publish, post, upload, distribute or disseminate any =
inappropriate, profane, defamatory, obscene, indecent or unlawful topic, =
name, material or information.=20
  d.. Upload, or otherwise make available, files that contain images, =
photographs, software or other material protected by intellectual =
property laws, including, by way of example, and not as limitation, =
copyright or trademark laws (or by rights of privacy or publicity) =
unless you own or control the rights thereto or have received all =
necessary consent to do the same.=20
  e.. Use any material or information, including images or photographs, =
which are made available through the Services in any manner that =
infringes any copyright, trademark, patent, trade secret, or other =
proprietary right of any party.=20
  f.. Upload files that contain viruses, Trojan horses, worms, time =
bombs, cancelbots, corrupted files, or any other similar software or =
programs that may damage the operation of another's computer or property =
of another.=20
  g.. Advertise or offer to sell or buy any goods or services for any =
business purpose, unless such Communication Services specifically allows =
such messages.=20
  h.. Download any file posted by another user of a Communication =
Service that you know, or reasonably should know, cannot be legally =
reproduced, displayed, performed, and/or distributed in such manner.=20
  i.. Falsify or delete any copyright management information, such as =
author attributions, legal or other proper notices or proprietary =
designations or labels of the origin or source of software or other =
material contained in a file that is uploaded.=20
  j.. Restrict or inhibit any other user from using and enjoying the =
Communication Services.=20
  k.. Violate any code of conduct or other guidelines which may be =
applicable for any particular Communication Service.=20
  l.. Harvest or otherwise collect information about others, including =
e-mail addresses.=20
  m.. Violate any applicable laws or regulations.=20
  n.. Create a false identity for the purpose of misleading others.=20
  o.. Use, download or otherwise copy, or provide (whether or not for a =
fee) to a person or entity any directory of users of the Services or =
other user or usage information or any portion thereof.=20
Microsoft has no obligation to monitor the Communication Services. =
However, Microsoft reserves the right to review materials posted to the =
Communication Services and to remove any materials in its sole =
discretion. Microsoft reserves the right to terminate your access to any =
or all of the Communication Services at any time, without notice, for =
any reason whatsoever.=20
Microsoft reserves the right at all times to disclose any information as =
Microsoft deems necessary to satisfy any applicable law, regulation, =
legal process or governmental request, or to edit, refuse to post or to =
remove any information or materials, in whole or in part, in Microsoft's =
sole discretion.=20

Always use caution when giving out any personally identifiable =
information about yourself or your children in any Communication =
Services. Microsoft does not control or endorse the content, messages or =
information found in any Communication Services and, therefore, =
Microsoft specifically disclaims any liability with regard to the =
Communication Services and any actions resulting from your participation =
in any Communication Services. Managers and hosts are not authorized =
Microsoft spokespersons, and their views do not necessarily reflect =
those of Microsoft.=20

Materials uploaded to the Communication Services may be subject to =
posted limitations on usage, reproduction and/or dissemination; you are =
responsible for adhering to such limitations if you download the =
materials.=20

MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY MICROSOFT WEB SITE.=20
Microsoft does not claim ownership of the materials you provide to =
Microsoft (including feedback and suggestions) or post, upload, input or =
submit to any Services or its associated services for review by the =
general public, or by the members of any public or private community, =
(each a "Submission" and collectively "Submissions"). However, by =
posting, uploading, inputting, providing or submitting ("Posting") your =
Submission you are granting Microsoft, its affiliated companies and =
necessary sublicensees permission to use your Submission in connection =
with the operation of their Internet businesses (including, without =
limitation, all Microsoft Services), including, without limitation, the =
license rights to: copy, distribute, transmit, publicly display, =
publicly perform, reproduce, edit, translate and reformat your =
Submission; to publish your name in connection with your Submission; and =
the right to sublicense such rights to any supplier of the Services.=20

No compensation will be paid with respect to the use of your Submission, =
as provided herein. Microsoft is under no obligation to post or use any =
Submission you may provide and Microsoft may remove any Submission at =
any time in its sole discretion.=20

By Posting a Submission you warrant and represent that you own or =
otherwise control all of the rights to your Submission as described in =
these Terms of Use including, without limitation, all the rights =
necessary for you to provide, post, upload, input or submit the =
Submissions.=20

In addition to the warranty and representation set forth above, by =
Posting a Submission that contain images, photographs, pictures or that =
are otherwise graphical in whole or in part ("Images"), you warrant and =
represent that (a) you are the copyright owner of such Images, or that =
the copyright owner of such Images has granted you permission to use =
such Images or any content and/or images contained in such Images =
consistent with the manner and purpose of your use and as otherwise =
permitted by these Terms of Use and the Services, (b) you have the =
rights necessary to grant the licenses and sublicenses described in =
these Terms of Use, and (c) that each person depicted in such Images, if =
any, has provided consent to the use of the Images as set forth in these =
Terms of Use, including, by way of example, and not as a limitation, the =
distribution, public display and reproduction of such Images. By Posting =
Images, you are granting (a) to all members of your private community =
(for each such Images available to members of such private community), =
and/or (b) to the general public (for each such Images available =
anywhere on the Services, other than a private community), permission to =
use your Images in connection with the use, as permitted by these Terms =
of Use, of any of the Services, (including, by way of example, and not =
as a limitation, making prints and gift items which include such =
Images), and including, without limitation, a non-exclusive, world-wide, =
royalty-free license to: copy, distribute, transmit, publicly display, =
publicly perform, reproduce, edit, translate and reformat your Images =
without having your name attached to such Images, and the right to =
sublicense such rights to any supplier of the Services. The licenses =
granted in the preceding sentences for a Images will terminate at the =
time you completely remove such Images from the Services, provided that, =
such termination shall not affect any licenses granted in connection =
with such Images prior to the time you completely remove such Images. No =
compensation will be paid with respect to the use of your Images.=20

NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT INFRINGEMENT.
Pursuant to Title 17, United States Code, Section 512(c)(2), =
notifications of claimed copyright infringement should be sent to =
Service Provider's Designated Agent. ALL INQUIRIES NOT RELEVANT TO THE =
FOLLOWING PROCEDURE WILL NOT RECEIVE A RESPONSE.
See Notice and Procedure for Making Claims of Copyright Infringement.=20

LINKS TO THIRD PARTY SITES.
THE LINKS IN THIS AREA WILL LET YOU LEAVE MICROSOFT'S SITE. THE LINKED =
SITES ARE NOT UNDER THE CONTROL OF MICROSOFT AND MICROSOFT IS NOT =
RESPONSIBLE FOR THE CONTENTS OF ANY LINKED SITE OR ANY LINK CONTAINED IN =
A LINKED SITE, OR ANY CHANGES OR UPDATES TO SUCH SITES. MICROSOFT IS NOT =
RESPONSIBLE FOR WEBCASTING OR ANY OTHER FORM OF TRANSMISSION RECEIVED =
FROM ANY LINKED SITE. MICROSOFT IS PROVIDING THESE LINKS TO YOU ONLY AS =
A CONVENIENCE, AND THE INCLUSION OF ANY LINK DOES NOT IMPLY ENDORSEMENT =
BY MICROSOFT OF THE SITE.=20

UNSOLICITED IDEA SUBMISSION POLICY.
MICROSOFT OR ANY OF ITS EMPLOYEES DO NOT ACCEPT OR CONSIDER UNSOLICITED =
IDEAS, INCLUDING IDEAS FOR NEW ADVERTISING CAMPAIGNS, NEW PROMOTIONS, =
NEW PRODUCTS OR TECHNOLOGIES, PROCESSES, MATERIALS, MARKETING PLANS OR =
NEW PRODUCT NAMES. PLEASE DO NOT SEND ANY ORIGINAL CREATIVE ARTWORK, =
SAMPLES, DEMOS, OR OTHER WORKS. THE SOLE PURPOSE OF THIS POLICY IS TO =
AVOID POTENTIAL MISUNDERSTANDINGS OR DISPUTES WHEN MICROSOFT'S PRODUCTS =
OR MARKETING STRATEGIES MIGHT SEEM SIMILAR TO IDEAS SUBMITTED TO =
MICROSOFT. SO, PLEASE DO NOT SEND YOUR UNSOLICITED IDEAS TO MICROSOFT OR =
ANYONE AT MICROSOFT. IF, DESPITE OUR REQUEST THAT YOU NOT SEND US YOUR =
IDEAS AND MATERIALS, YOU STILL SEND THEM, PLEASE UNDERSTAND THAT =
MICROSOFT MAKES NO ASSURANCES THAT YOUR IDEAS AND MATERIALS WILL BE =
TREATED AS CONFIDENTIAL OR PROPRIETARY.=20

COPYRIGHT NOTICE. Copyright =A9 2001 Microsoft Corporation, One =
Microsoft Way, Redmond, Washington 98052-6399 U.S.A. All rights =
reserved.=20

TRADEMARKS. Active Channel, Active Desktop, Active Directory, =
ActiveStore, ActiveSync, ActiveX, Advisor FYI, Age of Empires, Age of =
Mythology, Allegiance, Amped, Asheron's Call, Ask Maxwell, Authenticode, =
Azurik, BackOffice, BackOffice logo, bCentral, BizTalk, Bookshelf, =
CarPoint, ClearLead, Computing Central, Crimson Skies, Developer Studio, =
DirectDraw, DirectMusic, DirectPlay, DirectSound, DirectX, Encarta, =
Entourage, Fighter Ace, FrontPage, HomeAdvisor, Home Essentials, =
Hotmail, Links, Links Extreme, MapPoint, MechCommander, MechWarrior, =
Microsoft, Microsoft Agent logo, Microsoft Internet Explorer logo, =
Microsoft Office Compatible logo, Microsoft Press, Microsoft TV logo, =
Midtown Madness, Mobile Explorer, MoneyCentral, Monster Truck Madness, =
Motocross Madness, MSDN, MSN, MSN logo (butterfly), .Net logo, =
NetMeeting, Nightcaster, Outlook, Outsmart, Passport logo, Picture It!, =
PowerPoint, Precision Racing, Project Gotham Racing, Revenge of Arcade, =
Rise of Perathia, SharePoint, Slate, Tex Murphy, The Age of Kings, The =
Everyday Web, Trekker, UltimateTV, UltimateTV logo, UltraCorps, =
UnderWire, Urban Assault, VGA, Virtual Golf Association, Visio, Visual =
Basic, Visual C++, Visual C#, Visual InterDev, Visual J++, Visual =
Studio, WebTV, Where do you want to go today?, Windows, Windows logo, =
Windows Media, Windows Media logo, Windows NT, Xbox, XBOX logo, Xbox "X" =
logo, ZoneFriends, ZoneLAN, ZoneMatch, ZoneMessage, Zoo Tycoon, and/or =
other Microsoft products referenced herein are either registered =
trademarks or trademarks of Microsoft Corporation in the U.S. and/or =
other countries. The names of actual companies and products mentioned =
herein may be the trademarks of their respective owners. The example =
companies, organizations, products, domain names, email addresses, =
logos, people and events depicted herein are fictitious. No association =
with any real company, organization, product, domain name, e-mail =
address, logo, person, or event is intended or should be inferred.=20

Any rights not expressly granted herein are reserved.=20

Send your questions to the appropriate contact as listed below:=20

  a.. Microsoft Web properties, contact homepage@microsoft.com=20
  b.. MSN Web properties, contact webmaster@msn.com=20
  c.. Hotmail, contact support@hotmail.com; for spam/privacy issues, =
contact abuse@hotmail.com or hotmailprivacy@hotmail.com=20
  d.. Piracy questions can be routed to piracy@microsoft.com or by =
calling 1-800-R-U-LEGIT.=20

-----------------
</snip>


-------------------------------------------------------------------------=
-------

----- Original Message -----=20
From: "Nick Drochak" <ndrochak@gol.com>
To: "'Gaurav Vaish'" <gvaish@iitk.ac.in>
Sent: Saturday, November 03, 2001 16:03
Subject: RE: [Mono-list] ArrayList.GetEnumerator

> Gaurav,
>=20
> Thanks for that, but I'm guessing this is a disassembly of MS's
> corlib.dll?
>=20
> If so, then we're not supposed to do that.  It could taint the =
project.
> Miguel has a note about this on the mono web site.
>=20
> I was thinking of doing something along these lines anyway just to
> return some kind of enumerator.
>=20
> Let's see what others have to say...
>=20
> Nick D.
>=20
> > -----Original Message-----
> > From: Gaurav Vaish [mailto:gvaish@iitk.ac.in]=20
> > Sent: Saturday, November 03, 2001 5:43 PM
> > To: Nick Drochak
> > Subject: Re: [Mono-list] ArrayList.GetEnumerator
> >=20
> >=20
> > Hello,
> >     If you at the class members, you will find this=20
> > definition attached:
> >=20
> > -------------
> > .class auto ansi serializable nested private beforefieldinit=20
> > ArrayListEnumeratorSimple
> >        extends System.Object
> >        implements System.Collections.IEnumerator,
> >                   System.ICloneable
> > {
> > } // end of class ArrayListEnumeratorSimple
> > ------------
> >=20
> >     So, there's a private class which Implements IEnumerator=20
> > and ICloneable. Is it this class whose instance is returned.=20
> > A very small class. Just the following members:
> >=20
> > 1. private object currentElement
> > 2. private int index
> > 3. private ArrayList list
> > 4. private int version (what for?)
> >=20
> >     functions:
> >=20
> > 5. public object Clone()
> > 6. public bool MoveNext()
> > 7. public void Reset()
> >=20
> > and property
> >=20
> > 8. object Current { get; }
> >=20
> > Cheers,
> > Gaurav Vaish
> > ----------------------------
> >=20
> > ----- Original Message -----
> > From: "Nick Drochak" <ndrochak@gol.com>
> > To: <mono-list@ximian.com>
> > Cc: <vladimir@pobox.com>
> > Sent: Saturday, November 03, 2001 13:39
> > Subject: [Mono-list] ArrayList.GetEnumerator
> >=20
> >=20
> > > Hi all,
> > >
> > > I found that one of my ReadOnlyCollection tests is failing=20
> > because we=20
> > > haven't implemented ArrayList.GetEnumerator() yet.
> > >
> > > I thought I'd just whip that one out real quick so my test=20
> > would pass,=20
> > > but low and behold I find out MS's=20
> > ArrayList.GetEnumerator() returns=20
> > > an object of type "ArrayListEnumeratorSimple."  I can't find a=20
> > > reference to this class anywhere.
> > >
> > > Perhaps it's just an internal (embedded?) class in the MS =
ArrayList=20
> > > class and any ol' class that implements IEnumerator will do?  Any=20
> > > ideas or opinions on this one?  I hate it when my test fails.
> > >
> > > Thanks,
> > > Nick D.
> > >
> > >
> > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@ximian.com=20
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> >=20
> >=20
> >=20
>=20

------=_NextPart_000_0158_01C16486.9E956270
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=3D2>Right.</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; But I guess it's all valid till =
we don't=20
use the code in the same form as it is.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; Unless we use the code as given =
by M$, we=20
should be in a position to defend our project. And as far as I recall, =
there's=20
no restriction over decompilation using ILDasm or otherwise to decompile =
their=20
code. My view is - unless we duplicate their code, it should be no harm =
to us, I=20
mean the project. I have included the "ToU" - Terms of Use - from the M$ =
site=20
under the .NET downloads category where nothing is mentioned about=20
decompilations and the related stuff.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; All of your views in this matter =
would be=20
welcome. It is of high priority I think.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>NB: I am forwarding the mail to the list to have =
their opinion=20
over this matter.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Cheers,<BR>Gaurav=20
Vaish<BR>----------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&lt;snip&gt;</FONT></DIV>
<DIV><FONT size=3D2>---------------------------</FONT></DIV>
<DIV><FONT size=3D2>ACCEPTANCE OF TERMS.<BR>The services that Microsoft =
provides=20
to you are subject to the following Terms of Use ("TOU"). Microsoft =
reserves the=20
right to update the TOU at any time without notice to you. The most =
current=20
version of the TOU can be reviewed by clicking on the "Terms of Use" =
hypertext=20
link located at the bottom of our Web pages. </FONT>
<P><FONT size=3D2>DESCRIPTION OF SERVICES. <BR>Through its network of =
Web=20
properties, Microsoft provides you with access to a variety of =
resources,=20
including developer tools, download areas, communication forums and =
product=20
information (collectively "Services"). The Services, including any =
updates,=20
enhancements, new features, and/or the addition of any new Web =
properties, are=20
subject to the TOU. </FONT>
<P><FONT size=3D2>PERSONAL AND NON-COMMERCIAL USE LIMITATION.<BR>Unless =
otherwise=20
specified, the Services are for your personal and non-commercial use. =
You may=20
not modify, copy, distribute, transmit, display, perform, reproduce, =
publish,=20
license, create derivative works from, transfer, or sell any =
information,=20
software, products or services obtained from the Services. </FONT>
<P><FONT size=3D2>PRIVACY AND PROTECTION OF PERSONAL INFORMATION.<BR>See =
the=20
</FONT><A href=3D"http://www.microsoft.com/privacy/default.htm"><FONT=20
size=3D2>Privacy Statement</FONT></A><FONT size=3D2> disclosures =
relating to the=20
collection and use of your information. </FONT>
<P><FONT size=3D2>NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB =
SITE.<BR>Any=20
software that is made available to download from the Services =
("Software") is=20
the copyrighted work of Microsoft and/or its suppliers. Use of the =
Software is=20
governed by the terms of the end user license agreement, if any, which=20
accompanies or is included with the Software ("License Agreement"). An =
end user=20
will be unable to install any Software that is accompanied by or =
includes a=20
License Agreement, unless he or she first agrees to the License =
Agreement terms.=20
</FONT>
<P><FONT size=3D2>The Software is made available for download solely for =
use by=20
end users according to the License Agreement. Any reproduction or =
redistribution=20
of the Software not in accordance with the License Agreement is =
expressly=20
prohibited by law, and may result in severe civil and criminal =
penalties.=20
Violators will be prosecuted to the maximum extent possible. </FONT>
<P><FONT size=3D2>WITHOUT LIMITING THE FOREGOING, COPYING OR =
REPRODUCTION OF THE=20
SOFTWARE TO ANY OTHER SERVER OR LOCATION FOR FURTHER REPRODUCTION OR=20
REDISTRIBUTION IS EXPRESSLY PROHIBITED, UNLESS SUCH REPRODUCTION OR=20
REDISTRIBUTION IS EXPRESSLY PERMITTED BY THE LICENSE AGREEMENT =
ACCOMPANYING SUCH=20
SOFTWARE. </FONT>
<P><FONT size=3D2>THE SOFTWARE IS WARRANTED, IF AT ALL, ONLY ACCORDING =
TO THE=20
TERMS OF THE LICENSE AGREEMENT. EXCEPT AS WARRANTED IN THE LICENSE =
AGREEMENT,=20
MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS =
WITH REGARD=20
TO THE SOFTWARE, INCLUDING ALL WARRANTIES AND CONDITIONS OF =
MERCHANTABILITY,=20
WHETHER EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, =
TITLE=20
AND NON-INFRINGEMENT. </FONT>
<P><FONT size=3D2>FOR YOUR CONVENIENCE, MICROSOFT MAY MAKE AVAILABLE AS =
PART OF=20
THE SERVICES OR IN ITS SOFTWARE PRODUCTS, TOOLS AND UTILITIES FOR USE =
AND/OR=20
DOWNLOAD. MICROSOFT DOES NOT MAKE ANY ASSURANCES WITH REGARD TO THE =
ACCURACY OF=20
THE RESULTS OR OUTPUT THAT DERIVES FROM SUCH USE OF ANY SUCH TOOLS AND=20
UTILITIES. PLEASE RESPECT THE INTELLECTUAL PROPERTY RIGHTS OF OTHERS =
WHEN USING=20
THE TOOLS AND UTILITIES MADE AVAILABLE ON THE SERVICES OR IN MICROSOFT =
SOFTWARE=20
PRODUCTS. </FONT>
<P><FONT size=3D2>RESTRICTED RIGHTS LEGEND. Any Software which is =
downloaded from=20
the Services for or on behalf of the United States of America, its =
agencies=20
and/or instrumentalities ("U.S. Government"), is provided with =
Restricted=20
Rights. Use, duplication, or disclosure by the U.S. Government is =
subject to=20
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in =
Technical=20
Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs =
(c)(1)=20
and (2) of the Commercial Computer Software - Restricted Rights at 48 =
CFR=20
52.227-19, as applicable. Manufacturer is Microsoft Corporation, One =
Microsoft=20
Way, Redmond, WA 98052-6399. </FONT>
<P><FONT size=3D2>NOTICE SPECIFIC TO DOCUMENTS AVAILABLE ON THIS WEB=20
SITE.<BR>Permission to use Documents (such as white papers, press =
releases,=20
datasheets and FAQs) from the Services is granted, provided that (1) the =
below=20
copyright notice appears in all copies and that both the copyright =
notice and=20
this permission notice appear, (2) use of such Documents from the =
Services is=20
for informational and non-commercial or personal use only and will not =
be copied=20
or posted on any network computer or broadcast in any media, and (3) no=20
modifications of any Documents are made. Accredited educational =
institutions,=20
such as K-12, universities, private/public colleges, and state community =

colleges, may download and reproduce the Documents for distribution in =
the=20
classroom. Distribution outside the classroom requires express written=20
permission. Use for any other purpose is expressly prohibited by law, =
and may=20
result in severe civil and criminal penalties. Violators will be =
prosecuted to=20
the maximum extent possible. </FONT>
<P><FONT size=3D2>Documents specified above do not include the design or =
layout of=20
the Microsoft.com Web site or any other Microsoft owned, operated, =
licensed or=20
controlled site. Elements of Microsoft Web sites are protected by trade =
dress,=20
trademark, unfair competition, and other laws and may not be copied or =
imitated=20
in whole or in part. No logo, graphic, sound or image from any Microsoft =
Web=20
site may be copied or retransmitted unless expressly permitted by =
Microsoft.=20
</FONT>
<P><FONT size=3D2>MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO=20
REPRESENTATIONS ABOUT THE SUITABILITY OF THE INFORMATION CONTAINED IN =
THE=20
DOCUMENTS AND RELATED GRAPHICS PUBLISHED AS PART OF THE SERVICES FOR ANY =

PURPOSE. ALL SUCH DOCUMENTS AND RELATED GRAPHICS ARE PROVIDED "AS IS" =
WITHOUT=20
WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY =
DISCLAIM=20
ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION, INCLUDING =
ALL=20
WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS, IMPLIED =
OR=20
STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. =
IN NO=20
EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE FOR ANY =
SPECIAL,=20
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING =
FROM LOSS=20
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR =
OTHER=20
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR =
PERFORMANCE OF=20
INFORMATION AVAILABLE FROM THE SERVICES. </FONT>
<P><FONT size=3D2>THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THE =
SERVICES=20
COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES =
ARE=20
PERIODICALLY ADDED TO THE INFORMATION HEREIN. MICROSOFT AND/OR ITS =
RESPECTIVE=20
SUPPLIERS MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR =
THE=20
PROGRAM(S) DESCRIBED HEREIN AT ANY TIME. </FONT>
<P><FONT size=3D2>NOTICES REGARDING SOFTWARE, DOCUMENTS AND SERVICES =
AVAILABLE ON=20
THIS WEB SITE.<BR>IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE =
SUPPLIERS BE=20
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES =

WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN =
ACTION OF=20
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN =
CONNECTION=20
WITH THE USE OR PERFORMANCE OF SOFTWARE, DOCUMENTS, PROVISION OF OR =
FAILURE TO=20
PROVIDE SERVICES, OR INFORMATION AVAILABLE FROM THE SERVICES. </FONT>
<P><FONT size=3D2>MEMBER ACCOUNT, PASSWORD, AND SECURITY.<BR>If any of =
the=20
Services requires you to open an account, you must complete the =
registration=20
process by providing us with current, complete and accurate information =
as=20
prompted by the applicable registration form. You also will choose a =
password=20
and a user name. You are entirely responsible for maintaining the=20
confidentiality of your password and account. Furthermore, you are =
entirely=20
responsible for any and all activities that occur under your account. =
You agree=20
to notify Microsoft immediately of any unauthorized use of your account =
or any=20
other breach of security. Microsoft will not be liable for any loss that =
you may=20
incur as a result of someone else using your password or account, either =
with or=20
without your knowledge. However, you could be held liable for losses =
incurred by=20
Microsoft or another party due to someone else using your account or =
password.=20
You may not use anyone else's account at any time, without the =
permission of the=20
account holder. </FONT>
<P><FONT size=3D2>NO UNLAWFUL OR PROHIBITED USE.<BR>As a condition of =
your use of=20
the Services, you will not use the Services for any purpose that is =
unlawful or=20
prohibited by these terms, conditions, and notices. You may not use the =
Services=20
in any manner that could damage, disable, overburden, or impair any =
Microsoft=20
server, or the network(s) connected to any Microsoft server, or =
interfere with=20
any other party's use and enjoyment of any Services. You may not attempt =
to gain=20
unauthorized access to any Services, other accounts, computer systems or =

networks connected to any Microsoft server or to any of the Services, =
through=20
hacking, password mining or any other means. You may not obtain or =
attempt to=20
obtain any materials or information through any means not intentionally =
made=20
available through the Services. </FONT>
<P><FONT size=3D2>USE OF SERVICES.<BR>The Services may contain e-mail =
services,=20
bulletin board services, chat areas, news groups, forums, communities, =
personal=20
web pages, calendars, photo albums, file cabinets and/or other message =
or=20
communication facilities designed to enable you to communicate with =
others (each=20
a "Communication Service" and collectively "Communication Services"). =
You agree=20
to use the Communication Services only to post, send and receive =
messages and=20
material that are proper and, when applicable, related to the particular =

Communication Service. By way of example, and not as a limitation, you =
agree=20
that when using the Communication Services, you will not: </FONT>
<UL>
  <LI><FONT size=3D2>Use the Communication Services in connection with =
surveys,=20
  contests, pyramid schemes, chain letters, junk email, spamming or any=20
  duplicative or unsolicited messages (commercial or otherwise). </FONT>
  <LI><FONT size=3D2>Defame, abuse, harass, stalk, threaten or otherwise =
violate=20
  the legal rights (such as rights of privacy and publicity) of others. =
</FONT>
  <LI><FONT size=3D2>Publish, post, upload, distribute or disseminate =
any=20
  inappropriate, profane, defamatory, obscene, indecent or unlawful =
topic, name,=20
  material or information. </FONT>
  <LI><FONT size=3D2>Upload, or otherwise make available, files that =
contain=20
  images, photographs, software or other material protected by =
intellectual=20
  property laws, including, by way of example, and not as limitation, =
copyright=20
  or trademark laws (or by rights of privacy or publicity) unless you =
own or=20
  control the rights thereto or have received all necessary consent to =
do the=20
  same. </FONT>
  <LI><FONT size=3D2>Use any material or information, including images =
or=20
  photographs, which are made available through the Services in any =
manner that=20
  infringes any copyright, trademark, patent, trade secret, or other =
proprietary=20
  right of any party. </FONT>
  <LI><FONT size=3D2>Upload files that contain viruses, Trojan horses, =
worms, time=20
  bombs, cancelbots, corrupted files, or any other similar software or =
programs=20
  that may damage the operation of another's computer or property of =
another.=20
  </FONT>
  <LI><FONT size=3D2>Advertise or offer to sell or buy any goods or =
services for=20
  any business purpose, unless such Communication Services specifically =
allows=20
  such messages. </FONT>
  <LI><FONT size=3D2>Download any file posted by another user of a =
Communication=20
  Service that you know, or reasonably should know, cannot be legally=20
  reproduced, displayed, performed, and/or distributed in such manner. =
</FONT>
  <LI><FONT size=3D2>Falsify or delete any copyright management =
information, such=20
  as author attributions, legal or other proper notices or proprietary=20
  designations or labels of the origin or source of software or other =
material=20
  contained in a file that is uploaded. </FONT>
  <LI><FONT size=3D2>Restrict or inhibit any other user from using and =
enjoying=20
  the Communication Services. </FONT>
  <LI><FONT size=3D2>Violate any code of conduct or other guidelines =
which may be=20
  applicable for any particular Communication Service. </FONT>
  <LI><FONT size=3D2>Harvest or otherwise collect information about =
others,=20
  including e-mail addresses. </FONT>
  <LI><FONT size=3D2>Violate any applicable laws or regulations. </FONT>
  <LI><FONT size=3D2>Create a false identity for the purpose of =
misleading others.=20
  </FONT>
  <LI><FONT size=3D2>Use, download or otherwise copy, or provide =
(whether or not=20
  for a fee) to a person or entity any directory of users of the =
Services or=20
  other user or usage information or any portion thereof. =
</FONT></LI></UL><FONT=20
size=3D2>Microsoft has no obligation to monitor the Communication =
Services.=20
However, Microsoft reserves the right to review materials posted to the=20
Communication Services and to remove any materials in its sole =
discretion.=20
Microsoft reserves the right to terminate your access to any or all of =
the=20
Communication Services at any time, without notice, for any reason =
whatsoever.=20
</FONT>
<P><FONT size=3D2>Microsoft reserves the right at all times to disclose =
any=20
information as Microsoft deems necessary to satisfy any applicable law,=20
regulation, legal process or governmental request, or to edit, refuse to =
post or=20
to remove any information or materials, in whole or in part, in =
Microsoft's sole=20
discretion. </FONT>
<P><FONT size=3D2>Always use caution when giving out any personally =
identifiable=20
information about yourself or your children in any Communication =
Services.=20
Microsoft does not control or endorse the content, messages or =
information found=20
in any Communication Services and, therefore, Microsoft specifically =
disclaims=20
any liability with regard to the Communication Services and any actions=20
resulting from your participation in any Communication Services. =
Managers and=20
hosts are not authorized Microsoft spokespersons, and their views do not =

necessarily reflect those of Microsoft. </FONT>
<P><FONT size=3D2>Materials uploaded to the Communication Services may =
be subject=20
to posted limitations on usage, reproduction and/or dissemination; you =
are=20
responsible for adhering to such limitations if you download the =
materials.=20
</FONT>
<P><FONT size=3D2>MATERIALS PROVIDED TO MICROSOFT OR POSTED AT ANY =
MICROSOFT WEB=20
SITE. <BR>Microsoft does not claim ownership of the materials you =
provide to=20
Microsoft (including feedback and suggestions) or post, upload, input or =
submit=20
to any Services or its associated services for review by the general =
public, or=20
by the members of any public or private community, (each a "Submission" =
and=20
collectively "Submissions"). However, by posting, uploading, inputting,=20
providing or submitting ("Posting") your Submission you are granting =
Microsoft,=20
its affiliated companies and necessary sublicensees permission to use =
your=20
Submission in connection with the operation of their Internet businesses =

(including, without limitation, all Microsoft Services), including, =
without=20
limitation, the license rights to: copy, distribute, transmit, publicly =
display,=20
publicly perform, reproduce, edit, translate and reformat your =
Submission; to=20
publish your name in connection with your Submission; and the right to=20
sublicense such rights to any supplier of the Services. </FONT>
<P><FONT size=3D2>No compensation will be paid with respect to the use =
of your=20
Submission, as provided herein. Microsoft is under no obligation to post =
or use=20
any Submission you may provide and Microsoft may remove any Submission =
at any=20
time in its sole discretion. </FONT>
<P><FONT size=3D2>By Posting a Submission you warrant and represent that =
you own=20
or otherwise control all of the rights to your Submission as described =
in these=20
Terms of Use including, without limitation, all the rights necessary for =
you to=20
provide, post, upload, input or submit the Submissions. </FONT>
<P><FONT size=3D2>In addition to the warranty and representation set =
forth above,=20
by Posting a Submission that contain images, photographs, pictures or =
that are=20
otherwise graphical in whole or in part ("Images"), you warrant and =
represent=20
that (a) you are the copyright owner of such Images, or that the =
copyright owner=20
of such Images has granted you permission to use such Images or any =
content=20
and/or images contained in such Images consistent with the manner and =
purpose of=20
your use and as otherwise permitted by these Terms of Use and the =
Services, (b)=20
you have the rights necessary to grant the licenses and sublicenses =
described in=20
these Terms of Use, and (c) that each person depicted in such Images, if =
any,=20
has provided consent to the use of the Images as set forth in these =
Terms of=20
Use, including, by way of example, and not as a limitation, the =
distribution,=20
public display and reproduction of such Images. By Posting Images, you =
are=20
granting (a) to all members of your private community (for each such =
Images=20
available to members of such private community), and/or (b) to the =
general=20
public (for each such Images available anywhere on the Services, other =
than a=20
private community), permission to use your Images in connection with the =
use, as=20
permitted by these Terms of Use, of any of the Services, (including, by =
way of=20
example, and not as a limitation, making prints and gift items which =
include=20
such Images), and including, without limitation, a non-exclusive, =
world-wide,=20
royalty-free license to: copy, distribute, transmit, publicly display, =
publicly=20
perform, reproduce, edit, translate and reformat your Images without =
having your=20
name attached to such Images, and the right to sublicense such rights to =
any=20
supplier of the Services. The licenses granted in the preceding =
sentences for a=20
Images will terminate at the time you completely remove such Images from =
the=20
Services, provided that, such termination shall not affect any licenses =
granted=20
in connection with such Images prior to the time you completely remove =
such=20
Images. No compensation will be paid with respect to the use of your =
Images.=20
</FONT>
<P><FONT size=3D2>NOTICES AND PROCEDURE FOR MAKING CLAIMS OF COPYRIGHT=20
INFRINGEMENT.<BR>Pursuant to Title 17, United States Code, Section =
512(c)(2),=20
notifications of claimed copyright infringement should be sent to =
Service=20
Provider's Designated Agent. ALL INQUIRIES NOT RELEVANT TO THE FOLLOWING =

PROCEDURE WILL NOT RECEIVE A RESPONSE.<BR>See </FONT><A=20
href=3D"http://www.microsoft.com/info/cpyrtInfrg.htm"><FONT =
size=3D2>Notice and=20
Procedure for Making Claims of Copyright Infringement</FONT></A><FONT =
size=3D2>.=20
</FONT>
<P><FONT size=3D2>LINKS TO THIRD PARTY SITES.<BR>THE LINKS IN THIS AREA =
WILL LET=20
YOU LEAVE MICROSOFT'S SITE. THE LINKED SITES ARE NOT UNDER THE CONTROL =
OF=20
MICROSOFT AND MICROSOFT IS NOT RESPONSIBLE FOR THE CONTENTS OF ANY =
LINKED SITE=20
OR ANY LINK CONTAINED IN A LINKED SITE, OR ANY CHANGES OR UPDATES TO =
SUCH SITES.=20
MICROSOFT IS NOT RESPONSIBLE FOR WEBCASTING OR ANY OTHER FORM OF =
TRANSMISSION=20
RECEIVED FROM ANY LINKED SITE. MICROSOFT IS PROVIDING THESE LINKS TO YOU =
ONLY AS=20
A CONVENIENCE, AND THE INCLUSION OF ANY LINK DOES NOT IMPLY ENDORSEMENT =
BY=20
MICROSOFT OF THE SITE. </FONT>
<P><FONT size=3D2>UNSOLICITED IDEA SUBMISSION POLICY.<BR>MICROSOFT OR =
ANY OF ITS=20
EMPLOYEES DO NOT ACCEPT OR CONSIDER UNSOLICITED IDEAS, INCLUDING IDEAS =
FOR NEW=20
ADVERTISING CAMPAIGNS, NEW PROMOTIONS, NEW PRODUCTS OR TECHNOLOGIES, =
PROCESSES,=20
MATERIALS, MARKETING PLANS OR NEW PRODUCT NAMES. PLEASE DO NOT SEND ANY =
ORIGINAL=20
CREATIVE ARTWORK, SAMPLES, DEMOS, OR OTHER WORKS. THE SOLE PURPOSE OF =
THIS=20
POLICY IS TO AVOID POTENTIAL MISUNDERSTANDINGS OR DISPUTES WHEN =
MICROSOFT'S=20
PRODUCTS OR MARKETING STRATEGIES MIGHT SEEM SIMILAR TO IDEAS SUBMITTED =
TO=20
MICROSOFT. SO, PLEASE DO NOT SEND YOUR UNSOLICITED IDEAS TO MICROSOFT OR =
ANYONE=20
AT MICROSOFT. IF, DESPITE OUR REQUEST THAT YOU NOT SEND US YOUR IDEAS =
AND=20
MATERIALS, YOU STILL SEND THEM, PLEASE UNDERSTAND THAT MICROSOFT MAKES =
NO=20
ASSURANCES THAT YOUR IDEAS AND MATERIALS WILL BE TREATED AS CONFIDENTIAL =
OR=20
PROPRIETARY. </FONT>
<P><FONT size=3D2>COPYRIGHT NOTICE. Copyright =A9 2001 Microsoft =
Corporation, One=20
Microsoft Way, Redmond, Washington 98052-6399 U.S.A. All rights =
reserved.=20
</FONT>
<P><FONT size=3D2>TRADEMARKS. Active Channel, Active Desktop, Active =
Directory,=20
ActiveStore, ActiveSync, ActiveX, Advisor FYI, Age of Empires, Age of =
Mythology,=20
Allegiance, Amped, Asheron's Call, Ask Maxwell, Authenticode, Azurik,=20
BackOffice, BackOffice logo, bCentral, BizTalk, Bookshelf, CarPoint, =
ClearLead,=20
Computing Central, Crimson Skies, Developer Studio, DirectDraw, =
DirectMusic,=20
DirectPlay, DirectSound, DirectX, Encarta, Entourage, Fighter Ace, =
FrontPage,=20
HomeAdvisor, Home Essentials, Hotmail, Links, Links Extreme, MapPoint,=20
MechCommander, MechWarrior, Microsoft, Microsoft Agent logo, Microsoft =
Internet=20
Explorer logo, Microsoft Office Compatible logo, Microsoft Press, =
Microsoft TV=20
logo, Midtown Madness, Mobile Explorer, MoneyCentral, Monster Truck =
Madness,=20
Motocross Madness, MSDN, MSN, MSN logo (butterfly), .Net logo, =
NetMeeting,=20
Nightcaster, Outlook, Outsmart, Passport logo, Picture It!, PowerPoint,=20
Precision Racing, Project Gotham Racing, Revenge of Arcade, Rise of =
Perathia,=20
SharePoint, Slate, Tex Murphy, The Age of Kings, The Everyday Web, =
Trekker,=20
UltimateTV, UltimateTV logo, UltraCorps, UnderWire, Urban Assault, VGA, =
Virtual=20
Golf Association, Visio, Visual Basic, Visual C++, Visual C#, Visual =
InterDev,=20
Visual J++, Visual Studio, WebTV, Where do you want to go today?, =
Windows,=20
Windows logo, Windows Media, Windows Media logo, Windows NT, Xbox, XBOX =
logo,=20
Xbox "X" logo, ZoneFriends, ZoneLAN, ZoneMatch, ZoneMessage, Zoo Tycoon, =
and/or=20
other Microsoft products referenced herein are either registered =
trademarks or=20
trademarks of Microsoft Corporation in the U.S. and/or other countries. =
The=20
names of actual companies and products mentioned herein may be the =
trademarks of=20
their respective owners. The example companies, organizations, products, =
domain=20
names, email addresses, logos, people and events depicted herein are =
fictitious.=20
No association with any real company, organization, product, domain =
name, e-mail=20
address, logo, person, or event is intended or should be inferred. =
</FONT>
<P><FONT size=3D2>Any rights not expressly granted herein are reserved. =
</FONT>
<P><FONT size=3D2>Send your questions to the appropriate contact as =
listed below:=20
</FONT>
<UL>
  <LI><FONT size=3D2>Microsoft Web properties, contact </FONT><A=20
  href=3D"mailto:homepage@microsoft.com"><FONT=20
  size=3D2>homepage@microsoft.com</FONT></A><FONT size=3D2> </FONT>
  <LI><FONT size=3D2>MSN Web properties, contact </FONT><A=20
  href=3D"mailto:webmaster@msn.com"><FONT =
size=3D2>webmaster@msn.com</FONT></A><FONT=20
  size=3D2> </FONT>
  <LI><FONT size=3D2>Hotmail, contact </FONT><A=20
  href=3D"mailto:support@hotmail.com"><FONT=20
  size=3D2>support@hotmail.com</FONT></A><FONT size=3D2>; for =
spam/privacy issues,=20
  contact </FONT><A href=3D"mailto:abuse@hotmail.com"><FONT=20
  size=3D2>abuse@hotmail.com</FONT></A><FONT size=3D2> or </FONT><A=20
  href=3D"mailto:hotmailprivacy@hotmail.com"><FONT=20
  size=3D2>hotmailprivacy@hotmail.com</FONT></A><FONT size=3D2> </FONT>
  <LI><FONT size=3D2>Piracy questions can be routed to </FONT><A=20
  href=3D"mailto:piracy@microsoft.com"><FONT=20
  size=3D2>piracy@microsoft.com</FONT></A><FONT size=3D2> or by calling=20
  1-800-R-U-LEGIT. </FONT></LI></UL>
<P><!-- begin old content ---><!--COPYRIGHT STATEMENT--><BR><FONT=20
size=3D2>-----------------<BR>&lt;/snip&gt;<BR><BR>
<HR>
</FONT><FONT size=3D2><BR>----- Original Message ----- </FONT><FONT=20
size=3D2><BR>From: "Nick Drochak" &lt;</FONT><A=20
href=3D"mailto:ndrochak@gol.com"><FONT =
size=3D2>ndrochak@gol.com</FONT></A><FONT=20
size=3D2>&gt;</FONT><FONT size=3D2><BR>To: "'Gaurav Vaish'" =
&lt;</FONT><A=20
href=3D"mailto:gvaish@iitk.ac.in"><FONT =
size=3D2>gvaish@iitk.ac.in</FONT></A><FONT=20
size=3D2>&gt;</FONT><FONT size=3D2><BR>Sent: Saturday, November 03, 2001 =

16:03</FONT><FONT size=3D2><BR>Subject: RE: [Mono-list]=20
ArrayList.GetEnumerator</FONT></P></DIV><FONT size=3D2>&gt; =
Gaurav,<BR>&gt;=20
<BR>&gt; Thanks for that, but I'm guessing this is a disassembly of =
MS's<BR>&gt;=20
corlib.dll?<BR>&gt; <BR>&gt; If so, then we're not supposed to do =
that.&nbsp; It=20
could taint the project.<BR>&gt; Miguel has a note about this on the =
mono web=20
site.<BR>&gt; <BR>&gt; I was thinking of doing something along these =
lines=20
anyway just to<BR>&gt; return some kind of enumerator.<BR>&gt; <BR>&gt; =
Let's=20
see what others have to say...<BR>&gt; <BR>&gt; Nick D.<BR>&gt; <BR>&gt; =
&gt;=20
-----Original Message-----<BR>&gt; &gt; From: Gaurav Vaish [</FONT><A=20
href=3D"mailto:gvaish@iitk.ac.in"><FONT=20
size=3D2>mailto:gvaish@iitk.ac.in</FONT></A><FONT size=3D2>] <BR>&gt; =
&gt; Sent:=20
Saturday, November 03, 2001 5:43 PM<BR>&gt; &gt; To: Nick =
Drochak<BR>&gt; &gt;=20
Subject: Re: [Mono-list] ArrayList.GetEnumerator<BR>&gt; &gt; <BR>&gt; =
&gt;=20
<BR>&gt; &gt; Hello,<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; If you at the =
class=20
members, you will find this <BR>&gt; &gt; definition attached:<BR>&gt; =
&gt;=20
<BR>&gt; &gt; -------------<BR>&gt; &gt; .class auto ansi serializable =
nested=20
private beforefieldinit <BR>&gt; &gt; ArrayListEnumeratorSimple<BR>&gt;=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extends =
System.Object<BR>&gt;=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; implements=20
System.Collections.IEnumerator,<BR>&gt;=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
System.ICloneable<BR>&gt; &gt; {<BR>&gt; &gt; } // end of class=20
ArrayListEnumeratorSimple<BR>&gt; &gt; ------------<BR>&gt; &gt; =
<BR>&gt;=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp; So, there's a private class which =
Implements=20
IEnumerator <BR>&gt; &gt; and ICloneable. Is it this class whose =
instance is=20
returned. <BR>&gt; &gt; A very small class. Just the following =
members:<BR>&gt;=20
&gt; <BR>&gt; &gt; 1. private object currentElement<BR>&gt; &gt; 2. =
private int=20
index<BR>&gt; &gt; 3. private ArrayList list<BR>&gt; &gt; 4. private int =
version=20
(what for?)<BR>&gt; &gt; <BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
functions:<BR>&gt; &gt; <BR>&gt; &gt; 5. public object Clone()<BR>&gt; =
&gt; 6.=20
public bool MoveNext()<BR>&gt; &gt; 7. public void Reset()<BR>&gt; &gt; =
<BR>&gt;=20
&gt; and property<BR>&gt; &gt; <BR>&gt; &gt; 8. object Current { get; =
}<BR>&gt;=20
&gt; <BR>&gt; &gt; Cheers,<BR>&gt; &gt; Gaurav Vaish<BR>&gt; &gt;=20
----------------------------<BR>&gt; &gt; <BR>&gt; &gt; ----- Original =
Message=20
-----<BR>&gt; &gt; From: "Nick Drochak" &lt;</FONT><A=20
href=3D"mailto:ndrochak@gol.com"><FONT =
size=3D2>ndrochak@gol.com</FONT></A><FONT=20
size=3D2>&gt;<BR>&gt; &gt; To: &lt;</FONT><A=20
href=3D"mailto:mono-list@ximian.com"><FONT=20
size=3D2>mono-list@ximian.com</FONT></A><FONT size=3D2>&gt;<BR>&gt; &gt; =
Cc:=20
&lt;</FONT><A href=3D"mailto:vladimir@pobox.com"><FONT=20
size=3D2>vladimir@pobox.com</FONT></A><FONT size=3D2>&gt;<BR>&gt; &gt; =
Sent:=20
Saturday, November 03, 2001 13:39<BR>&gt; &gt; Subject: [Mono-list]=20
ArrayList.GetEnumerator<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt; Hi =

all,<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; I found that one of my=20
ReadOnlyCollection tests is failing <BR>&gt; &gt; because we <BR>&gt; =
&gt; &gt;=20
haven't implemented ArrayList.GetEnumerator() yet.<BR>&gt; &gt; =
&gt;<BR>&gt;=20
&gt; &gt; I thought I'd just whip that one out real quick so my test =
<BR>&gt;=20
&gt; would pass, <BR>&gt; &gt; &gt; but low and behold I find out MS's =
<BR>&gt;=20
&gt; ArrayList.GetEnumerator() returns <BR>&gt; &gt; &gt; an object of =
type=20
"ArrayListEnumeratorSimple."&nbsp; I can't find a <BR>&gt; &gt; &gt; =
reference=20
to this class anywhere.<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; Perhaps it's =
just an=20
internal (embedded?) class in the MS ArrayList <BR>&gt; &gt; &gt; class =
and any=20
ol' class that implements IEnumerator will do?&nbsp; Any <BR>&gt; &gt; =
&gt;=20
ideas or opinions on this one?&nbsp; I hate it when my test =
fails.<BR>&gt; &gt;=20
&gt;<BR>&gt; &gt; &gt; Thanks,<BR>&gt; &gt; &gt; Nick D.<BR>&gt; &gt;=20
&gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;=20
_______________________________________________<BR>&gt; &gt; &gt; =
Mono-list=20
maillist&nbsp; -&nbsp; </FONT><A =
href=3D"mailto:Mono-list@ximian.com"><FONT=20
size=3D2>Mono-list@ximian.com</FONT></A><FONT size=3D2> <BR>&gt; &gt; =
&gt; </FONT><A=20
href=3D"http://lists.ximian.com/mailman/listinfo/mono-list"><FONT=20
size=3D2>http://lists.ximian.com/mailman/listinfo/mono-list</FONT></A><BR=
><FONT=20
size=3D2>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; =
</FONT></BODY></HTML>

------=_NextPart_000_0158_01C16486.9E956270--