Implemented interface member:
3 overrides of
PresentationCore (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (3)
184public override char this[int characterOffset] 283public override char this[int characterOffset] 393public override char this[int characterOffset]
43 references to
PresentationCore (43)
MS\Internal\Classification.cs (1)
353ushort flags = (ushort)Classification.CharAttributeTable[(int)GetUnicodeClassUTF16(charBuffer[i])].Flags;
MS\Internal\TextFormatting\Bidi.cs (26)
640int intChar = charBuffer[ichText + counter]; 1663int intChar = charBuffer[ichText + index+counter]; 1667if ((charBuffer[ichText + index+counter-1] & 0xFC00) == 0xD800) 1669intChar = ((((charBuffer[ichText + index+counter-1] & 0x03ff) << 10) | (charBuffer[ichText + index+counter] & 0x3ff)) + 0x10000); 1774if (cchTextMaxHint>1 && (charBuffer[ichText + cchTextMaxHint-2] & 0xFC00) == 0xD800) 1781int intChar = charBuffer[ichText + index]; 1799intChar = charBuffer[ichText + index]; 1822intChar = charBuffer[ichText + index]; 1848codePoint = charBuffer[ichText + cchText -1]; 1850if((cchText > 1) && ((charBuffer[ichText + cchText -2] & 0xFC00 ) == 0xD800) && ((charBuffer[ichText + cchText - 1] & 0xFC00) == 0xDC00)) 1852codePoint = 0x10000 + (((charBuffer[ichText + cchText -2] & 0x3ff) << 10) | (charBuffer[ichText + cchText - 1] & 0x3ff)); 1864codePoint = charBuffer[ichText + 0]; 1865if((cchText > 1) && ((charBuffer[ichText + 0] & 0xFC00 ) == 0xD800) && ((charBuffer[ichText + 1] & 0xFC00) == 0xDC00)) 1867codePoint = 0x10000 + (((charBuffer[ichText + 0] & 0x3ff) << 10) | (charBuffer[ichText + 1] & 0x3ff)); 2004int intChar = charBuffer[ichText + i]; 2142int intChar = charBuffer[ichText + counter]; 2518((charBuffer[ichText + charNumber] & 0xFC00) == 0xD800) && 2519((charBuffer[ichText + charNumber+1] & 0xFC00) == 0xDC00)) 2522return ((((charBuffer[ichText + charNumber] & 0x03ff) << 10) | (charBuffer[ichText + charNumber+1] & 0x3ff)) + 0x10000); 2525return ((int) charBuffer[ichText + charNumber]);
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
93charArray[j] = charBuffer[offsetToFirstChar + ich + j];
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
119pwchTextBuffer[i] = lsrun.CharacterBuffer[j];
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1920if (dcp > 0 && IsSpace(charBuffer[offsetToFirstChar + dcp - 1])) 1923while (dcp > 0 && IsSpace(charBuffer[offsetToFirstChar + dcp - 1]))
MS\Internal\TextFormatting\TextStore.cs (8)
633char firstChar = charBuffer[offsetToFirstChar]; 657newlineLength += ((charBuffer[offsetToFirstChar + 1] == '\n') ? 1 : 0); 665newlineLength += ((nextRunInfo.CharacterBuffer[nextRunInfo.OffsetToFirstChar] == '\n') ? 1 : 0); 1219char ch = charBuffer[i]; 1351char ch = charBuffer[ich + characterOffset]; 2147while (cch < cchLim && !IsSpace(lsrun.CharacterBuffer[ichFirst - cch - 1])) 2222while (cch < cchLim && IsSpace(lsrun.CharacterBuffer[ichFirst + cch])) 2232&& !IsSpace((ch = lsrun.CharacterBuffer[ichFirst + cch])))
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (3)
66if (item == this[i]) 115array[arrayIndex + i] = this[i]; 142yield return this[i];
System\Windows\Media\textformatting\CharacterString.cs (1)
289return _charBufferRef.CharacterBuffer[_charBufferRef.OffsetToFirstChar + index];