Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1176 from terrajobst/base-number-converter-fix
Browse files Browse the repository at this point in the history
Prevent non-framework code from extending BaseNumberConverter
  • Loading branch information
terrajobst authored May 9, 2019
2 parents b77bbe5 + 9681af4 commit 904f4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netstandard/ref/System.ComponentModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void RunWorkerAsync(object argument) { }
}
public abstract partial class BaseNumberConverter : System.ComponentModel.TypeConverter
{
protected BaseNumberConverter() { }
internal BaseNumberConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; }
public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; }
Expand Down

0 comments on commit 904f4f5

Please sign in to comment.