Reference CodePages ref to match the implementation

Commit migrated from https://github.com/dotnet/corefx/commit/ed06384c518f3c314d159e41f3a0cc23d9caec2d
This commit is contained in:
Wes Haggard committed 2018-03-09 15:43:30 -08:00
1 parent 4d97955681
commit c603592c2e
2 files changed
+3 -7

No files matched your search

@@ -5,12 +5,13 @@
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System.Text
{
public sealed partial class CodePagesEncodingProvider
public sealed partial class CodePagesEncodingProvider : System.Text.EncodingProvider
{
internal CodePagesEncodingProvider() { }
public static System.Text.EncodingProvider Instance { get { throw null; } }
public override System.Text.Encoding GetEncoding(int codepage) { throw null; }
public override System.Text.Encoding GetEncoding(string name) { throw null; }
}
}
@@ -1,5 +0,0 @@
Compat issues with assembly System.Text.Encoding.CodePages:
CannotRemoveBaseTypeOrInterface : Type 'System.Text.CodePagesEncodingProvider' does not inherit from base type 'System.Text.EncodingProvider' in the implementation but it does in the contract.
MembersMustExist : Member 'System.Text.CodePagesEncodingProvider.GetEncoding(System.Int32)' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Text.CodePagesEncodingProvider.GetEncoding(System.String)' does not exist in the implementation but it does exist in the contract.
Total Issues: 3