Temporarily update struct => class.

- Will be reverted back as denoted by issue: https://github.com/aspnet/HttpAbstractions/issues/222
This commit is contained in:
N. Taylor Mullen 2015-03-09 01:31:50 -07:00
parent d2b303d4f0
commit de25ccc9cd
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ using System.Diagnostics;
namespace Microsoft.Framework.WebEncoders
{
internal struct AllowedCharsBitmap
internal class AllowedCharsBitmap
{
private const int ALLOWED_CHARS_BITMAP_LENGTH = 0x10000 / (8 * sizeof(uint));
private uint[] _allowedCharsBitmap;
@ -34,7 +34,7 @@ namespace Microsoft.Framework.WebEncoders
// Creates a deep copy of this bitmap
public AllowedCharsBitmap Clone()
{
AllowedCharsBitmap retVal;
var retVal = new AllowedCharsBitmap();
retVal._allowedCharsBitmap = (uint[])this._allowedCharsBitmap.Clone();
return retVal;
}