Change System.Object to ClassInterface.None (dotnet/coreclr#21137)
authorJan Kotas <jkotas@microsoft.com>
Wed, 21 Nov 2018 18:24:11 +0000 (10:24 -0800)
committerGitHub <noreply@github.com>
Wed, 21 Nov 2018 18:24:11 +0000 (10:24 -0800)
commita0cedb51535c87902a8d4de7620bf6b5f62fee28
tree15311634d3789debb0575f28499da91170367d57
parent2077ec694b2b4ffde29ab3ffbb0cec9d5691b6b8
Change System.Object to ClassInterface.None (dotnet/coreclr#21137)

* Change System.Object to ClassInterface.None

Prevents .NET Framework legacy interfaces from leaking out.

Fixes https://github.com/dotnet/corefx/issues/33638

* Use AutoDispatch for System.Object

Commit migrated from https://github.com/dotnet/coreclr/commit/2079632dfbde7fd398375c201f37533209c4bc21
src/coreclr/src/System.Private.CoreLib/src/System/Delegate.cs
src/coreclr/src/System.Private.CoreLib/src/System/MulticastDelegate.cs
src/coreclr/src/System.Private.CoreLib/src/System/Object.cs