Merge pull request dotnet/corert#3216 from dotnet/nmirror
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 5 Apr 2017 18:25:20 +0000 (11:25 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 7 Apr 2017 02:28:25 +0000 (19:28 -0700)
Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/mscorlib/shared/System/Type.cs

index fa0a7b9..7749c17 100644 (file)
@@ -44,6 +44,7 @@ namespace System
         public virtual bool IsGenericTypeDefinition => false;
 
         public virtual bool IsSZArray { get { throw NotImplemented.ByDesign; } }
+        public virtual bool IsVariableBoundArray => IsArray && !IsSZArray;
 
         public bool HasElementType => HasElementTypeImpl();
         protected abstract bool HasElementTypeImpl();