Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Enable default interfaces unconditionally (#36012)
Browse files Browse the repository at this point in the history
Corresponds to dotnet/coreclr#23225.
  • Loading branch information
MichalStrehovsky committed Mar 14, 2019
1 parent 231bcfc commit 5fb1294
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/System.Runtime/ref/System.Runtime.cs
Expand Up @@ -6797,9 +6797,7 @@ public sealed partial class RuntimeCompatibilityAttribute : System.Attribute
}
public static partial class RuntimeFeature
{
#if FEATURE_DEFAULT_INTERFACES
public const string DefaultImplementationsOfInterfaces = "DefaultImplementationsOfInterfaces";
#endif
public const string PortablePdb = "PortablePdb";
public static bool IsDynamicCodeCompiled { get { throw null; } }
public static bool IsDynamicCodeSupported { get { throw null; } }
Expand Down
2 changes: 0 additions & 2 deletions src/System.Runtime/ref/System.Runtime.csproj
Expand Up @@ -6,8 +6,6 @@
<ProjectGuid>{ADBCF120-3454-4A3C-9D1D-AC4293E795D6}</ProjectGuid>
<!-- disable warnings about obsolete APIs -->
<NoWarn>$(NoWarn);0809;0618</NoWarn>
<!-- Default interfaces are not officially supported in netcoreapp yet -->
<DefineConstants Condition="'$(IsPrerelease)' == 'true' and '$(TargetGroup)' == 'netcoreapp'">$(DefineConstants);FEATURE_DEFAULT_INTERFACES</DefineConstants>
<Configurations>netcoreapp-Debug;netcoreapp-Release;netcoreappaot-Debug;netcoreappaot-Release;uap-Debug;uap-Release</Configurations>
</PropertyGroup>
<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/System.Runtime/src/ApiCompatBaseline.netcoreappaot.txt
Expand Up @@ -7,3 +7,4 @@ MembersMustExist : Member 'System.Text.Rune.DecodeUtf16(System.ReadOnlySpan<Syst
MembersMustExist : Member 'System.Text.Rune.DecodeUtf16FromEnd(System.ReadOnlySpan<System.Char>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Text.Rune.DecodeUtf8(System.ReadOnlySpan<System.Byte>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Text.Rune.DecodeUtf8FromEnd(System.ReadOnlySpan<System.Byte>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.String System.Runtime.CompilerServices.RuntimeFeature.DefaultImplementationsOfInterfaces' does not exist in the implementation but it does exist in the contract.
1 change: 1 addition & 0 deletions src/System.Runtime/src/ApiCompatBaseline.uapaot.txt
Expand Up @@ -33,3 +33,4 @@ MembersMustExist : Member 'System.Text.Rune.DecodeUtf16(System.ReadOnlySpan<Syst
MembersMustExist : Member 'System.Text.Rune.DecodeUtf16FromEnd(System.ReadOnlySpan<System.Char>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Text.Rune.DecodeUtf8(System.ReadOnlySpan<System.Byte>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Text.Rune.DecodeUtf8FromEnd(System.ReadOnlySpan<System.Byte>, System.Text.Rune, System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.String System.Runtime.CompilerServices.RuntimeFeature.DefaultImplementationsOfInterfaces' does not exist in the implementation but it does exist in the contract.

0 comments on commit 5fb1294

Please sign in to comment.