Merge pull request dotnet/corert#4242 from dotnet/nmirror
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fri, 28 Jul 2017 16:41:38 +0000 (09:41 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sun, 30 Jul 2017 20:52:04 +0000 (22:52 +0200)
Merge master to nmirror

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

index 2ba5891..5481a78 100644 (file)
@@ -47,6 +47,8 @@ namespace System
         public virtual bool IsSZArray { get { throw NotImplemented.ByDesign; } }
         public virtual bool IsVariableBoundArray => IsArray && !IsSZArray;
 
+        public virtual bool IsByRefLike => throw new NotSupportedException(SR.NotSupported_SubclassOverride);
+
         public bool HasElementType => HasElementTypeImpl();
         protected abstract bool HasElementTypeImpl();
         public abstract Type GetElementType();