diff options
Diffstat (limited to 'src/mscorlib/src/System/Reflection/TypeDelegator.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/TypeDelegator.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mscorlib/src/System/Reflection/TypeDelegator.cs b/src/mscorlib/src/System/Reflection/TypeDelegator.cs index cad4a4295a..d715df8950 100644 --- a/src/mscorlib/src/System/Reflection/TypeDelegator.cs +++ b/src/mscorlib/src/System/Reflection/TypeDelegator.cs @@ -24,14 +24,11 @@ namespace System.Reflection { protected Type typeImpl; - #if FEATURE_CORECLR - [System.Security.SecuritySafeCritical] // auto-generated - #endif protected TypeDelegator() {} public TypeDelegator(Type delegatingType) { if (delegatingType == null) - throw new ArgumentNullException("delegatingType"); + throw new ArgumentNullException(nameof(delegatingType)); Contract.EndContractBlock(); typeImpl = delegatingType; |