diff --git a/Microsoft.Azure.Amqp/Amqp/Encoding/EncodingCache.cs b/Microsoft.Azure.Amqp/Amqp/Encoding/EncodingCache.cs index ba41cf20..b7c38151 100644 --- a/Microsoft.Azure.Amqp/Amqp/Encoding/EncodingCache.cs +++ b/Microsoft.Azure.Amqp/Amqp/Encoding/EncodingCache.cs @@ -21,7 +21,7 @@ static class EncodingCache capacity: 43, comparer: ByteArrayComparer.Instance, keyFunc: a => Copy(a), - valueFunc: a => System.Text.Encoding.ASCII.GetString(a.Array, a.Offset, a.Count)); + valueFunc: a => SystemEncoding.ASCII.GetString(a.Array, a.Offset, a.Count)); static readonly UlongCache performativeCodes = new UlongCache(0x10ul, 0x19ul); static readonly UlongCache outcomeCodes = new UlongCache(0x23ul, 0x29ul);