This commit is contained in:
James Newton-King
2015-05-03 21:14:44 +12:00
parent e8f4589e53
commit fca043f043
3 changed files with 4 additions and 4 deletions
@@ -81,7 +81,7 @@ namespace Newtonsoft.Json.Tests.Serialization
public string PropertyPrefix { get; set; }
public string PropertySuffix { get; set; }
protected internal override string ResolvePropertyName(string propertyName)
protected override string ResolvePropertyName(string propertyName)
{
return base.ResolvePropertyName(PropertyPrefix + propertyName + PropertySuffix);
}
@@ -97,12 +97,12 @@ namespace Newtonsoft.Json.Tests.Serialization
{
public class DictionaryKeyContractResolver : DefaultContractResolver
{
protected internal override string ResolveDictionaryKey(string dictionaryKey)
protected override string ResolveDictionaryKey(string dictionaryKey)
{
return dictionaryKey;
}
protected internal override string ResolvePropertyName(string propertyName)
protected override string ResolvePropertyName(string propertyName)
{
return propertyName.ToUpper(CultureInfo.InvariantCulture);
}
@@ -30,7 +30,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
{
public class MetroPropertyNameResolver : DefaultContractResolver
{
protected internal override string ResolvePropertyName(string propertyName)
protected override string ResolvePropertyName(string propertyName)
{
#if !(NETFX_CORE || DNXCORE50)
return ":::" + propertyName.ToUpper(CultureInfo.InvariantCulture) + ":::";