You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@ -354,7 +354,7 @@ namespace System
|
||||
throw new ArgumentOutOfRangeException("indexB", Environment.GetResourceString("ArgumentOutOfRange_Index"));
|
||||
|
||||
return CompareOrdinalUnchecked (strA, indexA, count, strB, indexB, count);
|
||||
}
|
||||
}
|
||||
|
||||
unsafe String ReplaceInternal (char oldChar, char newChar)
|
||||
{
|
||||
@ -501,7 +501,7 @@ namespace System
|
||||
while (p < end) {
|
||||
*p++ = paddingChar;
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
char *p = dest;
|
||||
char *end = p + totalWidth - m_stringLength;
|
||||
while (p < end) {
|
||||
@ -768,5 +768,16 @@ namespace System
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
[IndexerName ("Chars")]
|
||||
public char this [int index] {
|
||||
[IntrinsicAttribute]
|
||||
get {
|
||||
if ((uint)index >= m_stringLength)
|
||||
ThrowHelper.ThrowIndexOutOfRangeException ();
|
||||
|
||||
return Unsafe.Add (ref m_firstChar, index);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user