206 references to IsWhiteSpace
mscorlib (32)
system\boolean.cs (2)
210
if (!Char.
IsWhiteSpace
(value[start]) && value[start] != nullChar) {
217
if (!Char.
IsWhiteSpace
(value[end]) && value[end] != nullChar) {
system\globalization\datetimeformatinfo.cs (2)
2896
if (Char.
IsWhiteSpace
(str[0]) || Char.
IsWhiteSpace
(str[str.Length - 1])) {
system\globalization\datetimeformatinfoscanner.cs (3)
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 (13)
574
while (Char.
IsWhiteSpace
(nextCh) && str.Index + whitespaceCount < str.len - 1) {
1157
else if ((!Char.
IsWhiteSpace
(ch))) {
4493
} else if (Char.
IsWhiteSpace
( m_current)) {
4497
if (!(Char.
IsWhiteSpace
(m_current))) {
4575
if (!Char.
IsWhiteSpace
(Value[thisPosition + segmentLength])) {
4589
while (thisPosition < Value.Length && Char.
IsWhiteSpace
(Value[thisPosition])) {
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])) {
system\guid.cs (1)
872
if(!Char.
IsWhiteSpace
(curChar))
system\resources\resourcemanager.cs (1)
950
while(Char.
IsWhiteSpace
(asmTypeName1[++comma]));
system\runtime\remoting\soapinteroptypes.cs (2)
1680
if (Char.
IsWhiteSpace
(value[0]) || Char.
IsWhiteSpace
(value[value.Length - 1]))
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\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;
PresentationBuildTasks (16)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1105
while (!Char.
IsWhiteSpace
(ch)
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
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\MarkupExtensionParser.cs (4)
378
if (Char.
IsWhiteSpace
(attrValue[i]))
990
if (!nonWhitespaceFound && !Char.
IsWhiteSpace
(args[i]))
1206
Debug.Assert(!Char.
IsWhiteSpace
(sb[0]));
1209
while(Char.
IsWhiteSpace
(sb[i]))
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
818
if (!Char.
IsWhiteSpace
(attribValue[i]))
3846
(Char.
IsWhiteSpace
(keyString[0]) ||
3847
Char.
IsWhiteSpace
(keyString[keyString.Length-1])))
Shared\MS\Internal\TokenizerHelper.cs (4)
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))
PresentationCore (7)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
631
while (i < length && char.
IsWhiteSpace
(s[i]))
Core\CSharp\MS\Internal\FontFace\FontFamilyIdentifier.cs (2)
315
while (i < length && char.
IsWhiteSpace
(friendlyName[i]))
347
while (end > begin && char.
IsWhiteSpace
(friendlyName[end - 1]))
Core\CSharp\System\Windows\Markup\XamlSerializerUtil.cs (1)
56
if (!Char.
IsWhiteSpace
(s[i]))
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
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\TextDecorationCollectionConverter.cs (1)
262
for (; index < input.Length && Char.
IsWhiteSpace
(input[index]); index++) ;
PresentationFramework (25)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
735
if (Char.
IsWhiteSpace
(rawString[i]) == false)
src\Framework\MS\Internal\Data\PathParser.cs (3)
106
if (Char.
IsWhiteSpace
(c))
282
else if (Char.
IsWhiteSpace
(c))
330
else if (Char.
IsWhiteSpace
(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\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\TextEditorSpelling.cs (2)
73
else if (Char.
IsWhiteSpace
(character))
324
if (!Char.
IsWhiteSpace
(character))
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
891
if (Char.
IsWhiteSpace
(separatorChar) ||
src\Framework\System\windows\Documents\TextSelection.cs (2)
508
Char.
IsWhiteSpace
(charBuffer[0]))
521
!Char.
IsWhiteSpace
(charBuffer[0])))
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1035
if (!Char.
IsWhiteSpace
(value[i]))
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
378
if (Char.
IsWhiteSpace
(attrValue[i]))
990
if (!nonWhitespaceFound && !Char.
IsWhiteSpace
(args[i]))
1206
Debug.Assert(!Char.
IsWhiteSpace
(sb[0]));
1209
while(Char.
IsWhiteSpace
(sb[i]))
src\Framework\System\Windows\Markup\XamlSerializerUtil.cs (1)
55
if (!Char.
IsWhiteSpace
(s[i]))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
818
if (!Char.
IsWhiteSpace
(attribValue[i]))
3846
(Char.
IsWhiteSpace
(keyString[0]) ||
3847
Char.
IsWhiteSpace
(keyString[keyString.Length-1])))
System (13)
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--;
net\System\Net\_Connection.cs (1)
1741
else if (!Char.
IsWhiteSpace
((char) statusLine[bytesParsed])) {
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\WinHttpWebProxyFinder.cs (1)
314
if (!char.
IsWhiteSpace
(c))
regex\system\text\regularexpressions\RegexCharClass.cs (2)
910
if (Char.
IsWhiteSpace
(ch))
925
if (!Char.
IsWhiteSpace
(ch))
security\system\security\cryptography\x509\x509utils.cs (2)
236
if (Char.
IsWhiteSpace
(inputBuffer[inputOffset + i])) iCount++;
240
if (!Char.
IsWhiteSpace
(inputBuffer[inputOffset + i])) {
System.Activities (2)
System\Activities\WorkflowIdentity.cs (2)
251
(char.
IsWhiteSpace
(value[0]) || char.
IsWhiteSpace
(value[value.Length - 1]));
System.ComponentModel.DataAnnotations (1)
DataAnnotations\PhoneAttribute.cs (1)
54
|| Char.
IsWhiteSpace
(c)
System.Core (1)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
1157
if (Char.
IsWhiteSpace
(c)) {
System.Data (14)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (10)
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)) {
633
if (Char.
IsWhiteSpace
(currentChar)) { break; }
646
if (Char.
IsWhiteSpace
(currentChar)) { continue; }
661
if (Char.
IsWhiteSpace
(currentChar)) { break; }
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\Odbc\OdbcUtils.cs (3)
376
while((_idx < _len) && Char.
IsWhiteSpace
(_sqlstatement[_idx])) {
409
if (!Char.
IsWhiteSpace
(currentchar)) {
496
while((tempidx < _len) && Char.
IsWhiteSpace
(_sqlstatement[tempidx])) {
System.Data.Entity (16)
System\Data\Common\EntitySql\CqlLexerHelpers.cs (2)
197
if (Char.
IsWhiteSpace
(c) || Char.IsControl(c))
450
while (lookAheadChar != YY_EOF && (Char.
IsWhiteSpace
(lookAheadChar) || IsNewLine(lookAheadChar)))
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 (10)
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))
240
if (Char.
IsWhiteSpace
(currentChar)) { break; }
253
if (Char.
IsWhiteSpace
(currentChar)) { continue; }
264
if (Char.
IsWhiteSpace
(currentChar)) { break; }
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 (1)
222
else if ((Char.IsControl(c) || Char.
IsWhiteSpace
(c)) && ('\r' != c))
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\MetadataUtil.cs (2)
107
if (!Char.
IsWhiteSpace
(value[i]))
128
if (!Char.
IsWhiteSpace
(value[i]))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
648
if ( (index == 0 || char.IsWhiteSpace(line, index-1)) && (indexAfter == line.Length || (ch=line[indexAfter]) == '(' || char.
IsWhiteSpace
(ch)) )
System.Data.Services (4)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
820
if ((127 < (int)c) || Char.
IsWhiteSpace
(c) || Char.IsControl(c))
System\Data\Services\Parsing\ExpressionLexer.cs (1)
116
while (Char.
IsWhiteSpace
(this.ch))
System\Data\Services\Serializers\JsonReader.cs (1)
191
while ((ch != '\0') && Char.
IsWhiteSpace
(ch))
System\Data\Services\WebUtil.cs (1)
1656
if (!Char.
IsWhiteSpace
(c))
System.Data.Services.Client (3)
System\Data\Services\Client\BatchStream.cs (1)
820
if ((127 < (int)c) || Char.
IsWhiteSpace
(c) || Char.IsControl(c))
System\Data\Services\Client\DataServiceContext.cs (2)
2502
if (Char.
IsWhiteSpace
(convertedValue[0]) ||
2503
Char.
IsWhiteSpace
(convertedValue[convertedValue.Length - 1]))
System.Data.Services.Design (3)
System\Data\Common\Utils\StringUtil.cs (2)
36
if (!Char.
IsWhiteSpace
(value[i]))
56
if (!Char.
IsWhiteSpace
(value[i]))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
644
if ( (index == 0 || char.IsWhiteSpace(line, index-1)) && (indexAfter == line.Length || (ch=line[indexAfter]) == '(' || char.
IsWhiteSpace
(ch)) )
System.Management (5)
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]))
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 (2)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
420
if (!char.
IsWhiteSpace
(stringBuilder[i]))
438
if (char.
IsWhiteSpace
(builder[index]))
System.ServiceModel.Web (2)
System\ServiceModel\Web\Utility.cs (2)
116
while (char.
IsWhiteSpace
(str[startIndex]) || str[startIndex] == ',')
145
while (char.
IsWhiteSpace
(str[endIndex - 1]))
System.Web (10)
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]))
ModelBinding\ModelBinderUtil.cs (1)
74
if (!Char.
IsWhiteSpace
(s[i])) {
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 (2)
997
if (Char.
IsWhiteSpace
(s[i]))
1009
if (!Char.
IsWhiteSpace
(s[i]))
System.Web.Extensions (2)
Script\Serialization\JavaScriptString.cs (1)
24
if (!Char.
IsWhiteSpace
(c)) {
UI\WebControls\Dynamic.cs (1)
1819
while (Char.
IsWhiteSpace
(ch)) NextChar();
System.Web.Mobile (16)
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\Design\Adapters\DesignerTextViewAdapter.cs (1)
283
if (Char.
IsWhiteSpace
(text[i]))
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 (1)
235
if (Char.
IsWhiteSpace
(c) || Char.IsPunctuation(c))
System.Windows.Forms (3)
winforms\Managed\System\WinForms\SendKeys.cs (3)
427
&& !Char.
IsWhiteSpace
(keys[j])) {
441
if (Char.
IsWhiteSpace
(keys[j])) {
443
while (j < keysLen && Char.
IsWhiteSpace
(keys[j])) {
System.Workflow.Activities (1)
Rules\Parser\Scanner.cs (1)
963
while (char.
IsWhiteSpace
(ch))
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
866
if (char.
IsWhiteSpace
(compilerOptions[0]))
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
303
while ((switchValueStart + switchValueLength < options.Length) && !char.
IsWhiteSpace
(options[switchValueStart + switchValueLength]))
326
if ((startPos > 0) && char.
IsWhiteSpace
(options[startPos - 1]))
330
else if ((startPos == 0) && (startPos + length + 1 < options.Length) && char.
IsWhiteSpace
(options[startPos + length + 1]))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
2688
if (!nonWhitespaceFound && !Char.
IsWhiteSpace
(args[i]))
2834
if (!Char.
IsWhiteSpace
(args[i]))
System.Xml (2)
System\Xml\Schema\XsdDateTime.cs (2)
700
while(start < length && char.
IsWhiteSpace
(text[start])) {
944
while(start < length && char.
IsWhiteSpace
(text[start])) {
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (3)
607
return (char.
IsWhiteSpace
(ch1) && !char.
IsWhiteSpace
(ch2))
610
|| (char.IsPunctuation(ch1) && char.
IsWhiteSpace
(ch2));
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (2)
367
if (Char.
IsWhiteSpace
(backSlashPath[0]) ||
368
Char.
IsWhiteSpace
(backSlashPath[backSlashPath.Length - 1]))
Shared\MS\Internal\TokenizerHelper.cs (4)
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))
WsatConfig (2)
CommandLine\OptionUsage.cs (2)
370
while ((index < text.Length) && char.
IsWhiteSpace
(text[index]))
435
if (char.
IsWhiteSpace
(text[end]))