{
return TrimWhiteSpaceHelper(TrimType.Both);
}
- fixed (char* pTrimChars = trimChars)
+ fixed (char* pTrimChars = &trimChars[0])
{
return TrimHelper(pTrimChars, trimChars.Length, TrimType.Both);
}
{
return TrimWhiteSpaceHelper(TrimType.Head);
}
- fixed (char* pTrimChars = trimChars)
+ fixed (char* pTrimChars = &trimChars[0])
{
return TrimHelper(pTrimChars, trimChars.Length, TrimType.Head);
}
{
return TrimWhiteSpaceHelper(TrimType.Tail);
}
- fixed (char* pTrimChars = trimChars)
+ fixed (char* pTrimChars = &trimChars[0])
{
return TrimHelper(pTrimChars, trimChars.Length, TrimType.Tail);
}