1 instantiation of Char
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2456
bamlType.DefaultConstructor = delegate() { return new System.
Char
(); };
974 references to Char
mscorlib (301)
microsoft\win32\oavariantlib.cs (1)
41
typeof(
Char
),
system\boolean.cs (2)
210
if (!
Char
.IsWhiteSpace(value[start]) && value[start] != nullChar) {
217
if (!
Char
.IsWhiteSpace(value[end]) && value[end] != nullChar) {
system\char.cs (12)
29
, IComparable<
Char
>, IEquatable<
Char
>
113
if (!(obj is
Char
)) {
116
return (m_value==((
Char
)obj).m_value);
120
public bool Equals(
Char
obj)
136
if (!(value is
Char
)) {
140
return (m_value-((
Char
)value).m_value);
144
public int CompareTo(
Char
value) {
152
return
Char
.ToString(m_value);
158
return
Char
.ToString(m_value);
187
public static bool TryParse(String s, out
Char
result) {
932
return (
Char
.ToString((char)utf32));
system\convert.cs (15)
120
(RuntimeType)typeof(
Char
),
518
if (value < 0 || value >
Char
.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char"));
525
if (value >
Char
.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char"));
531
if (value < 0 || value >
Char
.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char"));
538
if (value >
Char
.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Char"));
1823
return
Char
.ToString(value);
2355
fixed (
Char
* sPtr = s) {
2371
public static Byte[] FromBase64CharArray(
Char
[] inArray, Int32 offset, Int32 length) {
2401
fixed (
Char
* inArrayPtr = inArray) {
2420
private static unsafe Byte[] FromBase64CharPtr(
Char
* inputPtr, Int32 inputLength) {
2474
private static unsafe Int32 FromBase64_Decode(
Char
* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) {
2492
Char
* inputPtr = startInputPtr;
2496
Char
* endInputPtr = inputPtr + inputLength;
2654
private static unsafe Int32 FromBase64_ComputeResultLength(
Char
* inputPtr, Int32 inputLength) {
2661
Char
* inputEndPtr = inputPtr + inputLength;
system\diagnostics\eventing\eventsource.cs (1)
6819
while (i < eventMessage.Length &&
Char
.IsDigit(eventMessage[i]))
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (4)
306
: TraceLoggingTypeInfo<
Char
>
316
public override void WriteData(TraceLoggingDataCollector collector, ref
Char
value)
578
: TraceLoggingTypeInfo<
Char
[]>
588
public override void WriteData(TraceLoggingDataCollector collector, ref
Char
[] value)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (2)
637
else if (elementType == typeof(
Char
))
749
else if (dataType == typeof(
Char
))
system\enum.cs (3)
94
UInt16 result = (UInt16)(
Char
)value;
395
if (
Char
.IsDigit(value[0]) || value[0] == '-' || value[0] == '+')
942
if (underlyingType == typeof(
Char
))
system\globalization\cultureinfo.cs (1)
676
if (
Char
.IsLetterOrDigit(c) || c=='-' || c=='_') {
system\globalization\datetimeformatinfo.cs (7)
2777
bool isLetter =
Char
.IsLetter(ch);
2779
ch =
Char
.ToLower(ch, this.Culture);
2820
if (
Char
.IsLetter(nextCh)) {
2872
if (temp != null &&
Char
.ToLower(temp.tokenString[0], this.Culture) != ch) {
2896
if (
Char
.IsWhiteSpace(str[0]) ||
Char
.IsWhiteSpace(str[str.Length - 1])) {
2902
char ch =
Char
.ToLower(str[0], this.Culture);
system\globalization\datetimeformatinfoscanner.cs (4)
192
if (
Char
.IsLetter(ch) || ch == '\'' || ch == '.')
316
} else if (
Char
.IsWhiteSpace(ch))
480
if (m_ymdFlags == FoundDatePattern.FoundYMDPatternFlag && !
Char
.IsWhiteSpace(ch))
676
if (
Char
.IsWhiteSpace(array[i][j]) )
system\globalization\datetimeparse.cs (21)
431
if (
Char
.IsLetter(nextCh)) {
574
while (
Char
.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.len - 1) {
1083
if (
Char
.IsLetter(str.m_current)) {
1131
Char
ch = str.Value[str.Index];
1157
else if ((!
Char
.IsWhiteSpace(ch))) {
4493
} else if (
Char
.IsWhiteSpace( m_current)) {
4497
if (!(
Char
.IsWhiteSpace(m_current))) {
4550
private static
Char
[] WhiteSpaceChecks = new
Char
[] { ' ', '\u00A0' };
4575
if (!
Char
.IsWhiteSpace(Value[thisPosition + segmentLength])) {
4589
while (thisPosition < Value.Length &&
Char
.IsWhiteSpace(Value[thisPosition])) {
4609
if (
Char
.IsLetter(Value[nextCharIndex])) {
4737
if (!
Char
.IsWhiteSpace(ch)) {
4756
if (!
Char
.IsWhiteSpace(m_current))
4764
if (!
Char
.IsWhiteSpace(m_current))
4775
while (i >= 0 &&
Char
.IsWhiteSpace(Value[i])) {
4792
if (
Char
.IsWhiteSpace(Value[i-1])) {
4794
while (i >= 1 &&
Char
.IsWhiteSpace(Value[i-1])) {
4813
while ((i + 1) < len &&
Char
.IsWhiteSpace(Value[i+1])) {
4829
Char
ch = Value[Index + sub.length];
4897
internal
Char
this[Int32 relativeIndex] {
system\globalization\idnmapping.cs (8)
607
if (
Char
.IsLowSurrogate(unicode, iTest))
627
Contract.Assert(
Char
.IsLowSurrogate(unicode, basicCount) == false,
657
else if (
Char
.IsSurrogatePair(unicode, basicCount))
704
test =
Char
.ConvertToUtf32(unicode, j);
717
test =
Char
.ConvertToUtf32(unicode, j);
992
String strTemp =
Char
.ConvertFromUtf32(n);
1007
if (
Char
.IsSurrogate(output[iUseInsertLocation]))
1043
if (
Char
.IsLowSurrogate(output.ToString(), iTest)) continue;
system\globalization\textinfo.cs (8)
566
static private
Char
ToLowerAsciiInvariant(
Char
c)
570
c = (
Char
)(c | 0x20);
603
static private
Char
ToUpperAsciiInvariant(
Char
c)
607
c = (
Char
)(c & ~0x20);
612
static private bool IsAscii(
Char
c)
729
if (
Char
.CheckLetter(charType)) {
system\guid.cs (3)
621
char upperCaseCh =
Char
.ToUpper(ch, CultureInfo.InvariantCulture);
872
if(!
Char
.IsWhiteSpace(curChar))
884
if(str.Length > i+1 && str[i] == '0' && (
Char
.ToLower(str[i+1], CultureInfo.InvariantCulture) == 'x'))
system\internal.cs (5)
64
new Dictionary<
Char
, Object>();
75
new Dictionary<Object,
Char
>();
98
NullableHelper<
Char
>();
112
new List<
Char
>();
131
new KeyValuePair<
Char
, UInt16>('\0', UInt16.MinValue);
system\io\binaryreader.cs (1)
489
return EmptyArray<
Char
>.Value;
system\io\binarywriter.cs (1)
192
if (
Char
.IsSurrogate(ch))
system\io\isolatedstorage\isolatedstorage.cs (2)
325
if (!
Char
.IsLetter(s[i]) && !
Char
.IsDigit(s[i]))
system\io\path.cs (94)
77
public static readonly char[] InvalidPathChars = { '\"', '<', '>', '|', '\0', (
Char
)1, (
Char
)2, (
Char
)3, (
Char
)4, (
Char
)5, (
Char
)6, (
Char
)7, (
Char
)8, (
Char
)9, (
Char
)10, (
Char
)11, (
Char
)12, (
Char
)13, (
Char
)14, (
Char
)15, (
Char
)16, (
Char
)17, (
Char
)18, (
Char
)19, (
Char
)20, (
Char
)21, (
Char
)22, (
Char
)23, (
Char
)24, (
Char
)25, (
Char
)26, (
Char
)27, (
Char
)28, (
Char
)29, (
Char
)30, (
Char
)31 };
86
private static readonly char[] InvalidPathCharsWithAdditionalChecks = { '\"', '<', '>', '|', '\0', (
Char
)1, (
Char
)2, (
Char
)3, (
Char
)4, (
Char
)5, (
Char
)6, (
Char
)7, (
Char
)8, (
Char
)9, (
Char
)10, (
Char
)11, (
Char
)12, (
Char
)13, (
Char
)14, (
Char
)15, (
Char
)16, (
Char
)17, (
Char
)18, (
Char
)19, (
Char
)20, (
Char
)21, (
Char
)22, (
Char
)23, (
Char
)24, (
Char
)25, (
Char
)26, (
Char
)27, (
Char
)28, (
Char
)29, (
Char
)30, (
Char
)31, '*', '?' };
88
private static readonly char[] InvalidFileNameChars = { '\"', '<', '>', '|', '\0', (
Char
)1, (
Char
)2, (
Char
)3, (
Char
)4, (
Char
)5, (
Char
)6, (
Char
)7, (
Char
)8, (
Char
)9, (
Char
)10, (
Char
)11, (
Char
)12, (
Char
)13, (
Char
)14, (
Char
)15, (
Char
)16, (
Char
)17, (
Char
)18, (
Char
)19, (
Char
)20, (
Char
)21, (
Char
)22, (
Char
)23, (
Char
)24, (
Char
)25, (
Char
)26, (
Char
)27, (
Char
)28, (
Char
)29, (
Char
)30, (
Char
)31, ':', '*', '?', '\\', '/' };
1304
private static readonly
Char
[] s_Base32Char = {
system\io\streamreader.cs (1)
1164
private
Char
[] CharBuffer_Prop {
system\io\streamwriter.cs (10)
473
private static async Task WriteAsyncInternal(StreamWriter _this,
Char
value,
474
Char
[] charBuffer, Int32 charPos, Int32 charLen,
Char
[] coreNewLine,
543
Char
[] charBuffer, Int32 charPos, Int32 charLen,
Char
[] coreNewLine,
631
private static async Task WriteAsyncInternal(StreamWriter _this,
Char
[] buffer, Int32 index, Int32 count,
632
Char
[] charBuffer, Int32 charPos, Int32 charLen,
Char
[] coreNewLine,
821
Char
[] sCharBuffer, Int32 sCharPos) {
838
Char
[] charBuffer, Int32 charPos, bool haveWrittenPreamble,
system\number.cs (4)
367
public
Char
* digits;
375
this.digits = (((
Char
*) stackBuffer) + 6);
412
Char
* p = number.digits;
457
Char
* p = number.digits;
system\resources\resourcemanager.cs (1)
950
while(
Char
.IsWhiteSpace(asmTypeName1[++comma]));
system\resources\resourcewriter.cs (1)
537
else if (type == typeof(
Char
))
system\runtime\compilerservices\AsyncMethodBuilder.cs (3)
777
(typeof(TResult) == typeof(
Char
) && default(
Char
) == (
Char
)(object)result) ||
system\runtime\remoting\message.cs (1)
771
else if (pt == typeof(
Char
))
system\runtime\remoting\remotingconfigparser.cs (1)
1819
if (!
Char
.IsDigit(lastChar))
system\runtime\remoting\soapinteroptypes.cs (14)
93
index = value.IndexOf(
Char
.MinValue);
98
stringBuffer.Replace(
Char
.MinValue.ToString(), "�", index, stringBuffer.Length - index);
311
Char
[] c = value.ToCharArray();
954
Char
[] cA = value.ToCharArray();
971
private static Byte ToByte(
Char
c, String value)
1613
Char
[] validateChar = {(
Char
)0xD, (
Char
)0xA, (
Char
)0x9};
1671
Char
[] validateChar = {(
Char
)0xD, (
Char
)0x9};
1680
if (
Char
.IsWhiteSpace(value[0]) ||
Char
.IsWhiteSpace(value[value.Length - 1]))
system\runtime\serialization\formatter.cs (1)
143
} else if (varType==typeof(
Char
)) {
system\runtime\serialization\formatters\binary\binaryconverter.cs (3)
289
array = new
Char
[length];
494
internal static Type typeofChar = typeof(
Char
);
519
internal static Type typeofCharArray = typeof(
Char
[]);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (2)
87
internal void WriteChar(
Char
value)
92
internal void WriteChars(
Char
[] value)
system\runtime\serialization\formatters\binary\binaryparser.cs (2)
305
internal
Char
ReadChar()
310
internal
Char
[] ReadChars(int length)
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (4)
838
Char
[] charA = null;
864
charA = (
Char
[])array;
905
charA[index] =
Char
.MinValue;
907
charA[index] =
Char
.Parse(value);
system\security\cryptography\base64transforms.cs (2)
234
if (
Char
.IsWhiteSpace((char)inputBuffer[inputOffset + i])) iCount++;
238
if (!
Char
.IsWhiteSpace((char)inputBuffer[inputOffset + i])) {
system\security\cryptography\utils.cs (2)
633
if (
Char
.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++;
637
if (!
Char
.IsWhiteSpace(inputBuffer[inputOffset + i]))
system\security\util\hex.cs (1)
64
public static int ConvertHexDigit(
Char
val)
system\string.cs (4)
802
if(!
Char
.IsWhiteSpace(value[i])) return false;
1197
if (
Char
.IsWhiteSpace(pwzChars[i])) {
2754
if (!
Char
.IsWhiteSpace(this[start]) && !IsBOMWhitespace(this[start])) break;
2760
if (!
Char
.IsWhiteSpace(this[end]) && !IsBOMWhitespace(this[start])) break;
system\text\asciiencoding.cs (3)
425
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
481
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver), "[ASCIIEncoding.GetByteCount]leftover character should be high surrogate");
581
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
system\text\dbcscodepageencoding.cs (2)
572
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver), "[DBCSCodePageEncoding.GetByteCount]leftover character should be high surrogate");
658
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
system\text\decoderfallback.cs (4)
169
if (
Char
.IsSurrogate(ch))
171
if (
Char
.IsHighSurrogate(ch))
230
if (
Char
.IsSurrogate(ch))
232
if (
Char
.IsHighSurrogate(ch))
system\text\decoderreplacementfallback.cs (2)
35
if (
Char
.IsSurrogate(replacement,i))
38
if (
Char
.IsHighSurrogate(replacement, i))
system\text\encoderbestfitfallback.cs (2)
121
if (!
Char
.IsHighSurrogate(charUnknownHigh))
126
if (!
Char
.IsLowSurrogate(charUnknownLow))
system\text\encoderexceptionfallback.cs (5)
65
if (!
Char
.IsHighSurrogate(charUnknownHigh))
71
if (!
Char
.IsLowSurrogate(charUnknownLow))
79
int iTemp =
Char
.ConvertToUtf32(charUnknownHigh, charUnknownLow);
148
if (!
Char
.IsHighSurrogate(charUnknownHigh))
154
if (!
Char
.IsLowSurrogate(charUnknownLow))
system\text\encoderfallback.cs (3)
178
if (
Char
.IsHighSurrogate(ch))
201
if (
Char
.IsLowSurrogate(cNext))
205
ThrowLastCharRecursive(
Char
.ConvertToUtf32(ch, cNext));
system\text\encoderreplacementfallback.cs (6)
37
if (
Char
.IsSurrogate(replacement,i))
40
if (
Char
.IsHighSurrogate(replacement, i))
135
ThrowLastCharRecursive(
Char
.ConvertToUtf32(charUnknown, strDefault[fallbackIndex+1]));
152
if (!
Char
.IsHighSurrogate(charUnknownHigh))
157
if (!
Char
.IsLowSurrogate(charUnknownLow))
166
ThrowLastCharRecursive(
Char
.ConvertToUtf32(charUnknownHigh, charUnknownLow));
system\text\encoding.cs (4)
1584
return EmptyArray<
Char
>.Value;
1590
return EmptyArray<
Char
>.Value;
1670
this.charLeftOver = (
Char
) info.GetValue("charLeftOver", typeof(
Char
));
system\text\gb18030encoding.cs (4)
299
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver),
303
if (!
Char
.IsLowSurrogate(ch))
350
else if (
Char
.IsHighSurrogate(ch))
355
else if (
Char
.IsLowSurrogate(ch))
system\text\iso2022encoding.cs (3)
434
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP5022xJP]leftover character should be high surrogate");
677
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP50225KR]leftover character should be high surrogate");
825
Contract.Assert(
Char
.IsHighSurrogate(charLeftOver), "[ISO2022Encoding.GetBytesCP52936]leftover character should be high surrogate");
system\text\latin1encoding.cs (2)
82
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
200
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
system\text\sbcscodepageencoding.cs (2)
323
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
447
Contract.Assert(charLeftOver == 0 ||
Char
.IsHighSurrogate(charLeftOver),
system\text\utf32encoding.cs (6)
487
if (
Char
.IsLowSurrogate(ch))
516
if (
Char
.IsHighSurrogate(ch))
526
if (
Char
.IsLowSurrogate(ch))
617
if (
Char
.IsLowSurrogate(ch))
679
if (
Char
.IsHighSurrogate(ch))
689
if (
Char
.IsLowSurrogate(ch))
system\variant.cs (1)
94
typeof(
Char
),
PresentationBuildTasks (37)
Base\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (1)
115
uc =
Char
.GetUnicodeCategory(name[i]);
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
221
else if (typeof(
Char
).IsAssignableFrom(type))
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1105
while (!
Char
.IsWhiteSpace(ch)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1458
_typeArgsList = typeArgs.Split(new
Char
[] { COMMA });
1566
string[] dirs = relPath.Split(new
Char
[] { ESCAPED_BACKSLASH_CHAR });
Core\CSharp\System\Windows\Media\ParsersCommon.cs (3)
131
while ((curIndex < pathString.Length) &&
Char
.IsWhiteSpace(pathString, curIndex))
145
while ((curIndex < pathString.Length) &&
Char
.IsWhiteSpace(pathString, curIndex))
252
if (((ch >' ') && (ch <= 'z')) || !
Char
.IsWhiteSpace(ch))
Framework\MS\Internal\Globalization\LocalizationComments.cs (3)
106
if (
Char
.IsWhiteSpace(input[i]) && !escaped)
157
else if (!
Char
.IsWhiteSpace(input[i]))
229
if (
Char
.IsWhiteSpace(input[i]))
Framework\System\Windows\Markup\BamlRecords.cs (1)
2607
string [] enumValues = Value.Split(new
Char
[] { ',' });
Framework\System\Windows\Markup\KnownTypes.cs (1)
5501
case KnownElements.Char: t = typeof(
Char
); break;
Framework\System\Windows\Markup\MarkupExtensionParser.cs (12)
378
if (
Char
.IsWhiteSpace(attrValue[i]))
805
(list.Count > 1 && !(list[1] is String) && ((
Char
)list[1] == ','))))
881
(list.Count > 1 && !(list[1] is String) && ((
Char
)list[1] == ','))))
961
Char
quoteChar = '\'';
990
if (!nonWhitespaceFound && !
Char
.IsWhiteSpace(args[i]))
1120
else if (list[list.Count - 1] is
Char
)
1154
else if (list.Count > 0 && (list[list.Count-1] is
Char
))
1206
Debug.Assert(!
Char
.IsWhiteSpace(sb[0]));
1209
while(
Char
.IsWhiteSpace(sb[i]))
1275
list[listIndex+1] is
Char
&&
1276
(
Char
)list[listIndex+1] == '=')
1371
((
Char
)list[k+1]) != '=')
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
2554
if (
Char
.IsLetter(i))
2556
else if (
Char
.IsDigit(i))
Framework\System\Windows\Markup\XamlTypeMapper.cs (4)
818
if (!
Char
.IsWhiteSpace(attribValue[i]))
827
else if (
Char
.IsDigit(attribValue[i]))
3846
(
Char
.IsWhiteSpace(keyString[0]) ||
3847
Char
.IsWhiteSpace(keyString[keyString.Length-1])))
Shared\MS\Internal\TokenizerHelper.cs (5)
105
if (!
Char
.IsWhiteSpace(_str, _charIndex))
201
Debug.Assert(!
Char
.IsWhiteSpace(currentChar),"Token started on Whitespace");
242
else if ((
Char
.IsWhiteSpace(currentChar)) || (currentChar == separator))
288
!
Char
.IsWhiteSpace(currentChar))
312
else if (
Char
.IsWhiteSpace(currentChar))
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
50
string[] nameFrags = typeName.Split(new
Char
[] { ',' }, 2);
PresentationCore (51)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (3)
371
internal static Double GetSegmentLengthChar(
Char
from,
Char
to)
615
internal static bool IsValidAnimationValueChar(
Char
value)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (2)
902
char ca =
Char
.ToUpperInvariant(a);
903
char cb =
Char
.ToUpperInvariant(b);
Core\CSharp\System\Windows\Input\TextComposition.cs (1)
342
Debug.Assert((_resultText.Length == 1) &&
Char
.IsControl(_resultText[0]));
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (3)
649
Char
[] chars = new
Char
[1];
650
chars[0] = (
Char
) _altNumpadEntry;
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
627
Char
.IsControl(charcode))
Core\CSharp\System\Windows\Markup\XamlSerializerUtil.cs (1)
56
if (!
Char
.IsWhiteSpace(s[i]))
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationBase.cs (9)
103
return GetCurrentValue((
Char
)defaultOriginValue, (
Char
)defaultDestinationValue, animationClock);
115
return typeof(
Char
);
152
public
Char
GetCurrentValue(
Char
defaultOriginValue,
Char
defaultDestinationValue, AnimationClock animationClock)
215
protected abstract
Char
GetCurrentValueCore(
Char
defaultOriginValue,
Char
defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (8)
331
protected sealed override
Char
GetCurrentValueCore(
332
Char
defaultOriginValue,
333
Char
defaultDestinationValue,
359
Char
currentIterationValue;
395
Char
fromValue;
551
private
Char
GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex)
862
Char
prevKeyValue = _keyFrames[index - 1].Value;
866
Char
currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
204
public DiscreteCharKeyFrame(
Char
value)
212
public DiscreteCharKeyFrame(
Char
value, KeyTime keyTime)
240
protected override
Char
InterpolateValueCore(
Char
baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
336
protected CharKeyFrame(
Char
value)
345
protected CharKeyFrame(
Char
value, KeyTime keyTime)
388
typeof(
Char
),
403
Value = (
Char
)value;
410
public
Char
Value
414
return (
Char
)GetValue(ValueProperty);
431
public
Char
InterpolateValue(
432
Char
baseValue,
452
protected abstract
Char
InterpolateValueCore(
453
Char
baseValue,
Core\CSharp\System\Windows\Media\Parsers.cs (2)
110
string[] preSplit = tokens.Split(new
Char
[] { ' ' });
119
string[] split = tokens.Split(new
Char
[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries);
Core\CSharp\System\Windows\Media\ParsersCommon.cs (3)
131
while ((curIndex < pathString.Length) &&
Char
.IsWhiteSpace(pathString, curIndex))
145
while ((curIndex < pathString.Length) &&
Char
.IsWhiteSpace(pathString, curIndex))
252
if (((ch >' ') && (ch <= 'z')) || !
Char
.IsWhiteSpace(ch))
Core\CSharp\System\Windows\Media3D\ModelVisual3D.cs (1)
114
if (!
Char
.IsWhiteSpace(c))
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
359
string[] assemblyInfo = component.Split(new
Char
[] { COMPONENT_DELIMITER });
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (2)
215
&& pattern[i] ==
Char
.ToUpperInvariant(input[index + i]);
262
for (; index < input.Length &&
Char
.IsWhiteSpace(input[index]); index++) ;
PresentationFramework (91)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
1399
private static readonly
Char
[] Separators = new
Char
[] { ',', ' ', ';' };
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
434
internal static readonly
Char
[] Separator = new
Char
[] { ',' };
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
735
if (
Char
.IsWhiteSpace(rawString[i]) == false)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (2)
490
if (sourceType == typeof(
Char
))
492
if (targetType == typeof(
Char
))
src\Framework\MS\Internal\Data\PathParser.cs (5)
106
if (
Char
.IsWhiteSpace(c))
259
Char
c = _path[_index++];
282
else if (
Char
.IsWhiteSpace(c))
330
else if (
Char
.IsWhiteSpace(c))
397
const char NullChar =
Char
.MinValue;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (4)
1899
static readonly
Char
[] s_comma = new
Char
[]{','};
1900
static readonly
Char
[] s_dot = new
Char
[]{'.'};
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (2)
582
if (! (
Char
.IsLetter(c) || c == '_' || c == ':') )
591
if (! (
Char
.IsLetterOrDigit(c) || c == '.' || c == '-' || c == '_' || c == ':') )
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (3)
106
if (
Char
.IsWhiteSpace(input[i]) && !escaped)
157
else if (!
Char
.IsWhiteSpace(input[i]))
229
if (
Char
.IsWhiteSpace(input[i]))
src\Framework\System\Windows\Application.cs (2)
2692
string[] bamlConvertUriSegments = fileInBamlConvert.Split(new
Char
[] { '/', '\\' });
2693
string[] curUriSegments = fileCurrent.Split(new
Char
[] { '/', '\\' });
src\Framework\System\Windows\Controls\DefinitionBase.cs (2)
565
bool isDigit =
Char
.IsDigit(id[i]);
569
||
Char
.IsLetter(id[i])
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
182
if (
Char
.IsDigit(elementID[0]))
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
225
if (
Char
.IsDigit(elementID[0]))
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
180
if (!
Char
.IsWhiteSpace(s[i]))
src\Framework\System\Windows\Documents\Glyphs.cs (3)
265
if (
Char
.IsWhiteSpace(c))
403
if (!
Char
.IsWhiteSpace(c))
434
if (!
Char
.IsWhiteSpace(valueSpec[i]))
src\Framework\System\Windows\Documents\Speller.cs (1)
260
Char
[] charArray = null;
src\Framework\System\windows\Documents\TextEditor.cs (5)
1238
if (textData.Length == extraCharsAllowed &&
Char
.IsHighSurrogate(textData, extraCharsAllowed - 1))
1243
if (!string.IsNullOrEmpty(textData) &&
Char
.IsLowSurrogate(textData, 0))
1246
if (string.IsNullOrEmpty(textAdjacent) || !
Char
.IsHighSurrogate(textAdjacent, textAdjacent.Length - 1))
1494
(
Char
.IsHighSurrogate(text, position - 1) &&
Char
.IsLowSurrogate(text, position)))
src\Framework\System\windows\Documents\TextEditorSpelling.cs (2)
73
else if (
Char
.IsWhiteSpace(character))
324
if (!
Char
.IsWhiteSpace(character))
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1556
if (
Char
.IsControl(textData[i]))
src\Framework\System\Windows\Documents\TextFindEngine.cs (4)
891
if (
Char
.IsWhiteSpace(separatorChar) ||
892
Char
.IsPunctuation(separatorChar) ||
893
Char
.IsSymbol(separatorChar) ||
894
Char
.IsSeparator(separatorChar))
src\Framework\System\Windows\Documents\TextPointerBase.cs (5)
642
internal static
Char
[] NextLineCharacters = new char[] { '\n', '\r', '\v', '\f', '\u0085' /*NEL*/, '\u2028' /*LS*/, '\u2029' /*PS*/ };
1370
Char
[] neighborhood = new char[2];
1375
if (
Char
.IsSurrogatePair(neighborhood[0], neighborhood[1]) ||
1391
UnicodeCategory category1 =
Char
.GetUnicodeCategory(neighborhood[1]);
1396
UnicodeCategory category0 =
Char
.GetUnicodeCategory(neighborhood[0]);
src\Framework\System\Windows\Documents\TextRangeBase.cs (7)
666
Char
[] charArray = null; // used for extracting text runs
676
internal static string GetTextInternal(ITextPointer startPosition, ITextPointer endPosition, ref
Char
[] charArray)
759
private static void PlainConvertTextRun(StringBuilder textBuffer, ITextPointer navigator, ITextPointer endPosition, ref
Char
[] charArray)
882
private static
Char
[] EnsureCharArraySize(
Char
[] charArray, int textLength)
896
charArray = new
Char
[newLength];
905
Char
[] charArray = null;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (6)
316
char[] text = new
Char
[textLength];
1803
if (
Char
.IsHighSurrogate(testChar) ||
Char
.IsLowSurrogate(testChar) || IsBadCode(testChar))
1820
if (
Char
.IsHighSurrogate(text[i]))
1822
if (i + 1 < length &&
Char
.IsLowSurrogate(text[i + 1]))
1836
else if (
Char
.IsLowSurrogate(text[i]))
src\Framework\System\windows\Documents\TextSelection.cs (3)
508
Char
.IsWhiteSpace(charBuffer[0]))
521
!
Char
.IsWhiteSpace(charBuffer[0])))
2507
fontSignature = new String(new
Char
[FONTSIGNATURE_SIZE]);
src\Framework\System\Windows\Documents\TextStore.cs (2)
1369
Char
[] nextChars;
1370
nextChars = new
Char
[2];
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
159
case 67: t = () => typeof(
Char
); break;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1035
if (!
Char
.IsWhiteSpace(value[i]))
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2454
typeof(System.
Char
),
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
2607
string [] enumValues = Value.Split(new
Char
[] { ',' });
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5611
case KnownElements.Char: t = typeof(System.
Char
); break;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (12)
378
if (
Char
.IsWhiteSpace(attrValue[i]))
805
(list.Count > 1 && !(list[1] is String) && ((
Char
)list[1] == ','))))
881
(list.Count > 1 && !(list[1] is String) && ((
Char
)list[1] == ','))))
961
Char
quoteChar = '\'';
990
if (!nonWhitespaceFound && !
Char
.IsWhiteSpace(args[i]))
1120
else if (list[list.Count - 1] is
Char
)
1154
else if (list.Count > 0 && (list[list.Count-1] is
Char
))
1206
Debug.Assert(!
Char
.IsWhiteSpace(sb[0]));
1209
while(
Char
.IsWhiteSpace(sb[i]))
1275
list[listIndex+1] is
Char
&&
1276
(
Char
)list[listIndex+1] == '=')
1371
((
Char
)list[k+1]) != '=')
src\Framework\System\Windows\Markup\XamlSerializerUtil.cs (1)
55
if (!
Char
.IsWhiteSpace(s[i]))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (4)
818
if (!
Char
.IsWhiteSpace(attribValue[i]))
827
else if (
Char
.IsDigit(attribValue[i]))
3846
(
Char
.IsWhiteSpace(keyString[0]) ||
3847
Char
.IsWhiteSpace(keyString[keyString.Length-1])))
src\Framework\System\Windows\PropertyPath.cs (2)
974
static readonly
Char
[] s_comma = new
Char
[]{','};
SMDiagnostics (2)
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (2)
180
public override void WriteChars(
Char
[] buffer, int index, int count)
207
public override void WriteRaw(
Char
[] buffer, int index, int count)
System (73)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
466
if(
Char
.IsHighSurrogate(value[i])
468
&&
Char
.IsLowSurrogate(value[i+1])){
1297
if(
Char
.IsSurrogate(c)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
482
if(
Char
.IsHighSurrogate(value[i])
484
&&
Char
.IsLowSurrogate(value[i+1])){
compmod\system\codedom\CodeTypeReference.cs (2)
386
while( start < typeName.Length &&
Char
.IsWhiteSpace(typeName[start])) start++;
387
while( end >= 0 &&
Char
.IsWhiteSpace(typeName[end])) end--;
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1936
UnicodeCategory uc =
Char
.GetUnicodeCategory(ch);
compmod\system\componentmodel\MaskedTextProvider.cs (7)
2204
if (
Char
.IsLetter(input))
2206
if (
Char
.IsUpper(input))
2383
if (!
Char
.IsDigit(input) && (input != '-') && (input != '+') && input != spaceChar)
2391
if (!
Char
.IsDigit(input))
2399
if (!
Char
.IsDigit(input) && input != spaceChar)
2407
if (!
Char
.IsLetter(input))
2420
if (!
Char
.IsLetter(input) && input != spaceChar)
net\System\_UncName.cs (2)
74
if (
Char
.IsLetter(name[i]) || name[i] == '-' || name[i] == '_')
108
else if (
Char
.IsLetter(name[i]) || (name[i] >= '0' && name[i] <= '9'))
net\System\IriHelper.cs (3)
30
Debug.Assert(
Char
.IsHighSurrogate(highSurr));
32
if (
Char
.IsSurrogatePair(highSurr, lowSurr))
273
if ((
Char
.IsHighSurrogate(ch)) && (next + 1 < end))
net\System\Net\_Connection.cs (3)
1725
if (
Char
.IsDigit((char)statusLine[bytesParsed])) {
1741
else if (!
Char
.IsWhiteSpace((char) statusLine[bytesParsed])) {
2684
while(i < server.Length &&
Char
.IsDigit(server[i])) {
net\System\Net\_FtpControlStream.cs (4)
1056
if (!
Char
.IsNumber(parsedList[index], 0))
1186
if(!(
Char
.IsDigit(responseString[0]) &&
Char
.IsDigit(responseString[1]) &&
Char
.IsDigit(responseString[2]) && (responseString[3] == ' ' || responseString[3] == '-'))) {
net\System\Net\_HTTPDateParse.cs (1)
85
return(
Char
.ToUpper(c, CultureInfo.InvariantCulture));
net\System\Net\cookie.cs (1)
1036
while ((m_index < m_length) &&
Char
.IsWhiteSpace(m_tokenStream[m_index])) {
net\System\Net\HttpListenerRequest.cs (4)
1235
if ((chPrev == ';' || chPrev == ',' ||
Char
.IsWhiteSpace(chPrev)) && (chNext == '=' ||
Char
.IsWhiteSpace(chNext)))
1246
while (i < l &&
Char
.IsWhiteSpace(headerValue[i]))
1251
while (i < l &&
Char
.IsWhiteSpace(headerValue[i]))
net\System\Net\mail\SmtpDateTime.cs (1)
271
if (!
Char
.IsLetter(value, i))
net\System\Net\SocketPermission.cs (1)
837
else if (!
Char
.IsDigit(hostname[i])) { // Not a digit?
net\System\Net\WebUtility.cs (5)
123
if (encodeConformance == UnicodeEncodingConformance.Strict &&
Char
.IsSurrogate(ch)) {
297
else if (encodeConformance == UnicodeEncodingConformance.Strict &&
Char
.IsSurrogate(ch)) {
618
Debug.Assert(
Char
.IsSurrogate(*pch));
628
if (
Char
.IsSurrogatePair(leadingSurrogate, trailingSurrogate)) {
710
if (c == '&' ||
Char
.IsSurrogate(c)) {
net\System\URI.cs (3)
4474
if (
Char
.IsHighSurrogate(c)){
5210
|| (
Char
.ToLower(path1[i], CultureInfo.InvariantCulture)
5211
!=
Char
.ToLower(path2[i], CultureInfo.InvariantCulture))))
net\System\UriHelper.cs (3)
87
if (
Char
.ToLower(chMe, CultureInfo.InvariantCulture) !=
Char
.ToLower(chShe, CultureInfo.InvariantCulture))
514
bool isHighSurr =
Char
.IsHighSurrogate(unescapedCharsPtr[j]);
regex\system\text\regularexpressions\RegexBoyerMoore.cs (3)
62
sb.Append(
Char
.ToLower(pattern[i], culture));
315
chTest =
Char
.ToLower(chTest, _culture);
341
chTest =
Char
.ToLower(chTest, _culture);
regex\system\text\regularexpressions\RegexCharClass.cs (3)
642
range._first = range._last =
Char
.ToLower(range._first, culture);
910
if (
Char
.IsWhiteSpace(ch))
925
if (!
Char
.IsWhiteSpace(ch))
regex\system\text\regularexpressions\RegexCompiler.cs (2)
165
_chartolowerM = typeof(
Char
).GetMethod("ToLower", new Type[] {typeof(
Char
), typeof(CultureInfo)});
regex\system\text\regularexpressions\RegexInterpreter.cs (4)
235
return(runci ?
Char
.ToLower(ch, runculture) : ch);
262
if (str[--c] !=
Char
.ToLower(runtext[--pos], runculture))
303
if (
Char
.ToLower(runtext[--cmpos], runculture) !=
Char
.ToLower(runtext[--pos], runculture))
regex\system\text\regularexpressions\RegexParser.cs (5)
1090
ch =
Char
.ToLower(ch, _culture);
1888
sb.Append(
Char
.ToLower(str[i], _culture));
1898
ch =
Char
.ToLower(ch, _culture);
1997
ch =
Char
.ToLower(ch, _culture);
2007
ch =
Char
.ToLower(ch, _culture);
security\system\security\cryptography\x509\x509utils.cs (3)
236
if (
Char
.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++;
240
if (!
Char
.IsWhiteSpace(inputBuffer[inputOffset + i])) {
469
if (
Char
.IsDigit(keyValue[i]))
services\monitoring\system\diagnosticts\EventLog.cs (2)
1247
while (i + 1 < formatString.Length &&
Char
.IsDigit(formatString[i + 1])) {
1347
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
439
while ( lasNumIdx < msgLength &&
Char
.IsDigit(msg, lasNumIdx) )
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1484
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
sys\system\runtime\versioning\FrameworkName.cs (3)
20
const
Char
c_componentSeparator = ',';
21
const
Char
c_keyValueSeparator = '=';
22
const
Char
c_versionValuePrefix = 'v';
System.AddIn (1)
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
91
return new TypeInfo(typeof(
Char
));
System.AddIn.Contract (5)
System\Addin\Contract\RemoteArgument.cs (5)
415
public RemoteArgument(System.
Char
value)
423
public RemoteArgument(System.
Char
value, bool isByRef)
901
public System.
Char
CharValue
909
return default(System.
Char
);
915
return (System.
Char
)this._value;
System.ComponentModel.DataAnnotations (4)
DataAnnotations\PhoneAttribute.cs (4)
41
if (
Char
.IsDigit(c)) {
53
if (!(
Char
.IsDigit(c)
54
||
Char
.IsWhiteSpace(c)
128
if (!
Char
.IsDigit(c)) {
System.Configuration (2)
System\Configuration\ClientConfigPaths.cs (1)
41
static
Char
[] s_Base32Char = {
System\Configuration\GenericEnumConverter.cs (1)
51
(
Char
.IsDigit(value[0]) ||
System.Core (2)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
1157
if (
Char
.IsWhiteSpace(c)) {
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
51
case TypeCode.Char: return new PrimitiveParameterExpression<
Char
>(name);
System.Data (87)
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (1)
31
Char
GetChar( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
95
ht.Add( typeof( System.
Char
), ExtendedClrTypeCode.Char );
112
ht.Add( typeof( System.
Char
[] ), ExtendedClrTypeCode.CharArray );
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (1)
142
public virtual
Char
GetChar( int ordinal ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (1)
200
public virtual
Char
GetChar( int ordinal ) {
fx\src\data\System\Data\CodeGen\datacache.cs (1)
50
unc =
Char
.GetUnicodeCategory(ret[i]);
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
28
typeof(
Char
),
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2011
int h = hexDigits.IndexOf(
Char
.ToLower(c[i], invariant));
2012
int l = hexDigits.IndexOf(
Char
.ToLower(c[i+1], invariant));
fx\src\data\System\Data\Common\CharStorage.cs (21)
18
private const
Char
defaultValue = '\0';
20
private
Char
[] values;
23
: base(column, typeof(
Char
), defaultValue, StorageType.Char) {
31
Char
min =
Char
.MaxValue;
45
Char
max =
Char
.MinValue;
70
throw ExprException.Overflow(typeof(
Char
));
76
Char
valueNo1 = values[recordNo1];
77
Char
valueNo2 = values[recordNo2];
99
Char
valueNo1 = values[recordNo];
103
return valueNo1.CompareTo((
Char
)value);
125
Char
value = values[record];
139
Char
ch = ((IConvertible)value).ToChar(FormatProvider);
149
Char
[] newValues = new
Char
[capacity];
162
return XmlConvert.ToString((
Char
) value);
166
return new
Char
[recordCount];
170
Char
[] typedStore = (
Char
[]) store;
176
values = (
Char
[]) store;
fx\src\data\System\Data\Common\DataStorage.cs (1)
75
typeof(
Char
),
fx\src\data\System\Data\Common\DbConnectionOptions.cs (14)
563
while ((0 < count) &&
Char
.IsWhiteSpace(buffer[count-1])) {
573
while ((index < count) &&
Char
.IsWhiteSpace(buffer[index])) {
576
while ((0 < count) &&
Char
.IsWhiteSpace(buffer[count-1])) {
616
if ((';' == currentChar) ||
Char
.IsWhiteSpace(currentChar)) {
620
if (
Char
.IsControl(currentChar)) { throw ADP.ConnectionStringSyntax(startposition); }
633
if (
Char
.IsWhiteSpace(currentChar)) { break; }
634
if (
Char
.IsControl(currentChar)) { throw ADP.ConnectionStringSyntax(startposition); }
646
if (
Char
.IsWhiteSpace(currentChar)) { continue; }
656
if (
Char
.IsControl(currentChar)) { throw ADP.ConnectionStringSyntax(startposition); }
661
if (
Char
.IsWhiteSpace(currentChar)) { break; }
662
if (
Char
.IsControl(currentChar) || ';' == currentChar) { goto ParserExit; }
699
if (
Char
.IsWhiteSpace(currentChar)) { continue; }
706
if (
Char
.IsWhiteSpace(currentChar)) { continue; } // MDAC 83540
780
return ((0 < keyname.Length) && (';' != keyname[0]) && !
Char
.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
fx\src\data\System\Data\Common\MultipartIdentifier.cs (1)
59
return
Char
.IsWhiteSpace (ch);
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
220
else if (valType == typeof(
Char
)){
221
values[recordNo] = BitConverter.GetBytes((
Char
)value);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
498
return ((IConvertible)(
Char
)value).ToString(formatProvider);
745
return XmlConvert.ToString((
Char
) value);
fx\src\data\System\Data\DataColumn.cs (2)
581
if (value == typeof(
Char
))
1321
if (this.dataType == typeof(
Char
))
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
906
else if (dataType == typeof(System.
Char
[])) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (4)
603
override public
Char
GetChar(int i) {
604
return (
Char
)internalGetChar(i);
839
Char
[] rgChars = new
Char
[cbMaxData / 2];
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
618
if (value is
Char
) {
fx\src\data\System\Data\Odbc\OdbcUtils.cs (5)
166
Char
[] rgChars;
376
while((_idx < _len) &&
Char
.IsWhiteSpace(_sqlstatement[_idx])) {
409
if (!
Char
.IsWhiteSpace(currentchar)) {
469
return (
Char
.IsLetterOrDigit(ch) ||
496
while((tempidx < _len) &&
Char
.IsWhiteSpace(_sqlstatement[tempidx])) {
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (1)
638
if ((0 < builder.Length) &&
Char
.IsDigit(builder[0])) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
849
override public
Char
GetChar(int ordinal) {
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
162
internal
Char
ReadChar(int offset) {
fx\src\data\System\Data\SimpleType.cs (1)
359
if ((typeCode == StorageType.Char) && (type == typeof(
Char
))) {
fx\src\data\System\Data\Sql\SqlMetaData.cs (5)
1050
case TypeCode.Char: value = this.Adjust((
Char
)value); break;
1068
else if (dataType == typeof(System.
Char
[]))
1069
value = this.Adjust((System.
Char
[])value);
1176
else if (dataType == typeof(System.
Char
[]))
1178
long maxLen = ((System.
Char
[])value).Length;
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
2638
if (
Char
.IsDigit(sproc[sproc.Length-1])) { // If last char is a digit, parse.
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
1185
else if (type == typeof(
Char
[])) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
502
else if (comVal is System.
Char
)
504
else if (comVal is System.
Char
[])
505
sqlVal = new SqlChars((System.
Char
[])comVal);
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (1)
258
if (
Char
.IsNumber(wchFirst) || ('-' == wchFirst) || ('+' == wchFirst)) {
fx\src\data\System\Data\XDRSchema.cs (1)
220
new NameType("char" , typeof(
Char
) ), /* XDR */
fx\src\data\System\Data\xmlsaver.cs (6)
204
if (type == typeof(
Char
))
2273
if (valuesType == typeof(Type) || valuesType == typeof(Guid)|| valuesType == typeof(
Char
) ||
2644
if (valuesType == typeof(Type) || valuesType == typeof(Guid)|| valuesType == typeof(
Char
) ||
2686
if (!
Char
.IsWhiteSpace(tempValue, i)) {
2783
public override void WriteChars(
Char
[] buffer, int index, int count) {
2787
public override void WriteRaw(
Char
[] buffer, int index, int count) {
fx\src\data\System\Data\XMLSchema.cs (2)
1935
type = typeof(
Char
);
2088
type = typeof(
Char
);
System.Data.Entity (37)
System\Data\Common\EntitySql\AST\QueryParameter.cs (1)
35
if (_name.StartsWith("_", StringComparison.OrdinalIgnoreCase) ||
Char
.IsDigit(_name, 0))
System\Data\Common\EntitySql\CqlLexerHelpers.cs (12)
91
static readonly
Char
[] _newLineCharacters = { '\u000A' , // LF - line feed
197
if (
Char
.IsWhiteSpace(c) ||
Char
.IsControl(c))
211
if (
Char
.IsLetter(c) ||
Char
.IsSymbol(c) ||
Char
.IsNumber(c))
373
Char
lookAheadChar = GetLookAheadChar();
415
private bool IsCanonicalFunctionCall(string symbol,
Char
lookAheadChar)
446
private
Char
GetLookAheadChar()
449
Char
lookAheadChar = yy_advance();
450
while (lookAheadChar != YY_EOF && (
Char
.IsWhiteSpace(lookAheadChar) || IsNewLine(lookAheadChar)))
676
internal static bool IsNewLine(
Char
c)
System\Data\Common\Internal\MultipartIdentifier.cs (1)
45
return
Char
.IsWhiteSpace(ch);
System\Data\Common\Utils\StringUtil.cs (2)
175
if (!
Char
.IsWhiteSpace(value[i]))
196
if (!
Char
.IsWhiteSpace(value[i]))
System\Data\EntityClient\DbConnectionOptions.cs (14)
160
while ((0 < count) &&
Char
.IsWhiteSpace(buffer[count - 1]))
173
while ((index < count) &&
Char
.IsWhiteSpace(buffer[index]))
177
while ((0 < count) &&
Char
.IsWhiteSpace(buffer[count - 1]))
220
if ((';' == currentChar) ||
Char
.IsWhiteSpace(currentChar))
225
if (
Char
.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); }
240
if (
Char
.IsWhiteSpace(currentChar)) { break; }
241
if (
Char
.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); }
253
if (
Char
.IsWhiteSpace(currentChar)) { continue; }
259
if (
Char
.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); }
264
if (
Char
.IsWhiteSpace(currentChar)) { break; }
265
if (
Char
.IsControl(currentChar) || ';' == currentChar) { goto ParserExit; }
291
if (
Char
.IsWhiteSpace(currentChar)) { continue; }
298
if (
Char
.IsWhiteSpace(currentChar)) { continue; } // MDAC 83540
377
return ((0 < keyname.Length) && (';' != keyname[0]) && !
Char
.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
System\Data\EntitySqlException.cs (3)
217
Char
c = commandText[i];
222
else if ((
Char
.IsControl(c) ||
Char
.IsWhiteSpace(c)) && ('\r' != c))
System\Data\Metadata\TypeHelpers.cs (1)
710
if (clrType == typeof(System.
Char
[]))
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
1365
yield return typeof(String).GetMethod("Trim", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(
Char
[]) }, null);
1375
yield return typeof(String).GetMethod("TrimStart", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(
Char
[]) }, null);
1385
yield return typeof(String).GetMethod("TrimEnd", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(
Char
[]) }, null);
System.Data.Entity.Design (2)
System\Data\Entity\Design\Common\MetadataUtil.cs (2)
107
if (!
Char
.IsWhiteSpace(value[i]))
128
if (!
Char
.IsWhiteSpace(value[i]))
System.Data.Services (21)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
820
if ((127 < (int)c) ||
Char
.IsWhiteSpace(c) ||
Char
.IsControl(c))
System\Data\Services\HttpProcessUtility.cs (1)
563
while (textIndex < text.Length &&
Char
.IsWhiteSpace(text, textIndex))
System\Data\Services\Parsing\ExpressionLexer.cs (11)
116
while (
Char
.IsWhiteSpace(this.ch))
139
if (hasNext &&
Char
.IsDigit(this.text[this.textPos + 1]))
217
if (
Char
.IsLetter(this.ch) || this.ch == '_')
224
if (
Char
.IsDigit(this.ch))
474
Debug.Assert(
Char
.IsDigit(this.ch), "Char.IsDigit(this.ch)");
490
while (
Char
.IsDigit(this.ch))
505
while (
Char
.IsDigit(this.ch));
522
while (
Char
.IsDigit(this.ch));
554
Debug.Assert(
Char
.IsLetter(this.ch) || this.ch == '_', "Char.IsLetter(this.ch) || this.ch == '_'");
559
while (
Char
.IsLetterOrDigit(this.ch) || this.ch == '_');
573
if (!
Char
.IsDigit(this.ch))
System\Data\Services\Serializers\JsonReader.cs (4)
99
else if (
Char
.IsDigit(ch) || (ch == '-') || (ch == '.'))
191
while ((ch != '\0') &&
Char
.IsWhiteSpace(ch))
288
if ((ch == '_') ||
Char
.IsLetterOrDigit(ch) || ch == '$')
332
if (
Char
.IsDigit(ch) || (ch == '.') || (ch == 'E') || (ch == 'e') || (ch == '-') || (ch == '+'))
System\Data\Services\WebUtil.cs (3)
1155
(
Char
.IsWhiteSpace(elementValue, 0) ||
1156
Char
.IsWhiteSpace(elementValue, elementValue.Length - 1)))
1656
if (!
Char
.IsWhiteSpace(c))
System.Data.Services.Client (8)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
563
while (textIndex < text.Length &&
Char
.IsWhiteSpace(text, textIndex))
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
806
if (!
Char
.IsDigit(c))
System\Data\Services\Client\BatchStream.cs (2)
820
if ((127 < (int)c) ||
Char
.IsWhiteSpace(c) ||
Char
.IsControl(c))
System\Data\Services\Client\ClientConvert.cs (2)
466
types[(int)StorageType.Char] = typeof(
Char
);
467
types[(int)StorageType.CharArray] = typeof(
Char
[]);
System\Data\Services\Client\DataServiceContext.cs (2)
2502
if (
Char
.IsWhiteSpace(convertedValue[0]) ||
2503
Char
.IsWhiteSpace(convertedValue[convertedValue.Length - 1]))
System.Data.Services.Design (4)
System\Data\Common\Utils\StringUtil.cs (2)
36
if (!
Char
.IsWhiteSpace(value[i]))
56
if (!
Char
.IsWhiteSpace(value[i]))
System\Data\EntityModel\DataServiceBuildProvider.cs (2)
246
if (i == 0 &&
Char
.IsDigit(typeName[0]))
249
if (
Char
.IsLetterOrDigit(typeName[i]))
System.Drawing (4)
commonui\System\Drawing\Advanced\ColorTranslator.cs (3)
245
string r =
Char
.ToString(htmlColor[1]);
246
string g =
Char
.ToString(htmlColor[2]);
247
string b =
Char
.ToString(htmlColor[3]);
commonui\System\Drawing\FontConverter.cs (1)
466
if (
Char
.IsLetter(text[splitPoint])) {
System.IdentityModel (1)
System\IdentityModel\SecurityUtils.cs (1)
585
static int ConvertHexDigit(
Char
val)
System.Management (21)
Instrumentation\SchemaMapping.cs (2)
400
else if(t2 == typeof(Int16) || t2 == typeof(UInt16) || t2 == typeof(
Char
))
540
else if(t2 == typeof(
Char
))
managementquery.cs (5)
1080
if ((0 == q.Length) || !
Char
.IsWhiteSpace (q[0]))
1654
if ((0 == q.Length) || !
Char
.IsWhiteSpace (q[0]))
1690
if ((0 == q.Length) || !
Char
.IsWhiteSpace (q[0]))
2169
if ((0 == q.Length) || !
Char
.IsWhiteSpace (q[0]))
2205
if ((0 == q.Length) || !
Char
.IsWhiteSpace (q[0]))
property.cs (10)
321
val = new
Char
[length];
324
((
Char
[])val) [i] = (
Char
)((Int16)(wmiValueArray.GetValue(i)));
364
val = (
Char
)((Int16)wmiValue);
488
((Int16[])(wmiValue))[i] = (Int16)Convert.ToChar(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.
Char
)));
579
wmiValue = (Int16)Convert.ToChar(val,(IFormatProvider)culInfo.GetFormat(typeof(System.
Char
)));
723
else if (elementType == typeof(System.
Char
))
731
((short[])wmiValue) [i] = ((IConvertible)((System.
Char
)(arrayValue[i]))).ToInt16(null);
825
else if (valueType == typeof(System.
Char
))
828
wmiValue = ((IConvertible)((System.
Char
)val)).ToInt16(null);
WmiGenerator.cs (4)
909
if(
Char
.IsLetter(strClass[0]) == false)
1169
if (
Char
.IsLetterOrDigit(strPropTemp[i]) == true)
4845
if (
Char
.IsLetter(arrString[0]) == false)
4854
if (
Char
.IsLetterOrDigit(arrString[i]) == false)
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
312
byte[] bytes = BitConverter.GetBytes((
Char
)obj);
System.Runtime.Remoting (7)
channels\http\httpstreams.cs (1)
573
if (
Char
.IsLetter((char)b) ||
metadata\sudscommon.cs (1)
78
internal static Type typeofChar = typeof(
Char
);
metadata\wsdlparser.cs (4)
2482
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
6415
Char
[] outChar = new
Char
[value.Length];
6418
if (
Char
.IsDigit(value[i]))
metadata\wsdlwriter.cs (1)
816
private static Type s_charType = typeof(System.
Char
);
System.Runtime.Serialization (8)
System\Runtime\Serialization\CodeExporter.cs (2)
1587
return (
Char
.GetUnicodeCategory(c) != UnicodeCategory.DecimalDigitNumber);
1592
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
System\Runtime\Serialization\DataContract.cs (1)
736
type = typeof(
Char
);
System\Runtime\Serialization\Json\XmlJsonReader.cs (2)
1279
if (
Char
.IsHighSurrogate((char)charValue))
1290
if (!
Char
.IsLowSurrogate(lowChar))
System\Runtime\Serialization\XmlSerializableWriter.cs (2)
86
public override void WriteChars(
Char
[] buffer, int index, int count) { xmlWriter.WriteChars(buffer, index, count); }
87
public override void WriteRaw(
Char
[] buffer, int index, int count) { xmlWriter.WriteRaw(buffer, index, count); }
System\Xml\EncodingStreamWrapper.cs (1)
447
if (key[i] !=
Char
.ToLower((char)buffer[offset + i], System.Globalization.CultureInfo.InvariantCulture))
System.Security (6)
system\security\cryptography\xml\transform.cs (4)
607
while ((j < bytesRead) && (!
Char
.IsWhiteSpace((char) buffer[j]))) j++;
610
if (!
Char
.IsWhiteSpace((char) buffer[j])) {
634
while ((j <buffer.Length) && (!
Char
.IsWhiteSpace((char) buffer[j]))) j++;
637
if (!
Char
.IsWhiteSpace((char) buffer[j])) {
system\security\cryptography\xml\utils.cs (2)
134
if (
Char
.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++;
138
if (!
Char
.IsWhiteSpace(inputBuffer[inputOffset + i])) {
System.ServiceModel (7)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
938
Char
.IsUpper(interfaceName, 1))
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (2)
62
return (
Char
.GetUnicodeCategory(c) != UnicodeCategory.DecimalDigitNumber);
67
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
305
byte[] bytes = BitConverter.GetBytes((
Char
)obj);
System\ServiceModel\Security\XmlHelper.cs (3)
313
if ((!
Char
.IsLetter(idPrefix[0]) && idPrefix[0] != '_'))
321
if (!
Char
.IsLetter(c) && !
Char
.IsNumber(c) && c != '.' && c != '_' && c != '-')
System.ServiceModel.Internals (2)
System\Runtime\TypeHelper.cs (2)
513
Char
charSource = (
Char
)source;
System.ServiceModel.Web (5)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
226
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
251
return (
Char
.GetUnicodeCategory(c) != UnicodeCategory.DecimalDigitNumber);
System\ServiceModel\Dispatcher\QueryStringConverter.cs (2)
41
this.defaultSupportedQueryStringTypes.Add(typeof(
Char
), null);
107
return parameter == null ? default(
Char
) : XmlConvert.ToChar(parameter);
System\ServiceModel\Web\HttpDateParse.cs (1)
87
return (
Char
.ToUpper(c, CultureInfo.InvariantCulture));
System.Transactions (2)
System\Transactions\Trace\PlainXmlWriter.cs (2)
194
public override void WriteChars(
Char
[] buffer, int index, int count)
205
public override void WriteRaw(
Char
[] buffer, int index, int count)
System.Web (45)
Configuration\BrowserDefinition.cs (3)
55
if(
Char
.IsDigit(s[0])) {
58
else if(
Char
.IsLetter(s[0])) {
64
if (
Char
.IsLetterOrDigit(s[i]) || s[i] == '_') {
Configuration\IISMapPath.cs (1)
52
if (!
Char
.IsDigit(siteName[i])) {
Hosting\ApplicationManager.cs (1)
1330
if (!
Char
.IsWhiteSpace(publicKey[i])) {
HttpRequest.cs (4)
850
if ((chPrev == ';' || chPrev == ',' ||
Char
.IsWhiteSpace(chPrev)) && (chNext == '=' ||
Char
.IsWhiteSpace(chNext)))
861
while (i < l &&
Char
.IsWhiteSpace(headerValue[i]))
866
while (i < l &&
Char
.IsWhiteSpace(headerValue[i]))
Management\EventlogProvider.cs (2)
273
if (s[i] == '%' &&
Char
.IsDigit(s[i+1])) {
283
if (s[i] == '%' &&
Char
.IsDigit(s[i+1])) {
ModelBinding\ModelBinderUtil.cs (1)
74
if (!
Char
.IsWhiteSpace(s[i])) {
Security\AntiXss\UnicodeCharacterEncoder.cs (1)
258
if (currentCodePoint >
Char
.MaxValue) {
Security\AntiXss\Utf16StringReader.cs (4)
68
Debug.Assert(
Char
.IsHighSurrogate(leadingSurrogate), "'leadingSurrogate' was not a high surrogate.");
69
Debug.Assert(
Char
.IsLowSurrogate(trailingSurrogate), "'trailingSurrogate' was not a low surrogate.");
100
if (
Char
.IsHighSurrogate(thisCodeUnit)) {
103
if (
Char
.IsLowSurrogate(nextCodeUnit)) {
Security\Membership.cs (1)
354
while( !
Char
.IsLetterOrDigit( cBuf[k] ) );
Security\MembershipPasswordAttribute.cs (1)
185
int nonAlphanumericCharacters = valueAsString.Count(c => !
Char
.IsLetterOrDigit(c));
State\SessionStateItemCollection.cs (1)
169
t=typeof(
Char
);
UI\ClientScriptManager.cs (1)
925
while ((index >= 0) &&
Char
.IsWhiteSpace(script, index)) {
UI\DataBinder.cs (1)
237
if (
Char
.IsDigit(index[0])) {
UI\HTMLTextWriter.cs (1)
1308
Write(HttpUtility.UrlEncodeNonAscii(
Char
.ToString(ch), Encoding.UTF8));
UI\TemplateParser.cs (2)
2514
for (int i = 0; i < code.Length &&
Char
.IsWhiteSpace(code[i]); i++) {
2536
for (int i = code.Length - 1; i >= 0 &&
Char
.IsWhiteSpace(code[i]); i--) {
UI\Util.cs (5)
965
if (
Char
.IsDigit(value[0]) || value[0] == '-' || ((!allowMultiple) && (value.IndexOf(',') >= 0)))
997
if (
Char
.IsWhiteSpace(s[i]))
1009
if (!
Char
.IsWhiteSpace(s[i]))
1055
if (i == 0 &&
Char
.IsDigit(s[0]))
1058
if (
Char
.IsLetterOrDigit(s[i]))
UI\WebControls\FontUnit.cs (1)
161
char firstChar =
Char
.ToLower(value[0], CultureInfo.InvariantCulture);
UI\WebControls\TreeView.cs (1)
2321
if (!
Char
.IsDigit(s[i])) {
Util\altserialization.cs (1)
80
else if (value is
Char
) {
Util\FileUtil.cs (1)
324
private static
Char
[] _invalidFileNameChars = Path.GetInvalidFileNameChars();
Util\ParseHttpDate.cs (3)
117
} else if ( ((
Char
.ToUpper(s[0 + startIndex], CultureInfo.InvariantCulture)) == monthString[0]) &&
118
((
Char
.ToLower(s[1 + startIndex], CultureInfo.InvariantCulture)) == monthString[1]) &&
119
((
Char
.ToLower(s[2 + startIndex], CultureInfo.InvariantCulture)) == monthString[2]) ) {
Util\SymbolEqualComparer.cs (4)
53
UnicodeCategory catLeft =
Char
.GetUnicodeCategory(charLeft);
54
UnicodeCategory catRight =
Char
.GetUnicodeCategory(charRight);
57
if (
Char
.ToLower(charLeft, CultureInfo.InvariantCulture) == charRight) {
62
if (
Char
.ToLower(charRight, CultureInfo.InvariantCulture) == charLeft) {
Util\Utf16StringValidator.cs (4)
32
if (
Char
.IsSurrogate(input[i])) {
50
if (
Char
.IsLowSurrogate(thisChar)) {
55
if (
Char
.IsHighSurrogate(thisChar)) {
58
if (i + 1 < chars.Length &&
Char
.IsLowSurrogate(chars[i + 1])) {
System.Web.DataVisualization (5)
Common\DataManager\DataPoint.cs (3)
188
Char
.IsDigit(sortBy[1]))
1245
if(!
Char
.IsNumber(fieldName, 0))
1463
if(!
Char
.IsNumber(field, 0))
WebForm\ChartWebControl.cs (2)
779
foreach (
Char
c in str)
781
if(!
Char
.IsDigit(c))
System.Web.DynamicData (1)
DynamicData\DataSourceUtil.cs (1)
33
typeNameToTypeCode[typeof(
Char
)] = TypeCode.Char;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
325
return typeof(
Char
);
System.Web.Extensions (26)
Compilation\WCFBuildProvider.cs (2)
506
if (i == 0 &&
Char
.IsDigit(typeName[0]))
509
if (
Char
.IsLetterOrDigit(typeName[i]))
Compilation\WCFModel\ExternalFile.cs (1)
139
if (fileName.IndexOfAny(Path.GetInvalidFileNameChars()) >= 0 || fileName.IndexOfAny(new
Char
[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar, Path.VolumeSeparatorChar }) >= 0)
Script\Serialization\JavaScriptObjectDeserializer.cs (12)
52
Nullable<
Char
> c = _s.GetNextNonEmptyChar();
85
Nullable<
Char
> c = _s.MoveNext();
119
Nullable<
Char
> c = _s.MoveNext();
191
Nullable<
Char
> c = _s.GetNextNonEmptyChar();
272
Nullable<
Char
> c = null;
274
if (
Char
.IsLetterOrDigit(c.Value) || c.Value == '.' ||
292
Nullable<
Char
> c = _s.MoveNext();
295
Char
quoteChar = CheckQuoteChar(c);
353
Char
quoteChar = '"';
389
private static bool IsNextElementArray(Nullable<
Char
> c) {
403
private static bool IsNextElementObject(Nullable<
Char
> c) {
407
private static bool IsNextElementString(Nullable<
Char
> c) {
Script\Serialization\JavaScriptSerializer.cs (1)
415
if (o is
Char
) {
Script\Serialization\JavaScriptString.cs (1)
24
if (!
Char
.IsWhiteSpace(c)) {
UI\WebControls\Dynamic.cs (9)
601
typeof(
Char
),
1819
while (
Char
.IsWhiteSpace(ch)) NextChar();
1959
if (
Char
.IsDigit(ch)) {
1963
} while (
Char
.IsDigit(ch));
1970
} while (
Char
.IsDigit(ch));
1979
} while (
Char
.IsDigit(ch));
2004
return (1 << (int)
Char
.GetUnicodeCategory(ch) & mask) != 0;
2021
return (1 << (int)
Char
.GetUnicodeCategory(ch) & mask) != 0;
2036
if (!
Char
.IsDigit(ch)) throw ParseError(textPos, AtlasWeb.ExpressionParser_DigitExpected);
System.Web.Mobile (26)
UI\MobileControls\Adapters\ChtmlImageAdapter.cs (1)
53
writer.Write(
Char
.ToUpper(symbolChars[0], CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\EmptyTextWriter.cs (2)
344
if (c != '\r' && c != '\n' && !
Char
.IsWhiteSpace(c))
373
if (c != '\r' && c != '\n' && !
Char
.IsWhiteSpace(c))
UI\MobileControls\Adapters\HtmlLabelAdapter.cs (1)
53
if(!
Char
.IsWhiteSpace(c))
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (3)
116
Char
c = filePathSuffix[_filePathSuffixLength - 1];
117
if (
Char
.IsDigit(c))
119
_sessionCount = (int)
Char
.GetNumericValue(c);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (3)
764
public override void WriteLine(
Char
[] buffer, Int32 index, Int32 count) {
774
public override void WriteLine(
Char
[] v) {
784
public override void WriteLine(
Char
v) {
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (1)
283
if (
Char
.IsWhiteSpace(text[i]))
UI\MobileControls\DeviceSpecificChoice.cs (2)
263
Char
.ToLower(name[0], CultureInfo.InvariantCulture) == 'o' &&
264
Char
.ToLower(name[1], CultureInfo.InvariantCulture) == 'n')
UI\MobileControls\LiteralText.cs (4)
92
if (c == '.' &&
Char
.IsWhiteSpace((char)lastChar))
101
else if (foundSpace < 0 &&
Char
.IsWhiteSpace(c)) // check performance of this
141
while (start < stop &&
Char
.IsWhiteSpace(text[start]) )
149
while (
Char
.IsWhiteSpace(text[stop - 1]) && stop > start)
UI\MobileControls\LiteralTextParser.cs (5)
169
if (!
Char
.IsWhiteSpace(c) &&
300
!
Char
.IsWhiteSpace(literalText[tagNameFinish]) && literalText[tagNameFinish] != '/')
453
if (
Char
.IsWhiteSpace(c))
479
if (c == '=' ||
Char
.IsWhiteSpace(c))
530
((
Char
.IsWhiteSpace(c) || c == '\0') && quoteChar == '\0'))
UI\MobileControls\MobileControl.cs (2)
956
else if (!
Char
.IsWhiteSpace(c))
969
else if (!
Char
.IsWhiteSpace(c))
UI\MobileControls\TextView.cs (2)
235
if (
Char
.IsWhiteSpace(c) ||
Char
.IsPunctuation(c))
System.Windows.Forms (24)
winforms\Managed\System\Resources\ResXFileRef.cs (2)
135
if ((path1[i] != path2[i]) && (compareCase || (
Char
.ToLower(path1[i], CultureInfo.InvariantCulture) !=
Char
.ToLower(path2[i], CultureInfo.InvariantCulture))))
winforms\Managed\System\WinForms\AxHost.cs (1)
2116
msg.wParam = (IntPtr)
Char
.ToUpper(charCode, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\Control.cs (4)
7696
char c2 =
Char
.ToUpper(charCode, CultureInfo.CurrentCulture);
7703
char c1 =
Char
.ToUpper(text[pos], CultureInfo.CurrentCulture);
7705
if (c1 == c2 ||
Char
.ToLower(c1, CultureInfo.CurrentCulture) ==
Char
.ToLower(c2, CultureInfo.CurrentCulture)) {
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
416
UnicodeCategory uc =
Char
.GetUnicodeCategory(character[0]);
winforms\Managed\System\WinForms\Menu.cs (2)
634
char menuKey =
Char
.ToUpper((char) NativeMethods.Util.LOWORD(m.WParam), CultureInfo.CurrentCulture);
671
Char
.ToUpper(mi.Text[0], CultureInfo.CurrentCulture) == key;
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
531
if (
Char
.IsDigit(e.KeyChar)) {
winforms\Managed\System\WinForms\SendKeys.cs (5)
427
&& !
Char
.IsWhiteSpace(keys[j])) {
441
if (
Char
.IsWhiteSpace(keys[j])) {
443
while (j < keysLen &&
Char
.IsWhiteSpace(keys[j])) {
451
if (
Char
.IsDigit(keys[j])) {
453
while (j < keysLen &&
Char
.IsDigit(keys[j])) {
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (1)
201
while (
Char
.IsLetter(styleString[nextIndex])) {
winforms\Managed\System\WinForms\ToolStrip.cs (4)
2759
char charToCompare =
Char
.ToUpper(charCode, CultureInfo.CurrentCulture);
2760
char firstLetter =
Char
.ToUpper(text[0], CultureInfo.CurrentCulture);
2761
if (firstLetter == charToCompare ||(
Char
.ToLower(charCode, CultureInfo.CurrentCulture) ==
Char
.ToLower(text[0], CultureInfo.CurrentCulture)) ) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
394
msg.wParam = (IntPtr)
Char
.ToUpper(charCode, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
274
mnemonic =
Char
.ToUpper(text[i+1], CultureInfo.CurrentCulture);
277
mnemonic =
Char
.ToLower(text[i+1], CultureInfo.CurrentCulture);
System.Windows.Forms.DataVisualization (3)
Common\DataManager\DataPoint.cs (3)
188
Char
.IsDigit(sortBy[1]))
1245
if(!
Char
.IsNumber(fieldName, 0))
1463
if(!
Char
.IsNumber(field, 0))
System.Workflow.Activities (5)
Common\CompModHelpers.cs (3)
391
if (
Char
.IsUpper(baseIdentifier[i]) && (i == 0 || i == baseIdentifier.Length - 1 ||
Char
.IsUpper(baseIdentifier[i + 1])))
393
b.Append(
Char
.ToLowerInvariant(baseIdentifier[i]));
LocalService\CorrelationResolver.cs (2)
164
string[] split = locationPath.Split(new
Char
[] { '.' });
367
string[] split = location.Split(new
Char
[] { '.' });
System.Workflow.ComponentModel (9)
AuthoringOM\Bind.cs (1)
1771
private const char NullChar =
Char
.MinValue;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
2667
Char
quoteChar = '\'';
2688
if (!nonWhitespaceFound && !
Char
.IsWhiteSpace(args[i]))
2780
else if (list.Count == 0 || list[list.Count - 1] is
Char
)
2804
else if (list.Count > 0 && (list[list.Count - 1] is
Char
))
2834
if (!
Char
.IsWhiteSpace(args[i]))
Shared\CompModHelpers.cs (3)
389
if (
Char
.IsUpper(baseIdentifier[i]) && (i == 0 || i == baseIdentifier.Length - 1 ||
Char
.IsUpper(baseIdentifier[i + 1])))
391
b.Append(
Char
.ToLowerInvariant(baseIdentifier[i]));
System.WorkflowServices (1)
System\Workflow\Activities\ValidationHelper.cs (1)
34
UnicodeCategory uc =
Char
.GetUnicodeCategory(ch);
System.Xml (15)
System\Xml\Core\XmlTextWriter.cs (2)
740
public override void WriteChars(
Char
[] buffer, int index, int count) {
752
public override void WriteRaw(
Char
[] buffer, int index, int count) {
System\Xml\Core\XmlWellFormedWriter.cs (2)
854
if (
Char
.IsSurrogate(ch)) {
874
if (!
Char
.IsSurrogatePair(highChar, lowChar)) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
705
if (
Char
.IsSurrogate(ch)) {
725
if (!
Char
.IsSurrogatePair(highChar, lowChar)) {
System\Xml\Serialization\CodeIdentifier.cs (2)
96
if (
Char
.GetUnicodeCategory(c) == UnicodeCategory.DecimalDigitNumber)
102
UnicodeCategory uc =
Char
.GetUnicodeCategory(c);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
175
WriteElementString(@"char", @"", FromChar(((System.
Char
)o)));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2131
new Type[] { typeof(
Char
[]) },
System\Xml\Serialization\XmlSerializationWriter.cs (1)
487
if (!
Char
.IsDigit(name, j)) {
System\Xml\XmlConvert.cs (4)
636
public static string ToString(
Char
value) {
844
public static
Char
ToChar (string s) {
855
internal static Exception TryToChar(string s, out
Char
result) {
856
if (!
Char
.TryParse(s, out result)) {
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
2470
return string.Format(CultureInfo.CurrentCulture, "{0}{1}{2}", sCanonicalsKeyword, menuText.Substring(pos + cKeyChars + 1, cMenuChars - (pos + cKeyChars + 2)),
Char
.ToUpper(menuText[cMenuChars - 1], CultureInfo.InvariantCulture));
2491
for (pos = cChars - 1; pos > 0 && cChars - pos <= 2 &&
Char
.IsDigit (menuText [pos]); pos--)
WindowsBase (19)
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (2)
367
if (
Char
.IsWhiteSpace(backSlashPath[0]) ||
368
Char
.IsWhiteSpace(backSlashPath[backSlashPath.Length - 1]))
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (2)
391
if (
Char
.ToUpperInvariant(input[position]) !=
Char
.ToUpperInvariant(query[queryPosition]))
Base\System\Windows\Input\KeyConverter.cs (5)
128
return
Char
.ToString((char)(int)(key - Key.D0 + '0'));
133
return
Char
.ToString((char)(int)(key - Key.A + 'A'));
154
if (keyToken.Length == 1 &&
Char
.IsLetterOrDigit(keyToken[0]))
156
if (
Char
.IsDigit(keyToken[0]) && (keyToken[0] >= '0' && keyToken[0] <= '9'))
160
else if (
Char
.IsLetter(keyToken[0]) && (keyToken[0] >= 'A' && keyToken[0] <= 'Z'))
Base\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (1)
115
uc =
Char
.GetUnicodeCategory(name[i]);
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
221
else if (typeof(
Char
).IsAssignableFrom(type))
305
else if (type == typeof(
Char
))
405
else if (typeof(
Char
).IsAssignableFrom(type))
Shared\MS\Internal\TokenizerHelper.cs (5)
105
if (!
Char
.IsWhiteSpace(_str, _charIndex))
201
Debug.Assert(!
Char
.IsWhiteSpace(currentChar),"Token started on Whitespace");
242
else if ((
Char
.IsWhiteSpace(currentChar)) || (currentChar == separator))
288
!
Char
.IsWhiteSpace(currentChar))
312
else if (
Char
.IsWhiteSpace(currentChar))
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
50
string[] nameFrags = typeName.Split(new
Char
[] { ',' }, 2);