206 references to IsWhiteSpace
mscorlib (32)
system\boolean.cs (2)
210if (!Char.IsWhiteSpace(value[start]) && value[start] != nullChar) { 217if (!Char.IsWhiteSpace(value[end]) && value[end] != nullChar) {
system\globalization\datetimeformatinfo.cs (2)
2896if (Char.IsWhiteSpace(str[0]) || Char.IsWhiteSpace(str[str.Length - 1])) {
system\globalization\datetimeformatinfoscanner.cs (3)
316} else if (Char.IsWhiteSpace(ch)) 480if (m_ymdFlags == FoundDatePattern.FoundYMDPatternFlag && !Char.IsWhiteSpace(ch)) 676if ( Char.IsWhiteSpace(array[i][j]) )
system\globalization\datetimeparse.cs (13)
574while (Char.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.len - 1) { 1157else if ((!Char.IsWhiteSpace(ch))) { 4493} else if (Char.IsWhiteSpace( m_current)) { 4497if (!(Char.IsWhiteSpace(m_current))) { 4575if (!Char.IsWhiteSpace(Value[thisPosition + segmentLength])) { 4589while (thisPosition < Value.Length && Char.IsWhiteSpace(Value[thisPosition])) { 4737if (!Char.IsWhiteSpace(ch)) { 4756if (!Char.IsWhiteSpace(m_current)) 4764if (!Char.IsWhiteSpace(m_current)) 4775while (i >= 0 && Char.IsWhiteSpace(Value[i])) { 4792if (Char.IsWhiteSpace(Value[i-1])) { 4794while (i >= 1 && Char.IsWhiteSpace(Value[i-1])) { 4813while ((i + 1) < len && Char.IsWhiteSpace(Value[i+1])) {
system\guid.cs (1)
872if(!Char.IsWhiteSpace(curChar))
system\resources\resourcemanager.cs (1)
950while(Char.IsWhiteSpace(asmTypeName1[++comma]));
system\runtime\remoting\soapinteroptypes.cs (2)
1680if (Char.IsWhiteSpace(value[0]) || Char.IsWhiteSpace(value[value.Length - 1]))
system\security\cryptography\base64transforms.cs (2)
234if (Char.IsWhiteSpace((char)inputBuffer[inputOffset + i])) iCount++; 238if (!Char.IsWhiteSpace((char)inputBuffer[inputOffset + i])) {
system\security\cryptography\utils.cs (2)
633if (Char.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++; 637if (!Char.IsWhiteSpace(inputBuffer[inputOffset + i]))
system\string.cs (4)
802if(!Char.IsWhiteSpace(value[i])) return false; 1197if (Char.IsWhiteSpace(pwzChars[i])) { 2754if (!Char.IsWhiteSpace(this[start]) && !IsBOMWhitespace(this[start])) break; 2760if (!Char.IsWhiteSpace(this[end]) && !IsBOMWhitespace(this[start])) break;
PresentationBuildTasks (16)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1105while (!Char.IsWhiteSpace(ch)
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
252if (((ch >' ') && (ch <= 'z')) || ! Char.IsWhiteSpace(ch))
Framework\MS\Internal\Globalization\LocalizationComments.cs (3)
106if (Char.IsWhiteSpace(input[i]) && !escaped) 157else if (!Char.IsWhiteSpace(input[i])) 229if (Char.IsWhiteSpace(input[i]))
Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
378if (Char.IsWhiteSpace(attrValue[i])) 990if (!nonWhitespaceFound && !Char.IsWhiteSpace(args[i])) 1206Debug.Assert(!Char.IsWhiteSpace(sb[0])); 1209while(Char.IsWhiteSpace(sb[i]))
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
818if (!Char.IsWhiteSpace(attribValue[i])) 3846(Char.IsWhiteSpace(keyString[0]) || 3847Char.IsWhiteSpace(keyString[keyString.Length-1])))
Shared\MS\Internal\TokenizerHelper.cs (4)
201Debug.Assert(!Char.IsWhiteSpace(currentChar),"Token started on Whitespace"); 242else if ((Char.IsWhiteSpace(currentChar)) || (currentChar == separator)) 288!Char.IsWhiteSpace(currentChar)) 312else if (Char.IsWhiteSpace(currentChar))
PresentationCore (7)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
631while (i < length && char.IsWhiteSpace(s[i]))
Core\CSharp\MS\Internal\FontFace\FontFamilyIdentifier.cs (2)
315while (i < length && char.IsWhiteSpace(friendlyName[i])) 347while (end > begin && char.IsWhiteSpace(friendlyName[end - 1]))
Core\CSharp\System\Windows\Markup\XamlSerializerUtil.cs (1)
56if (!Char.IsWhiteSpace(s[i]))
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
252if (((ch >' ') && (ch <= 'z')) || ! Char.IsWhiteSpace(ch))
Core\CSharp\System\Windows\Media3D\ModelVisual3D.cs (1)
114if (!Char.IsWhiteSpace(c))
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (1)
262for (; index < input.Length && Char.IsWhiteSpace(input[index]); index++) ;
PresentationFramework (25)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
735if (Char.IsWhiteSpace(rawString[i]) == false)
src\Framework\MS\Internal\Data\PathParser.cs (3)
106if (Char.IsWhiteSpace(c)) 282else if (Char.IsWhiteSpace(c)) 330else if (Char.IsWhiteSpace(c))
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (3)
106if (Char.IsWhiteSpace(input[i]) && !escaped) 157else if (!Char.IsWhiteSpace(input[i])) 229if (Char.IsWhiteSpace(input[i]))
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
180if (!Char.IsWhiteSpace(s[i]))
src\Framework\System\Windows\Documents\Glyphs.cs (3)
265if (Char.IsWhiteSpace(c)) 403if (!Char.IsWhiteSpace(c)) 434if (!Char.IsWhiteSpace(valueSpec[i]))
src\Framework\System\windows\Documents\TextEditorSpelling.cs (2)
73else if (Char.IsWhiteSpace(character)) 324if (!Char.IsWhiteSpace(character))
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
891if (Char.IsWhiteSpace(separatorChar) ||
src\Framework\System\windows\Documents\TextSelection.cs (2)
508Char.IsWhiteSpace(charBuffer[0])) 521!Char.IsWhiteSpace(charBuffer[0])))
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1035if (!Char.IsWhiteSpace(value[i]))
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
378if (Char.IsWhiteSpace(attrValue[i])) 990if (!nonWhitespaceFound && !Char.IsWhiteSpace(args[i])) 1206Debug.Assert(!Char.IsWhiteSpace(sb[0])); 1209while(Char.IsWhiteSpace(sb[i]))
src\Framework\System\Windows\Markup\XamlSerializerUtil.cs (1)
55if (!Char.IsWhiteSpace(s[i]))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
818if (!Char.IsWhiteSpace(attribValue[i])) 3846(Char.IsWhiteSpace(keyString[0]) || 3847Char.IsWhiteSpace(keyString[keyString.Length-1])))
System (13)
compmod\system\codedom\CodeTypeReference.cs (2)
386while( start < typeName.Length && Char.IsWhiteSpace(typeName[start])) start++; 387while( end >= 0 && Char.IsWhiteSpace(typeName[end])) end--;
net\System\Net\_Connection.cs (1)
1741else if (!Char.IsWhiteSpace((char) statusLine[bytesParsed])) {
net\System\Net\cookie.cs (1)
1036while ((m_index < m_length) && Char.IsWhiteSpace(m_tokenStream[m_index])) {
net\System\Net\HttpListenerRequest.cs (4)
1235if ((chPrev == ';' || chPrev == ',' || Char.IsWhiteSpace(chPrev)) && (chNext == '=' || Char.IsWhiteSpace(chNext))) 1246while (i < l && Char.IsWhiteSpace(headerValue[i])) 1251while (i < l && Char.IsWhiteSpace(headerValue[i]))
net\System\Net\WinHttpWebProxyFinder.cs (1)
314if (!char.IsWhiteSpace(c))
regex\system\text\regularexpressions\RegexCharClass.cs (2)
910if (Char.IsWhiteSpace(ch)) 925if (!Char.IsWhiteSpace(ch))
security\system\security\cryptography\x509\x509utils.cs (2)
236if (Char.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++; 240if (!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)
1157if (Char.IsWhiteSpace(c)) {
System.Data (14)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (10)
563while ((0 < count) && Char.IsWhiteSpace(buffer[count-1])) { 573while ((index < count) && Char.IsWhiteSpace(buffer[index])) { 576while ((0 < count) && Char.IsWhiteSpace(buffer[count-1])) { 616if ((';' == currentChar) || Char.IsWhiteSpace(currentChar)) { 633if (Char.IsWhiteSpace(currentChar)) { break; } 646if (Char.IsWhiteSpace(currentChar)) { continue; } 661if (Char.IsWhiteSpace(currentChar)) { break; } 699if (Char.IsWhiteSpace(currentChar)) { continue; } 706if (Char.IsWhiteSpace(currentChar)) { continue; } // MDAC 83540 780return ((0 < keyname.Length) && (';' != keyname[0]) && !Char.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
fx\src\data\System\Data\Common\MultipartIdentifier.cs (1)
59return Char.IsWhiteSpace (ch);
fx\src\data\System\Data\Odbc\OdbcUtils.cs (3)
376while((_idx < _len) && Char.IsWhiteSpace(_sqlstatement[_idx])) { 409if (!Char.IsWhiteSpace(currentchar)) { 496while((tempidx < _len) && Char.IsWhiteSpace(_sqlstatement[tempidx])) {
System.Data.Entity (16)
System\Data\Common\EntitySql\CqlLexerHelpers.cs (2)
197if (Char.IsWhiteSpace(c) || Char.IsControl(c)) 450while (lookAheadChar != YY_EOF && (Char.IsWhiteSpace(lookAheadChar) || IsNewLine(lookAheadChar)))
System\Data\Common\Internal\MultipartIdentifier.cs (1)
45return Char.IsWhiteSpace(ch);
System\Data\Common\Utils\StringUtil.cs (2)
175if (!Char.IsWhiteSpace(value[i])) 196if (!Char.IsWhiteSpace(value[i]))
System\Data\EntityClient\DbConnectionOptions.cs (10)
160while ((0 < count) && Char.IsWhiteSpace(buffer[count - 1])) 173while ((index < count) && Char.IsWhiteSpace(buffer[index])) 177while ((0 < count) && Char.IsWhiteSpace(buffer[count - 1])) 220if ((';' == currentChar) || Char.IsWhiteSpace(currentChar)) 240if (Char.IsWhiteSpace(currentChar)) { break; } 253if (Char.IsWhiteSpace(currentChar)) { continue; } 264if (Char.IsWhiteSpace(currentChar)) { break; } 291if (Char.IsWhiteSpace(currentChar)) { continue; } 298if (Char.IsWhiteSpace(currentChar)) { continue; } // MDAC 83540 377return ((0 < keyname.Length) && (';' != keyname[0]) && !Char.IsWhiteSpace(keyname[0]) && (-1 == keyname.IndexOf('\u0000')));
System\Data\EntitySqlException.cs (1)
222else if ((Char.IsControl(c) || Char.IsWhiteSpace(c)) && ('\r' != c))
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\MetadataUtil.cs (2)
107if (!Char.IsWhiteSpace(value[i])) 128if (!Char.IsWhiteSpace(value[i]))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
648if ( (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)
820if ((127 < (int)c) || Char.IsWhiteSpace(c) || Char.IsControl(c))
System\Data\Services\Parsing\ExpressionLexer.cs (1)
116while (Char.IsWhiteSpace(this.ch))
System\Data\Services\Serializers\JsonReader.cs (1)
191while ((ch != '\0') && Char.IsWhiteSpace(ch))
System\Data\Services\WebUtil.cs (1)
1656if (!Char.IsWhiteSpace(c))
System.Data.Services.Client (3)
System\Data\Services\Client\BatchStream.cs (1)
820if ((127 < (int)c) || Char.IsWhiteSpace(c) || Char.IsControl(c))
System\Data\Services\Client\DataServiceContext.cs (2)
2502if (Char.IsWhiteSpace(convertedValue[0]) || 2503Char.IsWhiteSpace(convertedValue[convertedValue.Length - 1]))
System.Data.Services.Design (3)
System\Data\Common\Utils\StringUtil.cs (2)
36if (!Char.IsWhiteSpace(value[i])) 56if (!Char.IsWhiteSpace(value[i]))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
644if ( (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)
607while ((j < bytesRead) && (!Char.IsWhiteSpace((char) buffer[j]))) j++; 610if (!Char.IsWhiteSpace((char) buffer[j])) { 634while ((j <buffer.Length) && (!Char.IsWhiteSpace((char) buffer[j]))) j++; 637if (!Char.IsWhiteSpace((char) buffer[j])) {
system\security\cryptography\xml\utils.cs (2)
134if (Char.IsWhiteSpace(inputBuffer[inputOffset + i])) iCount++; 138if (!Char.IsWhiteSpace(inputBuffer[inputOffset + i])) {
System.ServiceModel (2)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
420if (!char.IsWhiteSpace(stringBuilder[i])) 438if (char.IsWhiteSpace(builder[index]))
System.ServiceModel.Web (2)
System\ServiceModel\Web\Utility.cs (2)
116while (char.IsWhiteSpace(str[startIndex]) || str[startIndex] == ',') 145while (char.IsWhiteSpace(str[endIndex - 1]))
System.Web (10)
Hosting\ApplicationManager.cs (1)
1330if (!Char.IsWhiteSpace(publicKey[i])) {
HttpRequest.cs (4)
850if ((chPrev == ';' || chPrev == ',' || Char.IsWhiteSpace(chPrev)) && (chNext == '=' || Char.IsWhiteSpace(chNext))) 861while (i < l && Char.IsWhiteSpace(headerValue[i])) 866while (i < l && Char.IsWhiteSpace(headerValue[i]))
ModelBinding\ModelBinderUtil.cs (1)
74if (!Char.IsWhiteSpace(s[i])) {
UI\TemplateParser.cs (2)
2514for (int i = 0; i < code.Length && Char.IsWhiteSpace(code[i]); i++) { 2536for (int i = code.Length - 1; i >= 0 && Char.IsWhiteSpace(code[i]); i--) {
UI\Util.cs (2)
997if (Char.IsWhiteSpace(s[i])) 1009if (!Char.IsWhiteSpace(s[i]))
System.Web.Extensions (2)
Script\Serialization\JavaScriptString.cs (1)
24if (!Char.IsWhiteSpace(c)) {
UI\WebControls\Dynamic.cs (1)
1819while (Char.IsWhiteSpace(ch)) NextChar();
System.Web.Mobile (16)
UI\MobileControls\Adapters\EmptyTextWriter.cs (2)
344if (c != '\r' && c != '\n' && !Char.IsWhiteSpace(c)) 373if (c != '\r' && c != '\n' && !Char.IsWhiteSpace(c))
UI\MobileControls\Adapters\HtmlLabelAdapter.cs (1)
53if(!Char.IsWhiteSpace(c))
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (1)
283if (Char.IsWhiteSpace(text[i]))
UI\MobileControls\LiteralText.cs (4)
92if (c == '.' && Char.IsWhiteSpace((char)lastChar)) 101else if (foundSpace < 0 && Char.IsWhiteSpace(c)) // check performance of this 141while (start < stop && Char.IsWhiteSpace(text[start]) ) 149while (Char.IsWhiteSpace(text[stop - 1]) && stop > start)
UI\MobileControls\LiteralTextParser.cs (5)
169if (!Char.IsWhiteSpace(c) && 300!Char.IsWhiteSpace(literalText[tagNameFinish]) && literalText[tagNameFinish] != '/') 453if (Char.IsWhiteSpace(c)) 479if (c == '=' || Char.IsWhiteSpace(c)) 530((Char.IsWhiteSpace(c) || c == '\0') && quoteChar == '\0'))
UI\MobileControls\MobileControl.cs (2)
956else if (!Char.IsWhiteSpace(c)) 969else if (!Char.IsWhiteSpace(c))
UI\MobileControls\TextView.cs (1)
235if (Char.IsWhiteSpace(c) || Char.IsPunctuation(c))
System.Windows.Forms (3)
winforms\Managed\System\WinForms\SendKeys.cs (3)
427&& !Char.IsWhiteSpace(keys[j])) { 441if (Char.IsWhiteSpace(keys[j])) { 443while (j < keysLen && Char.IsWhiteSpace(keys[j])) {
System.Workflow.Activities (1)
Rules\Parser\Scanner.cs (1)
963while (char.IsWhiteSpace(ch))
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
866if (char.IsWhiteSpace(compilerOptions[0]))
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
303while ((switchValueStart + switchValueLength < options.Length) && !char.IsWhiteSpace(options[switchValueStart + switchValueLength])) 326if ((startPos > 0) && char.IsWhiteSpace(options[startPos - 1])) 330else if ((startPos == 0) && (startPos + length + 1 < options.Length) && char.IsWhiteSpace(options[startPos + length + 1]))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
2688if (!nonWhitespaceFound && !Char.IsWhiteSpace(args[i])) 2834if (!Char.IsWhiteSpace(args[i]))
System.Xml (2)
System\Xml\Schema\XsdDateTime.cs (2)
700while(start < length && char.IsWhiteSpace(text[start])) { 944while(start < length && char.IsWhiteSpace(text[start])) {
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (3)
607return (char.IsWhiteSpace(ch1) && !char.IsWhiteSpace(ch2)) 610|| (char.IsPunctuation(ch1) && char.IsWhiteSpace(ch2));
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (2)
367if (Char.IsWhiteSpace(backSlashPath[0]) || 368Char.IsWhiteSpace(backSlashPath[backSlashPath.Length - 1]))
Shared\MS\Internal\TokenizerHelper.cs (4)
201Debug.Assert(!Char.IsWhiteSpace(currentChar),"Token started on Whitespace"); 242else if ((Char.IsWhiteSpace(currentChar)) || (currentChar == separator)) 288!Char.IsWhiteSpace(currentChar)) 312else if (Char.IsWhiteSpace(currentChar))
WsatConfig (2)
CommandLine\OptionUsage.cs (2)
370while ((index < text.Length) && char.IsWhiteSpace(text[index])) 435if (char.IsWhiteSpace(text[end]))