Work around an MCG bug (dotnet/corert#6658)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fri, 7 Dec 2018 10:46:27 +0000 (11:46 +0100)
committerMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fri, 7 Dec 2018 13:19:40 +0000 (14:19 +0100)
This is blocking TFS integrations.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs

index 3bc1547..f2c91f5 100644 (file)
@@ -7,8 +7,10 @@ using System.Runtime.InteropServices;
 
 namespace System.Collections
 {
+#if !PROJECTN // Hitting a bug in MCG, see VSO:743654
     [Guid("496B0ABE-CDEE-11d3-88E8-00902754C43A")]
     [ComVisible(true)]
+#endif
     public interface IEnumerable
     {
         // Returns an IEnumerator for this enumerable Object.  The enumerator provides