Author: spouliot
Date: 2005-05-09 06:53:09 -0400 (Mon, 09 May 2005)
New Revision: 44262

Modified:
   trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog
   
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/EncryptionProperties.cs
   
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ReferenceList.cs
Log:
2005-05-09  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * EncryptionProperties.cs: Added [IndexerName] attribute to rename 
        "this" from Item to ItemOf. Added missing Item(int) method.
        * ReferenceList.cs: Added [IndexerName] attribute to rename "this" 
        from Item to ItemOf.



Modified: 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog
===================================================================
--- trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog  
2005-05-09 10:40:20 UTC (rev 44261)
+++ trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog  
2005-05-09 10:53:09 UTC (rev 44262)
@@ -1,3 +1,10 @@
+2005-05-09  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * EncryptionProperties.cs: Added [IndexerName] attribute to rename 
+       "this" from Item to ItemOf. Added missing Item(int) method.
+       * ReferenceList.cs: Added [IndexerName] attribute to rename "this" 
+       from Item to ItemOf.
+
 2005-05-04  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * SignedXml.cs: Return an empty (not null) KeyInfo by default and

Modified: 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/EncryptionProperties.cs
===================================================================
--- 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/EncryptionProperties.cs
    2005-05-09 10:40:20 UTC (rev 44261)
+++ 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/EncryptionProperties.cs
    2005-05-09 10:53:09 UTC (rev 44262)
@@ -6,7 +6,7 @@
 //      Tim Coleman ([EMAIL PROTECTED])
 //
 // Copyright (C) Tim Coleman, 2004
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -31,6 +31,7 @@
 #if NET_2_0
 
 using System.Collections;
+using System.Runtime.CompilerServices;
 using System.Xml;
 
 namespace System.Security.Cryptography.Xml {
@@ -75,6 +76,7 @@
                        set { this [index] = (EncryptionProperty) value; }
                }
 
+               [IndexerName ("ItemOf")]
                public EncryptionProperty this [int index] {
                        get { return (EncryptionProperty) list [index]; }
                        set { list [index] = value; }
@@ -153,6 +155,11 @@
                        list.Insert (index, value);
                }
 
+               public EncryptionProperty Item (int index)
+               {
+                       return (EncryptionProperty) list [index];
+               }
+
                public void Remove (EncryptionProperty value)
                {
                        list.Remove (value);

Modified: 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ReferenceList.cs
===================================================================
--- 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ReferenceList.cs
   2005-05-09 10:40:20 UTC (rev 44261)
+++ 
trunk/mcs/class/System.Security/System.Security.Cryptography.Xml/ReferenceList.cs
   2005-05-09 10:53:09 UTC (rev 44262)
@@ -6,7 +6,7 @@
 //      Tim Coleman ([EMAIL PROTECTED])
 //
 // Copyright (C) Tim Coleman, 2004
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -31,9 +31,11 @@
 #if NET_2_0
 
 using System.Collections;
+using System.Runtime.CompilerServices;
 using System.Xml;
 
 namespace System.Security.Cryptography.Xml {
+
        public sealed class ReferenceList : IList, ICollection, IEnumerable {
 
                #region Fields
@@ -74,6 +76,7 @@
                        get { return list.IsSynchronized; }
                }
 
+               [IndexerName ("ItemOf")]
                public EncryptedReference this [int index] {
                        get { return (EncryptedReference) list [index]; }
                        set { this [index] = value; }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to