Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/TypeInitializationException.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeInitializationException.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs b/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
index 4bf290621..2ef822ab2 100644
--- a/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
@@ -23,7 +23,7 @@ namespace System
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public sealed class TypeInitializationException : SystemException
{
- private String _typeName;
+ private string _typeName;
// This exception is not creatable without specifying the
// inner exception.
@@ -34,19 +34,19 @@ namespace System
}
- public TypeInitializationException(String fullTypeName, Exception innerException)
+ public TypeInitializationException(string fullTypeName, Exception innerException)
: this(fullTypeName, SR.Format(SR.TypeInitialization_Type, fullTypeName), innerException)
{
}
// This is called from within the runtime. I believe this is necessary
// for Interop only, though it's not particularly useful.
- internal TypeInitializationException(String message) : base(message)
+ internal TypeInitializationException(string message) : base(message)
{
HResult = HResults.COR_E_TYPEINITIALIZATION;
}
- internal TypeInitializationException(String fullTypeName, String message, Exception innerException)
+ internal TypeInitializationException(string fullTypeName, string message, Exception innerException)
: base(message, innerException)
{
_typeName = fullTypeName;
@@ -65,13 +65,13 @@ namespace System
info.AddValue("TypeName", TypeName, typeof(string));
}
- public String TypeName
+ public string TypeName
{
get
{
if (_typeName == null)
{
- return String.Empty;
+ return string.Empty;
}
return _typeName;
}