[corlib] Fix typo
authorMarek Safar <marek.safar@gmail.com>
Thu, 26 Jun 2014 14:41:54 +0000 (16:41 +0200)
committerMarek Safar <marek.safar@gmail.com>
Thu, 26 Jun 2014 15:20:29 +0000 (17:20 +0200)
mcs/class/corlib/System.Security.Cryptography/CryptographicException.cs
mcs/class/corlib/System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs
mcs/class/corlib/System.Text/DecoderReplacementFallbackBuffer.cs
mcs/class/corlib/System.Text/EncoderReplacementFallbackBuffer.cs
mcs/class/corlib/System/AggregateException.cs

index 3fe5c6aaaeaa22bbdbaab78fbb64d71cb6765623..0e5339969afddd3d84ff67f9d554f448f69c204d 100644 (file)
@@ -38,7 +38,7 @@ namespace System.Security.Cryptography {
        [ComVisible (true)]
        public class CryptographicException : SystemException, _Exception {
                public CryptographicException ()
-                       : base (Locale.GetText ("Error occured during a cryptographic operation."))
+                       : base (Locale.GetText ("Error occurred during a cryptographic operation."))
                {
                        // default to CORSEC_E_CRYPTO
                        // defined as EMAKEHR(0x1430) in CorError.h
index 7720e8e8512875ceef5d561acb3ad4f24952b764..3f5d52e92a3ede26748b7bd4e5b839c3053fcbb9 100644 (file)
@@ -38,7 +38,7 @@ namespace System.Security.Cryptography {
        public class CryptographicUnexpectedOperationException : CryptographicException {
 
                public CryptographicUnexpectedOperationException ()
-                       : base (Locale.GetText ("Unexpected error occured during a cryptographic operation."))
+                       : base (Locale.GetText ("Unexpected error occurred during a cryptographic operation."))
                {
                        // Default to CORSEC_E_CRYPTO_UNEX_OPER (CorError.h)
                        HResult = unchecked ((int)0x80131431);
index 38eff7631fd81d10b58c802486b9762918e9d50f..3ecf21bc4f54d255359c64f76dc4cf5a3ec6cd50 100644 (file)
@@ -60,7 +60,7 @@ namespace System.Text
                        if (bytesUnknown == null)
                                throw new ArgumentNullException ("bytesUnknown");
                        if (fallback_assigned && Remaining != 0)
-                               throw new ArgumentException ("Reentrant Fallback method invocation occured. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
+                               throw new ArgumentException ("Reentrant Fallback method invocation occurred. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
                        if (index < 0 || bytesUnknown.Length < index)
                                throw new ArgumentOutOfRangeException ("index");
                        fallback_assigned = true;
index 7bf94251ac9467a9e1f623269eb30c5c98eae079..736537e68d87263e0165eb4a1f2f98919643fcb7 100644 (file)
@@ -69,7 +69,7 @@ namespace System.Text
                private bool Fallback (int index)
                {
                        if (fallback_assigned && Remaining != 0)
-                               throw new ArgumentException ("Reentrant Fallback method invocation occured. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
+                               throw new ArgumentException ("Reentrant Fallback method invocation occurred. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
                        if (index < 0)
                                throw new ArgumentOutOfRangeException ("index");
                        fallback_assigned = true;
index 06bfc20324d50d746bec29ce28075ab16fb56d9b..769ba549db1219fbf164c3068d011650a51cd953 100644 (file)
@@ -40,7 +40,7 @@ namespace System
        public class AggregateException : Exception
        {
                List<Exception> innerExceptions = new List<Exception> ();
-               const string defaultMessage = "One or more errors occured";
+               const string defaultMessage = "One or more errors occurred";
                
                public AggregateException () : base (defaultMessage)
                {