diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-01-15 15:53:23 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-15 18:12:29 -0800 |
commit | 6515cf8e1a3027cd81c6eb2a9307ca7259b46730 (patch) | |
tree | 841fbfd3648e6a02732a0323709e14c70ee4bec8 | |
parent | 53eb7f578733e021ccea6fbc24ab299002364cee (diff) | |
download | coreclr-6515cf8e1a3027cd81c6eb2a9307ca7259b46730.tar.gz coreclr-6515cf8e1a3027cd81c6eb2a9307ca7259b46730.tar.bz2 coreclr-6515cf8e1a3027cd81c6eb2a9307ca7259b46730.zip |
String -> string
8 files changed, 16 insertions, 16 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs index 484a29a365..bb264e8391 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs @@ -7,7 +7,7 @@ namespace System.Runtime.InteropServices [AttributeUsage(AttributeTargets.Class, Inherited = true)] public sealed class ComSourceInterfacesAttribute : Attribute { - public ComSourceInterfacesAttribute(String sourceInterfaces) + public ComSourceInterfacesAttribute(string sourceInterfaces) { Value = sourceInterfaces; } @@ -32,6 +32,6 @@ namespace System.Runtime.InteropServices Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName + "\0" + sourceInterface3.FullName + "\0" + sourceInterface4.FullName; } - public String Value { get; } + public string Value { get; } } } diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs index 32c78e9902..3b00be1318 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs @@ -21,13 +21,13 @@ namespace System.Runtime.InteropServices HResult = HResults.COR_E_INVALIDCOMOBJECT; } - public InvalidComObjectException(String message) + public InvalidComObjectException(string message) : base(message) { HResult = HResults.COR_E_INVALIDCOMOBJECT; } - public InvalidComObjectException(String message, Exception inner) + public InvalidComObjectException(string message, Exception inner) : base(message, inner) { HResult = HResults.COR_E_INVALIDCOMOBJECT; diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs index 09397dceef..48b1ac3b04 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs @@ -20,13 +20,13 @@ namespace System.Runtime.InteropServices HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE; } - public InvalidOleVariantTypeException(String message) + public InvalidOleVariantTypeException(string message) : base(message) { HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE; } - public InvalidOleVariantTypeException(String message, Exception inner) + public InvalidOleVariantTypeException(string message, Exception inner) : base(message, inner) { HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE; diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs index d2d94fdfef..b1f5507122 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs @@ -33,7 +33,7 @@ namespace System.Runtime.InteropServices if (RuntimeHelpers.ObjectHasComponentSize(obj)) { // The object has a component size, which means it's variable-length, but we already - // checked above that it's not a String. The only remaining option is that it's a T[] + // checked above that it's not a string. The only remaining option is that it's a T[] // or a U[] which is blittable to a T[] (e.g., int[] and uint[]). // The array may be prepinned, so remove the high bit from the start index in the line below. diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs index 50d69ee6e3..bc4bd18bb1 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs @@ -7,11 +7,11 @@ namespace System.Runtime.InteropServices [AttributeUsage(AttributeTargets.Class, Inherited = false)] public sealed class ProgIdAttribute : Attribute { - public ProgIdAttribute(String progId) + public ProgIdAttribute(string progId) { Value = progId; } - public String Value { get; } + public string Value { get; } } } diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs index f62f9e9dc6..85e900b3ca 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs @@ -8,7 +8,7 @@ namespace System.Runtime.InteropServices { /// <summary> /// Exception for Structured Exception Handler exceptions. - /// </summary> + /// </summary> [Serializable] [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public class SEHException : ExternalException @@ -19,13 +19,13 @@ namespace System.Runtime.InteropServices HResult = HResults.E_FAIL; } - public SEHException(String message) + public SEHException(string message) : base(message) { HResult = HResults.E_FAIL; } - public SEHException(String message, Exception inner) + public SEHException(string message, Exception inner) : base(message, inner) { HResult = HResults.E_FAIL; diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs index 95781a7b07..5df2ed484c 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs @@ -20,13 +20,13 @@ namespace System.Runtime.InteropServices HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH; } - public SafeArrayRankMismatchException(String message) + public SafeArrayRankMismatchException(string message) : base(message) { HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH; } - public SafeArrayRankMismatchException(String message, Exception inner) + public SafeArrayRankMismatchException(string message, Exception inner) : base(message, inner) { HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH; diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs index c4257dcffd..d1e787c4f8 100644 --- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs +++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs @@ -20,13 +20,13 @@ namespace System.Runtime.InteropServices HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH; } - public SafeArrayTypeMismatchException(String message) + public SafeArrayTypeMismatchException(string message) : base(message) { HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH; } - public SafeArrayTypeMismatchException(String message, Exception inner) + public SafeArrayTypeMismatchException(string message, Exception inner) : base(message, inner) { HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH; |