5697 references to IsNullOrEmpty
ComSvcConfig (23)
AtomicFile.cs (1)
194if ((!string.IsNullOrEmpty(fileName)) && File.Exists(fileName))
ComAdminWrapper.cs (2)
59if (!string.IsNullOrEmpty(partitionId)) 386if (string.IsNullOrEmpty(modulePath))
ComplusEndpointConfigContainer.cs (2)
347if ((!String.IsNullOrEmpty(partitionId)) && partitionId != ComAdminWrapper.GetGlobalPartitionID()) 475if (string.IsNullOrEmpty(fileName))
EndpointConfigContainer.cs (3)
281if (!String.IsNullOrEmpty(baseServiceAddress)) 743if (String.IsNullOrEmpty(version)) 754if (String.IsNullOrEmpty(fileName))
Tool.cs (8)
272if (!string.IsNullOrEmpty(application)) 300if (!string.IsNullOrEmpty(webDirectory)) 302if (string.IsNullOrEmpty(webServer)) 313if (string.IsNullOrEmpty(application)) 332if (!string.IsNullOrEmpty(webServer)) 345if (string.IsNullOrEmpty(application)) 434if (!string.IsNullOrEmpty(application)) 797if (outComps.Count == 0 && (!String.IsNullOrEmpty(missingInterface)))
WasEndpointConfigContainer.cs (7)
39if (string.IsNullOrEmpty(webDirectoryPath) || !Directory.Exists(webDirectoryPath)) 92if (string.IsNullOrEmpty(compilationSection.TargetFramework) && RuntimeVersions.V40 == this.runtimeVersion) 257if (string.IsNullOrEmpty(fileName)) 297if (!Tool.Options.ShowGuids && !string.IsNullOrEmpty(appName) && !string.IsNullOrEmpty(componentID) && !string.IsNullOrEmpty(interfaceName)) 455if (!string.IsNullOrEmpty(applicationIdOrName))
Microsoft.Activities.Build (5)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
31string className = !string.IsNullOrEmpty(classData.Namespace) ? classData.Namespace + "." + classData.Name : classData.Name;
Microsoft\Activities\Build\Debugger\DebugBuildExtension.cs (2)
31string className = !string.IsNullOrEmpty(classData.Namespace) ? classData.Namespace + "." + classData.Name : classData.Name; 59if (!string.IsNullOrEmpty(symbolString))
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
239if (!string.IsNullOrEmpty(symbolString)) 269if (String.IsNullOrEmpty(skipWorkflowValidationValue) || String.Equals(skipWorkflowValidationValue, "false", StringComparison.OrdinalIgnoreCase))
mscorlib (114)
system\AppContext\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
system\AppContext\AppContextDefaultValues.DesktopOverrides.cs (1)
29if (string.IsNullOrEmpty(overrides))
system\appdomain.cs (1)
1062if (!String.IsNullOrEmpty(entryPointPath))
system\AppDomainSetup.cs (2)
223if (!String.IsNullOrEmpty(entryPointPath)) 1334if(String.IsNullOrEmpty(s))
system\applicationactivator.cs (2)
51if (String.IsNullOrEmpty(file)) 54if (String.IsNullOrEmpty(parameters))
system\argumentexception.cs (1)
74if (!String.IsNullOrEmpty(m_paramName)) {
system\deployment\cmsutils.cs (1)
87if (!string.IsNullOrEmpty(file))
system\diagnostics\contracts\contractsbcl.cs (2)
488if (!String.IsNullOrEmpty(conditionText)) { 497if (!String.IsNullOrEmpty(userMessage))
system\diagnostics\eventing\eventsource.cs (1)
5335if (!string.IsNullOrEmpty(startEvents))
system\environment.cs (2)
898if (String.IsNullOrEmpty(value) || value[0] == '\0') { 977if (String.IsNullOrEmpty(value) || value[0] == '\0') {
system\globalization\calendardata.cs (7)
175if (this.saMonthGenitiveNames == null || String.IsNullOrEmpty(this.saMonthGenitiveNames[0])) 177if (this.saAbbrevMonthGenitiveNames == null || String.IsNullOrEmpty(this.saAbbrevMonthGenitiveNames[0])) 179if (this.saLeapYearMonthNames == null || String.IsNullOrEmpty(this.saLeapYearMonthNames[0])) 210if (this.saEraNames == null || this.saEraNames.Length == 0 || String.IsNullOrEmpty(this.saEraNames[0])) 275if (this.saEraNames == null || this.saEraNames.Length == 0 || String.IsNullOrEmpty(this.saEraNames[0])) 296if (this.saAbbrevEraNames == null || this.saAbbrevEraNames.Length == 0 || String.IsNullOrEmpty(this.saAbbrevEraNames[0])) 337if (this.saAbbrevEraNames == null || this.saAbbrevEraNames.Length == 0 || String.IsNullOrEmpty(this.saAbbrevEraNames[0]))
system\globalization\compareinfo.cs (1)
1100if (String.IsNullOrEmpty(source))
system\globalization\culturedata.cs (12)
514if (String.IsNullOrEmpty(cultureName)) 746if (String.IsNullOrEmpty(cultureName)) 918if (String.IsNullOrEmpty(localeName)) 1196if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 1218if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 1258if (String.IsNullOrEmpty(this.sEnglishDisplayName)) 1322if (String.IsNullOrEmpty(this.sNativeDisplayName)) 1406if (String.IsNullOrEmpty(this.sLocalizedLanguage)) 1521if (String.IsNullOrEmpty(this.sLocalizedCountry)) 1528if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 2708return String.IsNullOrEmpty(this.SNAME); 2766if (String.IsNullOrEmpty(longTimeFormat))
system\globalization\cultureinfo.cs (1)
986if (String.IsNullOrEmpty(parentName))
system\globalization\sortkey.cs (1)
85if (String.IsNullOrEmpty(localeName) && win32LCID != 0)
system\guid.cs (1)
474if(String.IsNullOrEmpty(guidString) || guidString[0] != '{') {
system\io\__error.cs (1)
82if (String.IsNullOrEmpty(path))
system\io\pathinternal.cs (1)
588if (string.IsNullOrEmpty(path)) return path;
system\operatingsystem.cs (1)
154if( String.IsNullOrEmpty(_servicePack)) {
system\reflection\assemblyname.cs (1)
300if (CompatibilitySwitches.IsAppEarlierThanWindowsPhone8 && string.IsNullOrEmpty(name))
system\resources\resourcemanager.cs (3)
1004String.IsNullOrEmpty(startingCulture) ? null : startingCulture, 1005String.IsNullOrEmpty(neutralResourcesCulture) ? null : neutralResourcesCulture); 1575if (!String.Equals(de.Key, "name") || String.IsNullOrEmpty(assemblyName) || assemblyNode.Attributes.Count > 1)
system\runtime\compilerservices\TypeForwardedFromAttribute.cs (1)
22if (String.IsNullOrEmpty(assemblyFullName))
system\runtime\interopservices\externalexception.cs (1)
64if (!(String.IsNullOrEmpty(message))) {
system\runtime\interopservices\typelibconverter.cs (1)
240if (String.IsNullOrEmpty(dir))
system\runtime\interopservices\windowsruntime\windowsruntimemetadata.cs (1)
132if (String.IsNullOrEmpty(assemblyFile))
system\runtime\versioning\binarycompatibility.cs (4)
270Contract.Requires(!String.IsNullOrEmpty(targetFrameworkMoniker)); 315if (!String.IsNullOrEmpty(profile)) 436if (!String.IsNullOrEmpty(value)) 495if (!string.IsNullOrEmpty(overrideValue))
system\security\builtinpermissionsets.cs (4)
284Contract.Requires(!String.IsNullOrEmpty(permissionSetXml)); 286Contract.Requires(!String.IsNullOrEmpty(extensionXml)); 308Contract.Assert(!String.IsNullOrEmpty(permissionSetXml)); 326Contract.Requires(!String.IsNullOrEmpty(extensionXml));
system\security\claims\Claim.cs (3)
213if (String.IsNullOrEmpty(valueType)) 222if (String.IsNullOrEmpty(issuer)) 232if (String.IsNullOrEmpty(originalIssuer))
system\security\claims\ClaimsIdentity.cs (11)
254if(checkAuthType && null != identity && string.IsNullOrEmpty(authenticationType)) 279if(!string.IsNullOrEmpty(nameType)) 285if(!string.IsNullOrEmpty(roleType)) 351if (identity != null && !string.IsNullOrEmpty(identity.Name)) 461get { return !string.IsNullOrEmpty(m_authenticationType); } 949if (!String.IsNullOrEmpty(m_serializedClaims)) 955m_nameType = string.IsNullOrEmpty(m_serializedNameType) ? DefaultNameClaimType : m_serializedNameType; 956m_roleType = string.IsNullOrEmpty(m_serializedRoleType) ? DefaultRoleClaimType : m_serializedRoleType; 989if (!string.IsNullOrEmpty(m_authenticationType)) 997if (!string.IsNullOrEmpty(m_label)) 1035if (!string.IsNullOrEmpty(serializedClaims))
system\security\claims\ClaimsPrincipal.cs (2)
389if (!string.IsNullOrEmpty(identities)) 407if (!string.IsNullOrEmpty(listOfIdentities[i]))
system\security\cryptography\cryptoconfig.cs (2)
557if (String.IsNullOrEmpty(name)) { 702if (String.IsNullOrEmpty(name)) {
system\security\cryptography\dsa.cs (4)
108if (String.IsNullOrEmpty(hashAlgorithm.Name)) { throw HashAlgorithmNameNullOrEmpty(); } 117if (String.IsNullOrEmpty(hashAlgorithm.Name)) { throw HashAlgorithmNameNullOrEmpty(); } 136if (String.IsNullOrEmpty(hashAlgorithm.Name)) { throw HashAlgorithmNameNullOrEmpty(); } 146if (String.IsNullOrEmpty(hashAlgorithm.Name)) { throw HashAlgorithmNameNullOrEmpty(); }
system\security\cryptography\dsacryptoserviceprovider.cs (2)
277Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 291Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name));
system\security\cryptography\rfc2898derivebytes.cs (2)
60if (string.IsNullOrEmpty(hashAlgorithm.Name)) 99if (string.IsNullOrEmpty(hashAlgorithm.Name))
system\security\cryptography\rsa.cs (4)
126if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 141if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 172if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 190if (String.IsNullOrEmpty(hashAlgorithm.Name)) {
system\security\cryptography\rsacryptoserviceprovider.cs (4)
525Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 537Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 609if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 629if (String.IsNullOrEmpty(hashAlgorithm.Name)) {
system\security\cryptography\RSAEncryptionPadding.cs (1)
60if (String.IsNullOrEmpty(hashAlgorithm.Name))
system\security\cryptography\x509certificates\x509certificate.cs (1)
329if (string.IsNullOrEmpty(hashAlgorithm.Name)) {
system\security\permissions\principalpermission.cs (1)
40if (String.IsNullOrEmpty(m_role))
system\security\policy\pefileevidencefactory.cs (1)
251if (!String.IsNullOrEmpty(url))
system\security\policy\policylevel.cs (2)
658if (String.IsNullOrEmpty(name)) { 836if (!String.IsNullOrEmpty(ex.Message)) {
system\security\policy\strongname.cs (1)
49if (String.IsNullOrEmpty(name))
system\security\principal\windowsidentity.cs (1)
1281if (!String.IsNullOrEmpty(Name))
system\security\util\urlstring.cs (1)
757String.IsNullOrEmpty(directory);
system\string.cs (4)
1241if (String.IsNullOrEmpty(separator)) { 3194if (IsNullOrEmpty(str0)) { 3195if (IsNullOrEmpty(str1)) { 3201if (IsNullOrEmpty(str1)) {
system\stubhelpers.cs (1)
1459if (String.IsNullOrEmpty(typeName))
system\timezoneinfo.cs (9)
1088if (String.IsNullOrEmpty(zone.StandardName)) { 1839if (!String.IsNullOrEmpty(dynamicTimeZoneInformation.TimeZoneKeyName)) { 2573if (String.IsNullOrEmpty(resource)) { 2693if (!String.IsNullOrEmpty(displayNameMuiResource)) { 2697if (!String.IsNullOrEmpty(standardNameMuiResource)) { 2701if (!String.IsNullOrEmpty(daylightNameMuiResource)) { 2706if (String.IsNullOrEmpty(displayName)) { 2709if (String.IsNullOrEmpty(standardName)) { 2712if (String.IsNullOrEmpty(daylightName)) {
system\unsafecharbuffer.cs (1)
37if( String.IsNullOrEmpty( stringToAppend ) ) {
PresentationBuildTasks (84)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
142if (!string.IsNullOrEmpty(converterName))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (4)
832if (String.IsNullOrEmpty(mappedNamespace) || namespaceName == mappedNamespace) 968if (!String.IsNullOrEmpty(pair)) 1016if (!String.IsNullOrEmpty(prefix)) 1225if (String.IsNullOrEmpty(requiresValue))
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
127if (String.IsNullOrEmpty(errorId))
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (3)
352if (xmlProjectDoc == null || String.IsNullOrEmpty(sItemName)) 456if (xmlProjectDoc == null || String.IsNullOrEmpty(sItemName) || pItemList == null) 496if (!String.IsNullOrEmpty(aliases))
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
112if (String.IsNullOrEmpty(errorId))
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (11)
208if (String.IsNullOrEmpty(errorId)) 708if (String.IsNullOrEmpty(xamlFile)) 1173if (IsApplicationTarget && !String.IsNullOrEmpty(CompilerAnalyzer.RecompileApplicationFile.Path)) 1177if (!String.IsNullOrEmpty(codeFile)) 1182if (!String.IsNullOrEmpty(bamlFile)) 1194if (!String.IsNullOrEmpty(codeFile)) 1199if (!String.IsNullOrEmpty(bamlFile)) 1338if (!String.IsNullOrEmpty(_localXamlApplication)) 1489if (!String.IsNullOrEmpty(genLangFilePath) && outputCodeFileList != null) 1501if (!String.IsNullOrEmpty(bamlFile)) 1724if (String.IsNullOrEmpty(UICulture))
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (2)
155if (String.IsNullOrEmpty(errorId)) 691if (!String.IsNullOrEmpty(_internalTypeHelperFile) && !compilerWrapper.HasInternals)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (5)
226if (string.IsNullOrEmpty(errorId)) 365if (!String.IsNullOrEmpty(logicalName)) 376filePath = !string.IsNullOrEmpty(linkAlias) ? linkAlias : filePath; 389if (string.IsNullOrEmpty(relPath)) 394if (string.IsNullOrEmpty(relPath))
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
121if (String.IsNullOrEmpty(errorId))
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2092if (String.IsNullOrEmpty(LanguageSourceExtension)) 2448if (!string.IsNullOrEmpty(baseClassFullName)) 2476Debug.Assert(!string.IsNullOrEmpty(baseName)); 2591string version = String.IsNullOrEmpty(AssemblyVersion) ? String.Empty : COMPONENT_DELIMITER + VER + AssemblyVersion; 2592string token = String.IsNullOrEmpty(AssemblyPublicKeyToken) ? String.Empty : COMPONENT_DELIMITER + AssemblyPublicKeyToken; 2862if (IsLanguageVB && !string.IsNullOrEmpty(DefaultNamespace)) 3017if (String.IsNullOrEmpty(clrNS)) 3123if (!string.IsNullOrEmpty(_splashImage) && !HostInBrowser) 3232if (string.IsNullOrEmpty(relPath)) 3237if (string.IsNullOrEmpty(relPath) == false)
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (2)
197if (!string.IsNullOrEmpty(ns)) 763|| string.IsNullOrEmpty(((ClrNamespaceAssemblyPair)XamlTypeMapper.PITable[xamlPIMappingNode.XmlNamespace]).AssemblyName);
BuildTasks\MS\Internal\Shared\SourceFileInfo.cs (1)
47if (!string.IsNullOrEmpty(file.Path) && file.Path.ToUpperInvariant().EndsWith(XAML, StringComparison.Ordinal))
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (4)
87if (!String.IsNullOrEmpty(FilePath)) 121if (!String.IsNullOrEmpty(cacheInfo)) 186Debug.Assert(String.IsNullOrEmpty(_localCacheFile) != true, "_localCacheFile must not be empty."); 248Debug.Assert(String.IsNullOrEmpty(_localCacheFile) != true, "_localCacheFile must not be empty.");
BuildTasks\MS\Internal\Tasks\CompilerState.cs (2)
99Debug.Assert(String.IsNullOrEmpty(_stateFilePath) != true, "StateFilePath must not be empty."); 160Debug.Assert(String.IsNullOrEmpty(_stateFilePath) != true, "_stateFilePath must be not be empty.");
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (2)
297if (String.IsNullOrEmpty(strErrorCode)) 350if (String.IsNullOrEmpty(sourceFileInfo.OriginalFilePath))
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (3)
342bool isSrcEmpty = String.IsNullOrEmpty(textSource); 343bool istgtEmpty = String.IsNullOrEmpty(textTarget); 498if (String.IsNullOrEmpty(relContentFilePath))
BuildTasks\MS\Internal\Tasks\TaskFileService.cs (4)
130if (String.IsNullOrEmpty(srcFile)) 222if (String.IsNullOrEmpty(srcFile)) 292if (String.IsNullOrEmpty(destinationFile)) 336if (String.IsNullOrEmpty(destinationFileBaseName))
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (2)
281Debug.Assert(String.IsNullOrEmpty(assemblyPath) == false, "assemblyPath should not be empty."); 326if (!String.IsNullOrEmpty(gacRoot) && assemblyPath.StartsWith(gacRoot, StringComparison.OrdinalIgnoreCase) == true)
Framework\System\Windows\Markup\MarkupExtensionParser.cs (3)
970if (!string.IsNullOrEmpty(parameterName)) 1476if(!String.IsNullOrEmpty(prefix)) 1537if (String.IsNullOrEmpty(attribNamespaceURI))
Framework\System\Windows\Markup\StyleXamlParser.cs (1)
1241if (!String.IsNullOrEmpty(xamlClrEventNode.LocalAssemblyName))
Framework\System\Windows\Markup\TemplateXamlParser.cs (1)
1376if (!String.IsNullOrEmpty(xamlClrEventNode.LocalAssemblyName))
Framework\System\Windows\Markup\XamlReaderHelper.cs (7)
2361if (String.IsNullOrEmpty(attribValue)) 2741if(!String.IsNullOrEmpty(prefix)) 2756if (String.IsNullOrEmpty(attribNamespaceURI)) 3468if (!String.IsNullOrEmpty(propertyName)) 3496if (!String.IsNullOrEmpty(propertyName)) 3503if (!String.IsNullOrEmpty(assembly)) 3903if (!string.IsNullOrEmpty(text))
Framework\System\Windows\Markup\XamlTypeMapper.cs (6)
496if (!String.IsNullOrEmpty(assemblyFullPath) && File.Exists(assemblyFullPath)) 3362if (String.IsNullOrEmpty(xmlNamespace)) 3382!String.IsNullOrEmpty(newXmlNamespace); 3505(!(String.IsNullOrEmpty(mapping.AssemblyName)) && !(String.IsNullOrEmpty(mapping.ClrNamespace))) ) 3526if (!String.IsNullOrEmpty(mapping.ClrNamespace))
Framework\System\Windows\Markup\XmlnsCache.cs (5)
128if (!String.IsNullOrEmpty(assemblyFullPath) && File.Exists(assemblyFullPath)) 329if (String.IsNullOrEmpty(xmlns) || String.IsNullOrEmpty(clrns) ) 403if (String.IsNullOrEmpty(oldXmlns) || String.IsNullOrEmpty(newXmlns))
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
519Debug.Assert(String.IsNullOrEmpty(assemblyGivenName) == false, "assemblyName should not be empty."); 611else if (!String.IsNullOrEmpty(fullpath))
PresentationCore (35)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (1)
43if(!string.IsNullOrEmpty(cookies))
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (3)
592if (string.IsNullOrEmpty(s) || s[0] == '#') 657if (!String.IsNullOrEmpty(fragment)) 850if (!string.IsNullOrEmpty(location))
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
93Debug.Assert(String.IsNullOrEmpty(_fontUri.Fragment));
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
286if (String.IsNullOrEmpty(resourceName))
Core\CSharp\MS\Internal\FontFace\CompositeFontInfo.cs (1)
65if (string.IsNullOrEmpty(familyMap.Target))
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (3)
137if (string.IsNullOrEmpty(s)) 560if (string.IsNullOrEmpty(familyName)) 859return string.IsNullOrEmpty(ns) || ns == CompositeFontNamespace;
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (1)
623else if (!string.IsNullOrEmpty(targetFamilyName))
Core\CSharp\MS\Internal\TextFormatting\CultureMapper.cs (1)
59if (!string.IsNullOrEmpty(cultureName))
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (2)
102if (string.IsNullOrEmpty(httpRequest.UserAgent)) 109if (String.IsNullOrEmpty(httpRequest.Referer))
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
363if (string.IsNullOrEmpty(result))
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
422if (string.IsNullOrEmpty(result))
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (3)
165if (!String.IsNullOrEmpty(_displayString)) 252while (!String.IsNullOrEmpty(keyGestures)) 296if (!String.IsNullOrEmpty(keyDisplayString))
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (1)
174if (!String.IsNullOrEmpty(keyGesture.DisplayString))
Core\CSharp\System\Windows\Media\FontFamilyValueSerializer.cs (1)
41if (string.IsNullOrEmpty(value))
Core\CSharp\System\Windows\Media\Fonts.cs (2)
106if (!string.IsNullOrEmpty(location) && Uri.TryCreate(location, UriKind.Absolute, out fontLocation)) 123if (string.IsNullOrEmpty(location))
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (1)
118if (((value is string) && (!string.IsNullOrEmpty((string)value))) || (value is Uri))
Core\CSharp\System\Windows\Media\ImageSourceValueSerializer.cs (1)
54if (!string.IsNullOrEmpty(value))
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (9)
212if (String.IsNullOrEmpty(assemblyName)) 240if (!String.IsNullOrEmpty(assemblyVersion)) 329if (string.IsNullOrEmpty(assemblyVersion)) 340if (string.IsNullOrEmpty(assemblyKey)) 490if (uri != null && !string.IsNullOrEmpty(version)) 518bool assemblyKeyProvided = !string.IsNullOrEmpty(assemblyKey); 526if (!string.IsNullOrEmpty(assemblyName) && string.IsNullOrEmpty(assemblyVersion) && 686if (!string.IsNullOrEmpty(assemblyKey))
Shared\MS\Internal\MimeTypeMapper.cs (1)
149if (String.IsNullOrEmpty(extensionWithDot) == false)
PresentationFramework (250)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
src\Framework\Microsoft\Win32\FileDialog.cs (5)
480if (!String.IsNullOrEmpty(updatedFilter)) 1482} while (!String.IsNullOrEmpty(fileName)); 1558if (String.IsNullOrEmpty(s)) 2047if (!string.IsNullOrEmpty(InitialDirectory)) 2181if (!string.IsNullOrEmpty(filter))
src\Framework\Microsoft\Win32\OpenFileDialog.cs (2)
105if (String.IsNullOrEmpty(filename)) 162if (String.IsNullOrEmpty(filename))
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
100if (String.IsNullOrEmpty(filename))
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
451if (String.IsNullOrEmpty(id))
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
540if (xstr != null && !String.IsNullOrEmpty(xstr.Trim()) && ystr != null && !String.IsNullOrEmpty(ystr.Trim()))
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
159if (!String.IsNullOrEmpty(processorString))
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
290if (!String.IsNullOrEmpty(fragment) && currentApp.StartupUri != null)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (1)
238if (!String.IsNullOrEmpty(referer))
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
229if (!string.IsNullOrEmpty(AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[index]))
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (3)
291if (!String.IsNullOrEmpty(assemblyVersion)) 305if (!String.IsNullOrEmpty(assemblyKey)) 352if (!String.IsNullOrEmpty(assemblyName))
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (3)
1107if (!String.IsNullOrEmpty(windowTitle)) 1109if (!String.IsNullOrEmpty(pageTitle)) 1120if (description == null && !String.IsNullOrEmpty(pageTitle))
src\Framework\MS\Internal\AppModel\ShellProvider.cs (1)
1008if (string.IsNullOrEmpty(path))
src\Framework\MS\Internal\AppModel\XappLauncher.cs (5)
397Assembly customPageAssembly = string.IsNullOrEmpty(pageAssemblyName) ? typeof(TenFeetInstallationProgress).Assembly : Assembly.Load(pageAssemblyName); 470if (!string.IsNullOrEmpty(publisher)) 591if (!string.IsNullOrEmpty(version)) 718if (String.IsNullOrEmpty(_requiredCLRVersion)) 1115Invariant.Assert(!String.IsNullOrEmpty(_requiredCLRVersion));
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
410if ( string.IsNullOrEmpty(node.InnerText) )
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (3)
108Uri source = String.IsNullOrEmpty(urlString) ? null : new Uri(urlString); 271Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 300Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString));
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
30Debug.Assert(!(String.IsNullOrEmpty(displayMemberPath) && String.IsNullOrEmpty(stringFormat)));
src\Framework\MS\Internal\Data\LiveShapingItem.cs (2)
112if (!String.IsNullOrEmpty(path)) 152if (!String.IsNullOrEmpty(path))
src\Framework\MS\Internal\Data\LiveShapingList.cs (2)
418return String.IsNullOrEmpty(path) ? String.Empty : path; 486(dp == null && String.IsNullOrEmpty(infos[k].Path)))
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
447(String.IsNullOrEmpty(propertyName) ||
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
127if (String.IsNullOrEmpty(sortFields[k].PropertyName))
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (1)
357if (!String.IsNullOrEmpty(propertyName))
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (3)
525if (!string.IsNullOrEmpty(className)) 683if (!string.IsNullOrEmpty(attributes)) 706if (!string.IsNullOrEmpty(stringComment))
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (4)
500bool invalidResult = string.IsNullOrEmpty(className); 506invalidResult = string.IsNullOrEmpty(assemblyName); 526if (!string.IsNullOrEmpty(tagUid)) 688if (!string.IsNullOrEmpty(contentProperty))
src\Framework\MS\Internal\Ink\TextClipboardData.cs (3)
68return !string.IsNullOrEmpty(_text); 87if ( String.IsNullOrEmpty(text) ) 93if ( !String.IsNullOrEmpty(text) )
src\Framework\MS\Internal\Ink\XamlClipboardData.cs (1)
135if ( !String.IsNullOrEmpty(xml) )
src\Framework\System\Windows\Annotations\Annotation.cs (10)
113if (String.IsNullOrEmpty(annotationType.Name)) 117if (String.IsNullOrEmpty(annotationType.Namespace)) 152if (String.IsNullOrEmpty(annotationType.Name)) 156if (String.IsNullOrEmpty(annotationType.Namespace)) 215if (String.IsNullOrEmpty(writer.LookupPrefix(AnnotationXmlConstants.Namespaces.CoreSchemaNamespace))) 219if (String.IsNullOrEmpty(writer.LookupPrefix(AnnotationXmlConstants.Namespaces.BaseSchemaNamespace))) 639if (String.IsNullOrEmpty(value)) 666if (String.IsNullOrEmpty(typeName[0])) 677if (String.IsNullOrEmpty(typeName[0]) || String.IsNullOrEmpty(typeName[1]))
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
138if (String.IsNullOrEmpty(writer.LookupPrefix(AnnotationXmlConstants.Namespaces.CoreSchemaNamespace)))
src\Framework\System\Windows\Annotations\LocatorPart.cs (2)
58if (String.IsNullOrEmpty(partType.Name)) 62if (String.IsNullOrEmpty(partType.Namespace))
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
192if (String.IsNullOrEmpty(prefix))
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
598if (String.IsNullOrEmpty(nodeId)) 914if (!String.IsNullOrEmpty(xmlNamespace))
src\Framework\System\Windows\Application.cs (1)
2597if (!string.IsNullOrEmpty(soundFile))
src\Framework\System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (5)
35if (uiCommand != null && !string.IsNullOrEmpty(uiCommand.Text)) 47if (string.IsNullOrEmpty(result)) 54if (!string.IsNullOrEmpty(commandName)) 70if (!string.IsNullOrEmpty(result)) 80if (uiCommand != null && !string.IsNullOrEmpty(uiCommand.Text))
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
234if (string.IsNullOrEmpty(name))
src\Framework\System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (1)
57if (!string.IsNullOrEmpty(owner.Name))
src\Framework\System\Windows\Automation\Peers\FrameworkContentElementAutomationPeer.cs (4)
37if (string.IsNullOrEmpty(result)) 43if (string.IsNullOrEmpty(result)) 57if (string.IsNullOrEmpty(result)) 63if (string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (6)
31if (string.IsNullOrEmpty(result)) 37if (string.IsNullOrEmpty(result)) 51if (string.IsNullOrEmpty(result)) 57if (string.IsNullOrEmpty(result)) 68if (string.IsNullOrEmpty(result)) 74if (string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\GroupBoxAutomationPeer.cs (1)
42if (!string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
489if (string.IsNullOrEmpty(name) && item != null) 496if(string.IsNullOrEmpty(name))
src\Framework\System\Windows\Automation\Peers\LabelAutomationPeer.cs (1)
41if (!string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (2)
132if (!string.IsNullOrEmpty(accessKey)) 299if (!string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\TabItemAutomationPeer.cs (1)
44if (!string.IsNullOrEmpty(result))
src\Framework\System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
43if (string.IsNullOrEmpty(result))
src\Framework\System\Windows\Controls\AccessText.cs (2)
679if (!string.IsNullOrEmpty(text)) 701if (!string.IsNullOrEmpty(key))
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
895template = (String.IsNullOrEmpty(format)) ? AccessTextContentTemplate : FormattingAccessTextContentTemplate; 899template = (String.IsNullOrEmpty(format)) ? StringContentTemplate : FormattingStringContentTemplate; 938return (String.IsNullOrEmpty(ContentStringFormat)) ? XmlNodeContentTemplate : FormattingXmlNodeContentTemplate;
src\Framework\System\Windows\Controls\Control.cs (1)
507if (!String.IsNullOrEmpty(plainText))
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (3)
63if (!String.IsNullOrEmpty(error)) 77if (!String.IsNullOrEmpty(name)) 117if (!String.IsNullOrEmpty(error))
src\Framework\System\Windows\Controls\DataGrid.cs (2)
5444if (!e.Handled && !String.IsNullOrEmpty(e.Text) && IsTextSearchEnabled) 7209if (!string.IsNullOrEmpty(sortPropertyName))
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (2)
39if (string.IsNullOrEmpty(sortMemberPath)) 42if (!string.IsNullOrEmpty(bindingSortMemberPath))
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
278if (!string.IsNullOrEmpty(propertyName))
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (2)
62if (string.IsNullOrEmpty(sortMemberPath)) 65if (!string.IsNullOrEmpty(bindingSortMemberPath))
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
690if (!string.IsNullOrEmpty(binding.XPath))
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (1)
46if (string.IsNullOrEmpty(templateColumn.SortMemberPath))
src\Framework\System\Windows\Controls\DatePicker.cs (4)
528if (string.IsNullOrEmpty(dp._textBox.Text)) 716if (!string.IsNullOrEmpty(this._defaultText)) 1181if (!string.IsNullOrEmpty(this._textBox.Text)) 1237if (string.IsNullOrEmpty(s))
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
410if (!String.IsNullOrEmpty(displayMemberPath) || !String.IsNullOrEmpty(itemStringFormat)) 661if (string.IsNullOrEmpty(DisplayMemberPath)) 1682if (!String.IsNullOrEmpty(e.Text) && IsTextSearchEnabled &&
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1124if (String.IsNullOrEmpty((string)value) && !menuItem.HasNonDefaultValue(InputGestureTextProperty)
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (2)
109if (!string.IsNullOrEmpty(this.Text)) 137if (this.Watermark != null && string.IsNullOrEmpty(this.Text))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (6)
598if (string.IsNullOrEmpty(SelectedValuePath)) 603Debug.Assert(String.IsNullOrEmpty(path) || path == "/InnerText"); 604if (string.IsNullOrEmpty(path)) 2223if (String.IsNullOrEmpty(SelectedValuePath)) 2228Debug.Assert(String.IsNullOrEmpty(path) || path == "/InnerText"); 2230if (string.IsNullOrEmpty(path))
src\Framework\System\Windows\Controls\RadioButton.cs (4)
63if (!string.IsNullOrEmpty(currentlyRegisteredGroupName)) 67if (!string.IsNullOrEmpty(groupName)) 139if (!string.IsNullOrEmpty(groupName)) 178if (rb != null && rb != this && string.IsNullOrEmpty(rb.GroupName) && (rb.IsChecked == true))
src\Framework\System\Windows\Controls\TextSearch.cs (6)
321Debug.Assert(String.IsNullOrEmpty(matchedText) == false, "matchedText cannot be null or empty"); 322Debug.Assert(String.IsNullOrEmpty(newText) == false, "newText cannot be null or empty"); 414if (String.IsNullOrEmpty(newPrefix)) 428if (useXml || !String.IsNullOrEmpty(primaryTextPath)) 582if (String.IsNullOrEmpty(primaryTextPath)) 604if (!String.IsNullOrEmpty(primaryText))
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
11870if (!String.IsNullOrEmpty(s)) 12384if (String.IsNullOrEmpty(filename) || filename == "default")
src\Framework\System\Windows\Controls\WebBrowser.cs (4)
276if (string.IsNullOrEmpty(text)) 393if (string.IsNullOrEmpty(scriptName)) 549return (string.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 1220if (!string.IsNullOrEmpty((string)targetFrameName))
src\Framework\System\Windows\Data\BindingExpression.cs (3)
78if (String.IsNullOrEmpty(binding.XPath)) 421(binding.Path == null || String.IsNullOrEmpty(binding.Path.Path))) 1656string name = String.IsNullOrEmpty(stringFormat) ? converter.GetType().Name : "StringFormat";
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
1711if (String.IsNullOrEmpty(groupName)) 2662if (!String.IsNullOrEmpty(stringFormat))
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2180get { return ((_blv != null) && !String.IsNullOrEmpty(_customFilter)); }
src\Framework\System\Windows\Data\MultiBinding.cs (1)
351if (Converter == null && String.IsNullOrEmpty(StringFormat))
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
192Debug.Assert(ParentMultiBinding.Converter != null || !String.IsNullOrEmpty(EffectiveStringFormat), 198if (_converter == null && String.IsNullOrEmpty(EffectiveStringFormat))
src\Framework\System\Windows\Data\ObjectDataProvider.cs (1)
411if (string.IsNullOrEmpty(MethodName))
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (2)
199if (String.IsNullOrEmpty(PropertyName)) 253_propertyPath = !String.IsNullOrEmpty(propertyName) ? new PropertyPath(propertyName) : null;
src\Framework\System\Windows\Data\XmlDataProvider.cs (1)
778string xpath = (string.IsNullOrEmpty(XPath)) ? "/" : XPath;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (4)
243if (!String.IsNullOrEmpty(token) && 404if (!String.IsNullOrEmpty(unicodeStr)) 421if (!String.IsNullOrEmpty(bidiLevelAsString)) 436String.IsNullOrEmpty(caretStops) &&
src\Framework\System\Windows\Documents\FixedPage.cs (2)
624(uri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(uri.Fragment))) 641(inputUri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(inputUri.Fragment))))
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
86if ( !string.IsNullOrEmpty(schema.RootNamespaceUri) )
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
103if (String.IsNullOrEmpty(glyphs.UnicodeString) || 159&& String.IsNullOrEmpty(glyphs.CaretStops)
src\Framework\System\Windows\Documents\Glyphs.cs (8)
236if (String.IsNullOrEmpty(caretStopsString)) 247if (!String.IsNullOrEmpty(glyphRunProperties.unicodeString)) 333if (String.IsNullOrEmpty(UnicodeString) && String.IsNullOrEmpty(Indices)) 540if (!String.IsNullOrEmpty(unicodeString)) 551if (!String.IsNullOrEmpty(glyphsProp)) 559if (!String.IsNullOrEmpty(glyphsProp)) 592if (String.IsNullOrEmpty(unicodeString))
src\Framework\System\windows\Documents\TextEditor.cs (3)
1243if (!string.IsNullOrEmpty(textData) && Char.IsLowSurrogate(textData, 0)) 1246if (string.IsNullOrEmpty(textAdjacent) || !Char.IsHighSurrogate(textAdjacent, textAdjacent.Length - 1)) 1253if (string.IsNullOrEmpty(textData))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1185if (image.Source != null && !string.IsNullOrEmpty(image.Source.ToString()))
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
523if (string.IsNullOrEmpty(image.Source.ToString()))
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
836if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri)) 885if (documentNode.Type == DocumentNodeType.dnHyperlink && !string.IsNullOrEmpty(documentNode.NavigateUri))
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
163if ((culture != null) && !String.IsNullOrEmpty(zoomString))
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
1204if (!String.IsNullOrEmpty(prefix) && !IsValueDefined(ContentPresenter.ContentProperty))
src\Framework\System\Windows\Interop\DocobjHost.cs (3)
245Invariant.Assert(String.IsNullOrEmpty(path) == false, "path string should not be null or empty when Run method is called."); 1014Invariant.Assert(!string.IsNullOrEmpty(appBasePath)); 1349if (!string.IsNullOrEmpty(debugSecurityZoneURL))
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
603if (!string.IsNullOrEmpty(memberName))
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
1231if (!String.IsNullOrEmpty(record.KeyString)) 2063if (String.IsNullOrEmpty(prefix)) 2113if (String.IsNullOrEmpty(assemblyName))
src\Framework\System\Windows\Markup\BamlReader.cs (2)
2525if (!string.IsNullOrEmpty(extensionPrefix)) 2678if(String.IsNullOrEmpty(xmlns))
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
884if (!String.IsNullOrEmpty(typeConverterName))
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
157if (!String.IsNullOrEmpty(returnString) && returnString[0] == '{') 970if (!string.IsNullOrEmpty(parameterName)) 1476if(!String.IsNullOrEmpty(prefix)) 1537if (String.IsNullOrEmpty(attribNamespaceURI))
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
584if (string.IsNullOrEmpty(propertyPrefix))
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
369if (!String.IsNullOrEmpty(xamlFile))
src\Framework\System\Windows\Markup\XamlReader.cs (6)
246String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 249String.IsNullOrEmpty(reader.BaseURI.ToString())) 389if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 804String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 807String.IsNullOrEmpty(reader.BaseURI.ToString())) 877if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString()))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (5)
3362if (String.IsNullOrEmpty(xmlNamespace)) 3382!String.IsNullOrEmpty(newXmlNamespace); 3505(!(String.IsNullOrEmpty(mapping.AssemblyName)) && !(String.IsNullOrEmpty(mapping.ClrNamespace))) ) 3526if (!String.IsNullOrEmpty(mapping.ClrNamespace))
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (3)
164if (!string.IsNullOrEmpty(assembly)) 167if (!string.IsNullOrEmpty(assemblyPath)) 238if (!string.IsNullOrEmpty(assemblyPath))
src\Framework\System\Windows\Markup\XmlnsCache.cs (4)
368if (String.IsNullOrEmpty(xmlns) || String.IsNullOrEmpty(clrns) ) 403if (String.IsNullOrEmpty(oldXmlns) || String.IsNullOrEmpty(newXmlns))
src\Framework\System\Windows\Navigation\JournalEntry.cs (2)
386if (!string.IsNullOrEmpty(assy)) 401if (!string.IsNullOrEmpty(displayName) && displayName[0] == '/')
src\Framework\System\Windows\Navigation\NavigationService.cs (10)
145if (!String.IsNullOrEmpty(target)) 373if (String.IsNullOrEmpty(elementId)) 2456handleContentLoadedEvent = !string.IsNullOrEmpty(fragment); 2657if (string.IsNullOrEmpty(fragment)) 2821if (!string.IsNullOrEmpty(fragment)) 3560if (string.IsNullOrEmpty(name)) 3567if (String.IsNullOrEmpty(name) && dependencyObject is Page) 3572if (!String.IsNullOrEmpty(name)) 3577if (!string.IsNullOrEmpty(fragment)) 3590&& !String.IsNullOrEmpty(navWin.Title))
src\Framework\System\Windows\ResourceDictionary.cs (1)
144if (value == null || String.IsNullOrEmpty(value.OriginalString))
src\Framework\System\Windows\Setter.cs (1)
106if( String.IsNullOrEmpty(TargetName))
src\Framework\System\Windows\Shell\JumpList.cs (11)
584if (!string.IsNullOrEmpty(appId)) 648if (string.IsNullOrEmpty(jumpItem.CustomCategory)) 941if (string.IsNullOrEmpty(category)) 1021if (string.IsNullOrEmpty(jumpTask.Title)) 1023if (!allowSeparators || !string.IsNullOrEmpty(jumpTask.CustomCategory)) 1034if (!string.IsNullOrEmpty(jumpTask.ApplicationPath)) 1042if (!string.IsNullOrEmpty(jumpTask.WorkingDirectory)) 1049if (!string.IsNullOrEmpty(jumpTask.Arguments)) 1058if (!string.IsNullOrEmpty(jumpTask.IconResourcePath)) 1078if (!string.IsNullOrEmpty(jumpTask.Description)) 1089if (!string.IsNullOrEmpty(jumpTask.Title))
src\Framework\System\Windows\Standard\Debug.cs (2)
154IsFalse(string.IsNullOrEmpty(value)); 164if (string.IsNullOrEmpty(value))
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
447if (string.IsNullOrEmpty(message))
src\Framework\System\Windows\TemplateContent.cs (2)
1294if (String.IsNullOrEmpty(contentSource) && isContentSourceSet == false) 1297if (!String.IsNullOrEmpty(contentSource) && !isContentPropertyDefined)
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
82if (string.IsNullOrEmpty(AssemblyName))
src\Framework\System\Windows\VisualStateManager.cs (1)
547if (target == null && !string.IsNullOrEmpty(targetName))
SMDiagnostics (16)
System\ServiceModel\Diagnostics\DiagnosticTraceSource.cs (1)
40if (!string.IsNullOrEmpty(attributeValue))
System\ServiceModel\Diagnostics\EncodingFallbackAwareXmlTextWriter.cs (2)
23if (!string.IsNullOrEmpty(value) && 34if (string.IsNullOrEmpty(value))
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
138if (!string.IsNullOrEmpty(stack))
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
107Fx.Assert(!string.IsNullOrEmpty(description), "All TraceCodes should have a description");
System\ServiceModel\Diagnostics\PiiTraceSource.cs (3)
25Fx.Assert(!String.IsNullOrEmpty(eventSourceName), "Event log source name must be valid"); 34Fx.Assert(!String.IsNullOrEmpty(eventSourceName), "Event log source name must be valid"); 49if (!string.IsNullOrEmpty(attributeValue))
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (2)
87Fx.Assert(!String.IsNullOrEmpty(localName), ""); 89if (String.IsNullOrEmpty(localName))
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (6)
216if (!string.IsNullOrEmpty(this.prefix)) 220if (!string.IsNullOrEmpty(this.xmlns)) 250if (!string.IsNullOrEmpty(this.prefix)) 255if (!string.IsNullOrEmpty(this.xmlns)) 366else if (!string.IsNullOrEmpty(value)) 956Fx.Assert(!String.IsNullOrEmpty(elementName), "");
SMSvcHost (3)
System\ServiceModel\Activation\ListenerAdapterBase.cs (3)
57if (string.IsNullOrEmpty(protocolName)) 129if (string.IsNullOrEmpty(bindingString)) 282if (string.IsNullOrEmpty(appPoolId))
System (149)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2917if( String.IsNullOrEmpty(nspace.Name)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
540if(String.IsNullOrEmpty(s)) 1000if (string.IsNullOrEmpty(name))
compmod\microsoft\win32\SystemEvents.cs (2)
1096if (!string.IsNullOrEmpty(ns)) { 1146if (!string.IsNullOrEmpty(ns)) {
compmod\system\codedom\CodeGotoStatement.cs (1)
43if (String.IsNullOrEmpty(value))
compmod\system\codedom\CodeTypeReference.cs (2)
102if (!String.IsNullOrEmpty(type.Namespace)) 329if (String.IsNullOrEmpty(baseType))
compmod\system\codedom\compiler\RedistVersionInfo.cs (2)
103if (!string.IsNullOrEmpty(comPlus_InstallRoot) && !string.IsNullOrEmpty(comPlus_Version))
compmod\system\codedom\compiler\TempFiles.cs (1)
322if (String.IsNullOrEmpty(tempDir)) {
compmod\system\componentmodel\BindingList.cs (1)
562if (sender == null || e == null || string.IsNullOrEmpty(e.PropertyName)) {
compmod\system\componentmodel\MaskedTextProvider.cs (1)
237if( string.IsNullOrEmpty(mask) )
compmod\system\componentmodel\NullableConverter.cs (1)
64else if (value is String && String.IsNullOrEmpty(value as String)) {
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
863if (!String.IsNullOrEmpty(sta.PropertyName)) { 977if (String.IsNullOrEmpty(e.PropertyName) ||
compmod\system\componentmodel\TypeConverter.cs (1)
42if (!String.IsNullOrEmpty(useCompatibleConfig)) {
compmod\system\diagnostics\DelimitedListTraceListener.cs (1)
198if (!String.IsNullOrEmpty(message)) {
compmod\system\diagnostics\ListenerElementsCollection.cs (4)
213if (String.IsNullOrEmpty(className)) { 217if (_attributes != null || ElementInformation.Properties[_propFilter.Name].ValueOrigin == PropertyValueOrigin.SetHere || TraceOutputOptions != TraceOptions.None || !String.IsNullOrEmpty(InitData)) 324if (String.IsNullOrEmpty(className)) { 328if (_attributes != null || ElementInformation.Properties[_propFilter.Name].ValueOrigin == PropertyValueOrigin.SetHere || TraceOutputOptions != TraceOptions.None || !String.IsNullOrEmpty(InitData))
compmod\system\diagnostics\SourceElementsCollection.cs (2)
118if (!String.IsNullOrEmpty(SwitchName) && !String.IsNullOrEmpty(SwitchValue))
compmod\system\diagnostics\TraceSource.cs (8)
82if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 88if (!String.IsNullOrEmpty(sourceElement.SwitchValue)) 183if ((String.IsNullOrEmpty(sourceElement.SwitchType) && internalSwitch.GetType() != typeof(SourceSwitch)) || 186if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 192if (!String.IsNullOrEmpty(sourceElement.SwitchValue)) 196else if (!String.IsNullOrEmpty(sourceElement.SwitchName)) { 205if (!String.IsNullOrEmpty(sourceElement.SwitchValue)) 467if (!String.IsNullOrEmpty(typename))
compmod\system\diagnostics\traceutils.cs (2)
39if (String.IsNullOrEmpty(initializeData)) { 61if (!String.IsNullOrEmpty(filePath)) {
net\System\Net\_FtpControlStream.cs (1)
626if (!string.IsNullOrEmpty(request.RenameTo)
net\System\Net\_LoggingObject.cs (1)
972Print("Assert: " + message + (!string.IsNullOrEmpty(detailMessage) ? ": " + detailMessage : ""));
net\System\Net\_ServiceNameStore.cs (2)
45Debug.Assert(!String.IsNullOrEmpty(uriPrefix)); 81Debug.Assert(!String.IsNullOrEmpty(uriPrefix));
net\System\Net\_WebProxyDataBuilder.cs (3)
70if (!string.IsNullOrEmpty(autoConfigUrl)) 89Debug.Assert(!string.IsNullOrEmpty(proxyString)); 108Debug.Assert(!string.IsNullOrEmpty(proxyListString));
net\System\Net\Configuration\DefaultProxySection.cs (2)
152String.IsNullOrEmpty(section.Module.Type) && 184if (!String.IsNullOrEmpty(section.Module.Type))
net\System\Net\Configuration\UriSectionReader.cs (3)
231if (string.IsNullOrEmpty(schemeValue) || string.IsNullOrEmpty(genericUriParserOptionsValue)) 257if (string.IsNullOrEmpty(scheme))
net\System\Net\DNS.cs (1)
557if (string.IsNullOrEmpty(hostName) || hostName.Length > MaxHostName)
net\System\Net\DnsEndPoint.cs (1)
25if (String.IsNullOrEmpty(host)) {
net\System\Net\FtpWebRequest.cs (2)
290if (String.IsNullOrEmpty(value)) { 319if (String.IsNullOrEmpty(value)) {
net\System\Net\HttpListener.cs (3)
1737if (!String.IsNullOrEmpty(outBlob)) 2102if (String.IsNullOrEmpty(clientSpn)) 2264AddChallenge(ref challenges, DigestClient.AuthType + (string.IsNullOrEmpty(outBlob) ? "" : " " + outBlob));
net\System\Net\HttpListenerRequest.cs (5)
483if (string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.Connection]) || string.IsNullOrEmpty(this.Headers[HttpKnownHeaderNames.Upgrade])) 722if (string.IsNullOrEmpty(header)) 726if (string.IsNullOrEmpty(header)) 735m_KeepAlive = string.IsNullOrEmpty(header) ? TriState.False : TriState.True;
net\System\Net\HttpListenerRequestUriBuilder.cs (5)
60Debug.Assert(!string.IsNullOrEmpty(rawUri), "Empty raw URL."); 61Debug.Assert(!string.IsNullOrEmpty(cookedUriScheme), "Empty cooked URL scheme."); 62Debug.Assert(!string.IsNullOrEmpty(cookedUriHost), "Empty cooked URL host."); 63Debug.Assert(!string.IsNullOrEmpty(cookedUriPath), "Empty cooked URL path."); 192Debug.Assert(!string.IsNullOrEmpty(rawPath), "'rawPath' must have at least one character.");
net\System\Net\HttpListenerResponse.cs (6)
85if (string.IsNullOrEmpty(value)) 111if (string.IsNullOrEmpty(value)) 613if (!string.IsNullOrEmpty(setCookie)) 616if (string.IsNullOrEmpty(setCookie2)) 621if (!string.IsNullOrEmpty(setCookie2)) 624if (string.IsNullOrEmpty(setCookie))
net\System\Net\Internal.cs (1)
731if (string.IsNullOrEmpty(installType))
net\System\Net\mail\Attachment.cs (2)
216if (string.IsNullOrEmpty(cid)) 231if (string.IsNullOrEmpty(value))
net\System\Net\mail\BufferBuilder.cs (1)
61if (String.IsNullOrEmpty(value))
net\System\Net\mail\ContentDisposition.cs (4)
148if (String.IsNullOrEmpty(value)) 344if (String.IsNullOrEmpty(dispositionType)) 397if (String.IsNullOrEmpty(paramAttribute) || string.IsNullOrEmpty(paramValue))
net\System\Net\mail\MailAddress.cs (4)
78if (!String.IsNullOrEmpty(this.displayName)) { 95if (String.IsNullOrEmpty(this.displayName)) { 188if (String.IsNullOrEmpty(DisplayName)) { 219if (!String.IsNullOrEmpty(this.displayName))
net\System\Net\mail\MailAddressCollection.cs (1)
76if (String.IsNullOrEmpty(encodedAddresses)) {
net\System\Net\mail\MailAddressParser.cs (1)
73Debug.Assert(!String.IsNullOrEmpty(data));
net\System\Net\mail\MailMessage.cs (4)
298if (!string.IsNullOrEmpty(body)) { 306if (!string.IsNullOrEmpty(body)) { 332if (!string.IsNullOrEmpty(body)) { 384else if (viewsPart.Parts.Count == 1 && string.IsNullOrEmpty(body))
net\System\Net\mail\Message.cs (1)
436if (!string.IsNullOrEmpty(subject)){
net\System\Net\mail\MimeBasePart.cs (2)
142if (string.IsNullOrEmpty(value)) 161if (string.IsNullOrEmpty(value))
net\System\Net\mail\SmtpDateTime.cs (4)
222Debug.Assert(!String.IsNullOrEmpty(offset), 265Debug.Assert(!String.IsNullOrEmpty(value), 293if (string.IsNullOrEmpty(data)) 346if (String.IsNullOrEmpty(timeZoneString))
net\System\Net\mail\TrackingValidationObjectDictionary.cs (1)
61if (!string.IsNullOrEmpty(value))
net\System\Net\mail\WhitespaceReader.cs (2)
40Debug.Assert(!String.IsNullOrEmpty(data), "data was null or empty"); 104Debug.Assert(!String.IsNullOrEmpty(data), "data was null or empty");
net\System\Net\NetRegistryConfiguration.cs (4)
113Debug.Assert(!String.IsNullOrEmpty(path), "Registry path should not be null."); 114Debug.Assert(!String.IsNullOrEmpty(valueName), "valueName should not be null."); 152Debug.Assert(!String.IsNullOrEmpty(versionedKeyPath), ".Net Version should not be null."); 159Debug.Assert(!String.IsNullOrEmpty(valueName), "valueName should not be null.");
net\System\Net\SecureProtocols\_NegoState.cs (1)
470if (String.IsNullOrEmpty(clientSpn))
net\System\Net\webclient.cs (1)
954if (!string.IsNullOrEmpty(host)) {
net\System\Net\webproxy.cs (1)
686isBypassed = string.IsNullOrEmpty(proxy);
net\System\Net\WebSockets\WebSocketBase.cs (1)
1304if (s_LoggingEnabled && !string.IsNullOrEmpty(methodName))
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
41Contract.Assert(!string.IsNullOrEmpty(connectionGroupName),
net\System\Net\WebSockets\WebSocketHelpers.cs (5)
228if (string.IsNullOrEmpty(clientSecWebSocketProtocol)) 332if (string.IsNullOrEmpty(secWebSocketVersion)) 414if (closeStatus == WebSocketCloseStatus.Empty && !string.IsNullOrEmpty(statusDescription)) 436if (!string.IsNullOrEmpty(statusDescription)) 542Contract.Requires(!string.IsNullOrEmpty(parameterName), "'parameterName' MUST NOT be NULL or string.Empty");
net\System\Net\WebUtility.cs (2)
48if (String.IsNullOrEmpty(value)) { 151if (String.IsNullOrEmpty(value)) {
net\System\Net\WinHttpWebProxyFinder.cs (1)
101if (string.IsNullOrEmpty(proxyListString))
net\System\URI.cs (1)
1260if (!String.IsNullOrEmpty(m_Info.DnsSafeHost)) {
net\System\uribuilder.cs (1)
79if (!string.IsNullOrEmpty(userInfo)) {
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1157Debug.Assert(!String.IsNullOrEmpty(set), "Found a null/empty element in RegexCharClass prop table");
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
55if (String.IsNullOrEmpty(serviceName)) { 70Debug.Assert(!String.IsNullOrEmpty(searchServiceName));
services\io\system\io\FileSystemWatcher.cs (1)
220if (String.IsNullOrEmpty(value)) {
services\monitoring\system\diagnosticts\EventLog.cs (3)
1200if (String.IsNullOrEmpty(sourceData.MessageResourceFile)) 1205if (!String.IsNullOrEmpty(sourceData.ParameterResourceFile)) 1208if (!String.IsNullOrEmpty(sourceData.CategoryResourceFile)) {
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (1)
145else if(String.IsNullOrEmpty(format)) {
services\monitoring\system\diagnosticts\PerformanceCounter.cs (5)
501if (String.IsNullOrEmpty(instanceName)) 504if (!String.IsNullOrEmpty(instanceName)) 527if (String.IsNullOrEmpty(instanceName)) 530if (!String.IsNullOrEmpty(instanceName)) 534if (String.IsNullOrEmpty(instanceName) && InstanceLifetime == PerformanceCounterInstanceLifetime.Process)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
432Debug.Assert(!String.IsNullOrEmpty(counterData.CounterHelp), "CounterHelp should have been fixed up by the caller");
services\monitoring\system\diagnosticts\Process.cs (2)
1963if (!String.IsNullOrEmpty(arguments)) { 2187if( !String.IsNullOrEmpty(startInfo.UserName) || (startInfo.Password != null) ) {
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
1241if (String.IsNullOrEmpty(name)) {
sys\system\configuration\ApplicationSettingsBase.cs (1)
700if (!String.IsNullOrEmpty(fullAppId)) {
sys\system\configuration\ConfigurationException.cs (2)
92if (!string.IsNullOrEmpty(file)) { 170if (string.IsNullOrEmpty(filename)) {
sys\system\configuration\LocalFileSettingsProvider.cs (7)
81if (String.IsNullOrEmpty(name)) { 291if (!String.IsNullOrEmpty(prevConfig)) { 321if (String.IsNullOrEmpty(prevConfigFile)) { 382if (!String.IsNullOrEmpty(key)) { 511if (!String.IsNullOrEmpty(prevConfig)) { 535if (String.IsNullOrEmpty(xmlString)) { 544if (String.IsNullOrEmpty(escapedString)) {
sys\system\Media\SoundPlayer.cs (3)
249if (String.IsNullOrEmpty(soundLocation) && stream == null) { 420if (!String.IsNullOrEmpty(soundLocation)) 711if (!String.IsNullOrEmpty(this.soundLocation)) {
sys\system\runtime\versioning\FrameworkName.cs (2)
60if (!String.IsNullOrEmpty(Profile)) { 192if (!String.IsNullOrEmpty(value)) {
System.Activities (125)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
304if (!String.IsNullOrEmpty(namespaceImport)) 442if (!String.IsNullOrEmpty(namespaceImport))
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
152if (this.Xmlns != null && !string.IsNullOrEmpty(this.Xmlns.NamespaceName))
System\Activities\Activity.cs (2)
228if (!this.isDisplayNameSet && string.IsNullOrEmpty(this.displayName)) 1756if (string.IsNullOrEmpty(key))
System\Activities\ActivityDelegate.cs (1)
54if (string.IsNullOrEmpty(this.displayName))
System\Activities\ActivityUtilities.cs (1)
744if (!string.IsNullOrEmpty(prefix))
System\Activities\Argument.cs (1)
138if (string.IsNullOrEmpty(referencedArgumentName))
System\Activities\Bookmark.cs (1)
37if (string.IsNullOrEmpty(name))
System\Activities\Debugger\DebugInfo.cs (1)
623if (string.IsNullOrEmpty(prefix))
System\Activities\Debugger\DebugManager.cs (2)
131Fx.Assert(!string.IsNullOrEmpty(sourcePath), "SourcePath cannot be null for temporary file"); 233if (string.IsNullOrEmpty(displayName))
System\Activities\Debugger\InstrumentationTracker.cs (2)
69if (!string.IsNullOrEmpty(wfSymbol)) 76if (!string.IsNullOrEmpty(sourcePath))
System\Activities\Debugger\SourceLocation.cs (1)
184return (string.IsNullOrEmpty(this.FileName) ? 0 : this.FileName.GetHashCode()) ^
System\Activities\Debugger\SourceLocationProvider.cs (5)
55if (string.IsNullOrEmpty(symbolString) && rootActivity.Children != null && rootActivity.Children.Count > 0) 59if (!string.IsNullOrEmpty(bodySymbolString)) 66if (!string.IsNullOrEmpty(symbolString)) 109if (!string.IsNullOrEmpty(bodySourcePath)) 118Fx.Assert(!string.IsNullOrEmpty(sourcePath), "If sourcePath is null, it should have been short-circuited before reaching here.");
System\Activities\Debugger\Symbol\SymbolHelper.cs (1)
93Fx.Assert(!string.IsNullOrEmpty(fileName), "fileName should not be empty or null");
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
209if (!string.IsNullOrEmpty(this.FileName))
System\Activities\Debugger\ThreadWorkerController.cs (1)
134string name = string.IsNullOrEmpty(threadName) ? this.stateManager.ManagerProperties.AuxiliaryThreadName : threadName;
System\Activities\DynamicActivityTypeDescriptor.cs (1)
123if (string.IsNullOrEmpty(property.Name))
System\Activities\DynamicUpdate\ActivityComparer.cs (3)
105if (string.IsNullOrEmpty(leftName) && string.IsNullOrEmpty(rightName)) 115return variables.Any(v => string.IsNullOrEmpty(v.Name));
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
279if (!String.IsNullOrEmpty(type.Namespace))
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (2)
238if (string.IsNullOrEmpty(variable.Name)) 1055if (String.IsNullOrEmpty(newVariable.Name))
System\Activities\ExecutionProperties.cs (4)
73if (string.IsNullOrEmpty(name)) 130if (string.IsNullOrEmpty(name)) 172if (string.IsNullOrEmpty(name)) 191Fx.Assert(!string.IsNullOrEmpty(name), "We should only call this with non-null names");
System\Activities\Expressions\ArgumentReference.cs (2)
40if (string.IsNullOrEmpty(this.ArgumentName)) 61if (!string.IsNullOrEmpty(this.ArgumentName))
System\Activities\Expressions\ArgumentValue.cs (2)
40if (string.IsNullOrEmpty(this.ArgumentName)) 61if (!string.IsNullOrEmpty(this.ArgumentName))
System\Activities\Expressions\ExpressionServices.cs (1)
1249if (string.IsNullOrEmpty(methodInfo.Name) || methodInfo.DeclaringType == null)
System\Activities\Expressions\FieldReference.cs (1)
47if (string.IsNullOrEmpty(this.FieldName))
System\Activities\Expressions\FieldValue.cs (1)
40if (string.IsNullOrEmpty(this.FieldName))
System\Activities\Expressions\Literal.cs (1)
79if (string.IsNullOrEmpty(myValue))
System\Activities\Expressions\PropertyReference.cs (1)
53if (string.IsNullOrEmpty(this.PropertyName))
System\Activities\Expressions\PropertyValue.cs (1)
39if (string.IsNullOrEmpty(this.PropertyName))
System\Activities\Expressions\ValueTypeFieldReference.cs (1)
46if (string.IsNullOrEmpty(this.FieldName))
System\Activities\Expressions\ValueTypePropertyReference.cs (1)
56else if (String.IsNullOrEmpty(this.PropertyName))
System\Activities\Expressions\VariableReference.cs (1)
66if (Variable != null && !string.IsNullOrEmpty(Variable.Name))
System\Activities\Expressions\VariableValue.cs (1)
61if (Variable != null && !string.IsNullOrEmpty(Variable.Name))
System\Activities\Hosting\SymbolResolver.cs (1)
315if (string.IsNullOrEmpty(name))
System\Activities\InArgument.cs (2)
35if (string.IsNullOrEmpty(referencedArgumentName)) 52if (string.IsNullOrEmpty(referencedArgumentName))
System\Activities\InOutArgument.cs (1)
33if (string.IsNullOrEmpty(referencedArgumentName))
System\Activities\NativeActivityContext.cs (5)
266if (string.IsNullOrEmpty(name)) 283if (string.IsNullOrEmpty(name)) 313if (string.IsNullOrEmpty(name)) 433if (string.IsNullOrEmpty(name)) 455if (string.IsNullOrEmpty(name))
System\Activities\OutArgument.cs (2)
35if (string.IsNullOrEmpty(referencedArgumentName)) 52if (string.IsNullOrEmpty(referencedArgumentName))
System\Activities\OverloadGroupAttribute.cs (2)
24if (string.IsNullOrEmpty(groupName)) 41if (string.IsNullOrEmpty(value))
System\Activities\QualifiedId.cs (1)
120Fx.Assert(!string.IsNullOrEmpty(value), "We should have already made sure it isn't null or empty.");
System\Activities\RegistrationContext.cs (1)
25if (string.IsNullOrEmpty(name))
System\Activities\Runtime\ExecutionPropertyManager.cs (4)
128Fx.Assert(!string.IsNullOrEmpty(name), "The name should be validated by the caller."); 228Fx.Assert(!string.IsNullOrEmpty(name), "The name should be validated before calling this collection."); 371Fx.Assert(!string.IsNullOrEmpty(name), "This should have been validated by the caller."); 405Fx.Assert(!string.IsNullOrEmpty(name), "This should be validated elsewhere");
System\Activities\RuntimeArgument.cs (1)
48if (string.IsNullOrEmpty(name))
System\Activities\RuntimeDelegateArgument.cs (1)
19if (string.IsNullOrEmpty(name))
System\Activities\Statements\MethodResolver.cs (2)
105if (string.IsNullOrEmpty(name)) 188if (string.IsNullOrEmpty(this.MethodName))
System\Activities\Statements\StateMachine.cs (6)
247if (!string.IsNullOrEmpty(state.StateId)) 299Fx.Assert(!string.IsNullOrEmpty(state.StateId), "StateId should have been set."); 366else if (string.IsNullOrEmpty(transition.To.StateId)) 488Fx.Assert(!string.IsNullOrEmpty(this.InitialState.StateId), "StateId should have get set on the initialState."); 498Fx.Assert(string.IsNullOrEmpty(this.InitialState.StateId), "Initial state would not have an id because it is not in the States collection."); 540if (string.IsNullOrEmpty(state.StateId))
System\Activities\Statements\StateMachineIdHelper.cs (3)
32Fx.Assert(!string.IsNullOrEmpty(descendantId), "descendantId should not be null or empty."); 33Fx.Assert(!string.IsNullOrEmpty(stateId), "stateId should not be null or empty."); 70if (string.IsNullOrEmpty(state2Id))
System\Activities\Statements\TerminateWorkflow.cs (1)
51if (!string.IsNullOrEmpty(reason))
System\Activities\Tracking\ActivityInfo.cs (12)
24if (string.IsNullOrEmpty(name)) 28if (string.IsNullOrEmpty(id)) 32if (string.IsNullOrEmpty(instanceId)) 36if (string.IsNullOrEmpty(typeName)) 69if (string.IsNullOrEmpty(this.name)) 79Fx.Assert(!string.IsNullOrEmpty(value), "Name cannot be null or empty"); 89if (String.IsNullOrEmpty(this.id)) 99Fx.Assert(!string.IsNullOrEmpty(value), "Id cannot be null or empty"); 109if (string.IsNullOrEmpty(this.instanceId)) 118Fx.Assert(!string.IsNullOrEmpty(value), "InstanceId cannot be null or empty"); 128if (string.IsNullOrEmpty(this.typeName)) 138Fx.Assert(!string.IsNullOrEmpty(value), "TypeName cannot be null or empty");
System\Activities\Tracking\ActivityStateRecord.cs (1)
68if (string.IsNullOrEmpty(state))
System\Activities\Tracking\CustomTrackingRecord.cs (1)
36if (string.IsNullOrEmpty(name))
System\Activities\Tracking\WorkflowInstanceAbortedRecord.cs (2)
21if (string.IsNullOrEmpty(reason)) 31if (string.IsNullOrEmpty(reason))
System\Activities\Tracking\WorkflowInstanceRecord.cs (4)
23if (string.IsNullOrEmpty(activityDefinitionId)) 27if (string.IsNullOrEmpty(state)) 38if (string.IsNullOrEmpty(activityDefinitionId)) 42if (string.IsNullOrEmpty(state))
System\Activities\Tracking\WorkflowInstanceSuspendedRecord.cs (2)
21if (string.IsNullOrEmpty(reason)) 31if (string.IsNullOrEmpty(reason))
System\Activities\Tracking\WorkflowInstanceTerminatedRecord.cs (2)
22if (string.IsNullOrEmpty(reason)) 33if (string.IsNullOrEmpty(reason))
System\Activities\Tracking\WorkflowInstanceUnhandledExceptionRecord.cs (1)
28if (string.IsNullOrEmpty(activityDefinitionId))
System\Activities\Validation\ActivityValidationServices.cs (1)
427if (!string.IsNullOrEmpty(prefix))
System\Activities\Validation\ExtensionMethods.cs (1)
23if (!string.IsNullOrEmpty(s))
System\Activities\Variable.cs (2)
294if (!string.IsNullOrEmpty(name)) 303if (!string.IsNullOrEmpty(name))
System\Activities\WorkflowApplication.cs (6)
1019if (string.IsNullOrEmpty(reason)) 1076if (string.IsNullOrEmpty(reason)) 2538if (string.IsNullOrEmpty(bookmarkName)) 2555if (string.IsNullOrEmpty(bookmarkName)) 2642if (string.IsNullOrEmpty(bookmarkName)) 2653if (string.IsNullOrEmpty(bookmarkName))
System\Activities\WorkflowDataContext.cs (1)
102if (!string.IsNullOrEmpty(reference.Name) &&
System\Activities\WorkflowIdentity.cs (1)
158if (string.IsNullOrEmpty(value))
System\Activities\WorkflowInspectionServices.cs (1)
51if (string.IsNullOrEmpty(id))
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (3)
480if (string.IsNullOrEmpty(xClassName)) 805if (string.IsNullOrEmpty(propertyName)) 880if (string.IsNullOrEmpty(this.propertyName))
System\Activities\XamlIntegration\PropertyReferenceExtension.cs (1)
31if (!string.IsNullOrEmpty(this.PropertyName))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2574if (!string.IsNullOrEmpty(symbolString))
System\Activities\XamlIntegration\TextExpressionCompilerHelper.cs (1)
104if (!string.IsNullOrEmpty(namespaceName))
System.Activities.Core.Presentation (23)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (3)
275if (!string.IsNullOrEmpty(ComboBoxAutomationName)) 282if (comboBoxTextBox != null && !string.IsNullOrEmpty(EditorAutomationName)) 298if (textBox != null && !string.IsNullOrEmpty(EditorAutomationName))
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (1)
128if (!string.IsNullOrEmpty(this.SelectedPropertyName))
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (1)
255if (string.IsNullOrEmpty(errorMessage))
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
2480if (linkCreated && string.IsNullOrEmpty(message))
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (1)
159bool expressionSpecified = !string.IsNullOrEmpty(expressionString);
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
217bool expressionSpecified = !string.IsNullOrEmpty(expressionString);
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
196if (!string.IsNullOrEmpty(errorMessage))
System\Activities\Core\Presentation\InvokeDelegateDesigner.xaml.cs (2)
91if (!string.IsNullOrEmpty(propertyName)) 129if (string.IsNullOrEmpty(propertyName))
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (1)
21if (!string.IsNullOrEmpty(stateOrTransitionName))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
399displayName => !string.IsNullOrEmpty(displayName)).Distinct());
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
405if (!string.IsNullOrEmpty(errorMessage)) 530if (duplicates || string.IsNullOrEmpty(newName)) 857return string.IsNullOrEmpty(this.Name) ? "Parameter" : this.Name;
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
192if (this.Type != null && !string.IsNullOrEmpty(this.Type.Name))
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
149if (string.IsNullOrEmpty(newKey))
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (3)
155if (string.IsNullOrEmpty(operationName) || null == serviceContractName) 168if (string.IsNullOrEmpty(operationName) || null == serviceContractName) 186if (!string.IsNullOrEmpty(prefix) && !messageContext.HasNamespace(prefix) && prefix != "xmlns")
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (2)
135if (null != this.Activity && null != this.MessageQuerySetContainer && !string.IsNullOrEmpty(this.querySetPropertyName)) 320if (string.IsNullOrEmpty(name))
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
257if (string.IsNullOrEmpty(name))
System.Activities.Presentation (124)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\ExpressionSettingHelper.cs (1)
37if (string.IsNullOrEmpty(globalEditorSetting))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameExtensions.cs (1)
43return string.IsNullOrEmpty(frameworkName.Profile);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
282if (!string.IsNullOrEmpty(fileName) && targetFramework.Is45OrHigher())
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (5)
60if (!string.IsNullOrEmpty(localAssembly)) 72if (!string.IsNullOrEmpty(this.localAssemblyNsPostfix) 195get { return !string.IsNullOrEmpty(this.localAssemblyNsPostfix); } 224return !string.IsNullOrEmpty(this.localAssemblyNsPostfix) && ns.EndsWith(this.localAssemblyNsPostfix, StringComparison.OrdinalIgnoreCase); 229return string.IsNullOrEmpty(this.localAssemblyNsPostfix) ? ns : ns.Substring(0, ns.Length - this.localAssemblyNsPostfix.Length);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (4)
120if (string.IsNullOrEmpty(value)) 643if (string.IsNullOrEmpty(defaultPropertyName)) 1015if (string.IsNullOrEmpty(editorTypeName) || this.Items == null) 1166if (!string.IsNullOrEmpty(filterString))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (2)
102if (!string.IsNullOrEmpty(str)) 109if (string.IsNullOrEmpty(str))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
78if (string.IsNullOrEmpty(propertyName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (2)
394if (string.IsNullOrEmpty(propertyName)) 601Fx.Assert(!string.IsNullOrEmpty(propertyName), "Can't raise OnPropertyChanged event without a valid property name.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ValueToToolTipConverter.cs (1)
28return string.IsNullOrEmpty(value) ? null : value;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (3)
46if (attribute == null || string.IsNullOrEmpty(attribute.Category)) 288if (string.IsNullOrEmpty(displayName)) 305if (description == null || string.IsNullOrEmpty(description.Description))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
113if (!LocalAppContextSwitches.UseLegacyAccessibilityFeatures && !String.IsNullOrEmpty(AutomationName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
87if (string.IsNullOrEmpty(mergedDefaultProperty))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
208else if (string.IsNullOrEmpty(stringToConvert)) 415if (string.IsNullOrEmpty(value))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
158if (string.IsNullOrEmpty(value))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\ResourceUtilities.cs (1)
32if (string.IsNullOrEmpty(key))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionPathInterpreter.cs (2)
39if (string.IsNullOrEmpty(editorTypeName)) 65if (string.IsNullOrEmpty(editorTypeName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
28if (string.IsNullOrEmpty(editorTypeName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\CategoryState.cs (2)
34Fx.Assert(!string.IsNullOrEmpty(categoryName), "Expected a full category name"); 111if (string.IsNullOrEmpty(categoryName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
63if (string.IsNullOrEmpty(serializedStates))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateUtilities.cs (2)
20if (string.IsNullOrEmpty(s)) 39if (string.IsNullOrEmpty(s))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
95if (string.IsNullOrEmpty(path))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyState.cs (2)
31Fx.Assert(!string.IsNullOrEmpty(propertyName), "Expected a full property name"); 96if (string.IsNullOrEmpty(propertyName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
54if (container == null || string.IsNullOrEmpty(name) || searchDepth < 0)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1570if (type.IsGenericType && !type.IsGenericTypeDefinition && !string.IsNullOrEmpty(memberName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\categoryentry.cs (1)
25if (string.IsNullOrEmpty(name))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilter.cs (2)
47if (string.IsNullOrEmpty(filterText)) 54if (!string.IsNullOrEmpty(filterParts[i]))
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
40if (!string.IsNullOrEmpty(directionString))
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (1)
49if (!string.IsNullOrEmpty(directionString))
System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (2)
26if (string.IsNullOrEmpty(displayName) && values[1] != DependencyProperty.UnsetValue) 37if (string.IsNullOrEmpty(displayName))
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (1)
722return !string.IsNullOrEmpty(sourceLocation.FileName) && sourceLocation.FileName.StartsWith(unresolvedPrefix, StringComparison.OrdinalIgnoreCase);
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
307if (!string.IsNullOrEmpty(text)) 343if (!string.IsNullOrEmpty(text))
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
60if (string.IsNullOrEmpty(details)) 116StackTraceVisibility = string.IsNullOrEmpty(stackTrace) ? Visibility.Collapsed : Visibility.Visible,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (1)
25if (!String.IsNullOrEmpty(labelText) && connectorPoints != null)
System.Activities.Presentation\System\Activities\Presentation\Model\AttachablePropertyChange.cs (1)
40if (!string.IsNullOrEmpty(this.PropertyName))
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
28if (string.IsNullOrEmpty(property.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
80if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 233if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
264if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 388if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
364if (!string.IsNullOrEmpty(segment))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
84if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 228if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (3)
310if (!string.IsNullOrEmpty(annotationText)) 386if (!string.IsNullOrEmpty(annotationText)) 480if (!string.IsNullOrEmpty(propertyPath))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeItemHelper.cs (1)
31Fx.Assert(!string.IsNullOrEmpty(propertyName), "propertyName should not be null or empty");
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
54if (propAttr != null && !string.IsNullOrEmpty(propAttr.Name))
System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
38Fx.Assert(!String.IsNullOrEmpty(this.PropertyName), " property name cannot be null or emptry");
System.Activities.Presentation\System\Activities\Presentation\NonTextualExpressionMorphHelper.cs (1)
42if (!string.IsNullOrEmpty(expressionEditor))
System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (3)
17Fx.Assert(!string.IsNullOrEmpty(targetProperty), "targetProperty should not be null or empty."); 37Fx.Assert(!string.IsNullOrEmpty(targetProperty), "targetProperty should not be null or empty."); 53if (string.IsNullOrEmpty(sourceProperty))
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
44if (string.IsNullOrEmpty(fileName))
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
296if (!string.IsNullOrEmpty(this.BitmapName)) 338if (!string.IsNullOrEmpty(this.customDisplayName))
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (2)
151if (string.IsNullOrEmpty(text)) 157if (string.IsNullOrEmpty(tool.DisplayName) || tool.DisplayName.IndexOf(text, StringComparison.OrdinalIgnoreCase) < 0)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (6)
926if (!string.IsNullOrEmpty(name)) 1060if (this.GetArgumentType() != typeof(string) && value is string && string.IsNullOrEmpty((string)value)) 1287if (string.IsNullOrEmpty(name)) 1322if (value is string && string.IsNullOrEmpty((string)value)) 1422if (!string.IsNullOrEmpty(currentExpressionText)) 1425if (!string.IsNullOrEmpty(rootEditorSetting))
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
151!string.IsNullOrEmpty(column.SortMemberPath) &&
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1117if (true == showDialogResult && !string.IsNullOrEmpty(dlg.FileName))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1772if (null != menuItem && !string.IsNullOrEmpty(iconName))
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
840if (!string.IsNullOrEmpty(errorMessage))
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (5)
153else if (string.IsNullOrEmpty(inputTextBox.Text)) 367if (string.IsNullOrEmpty(this.lastInput)) 565if (!string.IsNullOrEmpty(ns)) 621if (!string.IsNullOrEmpty(ns)) 747if (string.IsNullOrEmpty(importedNamespace))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (2)
32if (attr != null && !string.IsNullOrEmpty(attr.PromotedProperty)) 279if (attribute != null && !string.IsNullOrEmpty(attribute.DesignerTypeName))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
466if (attr != null && !string.IsNullOrEmpty(attr.PromotedProperty))
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
729bool noSearch = string.IsNullOrEmpty(searchText);
System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (1)
42if (!string.IsNullOrEmpty(stringValue))
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
1205if (!string.IsNullOrEmpty(name)) 1409if (!string.IsNullOrEmpty(newName))
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
38if (string.IsNullOrEmpty(value))
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
211if (string.IsNullOrEmpty(name))
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
343if (!string.IsNullOrEmpty(sizeString))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (7)
965if (!string.IsNullOrEmpty(newExpressionText)) 1309if (!string.IsNullOrEmpty(pathAsString) && null != this.OwnerActivity) 1345this.HintText = (null == customHint || string.IsNullOrEmpty(customHint.Description) ? 1402!(string.IsNullOrEmpty(currentText) && string.IsNullOrEmpty(this.previousText)); 1848if (string.IsNullOrEmpty(validationContext.ExpressionText)) 1881if (!string.IsNullOrEmpty(errorMessage))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (1)
29new XAttribute("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (2)
82if (viewElement == null || !(string.IsNullOrEmpty(errorString))) 146if (designerAttribute != null && !String.IsNullOrEmpty(designerAttribute.DesignerTypeName))
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
396if (!string.IsNullOrEmpty(this.text)) 448if (string.IsNullOrEmpty(fileName))
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
114if (string.IsNullOrEmpty(this.Text) ||
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
761if (!string.IsNullOrEmpty(baseAutomationID)) 773!string.IsNullOrEmpty(owner.Item.ItemType.Name)) 778if (string.IsNullOrEmpty(name))
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (4)
447this.hintTextGrid.Visibility = (this.Items.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.Visible : Visibility.Collapsed; 928if (string.IsNullOrEmpty(automationId)) 931if (string.IsNullOrEmpty(automationId)) 947if (string.IsNullOrEmpty(name))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1083if (!string.IsNullOrEmpty(automationIdVariablePartMemberName))
System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
79if (!String.IsNullOrEmpty(workflowViewStateIdRef))
System.AddIn (18)
System\Addin\Hosting\Store\AddIn.cs (1)
182if (String.IsNullOrEmpty(_unlocalized.Name))
System\Addin\Hosting\Utils.cs (9)
149System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(path)); 150System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(root)); 173System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyRef)); 174System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef)); 183System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef1)); 184System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef2)); 193System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeAndAssemblyName1)); 194System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeAndAssemblyName2)); 205System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyRef));
System\Addin\MiniReflection\MiniAssembly.cs (3)
153if (!String.IsNullOrEmpty(cultureName)) 176if (!String.IsNullOrEmpty(loadedAssemblyName.CultureInfo.Name)) 195System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(simpleName));
System\Addin\MiniReflection\TypeInfo.cs (4)
97System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeName)); 112System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeName)); 127get { return String.IsNullOrEmpty(_nameSpace) ? _typeName : _nameSpace + "." + _typeName; } 365if (String.IsNullOrEmpty(_nameSpace))
System\Addin\Pipeline\ContractAdapter.cs (1)
71if (String.IsNullOrEmpty(pipelineRoot))
System.ComponentModel.DataAnnotations (19)
DataAnnotations\CustomValidationAttribute.cs (2)
182if (!string.IsNullOrEmpty(this._lastMessage)) { 219if (String.IsNullOrEmpty(this._method)) {
DataAnnotations\DataTypeAttribute.cs (1)
109if (this.DataType == DataType.Custom && String.IsNullOrEmpty(this.CustomDataType)) {
DataAnnotations\EnumDataTypeAttribute.cs (1)
34if (stringValue != null && String.IsNullOrEmpty(stringValue)) {
DataAnnotations\RangeAttribute.cs (1)
101if (s != null && String.IsNullOrEmpty(s)) {
DataAnnotations\RegularExpressionAttribute.cs (2)
66if (String.IsNullOrEmpty(stringValue)) { 101if (string.IsNullOrEmpty(this.Pattern)) {
DataAnnotations\ValidationAttribute.cs (5)
204bool resourceNameSet = !string.IsNullOrEmpty(this._errorMessageResourceName); 205bool errorMessageSet = !string.IsNullOrEmpty(this._errorMessage); 207bool defaultMessageSet = !string.IsNullOrEmpty(this._defaultErrorMessage); 236if (this._errorMessageResourceType != null && !string.IsNullOrEmpty(this._errorMessageResourceName)) { 420bool hasErrorMessage = (result != null) ? !string.IsNullOrEmpty(result.ErrorMessage) : false;
DataAnnotations\ValidationAttributeStore.cs (1)
184if (string.IsNullOrEmpty(propertyName)) {
DataAnnotations\ValidationContext.cs (5)
169if (string.IsNullOrEmpty(this._displayName)) { 172if (string.IsNullOrEmpty(this._displayName)) { 175if (string.IsNullOrEmpty(this._displayName)) { 183if (string.IsNullOrEmpty(value)) { 228if (string.IsNullOrEmpty(this._memberName)) {
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System.Configuration (134)
parent\misc\ConfigPathUtility.cs (7)
27if (String.IsNullOrEmpty(configPath)) { 73Debug.Assert(String.IsNullOrEmpty(parentConfigPath) || IsValid(parentConfigPath), "String.IsNullOrEmpty(parentConfigPath) || IsValid(parentConfigPath)"); 74Debug.Assert(String.IsNullOrEmpty(childConfigPath) || IsValid(childConfigPath), "String.IsNullOrEmpty(childConfigPath) || IsValid(childConfigPath)"); 76if (String.IsNullOrEmpty(parentConfigPath)) { 80if (String.IsNullOrEmpty(childConfigPath)) { 99Debug.Assert(String.IsNullOrEmpty(configPath) || IsValid(configPath), "String.IsNullOrEmpty(configPath) || IsValid(configPath)"); 101if (String.IsNullOrEmpty(configPath)) {
System\Configuration\AppSettingsSection.cs (2)
88if (!String.IsNullOrEmpty((string)base[s_propFile])) { // don't inherit from the parent 115if (String.IsNullOrEmpty(configFile)) {
System\Configuration\BaseConfigurationRecord.cs (14)
610if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 684if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 1992else if (!String.IsNullOrEmpty(input.SectionXmlInfo.ConfigSource)) { 2058if (String.IsNullOrEmpty(providerName)) { 2093if (String.IsNullOrEmpty(builderName) || ConfigBuilders == null) { 2707if (String.IsNullOrEmpty(parentConfigKey)) { 2711if (String.IsNullOrEmpty(tagName)) { 3575if (String.IsNullOrEmpty(name)) { 3634if (String.IsNullOrEmpty(subPath)) 3796if (String.IsNullOrEmpty(configSource)) { 3809if (String.IsNullOrEmpty(configSource) || System.IO.Path.IsPathRooted(configSource)) { 3991if (forceEvaluatation && !IsInitDelayed && !String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 4207if (String.IsNullOrEmpty(configBuilder)) { 4215if (String.IsNullOrEmpty(protectionProvider)) {
System\Configuration\CallbackValidatorAttribute.cs (1)
35if (!String.IsNullOrEmpty(_callbackMethodName)) {
System\Configuration\ClientConfigPaths.cs (21)
183string applicationUriLower = !String.IsNullOrEmpty(_applicationUri) ? _applicationUri.ToLower(CultureInfo.InvariantCulture) : null; 184string namePrefix = !String.IsNullOrEmpty(validAppDomainName) ? validAppDomainName : Validate(_productName, true); 187string part2 = (!String.IsNullOrEmpty(namePrefix) && !String.IsNullOrEmpty(hashSuffix)) ? namePrefix + hashSuffix : null; 350if (evidenceObj != null && !String.IsNullOrEmpty(typeName)) { 358if (!String.IsNullOrEmpty(evidenceHash)) { 435if (!String.IsNullOrEmpty(fullAppId)) { 480if (!isHttp && (String.IsNullOrEmpty(_companyName) || String.IsNullOrEmpty(_productName) || String.IsNullOrEmpty(_productVersion))) { 500if (String.IsNullOrEmpty(_companyName)) { 507if (String.IsNullOrEmpty(_productName)) { 514if (String.IsNullOrEmpty(_productVersion)) { 524if (String.IsNullOrEmpty(_companyName) || String.IsNullOrEmpty(_productName)) { 531if (String.IsNullOrEmpty(_productName)) { 546if (String.IsNullOrEmpty(_productName) && mainType != null) { 557if (String.IsNullOrEmpty(_companyName)) { 572if (String.IsNullOrEmpty(_companyName)) { 579if (String.IsNullOrEmpty(_productVersion)) { 642if (!String.IsNullOrEmpty(validated)) {
System\Configuration\ClientConfigurationHost.cs (12)
81return !String.IsNullOrEmpty(_fileMap.RoamingUserConfigFilename); 92return !String.IsNullOrEmpty(_fileMap.LocalUserConfigFilename); 152if (fileMap != null && !String.IsNullOrEmpty(_exePath)) { 156if (String.IsNullOrEmpty(_exePath)) { 163if (!String.IsNullOrEmpty(fileMap.MachineConfigFilename)) { 169if (!String.IsNullOrEmpty(exeFileMap.ExeConfigFilename)) { 173if (!String.IsNullOrEmpty(exeFileMap.RoamingUserConfigFilename)) { 177if (!String.IsNullOrEmpty(exeFileMap.LocalUserConfigFilename)) { 568if (String.IsNullOrEmpty(fileMap.MachineConfigFilename)) { 576if (String.IsNullOrEmpty(exeFileMap.ExeConfigFilename)) { 583if (String.IsNullOrEmpty(exeFileMap.RoamingUserConfigFilename)) { 590if (String.IsNullOrEmpty(exeFileMap.LocalUserConfigFilename)) {
System\Configuration\Configuration.cs (6)
64if (!String.IsNullOrEmpty(locationSubPath) && !updateConfigHost.SupportsLocation) { 68if (String.IsNullOrEmpty(locationSubPath) != String.IsNullOrEmpty(locationConfigPath)) { 79if (!String.IsNullOrEmpty(locationSubPath)) { 219if (String.IsNullOrEmpty(filename)) { 227if (String.IsNullOrEmpty(filename)) {
System\Configuration\ConfigurationCollectionAttribute.cs (3)
56if (string.IsNullOrEmpty(value)) { 72if (string.IsNullOrEmpty(value)) { 88if (string.IsNullOrEmpty(value)) {
System\Configuration\ConfigurationElement.cs (6)
1292if (!String.IsNullOrEmpty(collectionProperties) && 1356if (string.IsNullOrEmpty(attributeList)) { 1370if (!String.IsNullOrEmpty(attribToLockTrim)) { 1630if (!string.IsNullOrEmpty(prop.Name) && 1665if (!(string.IsNullOrEmpty(prop.Name) || _lockedAllExceptElementsList.Contains(prop.Name)) && 1710if (string.IsNullOrEmpty(ce.Filename)) {
System\Configuration\ConfigurationElementCollection.cs (1)
1212if (!String.IsNullOrEmpty(ElementName)) {
System\Configuration\ConfigurationErrorsException.cs (3)
246if (!string.IsNullOrEmpty(file)) { 365if (string.IsNullOrEmpty(filename)) { 413if (string.IsNullOrEmpty(filename)) {
System\Configuration\ConfigurationFileMap.cs (1)
30if (string.IsNullOrEmpty(machineConfigFilename))
System\Configuration\ConfigurationLockCollection.cs (2)
231if (useSeedIfAvailble && !String.IsNullOrEmpty(SeedList)) { 333if (ExceptionList && internalDictionary.Count == 0 && !String.IsNullOrEmpty(SeedList))
System\Configuration\ConfigurationManager.cs (2)
177if (String.IsNullOrEmpty(sectionName)) { 190if (String.IsNullOrEmpty(sectionName)) {
System\Configuration\ConfigurationProperty.cs (3)
164if ((attribStdDescription != null) && !string.IsNullOrEmpty(attribStdDescription.Description)) { 180String.IsNullOrEmpty(name)) { 206if (string.IsNullOrEmpty(name)) {
System\Configuration\ConfigurationSectionCollection.cs (1)
143if (String.IsNullOrEmpty(name))
System\Configuration\ConfigurationSectionGroup.cs (1)
153if (String.IsNullOrEmpty(typeName)) {
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
149if (String.IsNullOrEmpty(name))
System\Configuration\GenericEnumConverter.cs (2)
45if (String.IsNullOrEmpty(value)) { 50if (!String.IsNullOrEmpty(value) &&
System\Configuration\Internal\InternalConfigHost.cs (2)
136if (string.IsNullOrEmpty(streamName)) { 191if (string.IsNullOrEmpty(streamName)) {
System\Configuration\MgmtConfigurationRecord.cs (29)
178if (String.IsNullOrEmpty(factoryRecord.FactoryTypeName)) { 537if (string.IsNullOrEmpty(xmlElement)) { 627if (String.IsNullOrEmpty(oldConfigSource)) { 631if (String.IsNullOrEmpty(newConfigSource)) { 639if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 692if (string.IsNullOrEmpty(xmlElement)) 781if (!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource)) { 839if (!String.IsNullOrEmpty(rawXml)) { 1126if (!String.IsNullOrEmpty(filepath)) { 1166if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 1181if (!String.IsNullOrEmpty(streamInfo.SectionName)) { 1524if (!string.IsNullOrEmpty(updatedXml)) 1564if (!string.IsNullOrEmpty(updatedXml)) { 1597if (!string.IsNullOrEmpty(updatedXml)) { 1617if (!string.IsNullOrEmpty(updatedXml)) { 1713addToConfigSourceUpdates = requireUpdates && !String.IsNullOrEmpty(sectionXmlInfo.ConfigSource); 1730addToConfigSourceUpdates = requireUpdates && !String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource); 1748!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) 1776if (string.IsNullOrEmpty(updatedXml)) { 1783if ( !String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) || 1791if (string.IsNullOrEmpty(updatedXml)) { 1807if (sectionAttributesModified || moved || String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource)) { 1904if (String.IsNullOrEmpty(factoryRecord.Filename)) { 1936if (String.IsNullOrEmpty(configSource)) { 1941if (String.IsNullOrEmpty(configSourceStreamName)) { 1965if (!String.IsNullOrEmpty(configSource)) { 2133if (update != null && !string.IsNullOrEmpty(update.UpdatedXml)) { 2997if ( String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) || 3058if (!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource)) {
System\Configuration\ProviderBase.cs (1)
17public virtual string Description { get { return string.IsNullOrEmpty(_Description) ? Name : _Description; } }
System\Configuration\RegexStringValidator.cs (1)
27if (string.IsNullOrEmpty(regex)) {
System\Configuration\SectionInformation.cs (4)
479if (!String.IsNullOrEmpty(value)) { 651if (String.IsNullOrEmpty(protectionProvider)) { 737if (String.IsNullOrEmpty(value)) { 805RawXml = (String.IsNullOrEmpty(rawXml)) ? null : rawXml;
System\Configuration\SectionUpdates.cs (1)
52Debug.Assert(String.IsNullOrEmpty(_name), "FindSectionUpdates assumes search is from root record");
System\Configuration\updateconfighost.cs (2)
38Debug.Assert(!String.IsNullOrEmpty(oldStreamname)); 40if (String.IsNullOrEmpty(oldStreamname)) {
System\Configuration\UrlPath.cs (4)
40if (String.IsNullOrEmpty(dir)) 43if (String.IsNullOrEmpty(subdir)) 96if (String.IsNullOrEmpty(path)) 99if (String.IsNullOrEmpty(subpath))
System\Configuration\XmlUtil.cs (1)
327if (!String.IsNullOrEmpty(_reader.Value)) {
System.Core (73)
Microsoft\Scripting\Ast\DebugViewWriter.cs (6)
118Debug.Assert(String.IsNullOrEmpty(le.Name)); 123Debug.Assert(String.IsNullOrEmpty(p.Name)); 128Debug.Assert(String.IsNullOrEmpty(target.Name)); 418if (String.IsNullOrEmpty(node.Name)) { 1117if (string.IsNullOrEmpty(target.Name)) { 1145if (String.IsNullOrEmpty(lambda.Name)) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
333if (String.IsNullOrEmpty(name)) { 799if (!String.IsNullOrEmpty(target.Name)) {
Microsoft\Scripting\Ast\LabelTarget.cs (1)
59return String.IsNullOrEmpty(this.Name) ? "UnamedLabel" : this.Name;
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
128string name = String.IsNullOrEmpty(lambda.Name) ? GetUniqueMethodName() : lambda.Name;
Microsoft\Scripting\Utils\ContractUtils.cs (4)
47Debug.Assert(!string.IsNullOrEmpty(paramName)); 55Debug.Assert(!string.IsNullOrEmpty(paramName)); 75Debug.Assert(!string.IsNullOrEmpty(offsetName)); 76Debug.Assert(!string.IsNullOrEmpty(countName));
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
1053if (String.IsNullOrEmpty(s))
System\Diagnostics\EventSchemaTraceListener.cs (2)
88if (!String.IsNullOrEmpty(this.fileName) && (fileName[0] != Path.DirectorySeparatorChar) && (fileName[0] != Path.AltDirectorySeparatorChar) && !Path.IsPathRooted(fileName)) { 638if (String.IsNullOrEmpty(fileName))
System\IO\__Error.cs (1)
85if (String.IsNullOrEmpty(path)) {
System\IO\LogStream.cs (1)
74Debug.Assert(!String.IsNullOrEmpty(path));
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
69Contract.Requires(!String.IsNullOrEmpty(implementation));
System\Security\Cryptography\BCryptNative.cs (4)
494Contract.Requires(!String.IsNullOrEmpty(property)); 536Contract.Requires(!String.IsNullOrEmpty(algorithm)); 579Contract.Requires(!String.IsNullOrEmpty(algorithm)); 580Contract.Requires(!String.IsNullOrEmpty(implementation));
System\Security\Cryptography\CapiHashAlgorithm.cs (1)
32Contract.Requires(!String.IsNullOrEmpty(provider));
System\Security\Cryptography\CapiNative.cs (1)
598Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\CngAlgorithm.cs (2)
38Contract.Ensures(!String.IsNullOrEmpty(m_algorithm)); 55Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\CngAlgorithmGroup.cs (2)
30Contract.Ensures(!String.IsNullOrEmpty(m_algorithmGroup)); 47Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\CngKeyBlobFormat.cs (2)
33Contract.Ensures(!String.IsNullOrEmpty(m_format)); 50Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\CngProvider.cs (2)
27Contract.Ensures(!String.IsNullOrEmpty(m_provider)); 44Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
422if (string.IsNullOrEmpty(hashAlgorithm.Name)) 448if (string.IsNullOrEmpty(hashAlgorithm.Name))
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (1)
131Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
System\Security\Cryptography\ECDsa.cs (4)
112if (String.IsNullOrEmpty(hashAlgorithm.Name)) { throw HashAlgorithmNameNullOrEmpty(); } 122if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 150if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 165if (String.IsNullOrEmpty(hashAlgorithm.Name)) {
System\Security\Cryptography\ECDsaCng.cs (2)
451Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 462Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name));
System\Security\Cryptography\NCryptNative.cs (17)
615Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 700Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 800Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 823Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 874Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 900Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm), "!String.IsNullOrEmpty(hashAlgorithm)"); 939Contract.Requires(!String.IsNullOrEmpty(algorithm)); 980Contract.Requires(!String.IsNullOrEmpty(algorithm)); 1027Contract.Requires(!String.IsNullOrEmpty(kdf)); 1028Contract.Requires(!String.IsNullOrEmpty(hashAlgorithm)); 1108Contract.Requires(!String.IsNullOrEmpty(kdf)); 1161Contract.Requires(!String.IsNullOrEmpty(hashAlgorithm)); 1184Contract.Requires(!String.IsNullOrEmpty(hashAlgorithm)); 1263Contract.Requires(!String.IsNullOrEmpty(format)); 1534Contract.Requires(!String.IsNullOrEmpty(format)); 1563Contract.Requires(!String.IsNullOrEmpty(format)); 1611Contract.Requires(!String.IsNullOrEmpty(providerName));
System\Security\Cryptography\Rfc4050KeyFormatter.cs (2)
260if (string.IsNullOrEmpty(oidValue)) 286if (string.IsNullOrEmpty(oidValue))
System\Security\Cryptography\RsaCng.cs (4)
166Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 179Debug.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 469if (String.IsNullOrEmpty(hashAlgorithm.Name)) 509if (String.IsNullOrEmpty(hashAlgorithm.Name))
System\Security\Cryptography\Xml\ManifestSignedXml.cs (7)
51if (String.IsNullOrEmpty(hex) || hex.Length % 2 != 0) { 267if (String.IsNullOrEmpty(hex) || hex.Length % 2 != 0) { 359if (String.IsNullOrEmpty(expectedHashString)) { 420if (String.IsNullOrEmpty(publisherName) || String.IsNullOrEmpty(publisherIssuerKeyHash)) { 591if (String.IsNullOrEmpty(signatureId)) { 619if (String.IsNullOrEmpty(reference.Uri)) {
System.Data (126)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\ExpressionSettingHelper.cs (1)
37if (string.IsNullOrEmpty(globalEditorSetting))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameExtensions.cs (1)
43return string.IsNullOrEmpty(frameworkName.Profile);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
282if (!string.IsNullOrEmpty(fileName) && targetFramework.Is45OrHigher())
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (5)
60if (!string.IsNullOrEmpty(localAssembly)) 72if (!string.IsNullOrEmpty(this.localAssemblyNsPostfix) 195get { return !string.IsNullOrEmpty(this.localAssemblyNsPostfix); } 224return !string.IsNullOrEmpty(this.localAssemblyNsPostfix) && ns.EndsWith(this.localAssemblyNsPostfix, StringComparison.OrdinalIgnoreCase); 229return string.IsNullOrEmpty(this.localAssemblyNsPostfix) ? ns : ns.Substring(0, ns.Length - this.localAssemblyNsPostfix.Length);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (4)
120if (string.IsNullOrEmpty(value)) 643if (string.IsNullOrEmpty(defaultPropertyName)) 1015if (string.IsNullOrEmpty(editorTypeName) || this.Items == null) 1166if (!string.IsNullOrEmpty(filterString))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (2)
102if (!string.IsNullOrEmpty(str)) 109if (string.IsNullOrEmpty(str))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
78if (string.IsNullOrEmpty(propertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (2)
394if (string.IsNullOrEmpty(propertyName)) 601Fx.Assert(!string.IsNullOrEmpty(propertyName), "Can't raise OnPropertyChanged event without a valid property name.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ValueToToolTipConverter.cs (1)
28return string.IsNullOrEmpty(value) ? null : value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (3)
46if (attribute == null || string.IsNullOrEmpty(attribute.Category)) 288if (string.IsNullOrEmpty(displayName)) 305if (description == null || string.IsNullOrEmpty(description.Description))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
113if (!LocalAppContextSwitches.UseLegacyAccessibilityFeatures && !String.IsNullOrEmpty(AutomationName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
87if (string.IsNullOrEmpty(mergedDefaultProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
208else if (string.IsNullOrEmpty(stringToConvert)) 415if (string.IsNullOrEmpty(value))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
158if (string.IsNullOrEmpty(value))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\ResourceUtilities.cs (1)
32if (string.IsNullOrEmpty(key))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionPathInterpreter.cs (2)
39if (string.IsNullOrEmpty(editorTypeName)) 65if (string.IsNullOrEmpty(editorTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
28if (string.IsNullOrEmpty(editorTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\CategoryState.cs (2)
34Fx.Assert(!string.IsNullOrEmpty(categoryName), "Expected a full category name"); 111if (string.IsNullOrEmpty(categoryName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
63if (string.IsNullOrEmpty(serializedStates))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateUtilities.cs (2)
20if (string.IsNullOrEmpty(s)) 39if (string.IsNullOrEmpty(s))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
95if (string.IsNullOrEmpty(path))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyState.cs (2)
31Fx.Assert(!string.IsNullOrEmpty(propertyName), "Expected a full property name"); 96if (string.IsNullOrEmpty(propertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
54if (container == null || string.IsNullOrEmpty(name) || searchDepth < 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1570if (type.IsGenericType && !type.IsGenericTypeDefinition && !string.IsNullOrEmpty(memberName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\categoryentry.cs (1)
25if (string.IsNullOrEmpty(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilter.cs (2)
47if (string.IsNullOrEmpty(filterText)) 54if (!string.IsNullOrEmpty(filterParts[i]))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
40if (!string.IsNullOrEmpty(directionString))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (1)
49if (!string.IsNullOrEmpty(directionString))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (2)
26if (string.IsNullOrEmpty(displayName) && values[1] != DependencyProperty.UnsetValue) 37if (string.IsNullOrEmpty(displayName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
307if (!string.IsNullOrEmpty(text)) 343if (!string.IsNullOrEmpty(text))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
60if (string.IsNullOrEmpty(details)) 116StackTraceVisibility = string.IsNullOrEmpty(stackTrace) ? Visibility.Collapsed : Visibility.Visible,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (1)
25if (!String.IsNullOrEmpty(labelText) && connectorPoints != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachablePropertyChange.cs (1)
40if (!string.IsNullOrEmpty(this.PropertyName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertiesService.cs (1)
28if (string.IsNullOrEmpty(property.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
364if (!string.IsNullOrEmpty(segment))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (3)
310if (!string.IsNullOrEmpty(annotationText)) 386if (!string.IsNullOrEmpty(annotationText)) 480if (!string.IsNullOrEmpty(propertyPath))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeItemHelper.cs (1)
31Fx.Assert(!string.IsNullOrEmpty(propertyName), "propertyName should not be null or empty");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
54if (propAttr != null && !string.IsNullOrEmpty(propAttr.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
38Fx.Assert(!String.IsNullOrEmpty(this.PropertyName), " property name cannot be null or emptry");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NonTextualExpressionMorphHelper.cs (1)
42if (!string.IsNullOrEmpty(expressionEditor))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\PropertyReferenceUtilities.cs (3)
17Fx.Assert(!string.IsNullOrEmpty(targetProperty), "targetProperty should not be null or empty."); 37Fx.Assert(!string.IsNullOrEmpty(targetProperty), "targetProperty should not be null or empty."); 53if (string.IsNullOrEmpty(sourceProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
44if (string.IsNullOrEmpty(fileName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
296if (!string.IsNullOrEmpty(this.BitmapName)) 338if (!string.IsNullOrEmpty(this.customDisplayName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (2)
151if (string.IsNullOrEmpty(text)) 157if (string.IsNullOrEmpty(tool.DisplayName) || tool.DisplayName.IndexOf(text, StringComparison.OrdinalIgnoreCase) < 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (6)
926if (!string.IsNullOrEmpty(name)) 1060if (this.GetArgumentType() != typeof(string) && value is string && string.IsNullOrEmpty((string)value)) 1287if (string.IsNullOrEmpty(name)) 1322if (value is string && string.IsNullOrEmpty((string)value)) 1422if (!string.IsNullOrEmpty(currentExpressionText)) 1425if (!string.IsNullOrEmpty(rootEditorSetting))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1772if (null != menuItem && !string.IsNullOrEmpty(iconName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
840if (!string.IsNullOrEmpty(errorMessage))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (4)
367if (string.IsNullOrEmpty(this.lastInput)) 565if (!string.IsNullOrEmpty(ns)) 621if (!string.IsNullOrEmpty(ns)) 747if (string.IsNullOrEmpty(importedNamespace))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (2)
32if (attr != null && !string.IsNullOrEmpty(attr.PromotedProperty)) 279if (attribute != null && !string.IsNullOrEmpty(attribute.DesignerTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
466if (attr != null && !string.IsNullOrEmpty(attr.PromotedProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
729bool noSearch = string.IsNullOrEmpty(searchText);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (1)
42if (!string.IsNullOrEmpty(stringValue))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
1205if (!string.IsNullOrEmpty(name)) 1409if (!string.IsNullOrEmpty(newName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
38if (string.IsNullOrEmpty(value))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
211if (string.IsNullOrEmpty(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
343if (!string.IsNullOrEmpty(sizeString))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (7)
965if (!string.IsNullOrEmpty(newExpressionText)) 1309if (!string.IsNullOrEmpty(pathAsString) && null != this.OwnerActivity) 1345this.HintText = (null == customHint || string.IsNullOrEmpty(customHint.Description) ? 1402!(string.IsNullOrEmpty(currentText) && string.IsNullOrEmpty(this.previousText)); 1848if (string.IsNullOrEmpty(validationContext.ExpressionText)) 1881if (!string.IsNullOrEmpty(errorMessage))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (1)
29new XAttribute("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (2)
82if (viewElement == null || !(string.IsNullOrEmpty(errorString))) 146if (designerAttribute != null && !String.IsNullOrEmpty(designerAttribute.DesignerTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
396if (!string.IsNullOrEmpty(this.text)) 448if (string.IsNullOrEmpty(fileName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
114if (string.IsNullOrEmpty(this.Text) ||
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
761if (!string.IsNullOrEmpty(baseAutomationID)) 773!string.IsNullOrEmpty(owner.Item.ItemType.Name)) 778if (string.IsNullOrEmpty(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (4)
447this.hintTextGrid.Visibility = (this.Items.Count == 0 && !string.IsNullOrEmpty(hintText)) ? Visibility.Visible : Visibility.Collapsed; 928if (string.IsNullOrEmpty(automationId)) 931if (string.IsNullOrEmpty(automationId)) 947if (string.IsNullOrEmpty(name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1083if (!string.IsNullOrEmpty(automationIdVariablePartMemberName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
79if (!String.IsNullOrEmpty(workflowViewStateIdRef))
fx\src\data\System\Data\Common\DbDataAdapter.cs (1)
1418if (String.IsNullOrEmpty(rowMsg)) {
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
223Debug.Assert(!string.IsNullOrEmpty(errorMessage), "Error message should not be null or empty");
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (2)
394Debug.Assert(!string.IsNullOrEmpty(keyPath)); 442if (string.IsNullOrEmpty(thumbprint))
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
147if (!string.IsNullOrEmpty(internalConnection.RoutingDestination)) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (5)
383Debug.Assert(credential == null || (String.IsNullOrEmpty(connectionOptions.UserID) && String.IsNullOrEmpty(connectionOptions.Password)), "cannot mix the new secure password system and the connection string based password"); 1417if (!String.IsNullOrEmpty(ConnectionOptions.FailoverPartner)) { 1925if (_currentSessionData != null && !string.IsNullOrEmpty(host)) { 2171if (string.IsNullOrEmpty(rec.newRoutingInfo.ServerName) || rec.newRoutingInfo.Protocol != 0 || rec.newRoutingInfo.Port == 0) {
fx\src\data\System\Data\xmlsaver.cs (2)
1934if (!String.IsNullOrEmpty(result)) 1951if (String.IsNullOrEmpty(result))
System.Data.DataSetExtensions (4)
System\Data\LinqDataView.cs (4)
127Debug.Assert(!(!String.IsNullOrEmpty(base.Sort) && base.SortComparison != null)); 130if (!String.IsNullOrEmpty(base.Sort)) //use find for DV's sort string 164if (base.SortComparison == null && String.IsNullOrEmpty(base.Sort)) 202if (base.SortComparison == null && String.IsNullOrEmpty(base.Sort))
System.Data.Entity (230)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
107if (!string.IsNullOrEmpty(clause.Collation))
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (1)
28Debug.Assert(!string.IsNullOrEmpty(functionName), "Function name must not be null");
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (7)
259if (string.IsNullOrEmpty(varName)) 290if (string.IsNullOrEmpty(varName)) 295if (string.IsNullOrEmpty(groupVarName)) 820if (string.IsNullOrEmpty(name)) 1478if (!String.IsNullOrEmpty(function.CommandTextAttribute) && !function.HasUserDefinedBody) 1742if (string.IsNullOrEmpty(element.Key)) 1914Debug.Assert(!string.IsNullOrEmpty(entitySet.Name), "EntitySetBase constructor allowed null/empty set name?");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
671if (!String.IsNullOrEmpty(clause.Collation))
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (3)
349if (!string.IsNullOrEmpty(type.EdmType.NamespaceName)) 362if (!string.IsNullOrEmpty(type.NamespaceName)) 966if (!string.IsNullOrEmpty(clause.Collation))
System\Data\Common\EntitySql\AST\AliasedExpr.cs (1)
31if (String.IsNullOrEmpty(alias.Name))
System\Data\Common\EntitySql\AST\Literal.cs (1)
445if (String.IsNullOrEmpty(binaryLiteralValue))
System\Data\Common\EntitySql\CqlLexerHelpers.cs (2)
547Debug.Assert(!String.IsNullOrEmpty(literal), "literal must not be null or empty"); 766if (String.IsNullOrEmpty(binaryValue))
System\Data\Common\EntitySql\CqlParserHelpers.cs (3)
59if (String.IsNullOrEmpty(query) || query.Trim().Length == 0) 151if (!String.IsNullOrEmpty(term)) 156if (null != astNode && (null != astNode.ErrCtx) && (!String.IsNullOrEmpty(astNode.ErrCtx.ErrorContextInfo)))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
359Debug.Assert(!String.IsNullOrEmpty(name), "function name must not be null or empty"); 4210if (string.IsNullOrEmpty(collation))
System\Data\Common\EntitySql\SemanticResolver.cs (1)
476Debug.Assert(!String.IsNullOrEmpty(name), "name must not be null or empty");
System\Data\Common\EntitySql\TypeResolver.cs (4)
39Debug.Assert(!String.IsNullOrEmpty(name), "name must not be empty"); 273Debug.Assert(!String.IsNullOrEmpty(name), "name must not be null or empty"); 403Debug.Assert(!String.IsNullOrEmpty(name), "name must not be empty"); 537Debug.Assert(!String.IsNullOrEmpty(rightName), "rightName must not be empty");
System\Data\Common\EntityUtil.cs (3)
923if (String.IsNullOrEmpty(propertyName)) 1016Debug.Assert(!String.IsNullOrEmpty(relationshipName), "empty relationshipName"); 1526if (String.IsNullOrEmpty(argument))
System\Data\Common\Utils\CommandHelper.cs (2)
63if (string.IsNullOrEmpty(containerName) || string.IsNullOrEmpty(functionImportName))
System\Data\Common\Utils\TreePrinter.cs (1)
41if (string.IsNullOrEmpty(text))
System\Data\EntityClient\DbConnectionOptions.cs (3)
247if (string.IsNullOrEmpty(keyname)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 318if (string.IsNullOrEmpty(keyname)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 495if (string.IsNullOrEmpty(keyname))
System\Data\EntityClient\EntityCommand.cs (7)
225if (!string.IsNullOrEmpty(this._esqlCommandText)) 235if (!string.IsNullOrEmpty(this._esqlCommandText)) 577if (!string.IsNullOrEmpty(this._esqlCommandText)) 626if (string.IsNullOrEmpty(this.CommandText) || 627string.IsNullOrEmpty(this.CommandText.Trim())) 704if (!this._enableQueryPlanCaching || string.IsNullOrEmpty(this._esqlCommandText)) 818if (string.IsNullOrEmpty(parameterName))
System\Data\EntityClient\EntityConnection.cs (12)
202&& !(string.IsNullOrEmpty(storeConnectionString) && string.IsNullOrEmpty(userStoreConnectionString))) 424if (!string.IsNullOrEmpty(paths)) 568string exceptionMessage = string.IsNullOrEmpty(attemptedOperation) ? 840if (!String.IsNullOrEmpty(newConnectionString)) 853if (!string.IsNullOrEmpty(namedConnection)) 872if (!string.IsNullOrEmpty(nestedNamedConnection)) 933if (!string.IsNullOrEmpty(keywordValue)) 937if (string.IsNullOrEmpty(keywordValue)) 975if (string.IsNullOrEmpty(providerConnectionString) && (storeConnection != null)) 1072if (!string.IsNullOrEmpty(providerName)) 1110if (!string.IsNullOrEmpty(providerConnectionString))
System\Data\EntityClient\EntityParameter.cs (1)
140if (!string.IsNullOrEmpty(parameterName) && !DbCommandTree.IsValidParameterName(parameterName))
System\Data\EntityClient\NameValuePair.cs (1)
22System.Diagnostics.Debug.Assert(!string.IsNullOrEmpty(name), "empty keyname");
System\Data\EntityKey.cs (7)
376if (String.IsNullOrEmpty(_entityContainerName) || String.IsNullOrEmpty(_entitySetName)) 458if (_isLocked || (!String.IsNullOrEmpty(_entitySetName) && 459!String.IsNullOrEmpty(_entityContainerName) && 890if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 909if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 1245if (String.IsNullOrEmpty(name))
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (3)
226if (!String.IsNullOrEmpty(_unresolvedExtendedEntityContainerName)) 494if (String.IsNullOrEmpty(entitySet.DbSchema)) 505if (String.IsNullOrEmpty(entitySet.Table))
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySetDefiningQuery.cs (1)
47if(String.IsNullOrEmpty(_query))
System\Data\EntityModel\SchemaObjectModel\Function.cs (4)
249if (String.IsNullOrEmpty(_functionStrongName)) 645if (!String.IsNullOrEmpty(value)) 760if (String.IsNullOrEmpty(value)) 767if (!String.IsNullOrEmpty(value))
System\Data\EntityModel\SchemaObjectModel\FunctionCommandText.cs (1)
47if (String.IsNullOrEmpty(_commandText))
System\Data\EntityModel\SchemaObjectModel\KeyProperty.cs (1)
68if (string.IsNullOrEmpty(this.Name))
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (2)
216if (String.IsNullOrEmpty(value)) 223if (!String.IsNullOrEmpty(value))
System\Data\EntityModel\SchemaObjectModel\ReferenceSchema.cs (2)
132Debug.Assert(String.IsNullOrEmpty(NamespaceName), "Alias must be set only once"); 144Debug.Assert(String.IsNullOrEmpty(Alias), "Alias must be set only once");
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
104Debug.Assert(!String.IsNullOrEmpty(this.Name), "RoleName should never be empty");
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
74return !string.IsNullOrEmpty(end.Name);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (5)
168if (string.IsNullOrEmpty(sourceReader.NamespaceURI)) 341if (string.IsNullOrEmpty(xmlNamespaceUri) && isAttribute) 364if (string.IsNullOrEmpty(xmlNamespaceUri) && isAttribute) 439if (String.IsNullOrEmpty(Namespace)) 446if (!String.IsNullOrEmpty(Alias) && EdmItemCollection.IsSystemNamespace(ProviderManifest, Alias))
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (4)
415Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name)); 434Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name)); 615if (string.IsNullOrEmpty(attributeNamespace) || Schema.IsParseableXmlNamespace(attributeNamespace, true)) 753if (string.IsNullOrEmpty(elementNamespace) || Schema.IsParseableXmlNamespace(reader.NamespaceURI, false))
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (2)
126if (String.IsNullOrEmpty(type.Identity)) 194Debug.Assert(!String.IsNullOrEmpty(unnormalizedKey), "unnormalizedKey parameter is null or empty");
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (2)
38if (!string.IsNullOrEmpty(schema.Alias)) 90Debug.Assert(!String.IsNullOrEmpty(alias), "alias must never be null");
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (2)
320string fullyQualifiedName = String.IsNullOrEmpty(namespaceName) ? typeName : namespaceName + "." + typeName; 352if (!string.IsNullOrEmpty(baseUri) &&
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (1)
212if (string.IsNullOrEmpty(newMember.Name))
System\Data\EntityModel\SchemaObjectModel\TextElement.cs (2)
71if ( string.IsNullOrEmpty(text) ) 74if ( string.IsNullOrEmpty(Value) )
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
666if (String.IsNullOrEmpty(reader.Value))
System\Data\EntityModel\SchemaObjectModel\Utils.cs (6)
48Debug.Assert(!string.IsNullOrEmpty(qualifiedTypeName), "qualifiedTypeName parameter is null"); 55Debug.Assert(!string.IsNullOrEmpty(qualifiedTypeName), "qualifiedTypeName parameter is null or empty"); 112if ( string.IsNullOrEmpty(value) ) 142Debug.Assert(!string.IsNullOrEmpty(name), "name parameter is null or empty"); 181if (string.IsNullOrEmpty(name)) 211return !string.IsNullOrEmpty(name) && UndottedNameValidator.IsMatch(name)
System\Data\EntityModel\SchemaObjectModel\XmlSchemaResource.cs (4)
21Debug.Assert(!string.IsNullOrEmpty(namespaceUri), "namespaceUri is null or empty"); 22Debug.Assert(!string.IsNullOrEmpty(resourceName), "resourceName is null or empty"); 30Debug.Assert(!string.IsNullOrEmpty(namespaceUri), "namespaceUri is null or empty"); 31Debug.Assert(!string.IsNullOrEmpty(resourceName), "resourceName is null or empty");
System\Data\EntitySqlException.cs (3)
208errorContextInfo = !String.IsNullOrEmpty(errorContextInfo) ? EntityRes.GetString(errorContextInfo) : String.Empty; 245if (!String.IsNullOrEmpty(errorContextInfo)) 273if (!String.IsNullOrEmpty(errorContext))
System\Data\Mapping\StorageMappingItemLoader.cs (14)
834if (String.IsNullOrEmpty(entityTypeName)) 853if (!(String.IsNullOrEmpty(tableName))) 1063if (String.IsNullOrEmpty(tableName)) 1275if (String.IsNullOrEmpty(queryView)) 1339if (String.IsNullOrEmpty(queryView)) 1470if (!(String.IsNullOrEmpty(tableName))) 1493if ((String.IsNullOrEmpty(associationTypeName))) 2574if (String.IsNullOrEmpty(tableName) && (associationSetMapping.QueryView == null)) 2840if (!String.IsNullOrEmpty(propertyName)) 2920if (String.IsNullOrEmpty(memberTypeName)) 3010if (!String.IsNullOrEmpty(partialAttribute)) 3494if (String.IsNullOrEmpty(value)) 3574if (!string.IsNullOrEmpty(args.Exception.SourceUri)) 4383if (!string.IsNullOrEmpty(rowsAffectedParameterName))
System\Data\Mapping\ViewGeneration\GeneratedView.cs (5)
44Debug.Assert(!config.GenerateEsql || !String.IsNullOrEmpty(eSQL), "eSQL must be specified"); 148Debug.Assert(commandTree != null || !String.IsNullOrEmpty(eSQL), "commandTree or eSQL must be specified"); 190Debug.Assert(!String.IsNullOrEmpty(m_eSQL), "m_eSQL must be initialized"); 255Debug.Assert(!String.IsNullOrEmpty(eSQL), "eSQL query is not specified"); 315if (!String.IsNullOrEmpty(m_eSQL))
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (4)
39Debug.Assert(!String.IsNullOrEmpty(viewDef), "!String.IsNullOrEmpty(viewDef)"); 57Debug.Assert(!String.IsNullOrEmpty(viewDef), "!String.IsNullOrEmpty(viewDef)"); 90Debug.Assert(!String.IsNullOrEmpty(functionFullName), "!String.IsNullOrEmpty(functionFullName)"); 91Debug.Assert(!String.IsNullOrEmpty(functionDefinition), "!String.IsNullOrEmpty(functionDefinition)");
System\Data\Metadata\AspProxy.cs (1)
144Debug.Assert(!string.IsNullOrEmpty(path));
System\Data\Metadata\ClrPerspective.cs (1)
132if (!String.IsNullOrEmpty(defaultContainerName))
System\Data\Metadata\Edm\ComplexType.cs (2)
113System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(cspaceNamespaceName) && 114!String.IsNullOrEmpty(cspaceTypeName), "Mapping information must never be null");
System\Data\Metadata\Edm\Documentation.cs (2)
105if (string.IsNullOrEmpty(_summary) && string.IsNullOrEmpty(_longDescription) )
System\Data\Metadata\Edm\EdmFunction.cs (1)
151return this.IsModelDefinedFunction && !String.IsNullOrEmpty(this.CommandTextAttribute);
System\Data\Metadata\Edm\EntityType.cs (2)
249System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(cspaceNamespaceName) && 250!String.IsNullOrEmpty(cspaceTypeName), "Mapping information must never be null");
System\Data\Metadata\Edm\EnumType.cs (2)
198Debug.Assert(!String.IsNullOrEmpty(cspaceNamespaceName) && !String.IsNullOrEmpty(cspaceTypeName), "Mapping information must never be null");
System\Data\Metadata\Edm\MetadataCollection.cs (2)
64Debug.Assert(!String.IsNullOrEmpty(item.Identity), "Identity of the item must never be null or empty"); 221Debug.Assert(!String.IsNullOrEmpty(identity), "empty identity");
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (1)
79Debug.Assert(!string.IsNullOrEmpty(aggregateFunctionName) && !string.IsNullOrWhiteSpace(aggregateFunctionName), "Aggregate function name should be valid");
System\Data\Metadata\Edm\util.cs (1)
46Debug.Assert(!string.IsNullOrEmpty(item.Identity), "Item has empty identity.");
System\Data\Metadata\EdmSchemaError.cs (2)
129if (String.IsNullOrEmpty(SchemaName) && Line < 0 && Column < 0) 237if (string.IsNullOrEmpty(schemaLocation))
System\Data\Metadata\EdmValidator.cs (5)
163if (string.IsNullOrEmpty(item.Identity)) 275if (string.IsNullOrEmpty(item.Name)) 338if (string.IsNullOrEmpty(item.Name)) 384if (string.IsNullOrEmpty(item.Name)) 422if (string.IsNullOrEmpty(item.Name))
System\Data\Metadata\MetadataArtifactLoader.cs (15)
147Debug.Assert(!string.IsNullOrEmpty(validExtension)); 157if (string.IsNullOrEmpty(validExtension)) 173if (string.IsNullOrEmpty(path)) 225Debug.Assert(!string.IsNullOrEmpty(path)); 226Debug.Assert(!string.IsNullOrEmpty(validExtension)); 316Debug.Assert(!string.IsNullOrEmpty(resource)); 319if (!string.IsNullOrEmpty(extn)) 334Debug.Assert(!string.IsNullOrEmpty(resource)); 337if (!string.IsNullOrEmpty(extn)) 352Debug.Assert(!string.IsNullOrEmpty(resource)); 355if (!string.IsNullOrEmpty(extn)) 367if(String.IsNullOrEmpty(resource)) 385Debug.Assert(!string.IsNullOrEmpty(resource)); 388if (!string.IsNullOrEmpty(extn)) 436if (!String.IsNullOrEmpty(path))
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (2)
163Debug.Assert(!string.IsNullOrEmpty(assemblyName)); 315Debug.Assert(!string.IsNullOrEmpty(resourceName), "we should not get here is the resourceName is null");
System\Data\Metadata\MetadataArtifactLoaderXmlReaderWrapper.cs (1)
46if (string.IsNullOrEmpty(this._resourceUri))
System\Data\Metadata\MetadataCache.cs (1)
108Debug.Assert(!string.IsNullOrEmpty(paths), "paths cannot be empty or null");
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
294string cspaceTypeName = String.IsNullOrEmpty(typeAttribute.Name) ? clrType.Name : typeAttribute.Name; 295if (String.IsNullOrEmpty(typeAttribute.NamespaceName) && clrType.Namespace == null) 301string cspaceNamespaceName = String.IsNullOrEmpty(typeAttribute.NamespaceName) ? clrType.Namespace : typeAttribute.NamespaceName;
System\Data\Metadata\StoreItemCollection.Loader.cs (1)
211if (provEx.InnerException != null && !string.IsNullOrEmpty(provEx.InnerException.Message))
System\Data\Metadata\TypeHelpers.cs (1)
683if (string.IsNullOrEmpty(qualifier))
System\Data\Objects\DataClasses\ComplexObject.cs (2)
134Debug.Assert(!String.IsNullOrEmpty(complexMemberName), "invalid complexMemberName"); 164Debug.Assert(!String.IsNullOrEmpty(complexMemberName), "invalid complexMemberName");
System\Data\Objects\DataClasses\EntityObject.cs (2)
244Debug.Assert(!String.IsNullOrEmpty(complexMemberName), "invalid complexMemberName"); 267Debug.Assert(!String.IsNullOrEmpty(complexMemberName), "invalid complexMemberName");
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
641Debug.Assert(!string.IsNullOrEmpty(ns), "Expected non-empty namespace for type.");
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1147if (!String.IsNullOrEmpty(clrType.Namespace))
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
805if (String.IsNullOrEmpty(parameterValue))
System\Data\Objects\Internal\EntitySqlQueryState.cs (1)
88if (string.IsNullOrEmpty(commandText))
System\Data\Objects\ObjectContext.cs (6)
210if (!string.IsNullOrEmpty(defaultContainerName)) 225if (!string.IsNullOrEmpty(defaultContainerName)) 521if (!String.IsNullOrEmpty(entitySetName)) 1840if (String.IsNullOrEmpty(entityContainerName)) 1892if (context != null && String.IsNullOrEmpty(container) && (context.Perspective.GetDefaultContainer() == null)) 3157if (!string.IsNullOrEmpty(entitySetName))
System\Data\Objects\ObjectStateManagerMetadata.cs (2)
241if (String.IsNullOrEmpty(name) || !_objectNameToOrdinal.TryGetValue(name, out ordinal)) 250if (String.IsNullOrEmpty(name) || !_cLayerNameToOrdinal.TryGetValue(name, out ordinal))
System\Data\Query\InternalTrees\ColumnMap.cs (1)
109Debug.Assert(!String.IsNullOrEmpty(value), "invalid name?");
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1536if (!string.IsNullOrEmpty(sortKey.Collation))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2858if (string.IsNullOrEmpty(clause.Collation))
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (2)
150if (!string.IsNullOrEmpty(collation)) 596if (!string.IsNullOrEmpty(this.PropertyAlias))
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (4)
1558if ((constSearchParamExpression != null) && (string.IsNullOrEmpty(constSearchParamExpression.Value as string) == false)) 1601if ((constSearchParamExpression != null) && (string.IsNullOrEmpty(constSearchParamExpression.Value as string) == false)) 1647if ((constSearchParamExpression != null) && (targetParamExpression != null) && (string.IsNullOrEmpty(constSearchParamExpression.Value as string) == false)) 1722if (String.IsNullOrEmpty(function.Schema))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (7)
448if (String.IsNullOrEmpty(function.CommandTextAttribute)) 454string schemaName = String.IsNullOrEmpty(function.Schema) ? 458string functionName = String.IsNullOrEmpty(function.StoreFunctionNameAttribute) ? 1275if (!string.IsNullOrEmpty(entitySetBase.Schema)) 1286if (!string.IsNullOrEmpty(entitySetBase.Table)) 3699if (!String.IsNullOrEmpty(sortClause.Collation)) 4039Debug.Assert(!String.IsNullOrEmpty(name));
System\Data\SqlClient\SqlProviderServices.cs (16)
221if (string.IsNullOrEmpty(sqlConnection.ConnectionString)) { 246if (string.IsNullOrEmpty(versionHint)) { 277if (string.IsNullOrEmpty(versionHint)) 793if (string.IsNullOrEmpty(attachDBFile)) 806if (!string.IsNullOrEmpty(connectionStringBuilder.InitialCatalog)) 863Debug.Assert(!string.IsNullOrEmpty(attachDBFile)); 895if (string.IsNullOrEmpty(connectionBuilder.InitialCatalog) && string.IsNullOrEmpty(connectionBuilder.AttachDBFilename)) 900if (!string.IsNullOrEmpty(connectionBuilder.InitialCatalog)) 909if (!string.IsNullOrEmpty(connectionBuilder.AttachDBFilename)) 918if (!string.IsNullOrEmpty(connectionBuilder.InitialCatalog)) 981if (!string.IsNullOrEmpty(initialCatalog)) 987else if (!string.IsNullOrEmpty(attachDBFile)) 1045if (string.IsNullOrEmpty(commandText)) 1104(string.IsNullOrEmpty(connectionBuilder.UserID) || string.IsNullOrEmpty(connectionBuilder.Password)))
System\Data\SqlClient\SqlVersion.cs (1)
90if (!string.IsNullOrEmpty(versionHint))
System.Data.Entity.Design (25)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
58Debug.Assert(!string.IsNullOrEmpty(namespaceToWrite), "namespaceToWrite parameter is null or empty"); 649if (!string.IsNullOrEmpty(provider)) 654if (!string.IsNullOrEmpty(providerManifestToken))
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
211if (string.IsNullOrEmpty(text))
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
67Debug.Assert(!string.IsNullOrEmpty(identifier), "identifier is null or empty");
System\Data\Entity\Design\EntityFrameworkVersions.cs (1)
58Debug.Assert(!string.IsNullOrEmpty(resourceName), "Did you forget to map something new?");
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
697if (string.IsNullOrEmpty(targetSchemaNamespace)) 1155if (string.IsNullOrEmpty(name) || !char.IsLetter(ecmaName[0]))
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (3)
737if (!string.IsNullOrEmpty(currentRelationshipId)) 748if (!string.IsNullOrEmpty(currentRelationshipId)) 1619Debug.Assert(!String.IsNullOrEmpty(entitySet.DefiningQuery), "DefiningQuery must not be null or empty");
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (2)
843return string.IsNullOrEmpty(word) ? false : char.IsUpper(word, 0); 850if (string.IsNullOrEmpty(word.Trim()) || !word.Equals(word.Trim()) ||
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (2)
195if (!string.IsNullOrEmpty(orderByClause)) 269if (!string.IsNullOrEmpty(orderByClause))
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
444if (string.IsNullOrEmpty(namespaceName))
System\Data\EntityModel\Emitters\CommentEmitter.cs (6)
117if (string.IsNullOrEmpty(summaryComments) || string.IsNullOrEmpty(summaryComments = summaryComments.TrimEnd())) 169Debug.Assert(!string.IsNullOrEmpty(text)); 271if (string.IsNullOrEmpty(leadingBlanks)) 299if (!string.IsNullOrEmpty(documentation.LongDescription)) 340if (string.IsNullOrEmpty(text))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
165else if ( string.IsNullOrEmpty(trimmedLine) || trimmedLine.StartsWith("//",StringComparison.Ordinal) )
System\Data\EntityModel\Emitters\Utils.cs (2)
201if ( string.IsNullOrEmpty(text) ) 317Debug.Assert(!string.IsNullOrEmpty(name), "name parameter is null or empty");
System.Data.Linq (40)
Mapping\AttributedMetaModel.cs (5)
325this.tableName = string.IsNullOrEmpty(attr.Name) ? rowType.Name : attr.Name; 473if (!string.IsNullOrEmpty(mem.MappedName)) { 647if (mm.IsDbGenerated && mm.IsPrimaryKey && string.IsNullOrEmpty(mm.Expression)) { 951if (!string.IsNullOrEmpty(this.functionAttrib.Name)) { 1144(this.attrColumn.IsDbGenerated || !string.IsNullOrEmpty(attrColumn.Expression)) || IsVersion;
Mapping\MappedMetaModel.cs (4)
44if (this.providerType == null && !String.IsNullOrEmpty(this.mapping.Provider)) { 467if (!string.IsNullOrEmpty(mem.MappedName)) { 715if (mm.IsDbGenerated && mm.IsPrimaryKey && string.IsNullOrEmpty(mm.Expression)) { 989this.isDBGenerated = cmap.IsDbGenerated || !string.IsNullOrEmpty(cmap.Expression) || this.isVersion;
Mapping\MappingSource.cs (15)
283throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 289throw Error.UnexpectedElement(XmlMappingConstant.Database, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 316throw Error.UnrecognizedAttribute(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : ":", reader.LocalName)); 327throw Error.UnexpectedElement(XmlMappingConstant.Function, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 361throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 378throw Error.UnexpectedElement(XmlMappingConstant.Return, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 396throw Error.UnexpectedElement(XmlMappingConstant.Parameter, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 420throw Error.UnexpectedElement(XmlMappingConstant.Table, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 449throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 455throw Error.UnexpectedElement(XmlMappingConstant.Table, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 471throw Error.UnexpectedElement(XmlMappingConstant.Type, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 480throw Error.UnexpectedElement(XmlMappingConstant.Type, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 519throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 535throw Error.UnexpectedElement(XmlMappingConstant.Association, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 569throw Error.UnexpectedElement(XmlMappingConstant.Column, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName));
SqlClient\Query\QueryConverter.cs (2)
1226if (!string.IsNullOrEmpty(currMetaParam.DbType)) { 2004ProviderType sqlType = function.ReturnParameter != null && !string.IsNullOrEmpty(function.ReturnParameter.DbType)
SqlClient\Query\SqlDeflator.cs (1)
450if (!string.IsNullOrEmpty(c.Name)) {
SqlClient\Query\SqlFormatter.cs (1)
690if (name != inferredName && !String.IsNullOrEmpty(name)) {
SqlClient\Query\SqlNamer.cs (2)
137return String.IsNullOrEmpty(name) || string.Compare(name, colRef.Column.Name, StringComparison.OrdinalIgnoreCase) == 0; 256if (!String.IsNullOrEmpty(col.Name)) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1804if (string.IsNullOrEmpty(suc.Name)) {
SqlClient\SqlBuilder.cs (1)
110if (!string.IsNullOrEmpty(mm.Expression)) {
SqlClient\SqlProvider.cs (8)
599if (String.IsNullOrEmpty(catalog)) { 600if (!String.IsNullOrEmpty(filename)) { 603else if (!String.IsNullOrEmpty(this.dbName)) { 628if (!String.IsNullOrEmpty(command)) { 635if (!String.IsNullOrEmpty(command)) { 653if (!string.IsNullOrEmpty(schemaCommand)) { 668if (!string.IsNullOrEmpty(createTable)) { 676if (!string.IsNullOrEmpty(createFK)) {
System.Data.Services (167)
parent\Client\System\Data\Services\Client\BatchStream.cs (4)
316if (String.IsNullOrEmpty(boundary)) 473if (String.IsNullOrEmpty(delimiter)) 478if (String.IsNullOrEmpty(delimiter)) 705if (!String.IsNullOrEmpty(contentType))
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
52if (!String.IsNullOrEmpty(value))
System\Data\Services\BatchServiceHost.cs (1)
107Debug.Assert(!string.IsNullOrEmpty(boundary), "!string.IsNullOrEmpty(boundary)");
System\Data\Services\DataService.cs (22)
649if (!String.IsNullOrEmpty(operationContext.Host.RequestIfMatch) && !String.IsNullOrEmpty(operationContext.Host.RequestIfNoneMatch)) 847if (!String.IsNullOrEmpty(host.RequestIfMatch) || !String.IsNullOrEmpty(host.RequestIfNoneMatch)) 896(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) || description.TargetSource == RequestTargetSource.ServiceOperation, 1034if (!String.IsNullOrEmpty(host.RequestIfMatch) || !String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1114if (!String.IsNullOrEmpty(host.RequestIfNoneMatch) && description.TargetKind != RequestTargetKind.MediaResource) 1118else if (!RequestDescription.IsETagHeaderAllowed(description) && !String.IsNullOrEmpty(host.RequestIfMatch)) 1163if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1202if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1237if (!String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1329String.IsNullOrEmpty(host.RequestIfMatch) || String.IsNullOrEmpty(host.RequestIfNoneMatch), 1350Debug.Assert(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch), "ETag cannot be specified for $link requests"); 1626if (!String.IsNullOrEmpty(dataService.OperationContext.Host.RequestIfMatch) || !String.IsNullOrEmpty(dataService.OperationContext.Host.RequestIfNoneMatch)) 1833String.IsNullOrEmpty(boundary)) 2408Debug.Assert(!String.IsNullOrEmpty(changesetBoundary), "!String.IsNullOrEmpty(changesetBoundary)"); 2626if (batchStream.ContentHeaders.TryGetValue(XmlConstants.HttpContentID, out contentIdValue) && !String.IsNullOrEmpty(contentIdValue))
System\Data\Services\DataServiceHostWrapper.cs (3)
149Debug.Assert(!string.IsNullOrEmpty(requestMethod), "!string.IsNullOrEmpty(requestMethod)"); 250if (string.IsNullOrEmpty(this.requestHttpMethod)) 253if (String.IsNullOrEmpty(this.requestHttpMethod))
System\Data\Services\Epm\EpmSourceTree.cs (1)
73Debug.Assert(!String.IsNullOrEmpty(sourceName), "Must have been validated during EntityPropertyMappingAttribute construction");
System\Data\Services\Epm\EpmTargetTree.cs (2)
78Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 152Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction");
System\Data\Services\HttpContextServiceHost.cs (2)
321if (!String.IsNullOrEmpty(this.absoluteServiceUri.Fragment)) 326if (!String.IsNullOrEmpty(this.absoluteServiceUri.Query))
System\Data\Services\HttpProcessUtility.cs (6)
96if (!String.IsNullOrEmpty(acceptTypesText)) 177if (!String.IsNullOrEmpty(acceptTypesText)) 253if (!string.IsNullOrEmpty(acceptCharset)) 310if (String.IsNullOrEmpty(contentType)) 633Debug.Assert(!String.IsNullOrEmpty(text), "!String.IsNullOrEmpty(text)"); 851Debug.Assert(!String.IsNullOrEmpty(headerValue), "!String.IsNullOrEmpty(headerValuer)");
System\Data\Services\IgnorePropertiesAttribute.cs (1)
87if (String.IsNullOrEmpty(propertyName))
System\Data\Services\Internal\ProjectedWrapper.cs (1)
227if (projectedWrapper != null && string.IsNullOrEmpty(projectedWrapper.resourceTypeName))
System\Data\Services\Parsing\WebConvert.cs (1)
205Debug.Assert(!String.IsNullOrEmpty(text), "!String.IsNullOrEmpty(text)");
System\Data\Services\Providers\BaseServiceProvider.cs (3)
414Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)"); 424Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)"); 434Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)");
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1220Debug.Assert(!String.IsNullOrEmpty(name), "!String.IsNullOrEmpty(name)");
System\Data\Services\Providers\DataServiceProviderWrapper.cs (6)
141if (string.IsNullOrEmpty(containerNamespace) && !this.IsV1Provider) 156if (string.IsNullOrEmpty(containerName)) 473Debug.Assert(!string.IsNullOrEmpty(propertyName), "!string.IsNullOrEmpty(propertyName)"); 516Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)"); 609Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)"); 671Debug.Assert(!string.IsNullOrEmpty(name), "!string.IsNullOrEmpty(name)");
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (13)
108Debug.Assert(!string.IsNullOrEmpty(mediaLinkEntryUri), "!string.IsNullOrEmpty(mediaLinkEntryUri)"); 157string.IsNullOrEmpty(etagFromHeader) && !checkETagForEquality.HasValue || !string.IsNullOrEmpty(etagFromHeader) && checkETagForEquality.HasValue, 220string.IsNullOrEmpty(etag) && !checkETagForEquality.HasValue || !string.IsNullOrEmpty(etag) && checkETagForEquality.HasValue, 260if (string.IsNullOrEmpty(contentType)) 340if (string.IsNullOrEmpty(resourceTypeName)) 408Debug.Assert(string.IsNullOrEmpty(host.RequestIfMatch) || string.IsNullOrEmpty(host.RequestIfNoneMatch), "IfMatch and IfNoneMatch should not be both set."); 410if (string.IsNullOrEmpty(host.RequestIfMatch) && string.IsNullOrEmpty(host.RequestIfNoneMatch)) 415else if (!string.IsNullOrEmpty(host.RequestIfMatch)) 437Debug.Assert(!string.IsNullOrEmpty(methodName), "!string.IsNullOrEmpty(methodName)");
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
89Debug.Assert(!string.IsNullOrEmpty(attribute.SourcePath), "Invalid source path");
System\Data\Services\Providers\ObjectContextServiceProvider.cs (7)
726Debug.Assert(!String.IsNullOrEmpty(containerName), "container name must not be empty"); 1143if (String.IsNullOrEmpty(text)) 2288!String.IsNullOrEmpty(qualifiedEntitySetName), 2328if (String.IsNullOrEmpty(this.ObjectContext.DefaultContainerName)) 2394Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 2668if (!String.IsNullOrEmpty(containerName)) 2686if (!String.IsNullOrEmpty(containerName))
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
1005if (!String.IsNullOrEmpty(genericNamespace))
System\Data\Services\Providers\ResourceAssociationType.cs (1)
43Debug.Assert(!String.IsNullOrEmpty(name), "!String.IsNullOrEmpty(name)");
System\Data\Services\Providers\ResourceAssociationTypeEnd.cs (1)
43Debug.Assert(!String.IsNullOrEmpty(name), "!String.IsNullOrEmpty(name)");
System\Data\Services\Providers\ResourceProperty.cs (1)
122if (String.IsNullOrEmpty(value))
System\Data\Services\Providers\ResourceType.cs (1)
195this.fullName = string.IsNullOrEmpty(namespaceName) ? name : namespaceName + "." + name;
System\Data\Services\Providers\ServiceOperation.cs (1)
133if (String.IsNullOrEmpty(value))
System\Data\Services\RequestQueryProcessor.cs (21)
180(!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringExpand)) || 181!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringFilter)) || 182!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringOrderBy)) || 183!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringSkip)) || 184!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringTop)))) || 185!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringInlineCount)) || 186!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringSelect)) || 187!String.IsNullOrEmpty(host.GetQueryStringItem(XmlConstants.HttpQueryStringSkipToken))) 318Debug.Assert(!String.IsNullOrEmpty(value), "!String.IsNullOrEmpty(value)"); 572if (!String.IsNullOrEmpty(expand)) 695if (!String.IsNullOrEmpty(select)) 834if (!String.IsNullOrEmpty(this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringExpand))) 851if (!String.IsNullOrEmpty(filter)) 876if (!String.IsNullOrEmpty(skipToken)) 887if (!String.IsNullOrEmpty(skipToken)) 919if (!String.IsNullOrEmpty(skipToken)) 969if (!String.IsNullOrEmpty(count)) 1076if (!String.IsNullOrEmpty(orderByText)) 1126if (String.IsNullOrEmpty(this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringExpand)) 1127&& String.IsNullOrEmpty(this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringSelect))) 1361if (String.IsNullOrEmpty(itemText))
System\Data\Services\RequestUriProcessor.cs (3)
231Debug.Assert(!String.IsNullOrEmpty(reference), "!String.IsNullOrEmpty(reference) -- caller should check and throw appropriate message"); 651bool isPostQueryForSet = isLastSegment && verbUsed == AstoriaVerbs.POST && string.IsNullOrEmpty(queryPortion); 1072if (String.IsNullOrEmpty(queryStringValue))
System\Data\Services\Serializers\BatchWriter.cs (1)
112if (!String.IsNullOrEmpty(text))
System\Data\Services\Serializers\Deserializer.cs (1)
571Debug.Assert(!string.IsNullOrEmpty(fullTypeName), "!string.IsNullOrEmpty(fullTypeName)");
System\Data\Services\Serializers\JsonDeserializer.cs (2)
214if (String.IsNullOrEmpty(uri)) 708if (string.IsNullOrEmpty(typeName))
System\Data\Services\Serializers\JsonReader.cs (1)
400if (String.IsNullOrEmpty(name))
System\Data\Services\Serializers\JsonSerializer.cs (1)
434if (!string.IsNullOrEmpty(mediaETag))
System\Data\Services\Serializers\JsonWriter.cs (2)
129if (String.IsNullOrEmpty(name)) 336if (String.IsNullOrEmpty(s))
System\Data\Services\Serializers\MetadataSerializer.cs (6)
198if (!String.IsNullOrEmpty(operation.MimeType)) 239Debug.Assert(!string.IsNullOrEmpty(namespaceAlongWithTypes.Key), "!string.IsNullOrEmpty(namespaceAlongWithTypes.Key)"); 399if (!String.IsNullOrEmpty(attr.TargetNamespacePrefix)) 491if (!String.IsNullOrEmpty(resourceProperty.MimeType)) 895if (String.IsNullOrEmpty(typeNamespace)) 909if (string.IsNullOrEmpty(typeNamespace))
System\Data\Services\Serializers\PlainXmlDeserializer.cs (5)
230if (String.IsNullOrEmpty(uri)) 246if (String.IsNullOrEmpty(uri)) 473if (String.IsNullOrEmpty(typeName)) 563this.currentPathPrefix = String.IsNullOrEmpty(this.currentPathPrefix) ? appliedPropertyName : this.currentPathPrefix + "/" + appliedPropertyName; 607return String.IsNullOrEmpty(this.currentPathPrefix) ? propertyName : this.currentPathPrefix + "/" + propertyName;
System\Data\Services\Serializers\PlainXmlSerializer.cs (1)
372Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)");
System\Data\Services\Serializers\Serializer.cs (4)
713if (!String.IsNullOrEmpty(this.httpETagHeaderValue)) 733Debug.Assert(!String.IsNullOrEmpty(containerName), "container name must be specified"); 863if (!String.IsNullOrEmpty(value)) 1101if (!String.IsNullOrEmpty(topQueryItem))
System\Data\Services\Serializers\SyndicationDeserializer.cs (5)
185if (!String.IsNullOrEmpty(mediaType)) 199if (!String.IsNullOrEmpty(typeParameterValue) && property != null) 481if ((linkContent == LinkContent.NoInlineElementSpecified && link.Uri != null && String.IsNullOrEmpty(link.Uri.OriginalString)) || 494else if (linkContent == LinkContent.NoInlineElementSpecified && link.Uri != null && !String.IsNullOrEmpty(link.Uri.OriginalString)) 541if (String.IsNullOrEmpty(typeName))
System\Data\Services\Serializers\SyndicationSerializer.cs (8)
115Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 404Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 406Debug.Assert(!String.IsNullOrEmpty(relativeUri), "!String.IsNullOrEmpty(relativeUri)"); 451Debug.Assert(element != null || (absoluteUri != null && !String.IsNullOrEmpty(relativeUri)), "Uri's must be specified for null values"); 534Debug.Assert(!string.IsNullOrEmpty(mediaContentType), "!string.IsNullOrEmpty(mediaContentType)"); 714if (element != null && !string.IsNullOrEmpty(mediaETag)) 750Debug.Assert(!String.IsNullOrEmpty(relativeUri), "!String.IsNullOrEmpty(relativeUri)"); 874if (String.IsNullOrEmpty(propertyName))
System\Data\Services\UpdatableWrapper.cs (11)
145Debug.Assert(String.IsNullOrEmpty(host.RequestIfNoneMatch), "IfNoneMatch header cannot be specified for Update/Delete operations"); 158if (!String.IsNullOrEmpty(host.RequestIfMatch)) 174if (!String.IsNullOrEmpty(host.RequestIfMatch)) 186else if (String.IsNullOrEmpty(host.RequestIfMatch)) 194Debug.Assert(!String.IsNullOrEmpty(etagValue), "etag value can never be null"); 212Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 225Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 238Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 251Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 264Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 332Debug.Assert(!String.IsNullOrEmpty(ifMatchHeaderValue), "IfMatch header cannot be null");
System\Data\Services\WebUtil.cs (13)
146if (!String.IsNullOrEmpty(requestHost)) 192if (string.IsNullOrEmpty(value)) 493if (String.IsNullOrEmpty(text)) 816if (String.IsNullOrEmpty(etag) || etag == XmlConstants.HttpAnyETag) 1063if (!String.IsNullOrEmpty(host.RequestIfMatch)) 1075if (!String.IsNullOrEmpty(host.RequestIfMatch)) 1080else if (String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) 1097if (String.IsNullOrEmpty(host.RequestIfMatch)) 1099Debug.Assert(!String.IsNullOrEmpty(host.RequestIfNoneMatch), "Both can't be null, otherwise it should have entered the first condition"); 1137if (!string.IsNullOrEmpty(etagValue)) 1529if (!String.IsNullOrEmpty(versionText)) 1567if (!String.IsNullOrEmpty(versionText))
System.Data.Services.Client (51)
parent\Server\System\Data\Services\Epm\EpmSourceTree.cs (1)
73Debug.Assert(!String.IsNullOrEmpty(sourceName), "Must have been validated during EntityPropertyMappingAttribute construction");
parent\Server\System\Data\Services\Epm\EpmTargetTree.cs (2)
78Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 152Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction");
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
310if (String.IsNullOrEmpty(contentType))
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
89Debug.Assert(!string.IsNullOrEmpty(attribute.SourcePath), "Invalid source path");
System\Data\Services\Client\ALinq\ResourceSetExpression.cs (1)
315Debug.Assert(!string.IsNullOrEmpty(acc), "Set accessor cannot be null or empty");
System\Data\Services\Client\AtomParser.cs (7)
102Debug.Assert(!String.IsNullOrEmpty(currentDataNamespace), "currentDataNamespace is empty or null"); 603if (String.IsNullOrEmpty(href)) 614if (String.IsNullOrEmpty(href)) 624if (String.IsNullOrEmpty(href)) 753if (!String.IsNullOrEmpty(property.Text)) 772if (!String.IsNullOrEmpty(property.Text)) 1043if (!uri.IsAbsoluteUri && !String.IsNullOrEmpty(this.reader.BaseURI))
System\Data\Services\Client\BatchStream.cs (4)
316if (String.IsNullOrEmpty(boundary)) 473if (String.IsNullOrEmpty(delimiter)) 478if (String.IsNullOrEmpty(delimiter)) 705if (!String.IsNullOrEmpty(contentType))
System\Data\Services\Client\Binding\BindingEntityInfo.cs (1)
95if (!String.IsNullOrEmpty(targetEntitySet))
System\Data\Services\Client\Binding\BindingObserver.cs (8)
175if (String.IsNullOrEmpty(sourceProperty)) 380(source == null && sourceProperty == null) || (source != null && !String.IsNullOrEmpty(sourceProperty)), 518(source == null && sourceProperty == null) || (source != null && !String.IsNullOrEmpty(sourceProperty)), 600Debug.Assert(!String.IsNullOrEmpty(sourceProperty), "sourceProperty must be a non-empty string for update operations."); 601Debug.Assert(!String.IsNullOrEmpty(sourceEntitySet), "sourceEntitySet must be non-empty string for update operation."); 727Debug.Assert(!String.IsNullOrEmpty(propertyName) || propertyValue == null, "When propertyName is null no propertyValue should be provided."); 814(source == null && sourceProperty == null) || (source != null && !String.IsNullOrEmpty(sourceProperty)), 939Debug.Assert(!String.IsNullOrEmpty(sourceProperty), "sourceProperty must be provided.");
System\Data\Services\Client\Binding\BindingUtils.cs (1)
30if (String.IsNullOrEmpty(entitySetName))
System\Data\Services\Client\ClientConvert.cs (1)
264return String.IsNullOrEmpty(typeName) || ClientConvert.namedTypesMap.TryGetValue(typeName, out type);
System\Data\Services\Client\ClientType.cs (1)
82Debug.Assert(!String.IsNullOrEmpty(typeName), "empty typeName");
System\Data\Services\Client\DataServiceContext.cs (11)
164!String.IsNullOrEmpty(serviceRoot.Query) || 165!string.IsNullOrEmpty(serviceRoot.Fragment) || 1696if (String.IsNullOrEmpty(message)) 2047Debug.Assert(!String.IsNullOrEmpty(contentType), "Content-Type must be specified for non get operation"); 2154if (String.IsNullOrEmpty(wireName)) 2265if (!String.IsNullOrEmpty(responseVersion)) 2311Debug.Assert(!String.IsNullOrEmpty(entitySetName) && !entitySetName.StartsWith("/", StringComparison.Ordinal), "entitySetName"); 2918if (!String.IsNullOrEmpty(typeName)) 3346if (!String.IsNullOrEmpty(typeName)) 3560!String.IsNullOrEmpty(Util.CreateUri(this.baseUriWithSlash, tmp) 4650if (String.IsNullOrEmpty(mimeType))
System\Data\Services\Client\DataServiceRequest.cs (1)
81if (!String.IsNullOrEmpty(contentType))
System\Data\Services\Client\EntityDescriptor.cs (1)
477if (!String.IsNullOrEmpty(this.entitySetName))
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (4)
188if (String.IsNullOrEmpty(sourcePath)) 213if (String.IsNullOrEmpty(sourcePath)) 220if (String.IsNullOrEmpty(targetPath)) 236if (String.IsNullOrEmpty(targetNamespaceUri))
System\Data\Services\Client\Util.cs (2)
278Debug.Assert(String.IsNullOrEmpty(baseUri.Query) && String.IsNullOrEmpty(baseUri.Fragment), "baseUri has query or fragment");
System\Data\Services\Client\Xml\XmlWrappingReader.cs (2)
69else if (!String.IsNullOrEmpty(this.previousReaderBaseUri)) 461if (String.IsNullOrEmpty(baseAttribute))
System\Data\Services\Client\XmlUtil.cs (1)
52if (!String.IsNullOrEmpty(value))
System.Data.Services.Design (24)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
44Debug.Assert(!string.IsNullOrEmpty(identifier), "identifier is null or empty");
System\Data\EntityModel\DataServiceBuildProvider.cs (2)
238if (String.IsNullOrEmpty(typeName)) 294Debug.Assert(!String.IsNullOrEmpty(mapFilePath), "mapFilePath cannot be null or empty");
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
226if (String.IsNullOrEmpty(sourcePath))
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (5)
296FixUps.Do(reader, target.GetOrCreateTextWriter(), Language, !String.IsNullOrEmpty(SourceObjectNamespaceName)); 518if (string.IsNullOrEmpty(this.NamespacePrefix)) return serviceTypeNamespace; 520if (string.IsNullOrEmpty(serviceTypeNamespace) || 600if (!String.IsNullOrEmpty(sourceEdmNamespaceName)) 734if (eventArgs.BaseType != null && !String.IsNullOrEmpty(eventArgs.BaseType.BaseType))
System\Data\EntityModel\Emitters\CommentEmitter.cs (6)
110if (string.IsNullOrEmpty(summaryComments) || string.IsNullOrEmpty(summaryComments = summaryComments.TrimEnd())) 164Debug.Assert(!string.IsNullOrEmpty(text)); 268if (string.IsNullOrEmpty(leadingBlanks)) 296if (!string.IsNullOrEmpty(documentation.LongDescription)) 339if (string.IsNullOrEmpty(text))
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
409string vbScopedcontainerName = (string.IsNullOrEmpty(containerNamespace) || container.Name.Equals(containerNamespace, StringComparison.OrdinalIgnoreCase))
System\Data\EntityModel\Emitters\FixUpCollection.cs (1)
161else if ( string.IsNullOrEmpty(nakedLine) || nakedLine.StartsWith("//",StringComparison.Ordinal) )
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (3)
82if (!string.IsNullOrEmpty(_namespacePrefix)) 84if (string.IsNullOrEmpty(namespaceName) || IsDefaultContainer(container)) 255if (!string.IsNullOrEmpty(this.Generator.NamespacePrefix))
System\Data\EntityModel\Emitters\Utils.cs (3)
187if (string.IsNullOrEmpty(text)) 203if (string.IsNullOrEmpty(text)) 297Debug.Assert(!string.IsNullOrEmpty(name), "name parameter is null or empty");
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
177Debug.Assert(!String.IsNullOrEmpty(schema.TargetNamespace), "schema.TargetNamespace != null||'' -- otherwise this isn't CSDL");
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1658if (!string.IsNullOrEmpty(ordinal)) ReportNYI("xsl:number/@ordinal");
System\Xml\Xsl\XsltOld\InputScopeManager.cs (1)
85Debug.Assert(!string.IsNullOrEmpty(prefix));
System.Drawing (10)
commonui\System\Drawing\Advanced\Font.cs (2)
133si.AddValue("Name", String.IsNullOrEmpty(OriginalFontName) ? Name : OriginalFontName); 1054return !String.IsNullOrEmpty(this.systemFontName);
commonui\System\Drawing\Design\ToolboxItem.cs (1)
609if (!String.IsNullOrEmpty(typeName)) {
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
383if (!string.IsNullOrEmpty(printFileName)) 390if (string.IsNullOrEmpty(value))
commonui\System\Drawing\ToolboxBitmapAttribute.cs (1)
270if (!string.IsNullOrEmpty(imageFile)) {
misc\DpiHelper.cs (3)
82if (!string.IsNullOrEmpty(value) && string.Equals(value, "true", StringComparison.InvariantCultureIgnoreCase)) 124if (string.IsNullOrEmpty(dpiAwarenessValue)) 133if (!string.IsNullOrEmpty(dpiAwarenessValue)) // setting in configuration wins
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System.IdentityModel (389)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System\IdentityModel\Claims\AuthorizationContext.cs (1)
38if ( string.IsNullOrEmpty( resource ) )
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
88if (string.IsNullOrEmpty(issuer))
System\IdentityModel\Claims\ClaimsHelper.cs (2)
35if (string.IsNullOrEmpty(upn)) 70if (string.IsNullOrEmpty(upn))
System\IdentityModel\Claims\X509CertificateClaimSet.cs (11)
174if (!string.IsNullOrEmpty(value)) 180if (!string.IsNullOrEmpty(value)) 184if (!string.IsNullOrEmpty(value)) 188if (!string.IsNullOrEmpty(value)) 192if (!string.IsNullOrEmpty(value)) 284if (!string.IsNullOrEmpty(value)) 514if (!string.IsNullOrEmpty(value)) 518if (!string.IsNullOrEmpty(value)) 522if (!string.IsNullOrEmpty(value)) 526if (!string.IsNullOrEmpty(value)) 530if (!string.IsNullOrEmpty(value))
System\IdentityModel\Configuration\IdentityConfiguration.cs (2)
281Type type = string.IsNullOrEmpty(element.Type) ? DefaultIssuerNameRegistryType : Type.GetType(element.Type); 449if (string.IsNullOrEmpty(handlerElementCollection.Name) ||
System\IdentityModel\Configuration\SecurityTokenServiceConfiguration.cs (2)
270if (string.IsNullOrEmpty(value)) 348if (string.IsNullOrEmpty(value))
System\IdentityModel\CryptoHelper.cs (2)
1169if (string.IsNullOrEmpty(algorithm)) 1238if (string.IsNullOrEmpty(algorithm))
System\IdentityModel\Diagnostics\DigestTraceRecordHelper.cs (1)
40if (string.IsNullOrEmpty(traceName))
System\IdentityModel\Diagnostics\SecurityTraceRecordHelper.cs (1)
24if (string.IsNullOrEmpty(traceName))
System\IdentityModel\EncryptedDataElement.cs (2)
174if ( !string.IsNullOrEmpty( Id ) ) 179if ( !string.IsNullOrEmpty( Type ) )
System\IdentityModel\EncryptedKeyElement.cs (2)
62if ( !string.IsNullOrEmpty( dataRef ) ) 89if ( !string.IsNullOrEmpty( keyRef ) )
System\IdentityModel\EncryptedTypeElement.cs (2)
55if (string.IsNullOrEmpty(value)) 119if (string.IsNullOrEmpty(value))
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
65if (string.IsNullOrEmpty(referenceId))
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (1)
171if (string.IsNullOrEmpty(algorithm))
System\IdentityModel\KeyInfo.cs (1)
62if ( !string.IsNullOrEmpty( method ) )
System\IdentityModel\Metadata\DisplayClaim.cs (1)
149if (string.IsNullOrEmpty(claimType))
System\IdentityModel\Metadata\MetadataSerializer.cs (38)
354if (!String.IsNullOrEmpty(emailId)) 362if (!String.IsNullOrEmpty(phone)) 455if (!String.IsNullOrEmpty(optionalString)) 516if (!String.IsNullOrEmpty(name)) 567if (!String.IsNullOrEmpty(entity.FederationId)) 708if (!String.IsNullOrEmpty(entityId)) 715if (!String.IsNullOrEmpty(fedId)) 740if (!String.IsNullOrEmpty(xsiType)) 750if (String.IsNullOrEmpty(ns)) 829if (!String.IsNullOrEmpty(wantAuthnRequestSignedAttribute)) 920if (!String.IsNullOrEmpty(responseLocation)) 932if (!String.IsNullOrEmpty(isDefaultString)) 985if (!String.IsNullOrEmpty(use)) 1006if (!String.IsNullOrEmpty(algorithm) && UriUtil.CanCreateValidUri(algorithm, UriKind.Absolute)) 1100if (String.IsNullOrEmpty(resultName.Name)) 1345if (!String.IsNullOrEmpty(responseLocation)) 1398if (!String.IsNullOrEmpty(validUntilString)) 1410if (!string.IsNullOrEmpty(errorUrlString)) 1422if (String.IsNullOrEmpty(protocols)) 1429if (!String.IsNullOrEmpty(toAdd)) 1571if (!String.IsNullOrEmpty(authnRequestsSignedAttribute)) 1585if (!String.IsNullOrEmpty(wantAssertionsSignedAttribute)) 1715if (!String.IsNullOrEmpty(displayName)) 1720if (!String.IsNullOrEmpty(description)) 1982if (!String.IsNullOrEmpty(contactPerson.Company)) 1987if (!String.IsNullOrEmpty(contactPerson.GivenName)) 1992if (!String.IsNullOrEmpty(contactPerson.Surname)) 2095if (String.IsNullOrEmpty(claim.ClaimType)) 2112if (!String.IsNullOrEmpty(claim.DisplayTag)) 2117if (!String.IsNullOrEmpty(claim.Description)) 2174if (!String.IsNullOrEmpty(entity.FederationId)) 2183if (!String.IsNullOrEmpty(entitiesDescriptor.Name)) 2260if (!String.IsNullOrEmpty(entityDescriptor.FederationId)) 2538if (name.Language == null || String.IsNullOrEmpty(name.Name)) 3055if (!String.IsNullOrEmpty(wsDescriptor.ServiceDisplayName)) 3060if (!String.IsNullOrEmpty(wsDescriptor.ServiceDescription)) 3195if (String.IsNullOrEmpty(value)) 3204if (!String.IsNullOrEmpty(value))
System\IdentityModel\PreDigestedSignedInfo.cs (1)
204if (useStrTransform && string.IsNullOrEmpty(id))
System\IdentityModel\Protocols\WSTrust\RequestClaim.cs (1)
49if (string.IsNullOrEmpty(claimType))
System\IdentityModel\Protocols\WSTrust\RequestedProofToken.cs (1)
32if (string.IsNullOrEmpty(computedKeyAlgorithm))
System\IdentityModel\Protocols\WSTrust\Status.cs (2)
24if (string.IsNullOrEmpty(code)) 45if (string.IsNullOrEmpty(value))
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (2)
131if (!string.IsNullOrEmpty(rst.KeyWrapAlgorithm)) 196if (string.IsNullOrEmpty(elementName))
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (2)
115if (!string.IsNullOrEmpty(rstr.KeyWrapAlgorithm)) 176if (string.IsNullOrEmpty(elementName))
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005RequestSerializer.cs (1)
139if (string.IsNullOrEmpty(elementName))
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005ResponseSerializer.cs (1)
138if (string.IsNullOrEmpty(elementName))
System\IdentityModel\Protocols\WSTrust\WSTrustMessage.cs (2)
233if (string.IsNullOrEmpty(value)) 262if (string.IsNullOrEmpty(value))
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (38)
191if (string.IsNullOrEmpty(claimType)) 199if (!string.IsNullOrEmpty(optionalAttributeVal)) 512if (!string.IsNullOrEmpty(attrValue)) 518if (!string.IsNullOrEmpty(attrValue)) 607if (string.IsNullOrEmpty(attrValue) || !UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out name)) 614if (!string.IsNullOrEmpty(attrValue) && !UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out scope)) 743if (!string.IsNullOrEmpty(rst.ComputedKeyAlgorithm)) 748if (!string.IsNullOrEmpty(rst.SignWith)) 753if (!string.IsNullOrEmpty(rst.EncryptWith)) 768if (!string.IsNullOrEmpty(rst.KeyType)) 793if (!string.IsNullOrEmpty(rst.RequestType)) 798if (!string.IsNullOrEmpty(rst.TokenType)) 808if (!string.IsNullOrEmpty(rst.AuthenticationType)) 813if (!string.IsNullOrEmpty(rst.EncryptionAlgorithm)) 818if (!string.IsNullOrEmpty(rst.CanonicalizationAlgorithm)) 823if (!string.IsNullOrEmpty(rst.SignatureAlgorithm)) 896if (string.IsNullOrEmpty(elementName)) 929if (string.IsNullOrEmpty(prefix)) 935writer.WriteAttributeString(trustConstants.Attributes.Dialect, !string.IsNullOrEmpty(claims.Dialect) ? claims.Dialect : WSIdentityConstants.Dialect); 1700if (!string.IsNullOrEmpty(response.Context)) 1785if (!string.IsNullOrEmpty(rstr.SignWith)) 1790if (!string.IsNullOrEmpty(rstr.EncryptWith)) 1795if (!string.IsNullOrEmpty(rstr.TokenType)) 1800if (!string.IsNullOrEmpty(rstr.RequestType)) 1805if (!string.IsNullOrEmpty(rstr.KeyType)) 1810if (!string.IsNullOrEmpty(rstr.AuthenticationType)) 1815if (!string.IsNullOrEmpty(rstr.EncryptionAlgorithm)) 1820if (!string.IsNullOrEmpty(rstr.CanonicalizationAlgorithm)) 1825if (!string.IsNullOrEmpty(rstr.SignatureAlgorithm)) 1858if (string.IsNullOrEmpty(elementName)) 1923if (string.IsNullOrEmpty(proofToken.ComputedKeyAlgorithm) && proofToken.ProtectedKey == null) 1930if (!string.IsNullOrEmpty(proofToken.ComputedKeyAlgorithm)) 2090if (string.IsNullOrEmpty(computedKeyAlgorithm)) 2115if (string.IsNullOrEmpty(computedKeyAlgorithm)) 2205if (string.IsNullOrEmpty(attrValue)) 2219if (string.IsNullOrEmpty(attrValue)) 2741if (string.IsNullOrEmpty(keyType)) 2851if (string.IsNullOrEmpty(base64KeyBytes))
System\IdentityModel\SecurityTokenService.cs (7)
311if (string.IsNullOrEmpty(issuerName)) 351string keyType = (string.IsNullOrEmpty(request.KeyType)) ? KeyTypes.Symmetric : request.KeyType; 557if (!string.IsNullOrEmpty(tokenDescriptor.AppliesToAddress)) 749if (!string.IsNullOrEmpty(request.TokenType)) 779string tokenType = string.IsNullOrEmpty(requestedTokenType) ? _securityTokenServiceConfiguration.DefaultTokenType : requestedTokenType; 945if (!string.IsNullOrEmpty(request.TokenType)) 1088request.KeyType = (string.IsNullOrEmpty(request.KeyType)) ? KeyTypes.Symmetric : request.KeyType;
System\IdentityModel\SecurityUtils.cs (4)
155if (string.IsNullOrEmpty(certificateId)) 955if (string.IsNullOrEmpty(serviceBinding)) 969if (string.IsNullOrEmpty(serviceBinding)) 983if (string.IsNullOrEmpty(serviceBinding))
System\IdentityModel\Selectors\WindowsUserNameSecurityTokenAuthenticator.cs (1)
36if (strings.Length != 2 || string.IsNullOrEmpty(strings[0]))
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
103if (string.IsNullOrEmpty(name))
System\IdentityModel\SignatureResourcePool.cs (1)
62if ( string.IsNullOrEmpty( algorithm ) )
System\IdentityModel\SignedXml.cs (1)
1172if (!String.IsNullOrEmpty(uri))
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (4)
94string issuerName = ((nameAttribute == null) || string.IsNullOrEmpty(nameAttribute.Value)) ? String.Empty : String.Intern(nameAttribute.Value); 145issuerName = string.IsNullOrEmpty(issuerName) ? x509SecurityToken.Certificate.Subject : issuerName; 183if (string.IsNullOrEmpty(certificateThumbprint)) 188if (string.IsNullOrEmpty(name))
System\IdentityModel\Tokens\EncryptingCredentials.cs (2)
50if (string.IsNullOrEmpty(algorithm)) 76if (string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (4)
127if ( string.IsNullOrEmpty( id ) ) 134if ( string.IsNullOrEmpty( id ) ) 140if (string.IsNullOrEmpty(id)) 146if ( !string.IsNullOrEmpty(id) )
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
57if (string.IsNullOrEmpty(networkCredential.UserName))
System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
70if (string.IsNullOrEmpty(localId))
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (2)
222if (null == contextId || string.IsNullOrEmpty(endpointId)) 273if (null == contextId || string.IsNullOrEmpty(endpointId))
System\IdentityModel\Tokens\RsaSecurityKey.cs (5)
75if (string.IsNullOrEmpty(algorithm)) 110if (string.IsNullOrEmpty(algorithm)) 153if (string.IsNullOrEmpty(algorithm)) 224if (string.IsNullOrEmpty(algorithm)) 234if (string.IsNullOrEmpty(algorithm))
System\IdentityModel\Tokens\Saml2Action.cs (2)
26if (string.IsNullOrEmpty(value)) 97if (string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\Saml2AssertionKeyIdentifierClause.cs (2)
41if (string.IsNullOrEmpty(id)) 57if (string.IsNullOrEmpty(assertionId))
System\IdentityModel\Tokens\Saml2Attribute.cs (3)
31if (string.IsNullOrEmpty(name)) 90if (string.IsNullOrEmpty(value)) 154if (string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\Saml2Id.cs (1)
39if (string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\Saml2NameIdentifier.cs (2)
42if (string.IsNullOrEmpty(name)) 138if (string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (48)
416if (string.IsNullOrEmpty(upn)) 532if (!string.IsNullOrEmpty(value)) 537if (!string.IsNullOrEmpty(value)) 551if (!string.IsNullOrEmpty(value)) 556if (!string.IsNullOrEmpty(value)) 584if (string.IsNullOrEmpty(value)) 950if (string.IsNullOrEmpty(value)) 1008bool hasScope = !string.IsNullOrEmpty(relyingPartyAddress); 1067if (string.IsNullOrEmpty(issuerName)) 1383if (!string.IsNullOrEmpty(authInfo.DnsName) 1384|| !string.IsNullOrEmpty(authInfo.Address)) 1390if (!string.IsNullOrEmpty(authInfo.Session)) 1666if (string.IsNullOrEmpty(samlToken.Assertion.Id.Value)) 1676if (string.IsNullOrEmpty(samlToken.Assertion.Issuer.Value)) 1922if (string.IsNullOrEmpty(originalIssuer)) 2076if (string.IsNullOrEmpty(issuer)) 2378if (string.IsNullOrEmpty(attributeValue)) 2432if (string.IsNullOrEmpty(data.Namespace.ToString())) 2658if (string.IsNullOrEmpty(version)) 2670if (string.IsNullOrEmpty(value)) 2679if (string.IsNullOrEmpty(value)) 2989if (string.IsNullOrEmpty(value)) 2998if (!string.IsNullOrEmpty(value)) 3047if (!string.IsNullOrEmpty(attributeValueXsiTypeSuffixWithLocalPrefix)) 3717if (string.IsNullOrEmpty(value)) 3729if (!string.IsNullOrEmpty(value)) 3870if (string.IsNullOrEmpty(value)) 4035if (!string.IsNullOrEmpty(value)) 4042if (!string.IsNullOrEmpty(value)) 4603if (!string.IsNullOrEmpty(value)) 4615if (!string.IsNullOrEmpty(value)) 4622if (!string.IsNullOrEmpty(value)) 4629if (!string.IsNullOrEmpty(value)) 4647if (!string.IsNullOrEmpty(nameIdentifier.NameQualifier) 4648|| !string.IsNullOrEmpty(nameIdentifier.SPNameQualifier) 4649|| !string.IsNullOrEmpty(nameIdentifier.SPProvidedId)) 4738if (!string.IsNullOrEmpty(data.NameQualifier)) 4744if (!string.IsNullOrEmpty(data.SPNameQualifier)) 4750if (!string.IsNullOrEmpty(data.SPProvidedId)) 4801if (!string.IsNullOrEmpty(value)) 5125if (string.IsNullOrEmpty(method)) 5195if (string.IsNullOrEmpty(data.Method.ToString())) 5275if (!string.IsNullOrEmpty(value)) 5282if (!string.IsNullOrEmpty(value)) 5289if (!string.IsNullOrEmpty(value)) 5296if (!string.IsNullOrEmpty(value)) 5303if (!string.IsNullOrEmpty(value)) 5391if (!string.IsNullOrEmpty(data.Address))
System\IdentityModel\Tokens\SamlAction.cs (4)
29if (string.IsNullOrEmpty(action)) 48if (string.IsNullOrEmpty(value)) 79if (string.IsNullOrEmpty(action)) 101if (string.IsNullOrEmpty(this.action))
System\IdentityModel\Tokens\SamlAdvice.cs (1)
45if (string.IsNullOrEmpty(idReference))
System\IdentityModel\Tokens\SamlAssertion.cs (12)
57if (string.IsNullOrEmpty(assertionId)) 63if (string.IsNullOrEmpty(issuer)) 107if (string.IsNullOrEmpty(value)) 146if (string.IsNullOrEmpty(value)) 380if (string.IsNullOrEmpty(this.assertionId)) 386if (string.IsNullOrEmpty(this.issuer)) 395if (string.IsNullOrEmpty(assertionId)) 501if (string.IsNullOrEmpty(attributeValue)) 506if (string.IsNullOrEmpty(attributeValue)) 517if (string.IsNullOrEmpty(attributeValue)) 526if (string.IsNullOrEmpty(attributeValue)) 531if (!string.IsNullOrEmpty(attributeValue))
System\IdentityModel\Tokens\SamlAttribute.cs (11)
31if (string.IsNullOrEmpty(attributeName)) 34if (string.IsNullOrEmpty(attributeNamespace)) 42this.claimType = string.IsNullOrEmpty(this.nameSpace) ? this.name : this.nameSpace + "/" + this.name; 91if (string.IsNullOrEmpty(value)) 106if (string.IsNullOrEmpty(value)) 143if (string.IsNullOrEmpty(value)) 206if (string.IsNullOrEmpty(this.name)) 209if (string.IsNullOrEmpty(this.nameSpace)) 228if (string.IsNullOrEmpty(this.name)) 232if (string.IsNullOrEmpty(this.nameSpace)) 235this.claimType = string.IsNullOrEmpty(this.nameSpace) ? this.name : this.nameSpace + "/" + this.name;
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (1)
88if (string.IsNullOrEmpty(audience))
System\IdentityModel\Tokens\SamlAuthenticationClaimResource.cs (2)
33if (string.IsNullOrEmpty(authenticationMethod)) 46if (string.IsNullOrEmpty(authenticationMethod))
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (5)
38if (string.IsNullOrEmpty(authenticationMethod)) 80if (string.IsNullOrEmpty(value)) 161if (string.IsNullOrEmpty(this.authenticationMethod)) 177if (string.IsNullOrEmpty(authInstance)) 183if (string.IsNullOrEmpty(this.authenticationMethod))
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (11)
46if (string.IsNullOrEmpty(value.Name)) 62if (string.IsNullOrEmpty(value)) 78if (string.IsNullOrEmpty(value)) 100if (string.IsNullOrEmpty(authorityKind.Name)) 103if (string.IsNullOrEmpty(this.binding)) 106if (string.IsNullOrEmpty(this.location)) 122if (string.IsNullOrEmpty(authKind)) 148if (string.IsNullOrEmpty(this.binding)) 152if (string.IsNullOrEmpty(this.location)) 184if (!string.IsNullOrEmpty(this.authorityKind.Namespace)) 191if (string.IsNullOrEmpty(prefix))
System\IdentityModel\Tokens\SamlAuthorizationDecisionClaimResource.cs (4)
31if (string.IsNullOrEmpty(resource)) 33if (string.IsNullOrEmpty(actionName)) 39if (string.IsNullOrEmpty(resource)) 41if (string.IsNullOrEmpty(actionName))
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (4)
102if (string.IsNullOrEmpty(value)) 148if (string.IsNullOrEmpty(this.resource)) 167if (string.IsNullOrEmpty(this.resource)) 171if (string.IsNullOrEmpty(decisionString))
System\IdentityModel\Tokens\SamlConditions.cs (2)
114if (!string.IsNullOrEmpty(time)) 119if (!string.IsNullOrEmpty(time))
System\IdentityModel\Tokens\SamlEvidence.cs (1)
40if (string.IsNullOrEmpty(idReference))
System\IdentityModel\Tokens\SamlNameIdentifierClaimResource.cs (2)
26if (string.IsNullOrEmpty(this.name)) 32if (string.IsNullOrEmpty(name))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (39)
285if (!string.IsNullOrEmpty(relyingPartyAddress)) 805if (string.IsNullOrEmpty(samlToken.Assertion.AssertionId)) 816if (string.IsNullOrEmpty(samlToken.Assertion.Issuer)) 830if (string.IsNullOrEmpty(samlToken.Assertion.Issuer)) 1063if (string.IsNullOrEmpty(upn)) 1138if (string.IsNullOrEmpty(issuer)) 1254if (string.IsNullOrEmpty(attr.Namespace)) 1362if (!string.IsNullOrEmpty(samlSubject.Name)) 1456string claimType = string.IsNullOrEmpty(innerAttribute.Namespace) ? innerAttribute.Name : innerAttribute.Namespace + "/" + innerAttribute.Name; 1480if (string.IsNullOrEmpty(originalIssuer)) 1578if (string.IsNullOrEmpty(action)) 1613if (!string.IsNullOrEmpty(action.Namespace)) 1705if (string.IsNullOrEmpty(assertionIdReference)) 1760if (string.IsNullOrEmpty(attributeValue)) 1768if (string.IsNullOrEmpty(attributeValue)) 1781if (string.IsNullOrEmpty(attributeValue)) 1794if (string.IsNullOrEmpty(attributeValue)) 1802if (!string.IsNullOrEmpty(attributeValue)) 1923if (!string.IsNullOrEmpty(time)) 1930if (!string.IsNullOrEmpty(time)) 2096if (string.IsNullOrEmpty(audience)) 2324if (string.IsNullOrEmpty(subject.Name)) 2337if (string.IsNullOrEmpty(method)) 2374if ((subject.ConfirmationMethods.Count == 0) && (string.IsNullOrEmpty(subject.Name))) 2408if (!string.IsNullOrEmpty(subject.Name)) 2411if (!string.IsNullOrEmpty(subject.NameFormat)) 2432if (!string.IsNullOrEmpty(subject.SubjectConfirmationData)) 2603if (string.IsNullOrEmpty(attribute.Name)) 2609if (string.IsNullOrEmpty(attribute.Namespace)) 2644if (!string.IsNullOrEmpty(attributeValueXsiTypeSuffixWithLocalPrefix)) 2857if (string.IsNullOrEmpty(authInstance)) 2865if (string.IsNullOrEmpty(authnStatement.AuthenticationMethod)) 2990if (string.IsNullOrEmpty(authKind)) 3020if (string.IsNullOrEmpty(authorityBinding.Binding)) 3026if (string.IsNullOrEmpty(authorityBinding.Location)) 3066if (!string.IsNullOrEmpty(authorityBinding.AuthorityKind.Namespace)) 3073if (string.IsNullOrEmpty(prefix)) 3152if (string.IsNullOrEmpty(authzStatement.Resource)) 3158if (string.IsNullOrEmpty(decisionString))
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
199if (string.IsNullOrEmpty(customValidator))
System\IdentityModel\Tokens\SamlSubject.cs (8)
55if (string.IsNullOrEmpty(method)) 62if ((this.confirmationMethods.Count == 0) && (string.IsNullOrEmpty(name))) 83if (string.IsNullOrEmpty(value)) 197if ((this.confirmationMethods.Count == 0) && (string.IsNullOrEmpty(name))) 209if (!string.IsNullOrEmpty(this.name)) 294if (string.IsNullOrEmpty(method)) 333if ((this.confirmationMethods.Count == 0) && (string.IsNullOrEmpty(name))) 384if (!string.IsNullOrEmpty(this.confirmationData))
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
53if (!string.IsNullOrEmpty(value))
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (3)
126if (string.IsNullOrEmpty(tokenTypeIdentifier)) 286if (String.IsNullOrEmpty(tokenString)) 402if (String.IsNullOrEmpty(tokenString))
System\IdentityModel\Tokens\SessionSecurityToken.cs (13)
436if (string.IsNullOrEmpty(instanceIdentifier)) 710if (!string.IsNullOrEmpty(this.Context)) 930if (string.IsNullOrEmpty(logonName)) 1000if (string.IsNullOrEmpty(windowsLogonName)) 1168if (string.IsNullOrEmpty(name)) 1173if (string.IsNullOrEmpty(value)) 1296if (!String.IsNullOrEmpty(identity.AuthenticationType)) 1302if (!String.IsNullOrEmpty(identity.Label)) 1425if (!String.IsNullOrEmpty(claim.Issuer)) 1431if (!String.IsNullOrEmpty(claim.OriginalIssuer)) 1486if (!String.IsNullOrEmpty(property.Key) && !String.IsNullOrEmpty(property.Value)) 1763return string.IsNullOrEmpty(right) ? System.IdentityModel.Claims.Rights.PossessProperty : right;
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
398if (contextId == null || string.IsNullOrEmpty(contextId.ToString())) 648if (!string.IsNullOrEmpty(token.EndpointId))
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (4)
132if (!string.IsNullOrEmpty(type) && !StringComparer.Ordinal.Equals(type, WSSecurity10Constants.UPTokenPasswordTextValue)) 156if (string.IsNullOrEmpty(userName)) 161return string.IsNullOrEmpty(id) ? 198if (!string.IsNullOrEmpty(token.Id))
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
79if (strings.Length != 2 || string.IsNullOrEmpty(strings[0]))
System\IdentityModel\Tokens\WSSecurityJan2004.cs (11)
265if (!string.IsNullOrEmpty(strId)) 609if (string.IsNullOrEmpty(binding)) 614if (string.IsNullOrEmpty(location)) 619if (string.IsNullOrEmpty(authorityKind)) 672if (!string.IsNullOrEmpty(samlClause.Binding) || !string.IsNullOrEmpty(samlClause.Location) || !string.IsNullOrEmpty(samlClause.AuthorityKind)) 675if (!string.IsNullOrEmpty(samlClause.Binding)) 679if (!string.IsNullOrEmpty(samlClause.Location)) 683if (!string.IsNullOrEmpty(samlClause.AuthorityKind)) 690string valueType = string.IsNullOrEmpty(samlClause.ValueType) ? XD.SecurityJan2004Dictionary.SamlAssertionIdValueType.Value : samlClause.ValueType;
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (7)
189if (string.IsNullOrEmpty(algorithm)) 247if (string.IsNullOrEmpty(algorithm)) 287if (string.IsNullOrEmpty(algorithm)) 348if (string.IsNullOrEmpty(algorithm)) 423if (string.IsNullOrEmpty(algorithm)) 460if (string.IsNullOrEmpty(algorithm)) 470if (string.IsNullOrEmpty(algorithm))
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (1)
48if (string.IsNullOrEmpty(storeName))
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (2)
20if (string.IsNullOrEmpty(issuerName)) 22if (string.IsNullOrEmpty(issuerSerialNumber))
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (4)
213if (String.IsNullOrEmpty(customValidator)) 471return String.IsNullOrEmpty(wsuId) ? 533if (String.IsNullOrEmpty(issuer)) 660if (!String.IsNullOrEmpty(x509Token.Id))
System\IdentityModel\UniqueId.cs (2)
75if (string.IsNullOrEmpty(prefix)) 101if (string.IsNullOrEmpty(prefix))
System\IdentityModel\X509Util.cs (8)
115if (string.IsNullOrEmpty(certificateId)) 196if (!string.IsNullOrEmpty(value)) 202if (!string.IsNullOrEmpty(value)) 208if (!string.IsNullOrEmpty(value)) 214if (!string.IsNullOrEmpty(value)) 220if (!string.IsNullOrEmpty(value)) 226if (!string.IsNullOrEmpty(value)) 260if (!string.IsNullOrEmpty(value))
System\IdentityModel\XmlUtil.cs (4)
130if (string.IsNullOrEmpty(xsiType)) 148return !string.IsNullOrEmpty(xsiNil) && XmlConvert.ToBoolean(xsiNil); 153return string.IsNullOrEmpty(s) ? null : s; 217if (string.IsNullOrEmpty(val))
System\ServiceModel\Security\EncryptedType.cs (1)
304if (!string.IsNullOrEmpty(strId))
System\ServiceModel\Security\RelAssertionDirectKeyIdentifierClause.cs (1)
19if (string.IsNullOrEmpty(assertionId))
System\ServiceModel\Security\SamlAssertionDirectKeyIdentifierClause.cs (1)
19if (string.IsNullOrEmpty(samlUri))
System.IdentityModel.Selectors (13)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
310if (String.IsNullOrEmpty(fileName))
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (3)
241if (!String.IsNullOrEmpty(v2AndAboveImplementationDll)) 264if (String.IsNullOrEmpty(v2AndAboveImplementationDll)) 269IDT.Assert(!String.IsNullOrEmpty(v2AndAboveImplementationDll), "v2AndAboveImplementationDll should not be empty");
infocard\client\System\IdentityModel\Selectors\InfoCardRSACryptoProvider.cs (2)
145IDT.ThrowInvalidArgumentConditional(String.IsNullOrEmpty(hashAlgOid), "hashAlgOid"); 185IDT.ThrowInvalidArgumentConditional(String.IsNullOrEmpty(hashAlgOid), "hashAlgOid");
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (1)
108IDT.DebugAssert(!String.IsNullOrEmpty(algorithmUri), "null alg uri");
infocard\client\System\IdentityModel\Selectors\ThrowOnMultipleAssignment.cs (1)
46IDT.DebugAssert(!String.IsNullOrEmpty(errorString), "Must have an error string");
infocard\common\managed\HGlobalSafeHandle.cs (1)
30IDT.DebugAssert(!String.IsNullOrEmpty(managedString), "null string");
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
461if (String.IsNullOrEmpty(parameter)) 627if (!String.IsNullOrEmpty(Environment.StackTrace))
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\infocardTraceRecord.cs (2)
47InfoCardTrace.Assert( !String.IsNullOrEmpty( eventID ), "null eventid" ); 48InfoCardTrace.Assert( !String.IsNullOrEmpty( message ), "null message" );
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System.IO.Log (5)
System\IO\Log\LogExtentCollection.cs (3)
65if (string.IsNullOrEmpty(path)) 83if (string.IsNullOrEmpty(path)) 120if (string.IsNullOrEmpty(path))
System\IO\Log\LogStore.cs (2)
235if (string.IsNullOrEmpty(path)) 532if (string.IsNullOrEmpty(path))
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
1084if (!String.IsNullOrEmpty(this.path))
System.Net (1)
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
304if (string.IsNullOrEmpty(installType)) {
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
439if (String.IsNullOrEmpty(format)) {
System.Runtime.Caching (7)
System\Caching\FileChangeNotificationSystem.cs (4)
29if (String.IsNullOrEmpty(s1) && String.IsNullOrEmpty(s2)) { 32if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) {
System\Caching\HostFileChangeMonitor.cs (1)
151if (String.IsNullOrEmpty(path)) {
System\Caching\PerfCounters.cs (2)
44if (String.IsNullOrEmpty(appId)) { 51if (String.IsNullOrEmpty(appId)) {
System.Runtime.Remoting (1)
metadata\wsdlparser.cs (1)
2325if (string.IsNullOrEmpty(str))
System.Runtime.Serialization (31)
System\Runtime\Serialization\Attributes.cs (2)
126if (string.IsNullOrEmpty(Id)) 135if (string.IsNullOrEmpty(Ref))
System\Runtime\Serialization\CodeExporter.cs (2)
447if (string.IsNullOrEmpty(clrNamespace)) 765return (string.IsNullOrEmpty(clrNamespace) && this.clrNamespaces.ContainsKey(typeName));
System\Runtime\Serialization\Configuration\DeclaredTypeElement.cs (1)
21if (String.IsNullOrEmpty(typeName))
System\Runtime\Serialization\Configuration\DeclaredTypeElementCollection.cs (4)
50if (String.IsNullOrEmpty(typeName)) 63if (String.IsNullOrEmpty(typeName)) 106if (String.IsNullOrEmpty(typeName)) 157if (String.IsNullOrEmpty(typeName))
System\Runtime\Serialization\Configuration\ParameterElement.cs (2)
21if (String.IsNullOrEmpty(typeName)) 65if (String.IsNullOrEmpty(value))
System\Runtime\Serialization\Configuration\ParameterElementCollection.cs (1)
73if (String.IsNullOrEmpty(typeName))
System\Runtime\Serialization\Configuration\TypeElement.cs (2)
23if (String.IsNullOrEmpty(typeName)) 77if (String.IsNullOrEmpty(type))
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
135this.typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
167this.typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
62if (string.IsNullOrEmpty(qname)) 179if (!string.IsNullOrEmpty(originalDateTimeValue)) 188if (string.IsNullOrEmpty(dateTimeValue) ||
System\Runtime\Serialization\Json\XmlJsonWriter.cs (7)
631if (!string.IsNullOrEmpty(attributeText) && isWritingXmlnsAttributeDefaultNs) 859if (!string.IsNullOrEmpty(prefix)) 880if (!string.IsNullOrEmpty(ns)) 886else if (string.IsNullOrEmpty(prefix) && localName == JsonGlobals.xmlnsPrefix && ns == xmlnsNamespace) 1000if (!string.IsNullOrEmpty(prefix)) 1002if (string.IsNullOrEmpty(ns) || !TrySetWritingNameWithMapping(localName, ns)) 1007if (!string.IsNullOrEmpty(ns))
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
156if (!string.IsNullOrEmpty(serverTypeNamespace))
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
74if (string.IsNullOrEmpty(dataContractNamespace)) 87if (!string.IsNullOrEmpty(dataContractNamespace))
System\Runtime\Serialization\SchemaImporter.cs (1)
511|| (string.IsNullOrEmpty(type.Name) && dataContractSet.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType)))
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
226if (string.IsNullOrEmpty(contractNs) || contractNs == XmlDictionaryString.GetString(ns))
System.Security (33)
system\security\cryptography\pkcs\pkcs9attribute.cs (2)
191if (String.IsNullOrEmpty(documentName)) 248if (String.IsNullOrEmpty(documentDescription))
system\security\cryptography\xml\dataobject.cs (3)
114if (!String.IsNullOrEmpty(m_id)) 116if (!String.IsNullOrEmpty(m_mimeType)) 118if (!String.IsNullOrEmpty(m_encoding))
system\security\cryptography\xml\encrypteddata.cs (4)
90if (!String.IsNullOrEmpty(this.Id)) 92if (!String.IsNullOrEmpty(this.Type)) 94if (!String.IsNullOrEmpty(this.MimeType)) 96if (!String.IsNullOrEmpty(this.Encoding))
system\security\cryptography\xml\encryptedkey.cs (5)
163if (!String.IsNullOrEmpty(this.Id)) 165if (!String.IsNullOrEmpty(this.Type)) 167if (!String.IsNullOrEmpty(this.MimeType)) 169if (!String.IsNullOrEmpty(this.Encoding)) 171if (!String.IsNullOrEmpty(this.Recipient))
system\security\cryptography\xml\encryptedreference.cs (2)
96if (!String.IsNullOrEmpty(m_uri)) 167if (!String.IsNullOrEmpty(this.Uri))
system\security\cryptography\xml\encryptedtype.cs (1)
172if (!String.IsNullOrEmpty(m_algorithm))
system\security\cryptography\xml\keyinfo.cs (3)
56if (!String.IsNullOrEmpty(m_id)) { 410if (!String.IsNullOrEmpty(m_uri)) 412if (!String.IsNullOrEmpty(m_type))
system\security\cryptography\xml\reference.cs (3)
172if (!String.IsNullOrEmpty(m_id)) 178if (!String.IsNullOrEmpty(m_type)) 186if (String.IsNullOrEmpty(m_digestMethod))
system\security\cryptography\xml\signature.cs (2)
100if (!String.IsNullOrEmpty(m_id)) 115if (!String.IsNullOrEmpty(m_signatureValueId))
system\security\cryptography\xml\signedinfo.cs (2)
152if (!String.IsNullOrEmpty(m_id)) 160if (String.IsNullOrEmpty(m_signatureMethod))
system\security\cryptography\xml\SignedXmlDebugLog.cs (2)
266if (String.IsNullOrEmpty(friendlyName)) 994Debug.Assert(!String.IsNullOrEmpty(data), "!String.IsNullOrEmpty(data)");
system\security\cryptography\xml\transform.cs (4)
283if (!String.IsNullOrEmpty(this.Algorithm)) 520if (!String.IsNullOrEmpty(this.Algorithm)) 783if (!String.IsNullOrEmpty(_xpathexpr)) { 1198if (!String.IsNullOrEmpty(this.Algorithm))
System.ServiceModel (574)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
28Fx.Assert(!String.IsNullOrEmpty(address), "address cannot be null"); 628if (String.IsNullOrEmpty(operationName))
System\ServiceModel\Administration\ServiceAppDomainAssociationProvider.cs (2)
32return !String.IsNullOrEmpty(serviceRef) && !String.IsNullOrEmpty(appDomainInfoRef);
System\ServiceModel\Administration\ServiceEndpointAssociationProvider.cs (2)
39return !String.IsNullOrEmpty(serviceRef) && !String.IsNullOrEmpty(endpointRef);
System\ServiceModel\Administration\WbemProvider.cs (4)
218ServiceModelActivity.CreateActivity(true, SR.GetString(SR.WmiGetObject, string.IsNullOrEmpty(objectPath) ? string.Empty : objectPath), ActivityType.WmiGetObject) : null) 345ServiceModelActivity.Start(activity, SR.GetString(SR.WmiPutInstance, string.IsNullOrEmpty(className) ? string.Empty : className), ActivityType.WmiPutInstance); 801if (!String.IsNullOrEmpty(match.Groups["ival"].Value)) 895if (String.IsNullOrEmpty(className))
System\ServiceModel\Channels\AppContainerInfo.cs (1)
85Fx.Assert(!string.IsNullOrEmpty(fullName), "fullName should be provided to initialize an AppContainerInfo.");
System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
60return !string.IsNullOrEmpty(this.PackageFullName);
System\ServiceModel\Channels\BaseUriWithWildcard.cs (2)
62if (!string.IsNullOrEmpty(portString) && 289if (string.IsNullOrEmpty(host) || host.Equals(star))
System\ServiceModel\Channels\Binding.cs (3)
31if (string.IsNullOrEmpty(name)) 80if (string.IsNullOrEmpty(value)) 321if (string.IsNullOrEmpty(transport.Scheme))
System\ServiceModel\Channels\ClientContextProtocol.cs (3)
299if (!string.IsNullOrEmpty(setCookieHeader)) 303if (!string.IsNullOrEmpty(setCookieHeader)) 364if (!string.IsNullOrEmpty(cookieHeader))
System\ServiceModel\Channels\ContentOnlyMessage.cs (1)
86return String.IsNullOrEmpty(this.data);
System\ServiceModel\Channels\ContextDictionary.cs (1)
198if (string.IsNullOrEmpty(key))
System\ServiceModel\Channels\ContextMessageHeader.cs (2)
135if (string.IsNullOrEmpty(propertyName) || !ContextDictionary.TryValidateKeyValueSpace(propertyName)) 163Fx.Assert(!string.IsNullOrEmpty(pair.Key), "ContextProperty name is null");
System\ServiceModel\Channels\CorrelationDataMessageProperty.cs (2)
34if (string.IsNullOrEmpty(name)) 103if (string.IsNullOrEmpty(name))
System\ServiceModel\Channels\CorrelationKey.cs (1)
100if (string.IsNullOrEmpty(scopeName))
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (2)
109if (!string.IsNullOrEmpty(this.subProtocol)) 160if (!string.IsNullOrEmpty(subprotocol))
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
686if (!string.IsNullOrEmpty(inputString)) 784if (!string.IsNullOrEmpty(connectionGroupName)) 837if (!string.IsNullOrEmpty(requestProperty.QueryString))
System\ServiceModel\Channels\HttpChannelHelpers.cs (11)
124if (string.IsNullOrEmpty(contentType)) 307else if (message.Version.Envelope == EnvelopeVersion.Soap12 && !String.IsNullOrEmpty(ContentType)) 385if (string.IsNullOrEmpty(ContentType)) 1256if (message.Version == MessageVersion.None && httpResponseMessagePropertyFound && !string.IsNullOrEmpty(responseProperty.Headers[HttpResponseHeader.ContentType])) 1268if (string.IsNullOrEmpty(contentType)) 1299if (httpResponseMessage.Content != null && !string.IsNullOrEmpty(contentType)) 1393if (!string.IsNullOrEmpty(responseProperty.Headers[HttpResponseHeader.ContentType])) 1406if (string.IsNullOrEmpty(contentType)) 3536if (!string.IsNullOrEmpty(statusDescription)) 3717if (string.IsNullOrEmpty(statusDescription)) 3845if (string.IsNullOrEmpty(response.ContentType))
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (1)
235if (!string.IsNullOrEmpty(header.Key))
System\ServiceModel\Channels\HttpRequestContext.cs (1)
214if (!String.IsNullOrEmpty(e2eId))
System\ServiceModel\Channels\MessageFault.cs (1)
627&& string.IsNullOrEmpty(prefix) // attribute prefix
System\ServiceModel\Channels\MsmqUri.cs (3)
141if (String.IsNullOrEmpty(uri.Host)) 191if (String.IsNullOrEmpty(uri.Host)) 271if (String.IsNullOrEmpty(uri.Host))
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
773this.encoder.WriteMessage(this.message, this.stream, this.encoder.GenerateStartInfoString(), string.IsNullOrEmpty(this.boundary) ? null : this.boundary, this.writeBoundary ? MtomMessageEncoder.mtomStartUri : null, !this.writeBoundary /*writeMessageHeaders*/);
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (2)
154if (address == null || ((binding == null) && (String.IsNullOrEmpty(this.bindingSection) || String.IsNullOrEmpty(this.bindingConfiguration))))
System\ServiceModel\Channels\PeerSecurityManager.cs (3)
213if (String.IsNullOrEmpty(credential.MeshPassword)) 300if (String.IsNullOrEmpty(manager.credManager.Password)) 727if (token == null || String.IsNullOrEmpty(token.Password))
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
273Fx.Assert(!String.IsNullOrEmpty(dn), "Empty subject name for certificate!");
System\ServiceModel\Channels\PipeConnection.cs (2)
1754if (string.IsNullOrEmpty(matchPipeName)) 2783Fx.Assert(!String.IsNullOrEmpty(appContainerInfo.NamedObjectPath),
System\ServiceModel\Channels\PnrpPeerResolver.cs (9)
157Fx.Assert(!String.IsNullOrEmpty(cloud.Name), "Unknown scope id in the IPAddress"); 164Fx.Assert(!String.IsNullOrEmpty(cloud.Name), "Unknown scope id in the IPAddress"); 189Fx.Assert(!String.IsNullOrEmpty(cloud.Name), "Unknown scope id in the IPAddress"); 195Fx.Assert(!String.IsNullOrEmpty(cloud.Name), "Unknown scope id in the IPAddress"); 340if (regHandle == null || String.IsNullOrEmpty(regHandle.PeerName)) 360if (regHandle == null || string.IsNullOrEmpty(regHandle.PeerName)) 379if (input == null || String.IsNullOrEmpty(input.Comment)) 567if ((ProtocolFromName(uri.Scheme) != 0) && !String.IsNullOrEmpty(uri.AbsolutePath)) 856if (!String.IsNullOrEmpty(message))
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
40if (string.IsNullOrEmpty(versionString))
System\ServiceModel\Channels\RedirectionUtility.cs (1)
52if (!string.IsNullOrEmpty(ns))
System\ServiceModel\Channels\RemoteEndpointMessageProperty.cs (1)
20if (string.IsNullOrEmpty(address))
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
317using (ServiceModelActivity activity = string.IsNullOrEmpty(activityName) ? null : ServiceModelActivity.CreateBoundedActivity())
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
96if (!string.IsNullOrEmpty(cookieHeader) && HttpCookieToolbox.TryCreateFromHttpCookieHeader(cookieHeader, out messageContext))
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
359if (string.IsNullOrEmpty(listenerEndPoint))
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
541if (!String.IsNullOrEmpty(relativeAddress))
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
151if (string.IsNullOrEmpty(protectionLevelString))
System\ServiceModel\ComIntegration\ChannelCredentials.cs (7)
63if ((!String.IsNullOrEmpty(domain)) || (!String.IsNullOrEmpty(userName)) || (!String.IsNullOrEmpty(password))) 65if (String.IsNullOrEmpty(userName)) 112if (!String.IsNullOrEmpty(certificationValidationMode)) 159if (!String.IsNullOrEmpty(keyStorageFlags)) 208if (!String.IsNullOrEmpty(keyStorageFlags))
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (2)
23if (!String.IsNullOrEmpty(path) && !Directory.Exists(path)) 81if (!String.IsNullOrEmpty(path) && !Directory.Exists(path))
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
312if (!String.IsNullOrEmpty(wsdlText))
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
170if (!string.IsNullOrEmpty(Environment.OSVersion.ServicePack))
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
75if (String.IsNullOrEmpty(contractConfigElement.Name) || String.IsNullOrEmpty(contractConfigElement.Namespace))
System\ServiceModel\ComIntegration\DispatchProxy.cs (2)
124if (string.IsNullOrEmpty(msgDesc.Body.ReturnValue.BaseType)) 149if (string.IsNullOrEmpty(param.BaseType))
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (26)
223if (string.IsNullOrEmpty(mexAddress)) 226if (!string.IsNullOrEmpty(mexSpnIdentity)) 228if ((!string.IsNullOrEmpty(mexUpnIdentity)) || (!string.IsNullOrEmpty(mexDnsIdentity))) 232else if (!string.IsNullOrEmpty(mexUpnIdentity)) 234if ((!string.IsNullOrEmpty(mexSpnIdentity)) || (!string.IsNullOrEmpty(mexDnsIdentity))) 238else if (!string.IsNullOrEmpty(mexDnsIdentity)) 240if ((!string.IsNullOrEmpty(mexSpnIdentity)) || (!string.IsNullOrEmpty(mexUpnIdentity))) 247if (string.IsNullOrEmpty(address)) 250if (string.IsNullOrEmpty(contract)) 253if (string.IsNullOrEmpty(binding)) 256if (string.IsNullOrEmpty(bindingNamespace)) 259if (!string.IsNullOrEmpty(spnIdentity)) 261if ((!string.IsNullOrEmpty(upnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 265else if (!string.IsNullOrEmpty(upnIdentity)) 267if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 271else if (!string.IsNullOrEmpty(dnsIdentity)) 273if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(upnIdentity))) 283if (!string.IsNullOrEmpty(mexBindingSectionName)) 301else if (string.IsNullOrEmpty(mexBindingConfiguration)) 317if (!String.IsNullOrEmpty(serializer))
System\ServiceModel\ComIntegration\MonikerUtility.cs (4)
44if (string.IsNullOrEmpty(moniker)) 82if (!String.IsNullOrEmpty(moniker)) 137while (!string.IsNullOrEmpty(monikerParams)) 141if (!String.IsNullOrEmpty(value))
System\ServiceModel\ComIntegration\ServiceMoniker.cs (1)
169if (string.IsNullOrEmpty(pszDisplayName))
System\ServiceModel\ComIntegration\TypeCacheManager.cs (10)
87if (string.IsNullOrEmpty(typeLibID)) 90if (string.IsNullOrEmpty(version)) 113if (String.IsNullOrEmpty(version)) 194if (String.IsNullOrEmpty(assembly)) 367if (String.IsNullOrEmpty(keyName)) 372if (String.IsNullOrEmpty(assemblyName)) 383if (String.IsNullOrEmpty(assemblyName)) 413if (String.IsNullOrEmpty(keyName)) 418if (String.IsNullOrEmpty(assemblyName)) 429if (String.IsNullOrEmpty(assemblyName))
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (12)
199if (!string.IsNullOrEmpty(typeIID)) 235if (!string.IsNullOrEmpty(bindingType)) 256if (string.IsNullOrEmpty(address)) 259if (!string.IsNullOrEmpty(spnIdentity)) 261if ((!string.IsNullOrEmpty(upnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 265else if (!string.IsNullOrEmpty(upnIdentity)) 267if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 271else if (!string.IsNullOrEmpty(dnsIdentity)) 273if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(upnIdentity)))
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (1)
125if (String.IsNullOrEmpty(namespaceName))
System\ServiceModel\ComIntegration\WasHostedComPlusFactory.cs (1)
17if (string.IsNullOrEmpty(constructorString))
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (16)
205if (string.IsNullOrEmpty(wsdlText)) 209if (string.IsNullOrEmpty(portType) || string.IsNullOrEmpty(bindingName) || string.IsNullOrEmpty(address)) 212if (!string.IsNullOrEmpty(spnIdentity)) 214if ((!string.IsNullOrEmpty(upnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 218else if (!string.IsNullOrEmpty(upnIdentity)) 220if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(dnsIdentity))) 224else if (!string.IsNullOrEmpty(dnsIdentity)) 226if ((!string.IsNullOrEmpty(spnIdentity)) || (!string.IsNullOrEmpty(upnIdentity))) 235if (!String.IsNullOrEmpty(serializer)) 254if (String.IsNullOrEmpty(contractNamespace)) 257if (String.IsNullOrEmpty(bindingNamespace))
System\ServiceModel\Configuration\AllowedAudienceUriElement.cs (1)
21if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ApplicationContainerSettingsElement.cs (1)
35if (string.IsNullOrEmpty(value))
System\ServiceModel\Configuration\AuthorizationPolicyTypeElement.cs (2)
17if (String.IsNullOrEmpty(policyType)) 31if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\BaseAddressElement.cs (1)
22if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\BehaviorsSection.cs (2)
62if (!String.IsNullOrEmpty(behaviorConfiguration)) 90if (!String.IsNullOrEmpty(behaviorConfiguration))
System\ServiceModel\Configuration\BindingCollectionElement.cs (2)
24if (String.IsNullOrEmpty(this.bindingName)) 85if (String.IsNullOrEmpty(configuredSectionName))
System\ServiceModel\Configuration\BindingsSection.cs (2)
316if (!String.IsNullOrEmpty(binding)) 337if (!String.IsNullOrEmpty(bindingConfiguration))
System\ServiceModel\Configuration\CertificateElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\CertificateReferenceElement.cs (1)
53if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ChannelEndpointElement.cs (7)
105if (string.IsNullOrEmpty(value)) 120if (string.IsNullOrEmpty(value)) 135if (string.IsNullOrEmpty(value)) 150if (String.IsNullOrEmpty(value)) 177if (string.IsNullOrEmpty(value)) 192if (String.IsNullOrEmpty(value)) 207if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ClaimTypeElement.cs (1)
32if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ClientCredentialsElement.cs (2)
30if (String.IsNullOrEmpty(value)) 114if (string.IsNullOrEmpty(this.Type))
System\ServiceModel\Configuration\ClientSection.cs (6)
68if (string.IsNullOrEmpty(endpoint.Kind)) 70if (!string.IsNullOrEmpty(endpoint.EndpointConfiguration)) 74if (string.IsNullOrEmpty(endpoint.Binding)) 78if (string.IsNullOrEmpty(endpoint.Contract)) 83if (string.IsNullOrEmpty(endpoint.Binding) && !string.IsNullOrEmpty(endpoint.BindingConfiguration))
System\ServiceModel\Configuration\ComContractElement.cs (3)
31if (String.IsNullOrEmpty(value)) 53if (String.IsNullOrEmpty(value)) 69if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ComMethodElement.cs (1)
34if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ComPersistableTypeElement.cs (2)
33if (String.IsNullOrEmpty(value)) 49if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ComUdtElement.cs (4)
33if (String.IsNullOrEmpty(value)) 49if (String.IsNullOrEmpty(value)) 65if (String.IsNullOrEmpty(value)) 81if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
93if (String.IsNullOrEmpty(name))
System\ServiceModel\Configuration\DefaultPortElement.cs (1)
29if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\DnsElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\EndpointCollectionElement.cs (2)
24if (String.IsNullOrEmpty(this.endpointName)) 87if (String.IsNullOrEmpty(configuredSectionName))
System\ServiceModel\Configuration\ExtensionElement.cs (5)
21if (String.IsNullOrEmpty(name)) 32if (String.IsNullOrEmpty(type)) 47if (String.IsNullOrEmpty(value)) 62if (String.IsNullOrEmpty(value)) 75if (string.IsNullOrEmpty(this.typeName))
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (3)
59if (String.IsNullOrEmpty(value)) 103if (!string.IsNullOrEmpty(this.IssuedTokenType)) 111if (!string.IsNullOrEmpty(this.Issuer.Binding))
System\ServiceModel\Configuration\HttpTransportElement.cs (1)
131if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\HttpTransportSecurityElement.cs (1)
51if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\IssuedTokenClientBehaviorsElement.cs (2)
26if (String.IsNullOrEmpty(value)) 41if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (4)
35if (String.IsNullOrEmpty(value)) 131if (!string.IsNullOrEmpty(this.LocalIssuer.Binding)) 136if (!string.IsNullOrEmpty(this.LocalIssuerChannelBehaviors)) 144if (!string.IsNullOrEmpty(issuerBehaviorElement.BehaviorConfiguration))
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (3)
108if (String.IsNullOrEmpty(value)) 150if (!string.IsNullOrEmpty(this.TokenType)) 160if (!string.IsNullOrEmpty(this.Issuer.Binding))
System\ServiceModel\Configuration\IssuedTokenParametersEndpointAddressElement.cs (3)
25if (String.IsNullOrEmpty(value)) 40if (String.IsNullOrEmpty(value)) 59if (context != null && !String.IsNullOrEmpty(this.Binding))
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (4)
43if (String.IsNullOrEmpty(value)) 83if (String.IsNullOrEmpty(value)) 159if (!string.IsNullOrEmpty(this.CustomCertificateValidatorType)) 169if (!string.IsNullOrEmpty(this.SamlSerializerType))
System\ServiceModel\Configuration\NamedPipeConnectionPoolSettingsElement.cs (1)
27if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\NamedServiceModelExtensionCollectionElement.cs (2)
18if (!String.IsNullOrEmpty(name)) 35if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\PeerCustomResolverElement.cs (3)
75if (!String.IsNullOrEmpty(this.Binding) && !String.IsNullOrEmpty(this.BindingConfiguration)) 77if (!String.IsNullOrEmpty(this.ResolverType))
System\ServiceModel\Configuration\PolicyImporterElement.cs (1)
37if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ProtocolMappingElement.cs (4)
19if (String.IsNullOrEmpty(schemeType)) 40if (String.IsNullOrEmpty(value)) 56if (String.IsNullOrEmpty(value)) 72if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\RsaElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\SecureConversationServiceElement.cs (2)
28if (String.IsNullOrEmpty(value)) 55if (!string.IsNullOrEmpty(this.SecurityStateEncoderType))
System\ServiceModel\Configuration\ServiceActivationElement.cs (4)
31if (string.IsNullOrEmpty(relativeAddress) || string.IsNullOrEmpty(relativeAddress.Trim()) || relativeAddress.Length < 3) 101if (string.IsNullOrEmpty(value)) 116if (string.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ServiceAuthenticationElement.cs (2)
27if (String.IsNullOrEmpty(value)) 55if (!String.IsNullOrEmpty(serviceAuthenticationManagerType))
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (4)
39if (String.IsNullOrEmpty(value)) 68if (String.IsNullOrEmpty(value)) 106if (!String.IsNullOrEmpty(roleProviderName)) 120if (!String.IsNullOrEmpty(serviceAuthorizationManagerType))
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (2)
29if (String.IsNullOrEmpty(value)) 117if (string.IsNullOrEmpty(this.Type))
System\ServiceModel\Configuration\ServiceDebugElement.cs (2)
111if (!String.IsNullOrEmpty(this.HttpHelpPageBinding)) 113if (!String.IsNullOrEmpty(this.HttpsHelpPageBinding))
System\ServiceModel\Configuration\ServiceElement.cs (2)
32if (String.IsNullOrEmpty(value)) 59if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ServiceEndpointElement.cs (9)
110if (String.IsNullOrEmpty(value)) 125if (String.IsNullOrEmpty(value)) 140if (String.IsNullOrEmpty(value)) 155if (String.IsNullOrEmpty(value)) 170if (String.IsNullOrEmpty(value)) 185if (String.IsNullOrEmpty(value)) 200if (String.IsNullOrEmpty(value)) 249if (String.IsNullOrEmpty(value)) 264if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ServiceMetadataEndpointElement.cs (2)
32if (String.IsNullOrEmpty(channelEndpointElement.Binding)) 41if (String.IsNullOrEmpty(serviceEndpointElement.Binding))
System\ServiceModel\Configuration\ServiceMetadataPublishingElement.cs (2)
122if (!String.IsNullOrEmpty(this.HttpGetBinding)) 124if (!String.IsNullOrEmpty(this.HttpsGetBinding))
System\ServiceModel\Configuration\ServiceModelConfigurationElementCollection.cs (2)
30if (!String.IsNullOrEmpty(elementName)) 151if (string.IsNullOrEmpty(retval))
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (2)
254if (string.IsNullOrEmpty(elementName)) 414if (!string.IsNullOrEmpty(childExtensionElementName))
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (5)
101if (String.IsNullOrEmpty(this.configurationElementName)) 111if (!string.IsNullOrEmpty(this.configurationElementName)) 199if (String.IsNullOrEmpty(this.extensionCollectionName)) 219if (String.IsNullOrEmpty(this.extensionCollectionName)) 256if (String.IsNullOrEmpty(configurationElementName))
System\ServiceModel\Configuration\ServicePrincipalNameElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ServicesSection.cs (5)
58if (string.IsNullOrEmpty(endpoint.Kind)) 60if (!string.IsNullOrEmpty(endpoint.EndpointConfiguration)) 64if (string.IsNullOrEmpty(endpoint.Binding)) 69if (string.IsNullOrEmpty(endpoint.Binding) && !string.IsNullOrEmpty(endpoint.BindingConfiguration))
System\ServiceModel\Configuration\StandardBindingElement.cs (2)
27if (!String.IsNullOrEmpty(name)) 45if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\StandardEndpointElement.cs (1)
37if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\StandardEndpointsSection.cs (2)
217if (!String.IsNullOrEmpty(endpoint)) 238if (!String.IsNullOrEmpty(endpointConfiguration))
System\ServiceModel\Configuration\TcpConnectionPoolSettingsElement.cs (1)
27if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\TransportConfigurationTypeElement.cs (4)
19if (String.IsNullOrEmpty(name)) 29if (String.IsNullOrEmpty(transportConfigurationTypeName)) 43if (String.IsNullOrEmpty(value)) 59if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\UserNameServiceElement.cs (3)
44if (String.IsNullOrEmpty(value)) 59if (String.IsNullOrEmpty(value)) 133if (!string.IsNullOrEmpty(this.CustomUserNamePasswordValidatorType))
System\ServiceModel\Configuration\UserPrincipalNameElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\WebSocketTransportSettingsElement.cs (1)
90settings.SubProtocol = string.IsNullOrEmpty(this.SubProtocol) ? null : this.SubProtocol;
System\ServiceModel\Configuration\WsdlImporterElement.cs (1)
37if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\WSHttpTransportSecurityElement.cs (1)
49if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509CertificateTrustedIssuerElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509ClientCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 106if (!string.IsNullOrEmpty(this.CustomCertificateValidatorType))
System\ServiceModel\Configuration\X509ClientCertificateCredentialsElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509DefaultServiceCertificateElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509InitiatorCertificateClientElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509PeerCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 88if (!string.IsNullOrEmpty(this.CustomCertificateValidatorType))
System\ServiceModel\Configuration\X509PeerCertificateElement.cs (1)
27if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509RecipientCertificateServiceElement.cs (1)
28if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509ScopedServiceCertificateElement.cs (1)
35if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\X509ServiceCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 88if (!string.IsNullOrEmpty(this.CustomCertificateValidatorType))
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (2)
69if (String.IsNullOrEmpty(filterString)) 90if (!String.IsNullOrEmpty(nodeQuotaStringValue))
System\ServiceModel\Configuration\XPathMessageFilterElementComparer.cs (3)
50if (!String.IsNullOrEmpty(nsPrefix)) 53if (!String.IsNullOrEmpty(ns)) 94if (String.IsNullOrEmpty(elementKey))
System\ServiceModel\Description\ConfigLoader.cs (25)
162if (serviceEndpoint.Binding == null && !string.IsNullOrEmpty(channelElement.Binding)) 471if (String.IsNullOrEmpty(endpointElement.Kind)) 484if (!string.IsNullOrEmpty(endpointElement.BindingName)) 488if (!string.IsNullOrEmpty(endpointElement.BindingNamespace)) 515if (!string.IsNullOrEmpty(endpointElement.Name)) 560if (string.IsNullOrEmpty(endpointSectionName)) 684if (retval == null && String.IsNullOrEmpty(endpointConfiguration)) 695bool usingDefault = string.IsNullOrEmpty(endpointConfiguration); 742if (!string.IsNullOrEmpty(channelEndpointElementCopy.Binding)) 748if (!string.IsNullOrEmpty(channelEndpointElementCopy.Name)) 857if (retval == null && String.IsNullOrEmpty(endpointConfiguration)) 867bool usingDefault = string.IsNullOrEmpty(endpointConfiguration); 905if (!string.IsNullOrEmpty(serviceEndpointElementCopy.Contract)) 919if (!string.IsNullOrEmpty(serviceEndpointElementCopy.Binding)) 935if (!string.IsNullOrEmpty(serviceEndpointElementCopy.BindingName)) 939if (!string.IsNullOrEmpty(serviceEndpointElementCopy.BindingNamespace)) 956if (!string.IsNullOrEmpty(serviceEndpointElementCopy.Name)) 1044if (string.IsNullOrEmpty(bindingSectionName)) 1089bool usingDefault = string.IsNullOrEmpty(configurationName); 1101values["Name"] = string.IsNullOrEmpty(configurationName) ? 1276if (string.IsNullOrEmpty(channelElement.Kind)) 1287(string.IsNullOrEmpty(channelElement.Contract) || contract.ConfigurationName == channelElement.Contract)) 1361if (!string.IsNullOrEmpty(retval.Binding)) 1365if (!string.IsNullOrEmpty(retval.BindingConfiguration)) 1373if (!string.IsNullOrEmpty(retval.ElementInformation.Source))
System\ServiceModel\Description\ContractDescription.cs (3)
38if (!string.IsNullOrEmpty(ns)) 93if (!string.IsNullOrEmpty(value)) 208if (string.IsNullOrEmpty(this.Name))
System\ServiceModel\Description\MessageContractExporter.cs (6)
185string partName = string.IsNullOrEmpty(part.UniquePartName) ? part.Name : part.UniquePartName; 508if (string.IsNullOrEmpty(messageNameBase)) 567string partName = string.IsNullOrEmpty(part.UniquePartName) ? elementName : part.UniquePartName; 586if (String.IsNullOrEmpty(typeName.Name)) 741headerBinding.Part = string.IsNullOrEmpty(header.UniquePartName) ? header.Name : header.UniquePartName; 1234if (string.IsNullOrEmpty(member.TypeName))
System\ServiceModel\Description\MessageContractImporter.cs (4)
1341if (string.IsNullOrEmpty(partName)) 2203if (string.IsNullOrEmpty(soapHeaderBinding.Part)) 2215if (string.IsNullOrEmpty(soapFaultBinding.Name)) 2228if (string.IsNullOrEmpty(part.Name))
System\ServiceModel\Description\MessagePartDescription.cs (1)
40if (!string.IsNullOrEmpty(ns))
System\ServiceModel\Description\MetadataExchangeClient.cs (3)
592if (!String.IsNullOrEmpty(external.SchemaLocation)) 607if (!String.IsNullOrEmpty(import.Location)) 1349if (String.IsNullOrEmpty(contentTypeStr))
System\ServiceModel\Description\OperationGenerator.cs (1)
590Fx.Assert(String.IsNullOrEmpty(typeName) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(typeName), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", typeName));
System\ServiceModel\Description\ParameterXPathQueryGenerator.cs (1)
48if (string.IsNullOrEmpty(serviceContractNamespace))
System\ServiceModel\Description\PolicyReader.cs (1)
230if (string.IsNullOrEmpty(id))
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
819CodeTypeReference codeTypeReference = new CodeTypeReference(String.IsNullOrEmpty(codeNamespace.Name) ? codeType.Name : codeNamespace.Name + '.' + codeType.Name);
System\ServiceModel\Description\ServiceDescription.cs (3)
35if (String.IsNullOrEmpty(serviceName)) 64if (string.IsNullOrEmpty(value)) 132if (String.IsNullOrEmpty(serviceBehavior.ConfigurationName))
System\ServiceModel\Description\ServiceMetadataExtension.cs (9)
212if (string.IsNullOrEmpty(hostHeader)) 848if (String.IsNullOrEmpty(query)) 1197if (!String.IsNullOrEmpty(import.Location)) continue; 1221if (external == null || !String.IsNullOrEmpty(external.SchemaLocation)) continue; 1278if (!String.IsNullOrEmpty(wsdl.Name)) 1380if (!String.IsNullOrEmpty(this.discoUrl)) 1387page.WriteTitle(!String.IsNullOrEmpty(this.serviceName) ? SR.GetString(SR.SFxDocExt_MainPageTitle, this.serviceName) : SR.GetString(SR.SFxDocExt_MainPageTitleNoServiceName)); 1389if (!String.IsNullOrEmpty(this.errorMessage)) 1595if (!string.IsNullOrEmpty(clientToolName))
System\ServiceModel\Description\ServiceReflector.cs (6)
89return new XmlName(String.IsNullOrEmpty(name) ? logicalMethodName : name); 109if (String.IsNullOrEmpty(contractName.Namespace)) 160if (string.IsNullOrEmpty(name)) 270bool IsEmpty { get { return string.IsNullOrEmpty(encoded) && string.IsNullOrEmpty(decoded); } } 304if (string.IsNullOrEmpty(EncodedName))
System\ServiceModel\Description\TypeLoader.cs (2)
380if (!string.IsNullOrEmpty(knownTypeAttribute.MethodName)) 1498if (string.IsNullOrEmpty(wrapperName))
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
90if (String.IsNullOrEmpty(identifier))
System\ServiceModel\Description\WsdlExporter.cs (4)
492if (!string.IsNullOrEmpty(wsdl.TargetNamespace)) 515if (string.IsNullOrEmpty(wsdl.Name)) 899if (string.IsNullOrEmpty(wsdlFaultBinding.Name)) 979if (string.IsNullOrEmpty(ns))
System\ServiceModel\Description\WsdlImporter.cs (9)
519if (string.IsNullOrEmpty(wsdlOperationFault.Name)) 610if (string.IsNullOrEmpty(doc.Identifier)) 1215if (!string.IsNullOrEmpty(wsdlOperationMessage.Name)) 1723if (!string.IsNullOrEmpty(element.NamespaceURI)) 1727if (!string.IsNullOrEmpty(element.Prefix)) 1866if (string.IsNullOrEmpty(messageName)) 2031if (!string.IsNullOrEmpty(xPath)) 2337if (String.IsNullOrEmpty(key)) 2458if (string.IsNullOrEmpty(key))
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
337if (String.IsNullOrEmpty(anyElement.Name)) 941XmlName memberName = string.IsNullOrEmpty(part.UniquePartName) ? null : new XmlName(part.UniquePartName, true /*isEncoded*/);
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
209if (codeNamespace != null && !string.IsNullOrEmpty(codeNamespace.Name))
System\ServiceModel\Diagnostics\CollectionTraceRecord.cs (2)
20this.collectionName = String.IsNullOrEmpty(collectionName) ? "Elements" : collectionName; 21this.elementName = String.IsNullOrEmpty(elementName) ? "Element" : elementName;
System\ServiceModel\Diagnostics\MessageHeaderInfoTraceRecord.cs (3)
26if (!string.IsNullOrEmpty(this.messageHeaderInfo.Actor)) 31if (!string.IsNullOrEmpty(this.messageHeaderInfo.Name)) 36if (!string.IsNullOrEmpty(this.messageHeaderInfo.Namespace))
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
380if (String.IsNullOrEmpty(action))
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
53!string.IsNullOrEmpty(message.Properties.Security.ServiceSecurityContext.WindowsIdentity.Name);
System\ServiceModel\Diagnostics\PerformanceCounters.cs (3)
404if (!String.IsNullOrEmpty(id)) 414if (!String.IsNullOrEmpty(baseId)) 855if (!String.IsNullOrEmpty(uri))
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (6)
43if (String.IsNullOrEmpty(categoryName)) 45if (String.IsNullOrEmpty(instanceName)) 47if (String.IsNullOrEmpty(fullInstanceName)) 68if (String.IsNullOrEmpty(categoryName)) 70if (String.IsNullOrEmpty(instanceName)) 72if (String.IsNullOrEmpty(fullInstanceName))
System\ServiceModel\Diagnostics\PerformanceCounterTraceRecord.cs (2)
38if (!String.IsNullOrEmpty(this.categoryName)) 46if (!String.IsNullOrEmpty(this.instanceName))
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
27if (String.IsNullOrEmpty(traceName)) 900if (!String.IsNullOrEmpty(action))
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (2)
28if (!string.IsNullOrEmpty(this.serviceElement.ElementInformation.Source)) 79if (!string.IsNullOrEmpty(value))
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (2)
326if (string.IsNullOrEmpty(this.Name)) 383if (string.IsNullOrEmpty(this.Name))
System\ServiceModel\Diagnostics\WmiPutTraceRecord.cs (1)
20Fx.Assert(!String.IsNullOrEmpty(valueName), "valueName must be set");
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
706if (String.IsNullOrEmpty(endpointContractNames))
System\ServiceModel\FaultCode.cs (1)
43if (!string.IsNullOrEmpty(ns))
System\ServiceModel\FaultContractAttribute.cs (1)
65if (!string.IsNullOrEmpty(value))
System\ServiceModel\MessageContractAttribute.cs (1)
74if (!string.IsNullOrEmpty(value))
System\ServiceModel\MsmqIntegration\MsmqIntegrationInputMessage.cs (1)
116if (String.IsNullOrEmpty(formatName))
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (4)
364if (!registerInfo.HasBody() || String.IsNullOrEmpty(registerInfo.MeshId)) 380if (!updateInfo.HasBody() || String.IsNullOrEmpty(updateInfo.MeshId) || updateInfo.NodeAddress == null) 498if (!unregisterInfo.HasBody() || String.IsNullOrEmpty(unregisterInfo.MeshId) || unregisterInfo.RegistrationId == Guid.Empty) 533if (!refreshInfo.HasBody() || String.IsNullOrEmpty(refreshInfo.MeshId) || refreshInfo.RegistrationId == Guid.Empty)
System\ServiceModel\PeerResolvers\PeerCustomResolverSettings.cs (4)
42if (!String.IsNullOrEmpty(this.bindingSection) && !String.IsNullOrEmpty(this.bindingConfiguration)) 56return ((this.binding != null) || (!String.IsNullOrEmpty(this.bindingSection) && !String.IsNullOrEmpty(this.bindingConfiguration)));
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
129if ( String.IsNullOrEmpty( tokenType ) )
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
653if (!string.IsNullOrEmpty(operationContext.IncomingMessageHeaders.Action)) 669if ((credentials == null) || string.IsNullOrEmpty(action) || (resource == null))
System\ServiceModel\Security\InfoCardHelper.cs (1)
577Fx.Assert(!String.IsNullOrEmpty(errorString), "Must have an error string");
System\ServiceModel\Security\MessagePartSpecification.cs (1)
204if (String.IsNullOrEmpty(qname.Name))
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (1)
94if (!String.IsNullOrEmpty(strId))
System\ServiceModel\Security\SctClaimSerializer.cs (4)
41return String.IsNullOrEmpty(right) ? Rights.PossessProperty : right; 443if (!String.IsNullOrEmpty(authenticationType)) 453if (!String.IsNullOrEmpty(wsid.AuthenticationType)) 462if (!String.IsNullOrEmpty(genericIdentity.AuthenticationType))
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
169if (String.IsNullOrEmpty(actor))
System\ServiceModel\Security\SecurityUtils.cs (15)
1058if (String.IsNullOrEmpty(value)) 1061if (String.IsNullOrEmpty(value)) 1064if (String.IsNullOrEmpty(value)) 1067if (String.IsNullOrEmpty(value)) 1075str.Append(String.IsNullOrEmpty(value) ? "<x509>" : value); 1097str.Append(String.IsNullOrEmpty(name) ? "<null>" : name); 1453if (!string.IsNullOrEmpty(username) && string.IsNullOrEmpty(domain)) 1460if (!string.IsNullOrEmpty(partsWithSlashDelimiter[0]) && !string.IsNullOrEmpty(partsWithSlashDelimiter[1])) 1467if (!string.IsNullOrEmpty(partsWithAtDelimiter[0]) && !string.IsNullOrEmpty(partsWithAtDelimiter[1])) 1961String.IsNullOrEmpty(UnsafeGetUsername(credential)) && 1962String.IsNullOrEmpty(UnsafeGetDomain(credential)) && 1963String.IsNullOrEmpty(UnsafeGetPassword(credential))
System\ServiceModel\Security\SecurityVersion.cs (1)
128if (headerIndex < 0 && String.IsNullOrEmpty(actor))
System\ServiceModel\Security\SendSecurityHeader.cs (1)
151this.idPrefix = string.IsNullOrEmpty(value) || value == "_" ? null : value;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
273if (!string.IsNullOrEmpty(claimValue)) 277if (String.IsNullOrEmpty(optional))
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
228if (String.IsNullOrEmpty(actor))
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
524if (String.IsNullOrEmpty(strClause.Id)) 529if (!String.IsNullOrEmpty(strClause.Id))
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (3)
142if (String.IsNullOrEmpty(keyIdentifierClause.Id)) 188if (String.IsNullOrEmpty(keyIdentifierClause.Id)) 729if (keyIdentifierClause != null && !String.IsNullOrEmpty(keyIdentifierClause.Id))
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
1930if (String.IsNullOrEmpty(optionalAttribute))
System\ServiceModel\Security\WSTrust.cs (1)
967if (!String.IsNullOrEmpty(strId))
System\ServiceModel\Security\WSTrustChannel.cs (1)
556|| String.IsNullOrEmpty(keyType))
System\ServiceModel\Security\WSTrustServiceContract.cs (13)
276if (String.IsNullOrEmpty(requestAction)) 281if (String.IsNullOrEmpty(responseAction)) 286if (String.IsNullOrEmpty(trustNamespace)) 541if (String.IsNullOrEmpty(requestAction)) 546if (String.IsNullOrEmpty(responseAction)) 551if (String.IsNullOrEmpty(trustNamespace)) 679if (String.IsNullOrEmpty(trustNamespace) || String.IsNullOrEmpty(action) || preserveOriginalException || ex is FaultException) 1931if (String.IsNullOrEmpty(prefix)) 1936if (String.IsNullOrEmpty(ns)) 1983if (String.IsNullOrEmpty(ns)) 2040if (String.IsNullOrEmpty(ns)) 2114if (String.IsNullOrEmpty(operationName))
System\ServiceModel\ServiceAuthenticationManager.cs (1)
96!String.IsNullOrEmpty(message.Headers.Action) &&
System\ServiceModel\ServiceContractAttribute.cs (1)
67if (!string.IsNullOrEmpty(value))
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (13)
263if (!string.IsNullOrEmpty(category.Label) && !category.AttributeExtensions.ContainsKey(Atom10Label)) 267if (!string.IsNullOrEmpty(category.Scheme) && !category.AttributeExtensions.ContainsKey(Atom10Scheme)) 487if (!string.IsNullOrEmpty(link.RelationshipType) && !link.AttributeExtensions.ContainsKey(Atom10Relative)) 491if (!string.IsNullOrEmpty(link.MediaType) && !link.AttributeExtensions.ContainsKey(Atom10Type)) 495if (!string.IsNullOrEmpty(link.Title) && !link.AttributeExtensions.ContainsKey(Atom10Title)) 576if (string.IsNullOrEmpty(type)) 723if (string.IsNullOrEmpty(type)) 729if (string.IsNullOrEmpty(src) && type != Atom10Constants.PlaintextType && type != Atom10Constants.HtmlType && type != Atom10Constants.XHtmlType) 734if (!string.IsNullOrEmpty(src)) 1040if (!string.IsNullOrEmpty(lengthStr)) 1216if (!string.IsNullOrEmpty(feed.Language)) 1309if (!string.IsNullOrEmpty(p.Uri)) 1313if (!string.IsNullOrEmpty(p.Email))
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (4)
148if (string.IsNullOrEmpty(link)) 201if (!string.IsNullOrEmpty(categories.Language)) 409if (!string.IsNullOrEmpty(categories.Scheme)) 751if (!string.IsNullOrEmpty(this.Document.Language))
System\ServiceModel\Syndication\FeedUtils.cs (1)
78if (string.IsNullOrEmpty(newBase))
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (9)
662if (!string.IsNullOrEmpty(str)) 791link.Length = !string.IsNullOrEmpty(val) ? Convert.ToInt64(val, CultureInfo.InvariantCulture.NumberFormat) : 0; 878if (!string.IsNullOrEmpty(tmp)) 914if (!string.IsNullOrEmpty(baseUri)) 959if (!string.IsNullOrEmpty(str)) 1073if (!string.IsNullOrEmpty(category.Scheme) && !category.AttributeExtensions.ContainsKey(Rss20Domain)) 1159if (!string.IsNullOrEmpty(this.Feed.Generator)) 1247if (!string.IsNullOrEmpty(guid)) 1267if (item.Authors.Count == 1 && !string.IsNullOrEmpty(item.Authors[0].Email))
System\ServiceModel\Syndication\SyndicationContent.cs (1)
95if (string.IsNullOrEmpty(outerElementName))
System\ServiceModel\Syndication\SyndicationElementExtension.cs (1)
301if (typeMapping != null && !string.IsNullOrEmpty(typeMapping.ElementName))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (1)
245if (string.IsNullOrEmpty(extensionName))
System\ServiceModel\Syndication\XmlSyndicationContent.cs (4)
49this.type = string.IsNullOrEmpty(this.type) ? Atom10Constants.XmlMediaType : this.type; 61this.type = string.IsNullOrEmpty(type) ? Atom10Constants.XmlMediaType : type; 67this.type = string.IsNullOrEmpty(type) ? Atom10Constants.XmlMediaType : type; 77this.type = string.IsNullOrEmpty(type) ? Atom10Constants.XmlMediaType : type;
System\ServiceModel\Transactions\OletxTransactionHeader.cs (4)
66if (!string.IsNullOrEmpty(this.wsatInfo.Identifier)) 126if (!string.IsNullOrEmpty(identifier)) 139if (!string.IsNullOrEmpty(attr)) 157if (!string.IsNullOrEmpty(identifier) || timeout != 0)
System\ServiceModel\Transactions\WhereaboutsReader.cs (1)
82if (string.IsNullOrEmpty(this.hostName))
System\ServiceModel\Transactions\WsatExtendedInformation.cs (1)
35if (!string.IsNullOrEmpty(cacheIdentifier) || this.timeout != 0)
System\ServiceModel\Transactions\WsatProxy.cs (1)
429if (!string.IsNullOrEmpty(description))
System\ServiceModel\Transactions\WsatTransactionFormatter.cs (1)
156if (!string.IsNullOrEmpty(info.Identifier))
System\ServiceModel\UriSchemeKeyedCollection.cs (3)
66if (!string.IsNullOrEmpty(uri.UserInfo)) 71if (!string.IsNullOrEmpty(uri.Query)) 76if (!string.IsNullOrEmpty(uri.Fragment))
System\ServiceModel\XmlUtil.cs (1)
32if (string.IsNullOrEmpty(booleanValue))
System\UriTemplate.cs (16)
98if (!string.IsNullOrEmpty(pathTemplate)) 144if (!string.IsNullOrEmpty(queryTemplate)) 182if (string.IsNullOrEmpty(key)) 621if (!string.IsNullOrEmpty(host)) 720string escapedValue = (string.IsNullOrEmpty(value) ? string.Empty : UrlUtility.UrlEncode(value, Encoding.UTF8)); 868if (string.IsNullOrEmpty(kvp.Key)) 890if (string.IsNullOrEmpty(key)) 942if (string.IsNullOrEmpty(escapedValue)) 1216if (string.IsNullOrEmpty(value) || 1487if (string.IsNullOrEmpty(normalizedParameters[i]) && (this.defaultValues != null)) 1538if (string.IsNullOrEmpty(normalizedParameters[i])) 1587if (string.IsNullOrEmpty(name)) 1597normalizedParameters[pathVarIndex] = (string.IsNullOrEmpty(value) ? string.Empty : value); 1603normalizedParameters[this.pathSegmentVariableNames.Count + queryVarIndex] = (string.IsNullOrEmpty(value) ? string.Empty : value); 1690return (!string.IsNullOrEmpty(this.varName)); 1699if (string.IsNullOrEmpty(values[valueIndex]))
System\UriTemplateCompoundPathSegment.cs (5)
98if (string.IsNullOrEmpty(result.firstLiteral)) 100if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].Literal)) 111if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].Literal)) 195if (!string.IsNullOrEmpty(this.firstLiteral)) 222if (string.IsNullOrEmpty(this.varLitPairs[varLitPairs.Count - 1].Literal))
System\UriTemplateHelpers.cs (2)
52if (!string.IsNullOrEmpty(query[queryKeyName])) 236if (!string.IsNullOrEmpty(nullKeyValuesString))
System\UriTemplateLiteralPathSegment.cs (1)
135return string.IsNullOrEmpty(this.segment);
System\UriTemplateQueryValue.cs (1)
100Fx.Assert(string.IsNullOrEmpty(value), "shouldn't have a value");
System\UriTemplateVariablePathSegment.cs (2)
18Fx.Assert(!string.IsNullOrEmpty(varName), "bad variable segment"); 65Fx.Assert(!string.IsNullOrEmpty(segment), "How can that be? Lookup is expected to be called after IsMatch");
System\UriTemplateVariableQueryValue.cs (1)
19Fx.Assert(!string.IsNullOrEmpty(varName), "bad variable segment");
System.ServiceModel.Activation (29)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
201if (string.IsNullOrEmpty(HostedAspNetEnvironment.cachedServiceReference))
System\ServiceModel\Activation\HostedHttpContext.cs (1)
830if (string.IsNullOrEmpty(remotePort) || !int.TryParse(remotePort, out port))
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
123if (!string.IsNullOrEmpty(aspNetRouteServiceVirtualPath)) 730if (!string.IsNullOrEmpty(this.AspNetRouteServiceVirtualPath)) 734else if (!string.IsNullOrEmpty(this.configurationBasedServiceVirtualPath))
System\ServiceModel\Activation\HttpModule.cs (1)
60if (string.IsNullOrEmpty(extension))
System\ServiceModel\Activation\ServiceHostFactory.cs (1)
39if (string.IsNullOrEmpty(constructorString))
System\ServiceModel\Activation\ServiceHttpModule.cs (1)
80if (string.IsNullOrEmpty(extension))
System\ServiceModel\Activation\ServiceParser.cs (4)
145if (!string.IsNullOrEmpty(parser.factoryAttributeValue)) 148if (!string.IsNullOrEmpty(parser.serviceAttributeValue)) 286if (!string.IsNullOrEmpty(serviceAttributeValue)) 349if (string.IsNullOrEmpty(factoryAttributeValue))
System\ServiceModel\Activation\ServiceRouteHandler.cs (2)
77Fx.Assert(!string.IsNullOrEmpty(virtualPath), "virtualPath should not be empty or null"); 98if (!string.IsNullOrEmpty(virtualPath))
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (2)
37if (string.IsNullOrEmpty(constructorString)) 392if (string.IsNullOrEmpty(compileCustomString))
System\ServiceModel\ServiceHostingEnvironment.cs (13)
144if (string.IsNullOrEmpty(virtualPath)) 187if (string.IsNullOrEmpty(messageAsString)) 437if (!string.IsNullOrEmpty(virtualPath) && hostingManager.IsConfigurationBasedServiceVirtualPath(virtualPath)) 543if (string.IsNullOrEmpty(processedVirtualPath) || 560if ((!string.IsNullOrEmpty(extension)) && 663if (string.IsNullOrEmpty(element.Factory) && string.IsNullOrEmpty(element.Service)) 784if (string.IsNullOrEmpty(extension)) 933if (string.IsNullOrEmpty(serviceName)) 1221if (string.IsNullOrEmpty(compiledString)) 1311if (string.IsNullOrEmpty(factoryType)) 1313Fx.Assert(!string.IsNullOrEmpty(compiledString), "The compiled string can't be null or empty"); 1361Fx.Assert(!string.IsNullOrEmpty(compiledString), "The compiled string can't be null or empty");
System.ServiceModel.Activities (33)
System\ServiceModel\Activities\BookmarkNameHelper.cs (1)
15Fx.Assert(!string.IsNullOrEmpty(operationName), "OperationName cannot be null or empty");
System\ServiceModel\Activities\Configuration\SqlWorkflowInstanceStoreElement.cs (5)
45if (string.IsNullOrEmpty(this.ConnectionString) && 46string.IsNullOrEmpty(this.ConnectionStringName)) 51if (!string.IsNullOrEmpty(this.ConnectionString) && 52!string.IsNullOrEmpty(this.ConnectionStringName)) 58if (!string.IsNullOrEmpty(this.ConnectionStringName) || useDefaultConnectionStringName)
System\ServiceModel\Activities\Configuration\WorkflowControlEndpointElement.cs (3)
42if (string.IsNullOrEmpty(value)) 57if (string.IsNullOrEmpty(value)) 111if (!string.IsNullOrEmpty(this.Binding))
System\ServiceModel\Activities\Configuration\WorkflowInstanceManagementElement.cs (1)
42if (!string.IsNullOrEmpty(this.AuthorizedWindowsGroup))
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
80if (string.IsNullOrEmpty(serviceContractName.NamespaceName)) 205if (String.IsNullOrEmpty(action))
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
629return !string.IsNullOrEmpty(endpointName) ? endpointName : SR.NotSpecified; 639return !string.IsNullOrEmpty(operationName) ? operationName : SR.NotSpecified;
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
39if (string.IsNullOrEmpty(value))
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
593new WorkflowApplicationAbortedException(!String.IsNullOrEmpty(reason) ? reason : SR.DefaultAbortReason),
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (2)
107if (!string.IsNullOrEmpty(result.Value)) 150if (!string.IsNullOrEmpty(result.Value))
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
1151Fx.Assert(!String.IsNullOrEmpty(reason), "reason string must not be null or empty!");
System\ServiceModel\Activities\Receive.cs (1)
347if (string.IsNullOrEmpty(this.OperationName))
System\ServiceModel\Activities\ReceiveReply.cs (1)
124if (string.IsNullOrEmpty(this.Request.OperationName))
System\ServiceModel\Activities\Send.cs (3)
238if (string.IsNullOrEmpty(this.OperationName)) 250if (string.IsNullOrEmpty(this.EndpointConfigurationName)) 257if (!string.IsNullOrEmpty(this.EndpointConfigurationName))
System\ServiceModel\Activities\WorkflowService.cs (4)
201Namespace = string.IsNullOrEmpty(this.InternalName.NamespaceName) ? NamingHelper.DefaultNamespace : this.InternalName.NamespaceName, 1052if (string.IsNullOrEmpty(receiveActivity.OperationName)) 1065string contractNamespace = string.IsNullOrEmpty(serviceName.NamespaceName) ? 1251string contractNamespace = string.IsNullOrEmpty(contractXName.NamespaceName) ?
System\ServiceModel\Activities\WorkflowServiceHost.cs (3)
335if (!string.IsNullOrEmpty(behaviorConfigurationName)) 435if (!string.IsNullOrEmpty(contract.ConfigurationName)) 474if (!string.IsNullOrEmpty(endpoint.Name))
System\ServiceModel\XamlIntegration\ServiceXNameTypeConverter.cs (1)
22if (!string.IsNullOrEmpty(stringValue))
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (1)
97if (String.IsNullOrEmpty(prefix))
System.ServiceModel.Channels (10)
System\ServiceModel\Channels\DuplicateMessageDetector.cs (2)
52Fx.Assert(string.IsNullOrEmpty(hashString) == false, "computed hashstring is null or empty"); 66Fx.Assert(!string.IsNullOrEmpty(msgHash), "Message hash should never be null or empty");
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
173if (!string.IsNullOrEmpty(reasonPhrase))
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
203bool allowMulticastLoopback = !string.IsNullOrEmpty(this.udpTransportBindingElement.MulticastInterfaceId);
System\ServiceModel\Channels\UdpChannelListener.cs (1)
547bool allowMulticastLoopback = !string.IsNullOrEmpty(this.udpTransportBindingElement.MulticastInterfaceId);
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
32if (!string.IsNullOrEmpty(transportUri) && transportUri.Equals(UdpConstants.WsdlSoapUdpTransportUri, StringComparison.Ordinal))
System\ServiceModel\Channels\UdpUtility.cs (2)
20if (!string.IsNullOrEmpty(relativePath)) 266if (string.IsNullOrEmpty(multicastInterfaceIdentifier)) //find all supported NICs
System\ServiceModel\Channels\XmlByteStreamWriter.cs (2)
266if (!string.IsNullOrEmpty(prefix) || !string.IsNullOrEmpty(ns) || localName != ByteStreamMessageUtility.StreamElementName)
System.ServiceModel.Discovery (17)
System\ServiceModel\Discovery\Configuration\AnnouncementEndpointElement.cs (2)
110if (!String.IsNullOrEmpty(channelEndpointElement.Contract)) 118if (!String.IsNullOrEmpty(serviceEndpointElement.Contract))
System\ServiceModel\Discovery\Configuration\ConfigurationDiscoveryEndpointProvider.cs (1)
37if (string.IsNullOrEmpty(channelEndpointElement.Kind))
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (4)
23Fx.Assert(!string.IsNullOrEmpty(channelEndpointElement.Kind), "The Kind property of the specified channelEndpointElement parameter cannot be null or empty."); 29if (!(channelEndpointElement.Address == null || String.IsNullOrEmpty(channelEndpointElement.Address.ToString()))) 38if (!(serviceEndpointElement.Address == null || String.IsNullOrEmpty(serviceEndpointElement.Address.ToString()))) 61if (string.IsNullOrEmpty(channelEndpointElement.Kind))
System\ServiceModel\Discovery\Configuration\DiscoveryEndpointElement.cs (2)
134if (!String.IsNullOrEmpty(channelEndpointElement.Contract)) 142if (!String.IsNullOrEmpty(serviceEndpointElement.Contract))
System\ServiceModel\Discovery\Configuration\DynamicEndpointElement.cs (1)
67if (string.IsNullOrEmpty(channelEndpointElement.Contract))
System\ServiceModel\Discovery\Configuration\ServiceDiscoveryElement.cs (1)
71if (string.IsNullOrEmpty(channelEndpointElement.Kind))
System\ServiceModel\Discovery\ScopeCompiler.cs (2)
333if (string.IsNullOrEmpty(token.Trim())) 389if (string.IsNullOrEmpty(token.Trim()))
System\ServiceModel\Discovery\SerializationUtility.cs (4)
144if (!string.IsNullOrEmpty(prefix)) 304if (!string.IsNullOrEmpty(listOfQNamesAsStr)) 348if (!string.IsNullOrEmpty(listOfUrisAsString)) 370if (!string.IsNullOrEmpty(listOfUrisAsString))
System.ServiceModel.Internals (16)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
264if (string.IsNullOrEmpty(text)) 387if (string.IsNullOrEmpty(retval))
System\Runtime\Diagnostics\DiagnosticTraceSource.cs (1)
29if (!string.IsNullOrEmpty(attributeValue))
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
349if (!string.IsNullOrEmpty(payload.EventSource)) 354if (!string.IsNullOrEmpty(payload.ExtendedData)) 359if (!string.IsNullOrEmpty(payload.SerializedException)) 544if (!string.IsNullOrEmpty(this.TraceSourceName)) 795if (!string.IsNullOrEmpty(innerException) && innerException.Length < remainingLength) 898if (string.IsNullOrEmpty(value) && !LocalAppContextSwitches.IncludeNullExceptionMessageInETWTrace)
System\Runtime\Diagnostics\EventLogger.cs (2)
91if (!string.IsNullOrEmpty(stringValue)) 284retval = string.IsNullOrEmpty(process.ProcessName);
System\Runtime\Fx.cs (2)
763if (string.IsNullOrEmpty(limit)) 929if (string.IsNullOrEmpty(diagnosis))
System\Runtime\UrlUtility.cs (3)
128if (string.IsNullOrEmpty(str)) 482if (!string.IsNullOrEmpty(str)) 589keyPrefix = (!string.IsNullOrEmpty(key)) ? (key + "=") : string.Empty;
System.ServiceModel.Routing (5)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (1)
26if (string.IsNullOrEmpty(endpointName))
System\ServiceModel\Routing\Configuration\RoutingExtensionElement.cs (1)
85if (string.IsNullOrEmpty(this.FilterTableName))
System\ServiceModel\Routing\Configuration\RoutingSection.cs (3)
49if (string.IsNullOrEmpty(name)) 83if (!string.IsNullOrEmpty(entry.BackupList)) 611if (string.IsNullOrEmpty(customType))
System.ServiceModel.WasHosting (2)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (2)
105if (string.IsNullOrEmpty(protocol) || this.Protocols.Contains(protocol)) 442if (string.IsNullOrEmpty(protocol) || this.Protocols.Contains(protocol))
System.ServiceModel.Web (78)
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (2)
91!String.IsNullOrEmpty(this.JavascriptResponseMessageProperty.CallbackFunctionName)) 153!String.IsNullOrEmpty(this.JavascriptResponseMessageProperty.CallbackFunctionName))
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (2)
323&& !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 338&& !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName))
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (8)
38if (!string.IsNullOrEmpty(charset)) 271!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 279!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 311!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 320!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 386if (string.IsNullOrEmpty(contentType)) 484!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 495!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName))
System\ServiceModel\Configuration\WebHttpBindingElement.cs (2)
131if (String.IsNullOrEmpty(value)) 266if (!string.IsNullOrEmpty(contentTypeMapperType))
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (3)
103if (String.IsNullOrEmpty(value)) 181if (string.IsNullOrEmpty(channelEndpointElement.Binding)) 193if (string.IsNullOrEmpty(serviceEndpointElement.Binding))
System\ServiceModel\Configuration\WebMessageEncodingElement.cs (2)
59if (String.IsNullOrEmpty(value)) 85if (!string.IsNullOrEmpty(this.WebContentTypeMapperType))
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (3)
103if (String.IsNullOrEmpty(value)) 148if (string.IsNullOrEmpty(channelEndpointElement.Binding)) 160if (string.IsNullOrEmpty(serviceEndpointElement.Binding))
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
86return !String.IsNullOrEmpty(GetJsonpCallbackParameterName()); 166if (string.IsNullOrEmpty(ns))
System\ServiceModel\Description\WebHttpBehavior.cs (3)
732if (!string.IsNullOrEmpty(defaultContentType)) 1317if (!String.IsNullOrEmpty(callbackParameterName) && 1326if (!String.IsNullOrEmpty(callbackName))
System\ServiceModel\Description\WebScriptClientGenerator.cs (2)
46if (String.IsNullOrEmpty(proxy)) 110if (string.IsNullOrEmpty(ifModifiedSinceHeaderValue))
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
306metadataEndpointDispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(host, new WebScriptClientGenerator(endpoint, debugMode, !String.IsNullOrEmpty(this.JavascriptCallbackParameterName)));
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (2)
66if (string.IsNullOrEmpty(WebOperationContext.Current.OutgoingRequest.ContentType)) 85if (string.IsNullOrEmpty(httpProperty.Headers[HttpRequestHeader.ContentType]))
System\ServiceModel\Dispatcher\ContentTypeSettingDispatchMessageFormatter.cs (2)
58if (string.IsNullOrEmpty(WebOperationContext.Current.OutgoingResponse.ContentType)) 77if (string.IsNullOrEmpty(httpProperty.Headers[HttpResponseHeader.ContentType]))
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (3)
71if (!string.IsNullOrEmpty(operationName) && this.formatters.ContainsKey(operationName)) 75if (!string.IsNullOrEmpty(acceptHeader)) 188if (!string.IsNullOrEmpty(acceptHeader))
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (4)
192if (String.IsNullOrEmpty(content)) 240if (contentElement.QualifiedName.Namespace != element.QualifiedName.Namespace && !String.IsNullOrEmpty(contentElement.QualifiedName.Namespace)) 327if (String.IsNullOrEmpty(content)) 538else if (!String.IsNullOrEmpty(value))
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (3)
72if (String.IsNullOrEmpty(description)) 125if (!String.IsNullOrEmpty(operationInfo.JavascriptCallbackParameterName)) 358if (String.IsNullOrEmpty(title))
System\ServiceModel\Dispatcher\HelpPage.cs (2)
53if (String.IsNullOrEmpty(helpPage)) 68if (String.IsNullOrEmpty(helpPage))
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (2)
87if (outgoingResponse != null && string.IsNullOrEmpty(outgoingResponse.ContentType)) 90if (!string.IsNullOrEmpty(automatedSelectionContentType))
System\ServiceModel\Dispatcher\MultiplexingFormatMapping.cs (1)
61!string.IsNullOrEmpty(charset) &&
System\ServiceModel\Dispatcher\NameValueCache.cs (1)
50if (!String.IsNullOrEmpty(currentKeys[nextAvailableCacheIndex]))
System\ServiceModel\Dispatcher\QueryStringConverter.cs (2)
138return (!string.IsNullOrEmpty(parameter)) ? Convert.FromBase64String(parameter) : new byte[] { }; 142return (!string.IsNullOrEmpty(parameter)) ? new Uri(parameter, UriKind.RelativeOrAbsolute) : null;
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
365if (!string.IsNullOrEmpty(hostName))
System\ServiceModel\Web\CachingParameterInspector.cs (7)
40if (string.IsNullOrEmpty(cacheProfileName)) 76if (!string.IsNullOrEmpty(this.cacheProfile.SqlDependency)) 318if (!string.IsNullOrEmpty(this.cacheProfile.VaryByContentEncoding)) 326if (!string.IsNullOrEmpty(this.cacheProfile.VaryByHeader)) 336if (!string.IsNullOrEmpty(this.cacheProfile.VaryByCustom)) 341if (!string.IsNullOrEmpty(this.cacheProfile.VaryByParam)) 349if (!string.IsNullOrEmpty(this.cacheProfile.SqlDependency))
System\ServiceModel\Web\IncomingWebRequestContext.cs (10)
58return (string.IsNullOrEmpty(ifMatchHeader)) ? null : Utility.QuoteAwareStringSplit(ifMatchHeader); 67return (string.IsNullOrEmpty(ifNoneMatchHeader)) ? null : Utility.QuoteAwareStringSplit(ifNoneMatchHeader); 76if (!string.IsNullOrEmpty(dateTime)) 93if (!string.IsNullOrEmpty(dateTime)) 230if (string.IsNullOrEmpty(acceptHeader)) 282if (!string.IsNullOrEmpty(entityTag)) 285if (!string.IsNullOrEmpty(entityTagHeader)) 313if (isPutMethod && string.IsNullOrEmpty(entityTag)) 316if (string.IsNullOrEmpty(headerOfInterest) || 326if (string.IsNullOrEmpty(headerOfInterest) ||
System\ServiceModel\Web\JavascriptCallbackBehaviorAttribute.cs (1)
25if (string.IsNullOrEmpty(value))
System\ServiceModel\Web\OutgoingWebResponseContext.cs (2)
60if (!string.IsNullOrEmpty(dateTime)) 239if (string.IsNullOrEmpty(entityTag))
System\ServiceModel\Web\Utility.cs (3)
108if (string.IsNullOrEmpty(str) || offset >= str.Length) 156if (!string.IsNullOrEmpty(contentTypeTrimmed)) 168Fx.Assert(!string.IsNullOrEmpty(contentType), "The ContentType input argument should not be null or empty.");
System\ServiceModel\Web\WebOperationContext.cs (2)
341if (String.IsNullOrEmpty(operationName)) 356if (string.IsNullOrEmpty(this.OutgoingResponse.ContentType))
System.Transactions (2)
System\Transactions\Trace\DiagnosticTrace.cs (2)
515if (!string.IsNullOrEmpty(message) && message.Length >= MaxEventLogLength) 731if (string.IsNullOrEmpty(retval))
System.Web (1089)
CachedPathData.cs (6)
183if (!String.IsNullOrEmpty(physicalFilePath)) { 246if (!String.IsNullOrEmpty(physicalPath)) { 549if (String.IsNullOrEmpty(_physicalPath) && String.IsNullOrEmpty(physicalPath)) { 552if (!String.IsNullOrEmpty(_physicalPath) && !String.IsNullOrEmpty(physicalPath)) {
Compilation\AssemblyBuilder.cs (4)
412if (!String.IsNullOrEmpty(extension) && extension[0] == '.') { 549if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyFile)) { 559if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyContainer)) { 901if (string.IsNullOrEmpty(providerOptionValue))
Compilation\AssemblyResolver.cs (3)
83if (string.IsNullOrEmpty(fxPath35)) { 448if (!string.IsNullOrEmpty(MultiTargetingUtil.TargetFrameworkName.Profile)) { 481if (string.IsNullOrEmpty(path)) {
Compilation\BaseCodeDomTreeGenerator.cs (1)
842if (String.IsNullOrEmpty(virtualPath))
Compilation\BuildManager.cs (6)
380if (String.IsNullOrEmpty(dependency)) { 537String.IsNullOrEmpty(AppSettings.PortableCompilationOutputSnapshotType)) { 838Debug.Assert(!String.IsNullOrEmpty(path)); 839Debug.Assert(!assemblies.Any(String.IsNullOrEmpty)); 950if (attribute.Type != null && !String.IsNullOrEmpty(attribute.MethodName) && attribute.Type.Assembly == assembly) { 971Debug.Assert(!String.IsNullOrEmpty(methodName));
Compilation\BuildProvider.cs (1)
193if (String.IsNullOrEmpty(extension)) {
Compilation\ClientBuildManager.cs (1)
203if (!String.IsNullOrEmpty(appPhysicalTargetDir)) {
Compilation\CompilationUtil.cs (3)
246if (!String.IsNullOrEmpty(option)) { 354if (String.IsNullOrEmpty(compilerOptions)) 638if (string.IsNullOrEmpty(version)) {
Compilation\DataBindingExpressionBuilder.cs (2)
44if (!String.IsNullOrEmpty(formatString)) { 119if (!String.IsNullOrEmpty(itemType)) {
Compilation\ExpressionEditorAttribute.cs (1)
21if (String.IsNullOrEmpty(typeName)) {
Compilation\ExpressionPrefixAttribute.cs (1)
21if (String.IsNullOrEmpty(expressionPrefix)) {
Compilation\MultiTargetingUtil.cs (2)
229if (!string.IsNullOrEmpty(targetVersion)) { 463if (string.IsNullOrEmpty(version) || !char.IsDigit(version[0])) {
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
216if (String.IsNullOrEmpty(skinID)) {
Compilation\RouteUrlExpressionBuilder.cs (2)
46if (String.IsNullOrEmpty(expression)) 60if (string.IsNullOrEmpty(key)) {
Compilation\RouteValueExpressionBuilder.cs (2)
53if (controlType != null && !String.IsNullOrEmpty(propertyName)) { 69if (page == null || String.IsNullOrEmpty(key) || page.RouteData == null) {
Configuration\AuthenticationConfig.cs (3)
48if (String.IsNullOrEmpty(loginUrl)) { 60if (String.IsNullOrEmpty(loginUrl)) { 65if (String.IsNullOrEmpty(loginUrl)) {
Configuration\AuthorizationRule.cs (2)
120if (!String.IsNullOrEmpty(role)) { 128if (!String.IsNullOrEmpty(user)) {
Configuration\BrowserCapabilitiesFactory.cs (5)
1011if (string.IsNullOrEmpty(headerValue)) { 1414if (string.IsNullOrEmpty(headerValue)) { 1786if (string.IsNullOrEmpty(headerValue)) { 1819if (string.IsNullOrEmpty(headerValue)) { 1912if (string.IsNullOrEmpty(headerValue)) {
Configuration\BrowserCapabilitiesFactoryBase.cs (2)
86bool isFilter1DefaultFilter = String.IsNullOrEmpty(filter1); 87bool isFilter2DefaultFilter = String.IsNullOrEmpty(filter2);
Configuration\BrowserDefinition.cs (7)
395if (String.IsNullOrEmpty(match)) { 398if (String.IsNullOrEmpty(match)) { 417if (String.IsNullOrEmpty(match)) { 420if (String.IsNullOrEmpty(match)) { 438if (String.IsNullOrEmpty(match)) { 441if (String.IsNullOrEmpty(match)) { 548if (!String.IsNullOrEmpty(adapterString)) {
Configuration\CompilationSection.cs (2)
444if (_assemblyPostProcessorType == null && !String.IsNullOrEmpty(AssemblyPostProcessorType)) { 799if (String.IsNullOrEmpty(Message)) {
Configuration\CustomErrorsSection.cs (1)
188if (String.IsNullOrEmpty(basePath))
Configuration\ExpressServerConfig.cs (5)
212foundCreds = (!String.IsNullOrEmpty(username) && !String.IsNullOrEmpty(password)); 280if ( String.IsNullOrEmpty(siteArgument) || 309if (!String.IsNullOrEmpty(resolvedName)) { 319Debug.Assert(!String.IsNullOrEmpty(siteName), "!String.IsNullOrEmpty(siteName), siteArg=" + siteArgument);
Configuration\FormsAuthenticationConfiguration.cs (4)
236if (String.IsNullOrEmpty(value)) { 252if (String.IsNullOrEmpty(value)) { 268if (String.IsNullOrEmpty(value)) { 306if (String.IsNullOrEmpty(value)) {
Configuration\GlobalizationSection.cs (7)
231if (_resourceProviderFactoryType == null && !String.IsNullOrEmpty(ResourceProviderFactoryType)) { 270if (!String.IsNullOrEmpty((string)base[_propResponseEncoding])) 279if (!String.IsNullOrEmpty((string)base[_propResponseHeaderEncoding])) { 291if (!String.IsNullOrEmpty((string)base[_propRequestEncoding])) { 303if (!String.IsNullOrEmpty((string)base[_propFileEncoding])) { 314if (!String.IsNullOrEmpty((string)base[_propCulture])) { 326if (!String.IsNullOrEmpty((string)base[_propUICulture])) {
Configuration\HealthMonitoringSectionHelper.cs (3)
159if (!String.IsNullOrEmpty(provider)) { 170if (!String.IsNullOrEmpty(profile)) { 241if (String.IsNullOrEmpty(providerName)) {
Configuration\HostingPreferredMapPath.cs (6)
49if (string.IsNullOrEmpty(filename)) { 58if (string.IsNullOrEmpty(filename)) { 69if (string.IsNullOrEmpty(directory)) { 76if (string.IsNullOrEmpty(siteID)) { 83if (string.IsNullOrEmpty(siteID)) { 90if (string.IsNullOrEmpty(physicalPath)) {
Configuration\HttpCapabilitiesBase.cs (5)
268if (String.IsNullOrEmpty(adapterTypename)) { 404if (String.IsNullOrEmpty(ua)) { 588if (String.IsNullOrEmpty(tagWriter)) { 1235if (!String.IsNullOrEmpty(value)) { 1749if (String.IsNullOrEmpty(browserName)) {
Configuration\HttpCapabilitiesEvaluator.cs (1)
224if (String.IsNullOrEmpty(attribute)) {
Configuration\HttpConfigurationSystem.cs (1)
250if (String.IsNullOrEmpty(file))
Configuration\HttpRuntimeSection.cs (3)
559if (String.IsNullOrEmpty(targetFramework)) { 838if (string.IsNullOrEmpty(invalidCharString)) { 858if (string.IsNullOrEmpty(invalidCharString)) {
Configuration\IISMapPath.cs (1)
48if (string.IsNullOrEmpty(siteName))
Configuration\MetabaseServerConfig.cs (2)
123if ( String.IsNullOrEmpty(siteArgument) || 191if (string.IsNullOrEmpty(result)) {
Configuration\MTConfigUtil.cs (1)
198if (string.IsNullOrEmpty(s_machineConfigPath)) {
Configuration\PagesSection.cs (6)
421if (_pageParserFilterType == null && !String.IsNullOrEmpty(PageParserFilterType)) { 467if (!String.IsNullOrEmpty(masterPageFile)) { 533if ((!String.IsNullOrEmpty(themeName)) && (!Util.ThemeExists(themeName))) { 561if (!String.IsNullOrEmpty(styleSheetThemeName) && 720if (!String.IsNullOrEmpty(tpi.TagName)) { 734else if (!String.IsNullOrEmpty(tpi.Namespace)) {
Configuration\ProcessHostMapPath.cs (6)
71if (String.IsNullOrEmpty(rootWeb)) { 77Debug.Assert(!String.IsNullOrEmpty(rootWeb), "rootWeb != null or empty"); 121if ( String.IsNullOrEmpty(siteArgument) || 150if (!String.IsNullOrEmpty(resolvedName)) { 160Debug.Assert(!String.IsNullOrEmpty(siteName), "!String.IsNullOrEmpty(siteName), siteArg=" + siteArgument); 320if (string.IsNullOrEmpty(result)) {
Configuration\ProcessHostServerConfig.cs (2)
203foundCreds = (!String.IsNullOrEmpty(username) && !String.IsNullOrEmpty(password));
Configuration\ProfilePropertyNameValidator.cs (1)
32if (string.IsNullOrEmpty(s)) {
Configuration\ProtocolsSection.cs (2)
142if ( string.IsNullOrEmpty( name ) ) 189if ( string.IsNullOrEmpty( name ) )
Configuration\ProvidersHelper.cs (3)
26if (string.IsNullOrEmpty(pnType)) 57if (string.IsNullOrEmpty(pnType)) 92if (!string.IsNullOrEmpty(strValue))
Configuration\RemoteWebConfigurationHost.cs (3)
385if (string.IsNullOrEmpty(fullUserName)) 397if (string.IsNullOrEmpty(fullUserName)) 479if (string.IsNullOrEmpty(username))
Configuration\SiteMapSection.cs (1)
132if (!String.IsNullOrEmpty(DefaultProvider)) // make sure the specified provider has a provider entry in the collection
Configuration\TagMapInfo.cs (2)
96if (String.IsNullOrEmpty(TagType)) { 102if (String.IsNullOrEmpty(MappedTagType)) {
Configuration\TagPrefixCollection.cs (2)
91if (String.IsNullOrEmpty(info.TagName)) { 93(String.IsNullOrEmpty(info.Assembly) ? string.Empty : info.Assembly);
Configuration\TagPrefixInfo.cs (8)
157if (!String.IsNullOrEmpty(value)) { 185if (!String.IsNullOrEmpty(elem.Namespace)) { 187if (!(String.IsNullOrEmpty(elem.TagName) && String.IsNullOrEmpty(elem.Source))) { 191else if (!String.IsNullOrEmpty(elem.TagName)) { 193if (!(String.IsNullOrEmpty(elem.Namespace) && 194String.IsNullOrEmpty(elem.Assembly) && 195!String.IsNullOrEmpty(elem.Source))) {
Configuration\UserMapPath.cs (4)
37if (!String.IsNullOrEmpty(fileMap.MachineConfigFilename)) { 46if (string.IsNullOrEmpty(_machineConfigFilename)) { 58if (!String.IsNullOrEmpty(_webFileMap.Site)) { 86return String.IsNullOrEmpty(site) ||
Configuration\VirtualDirectoryMapping.cs (2)
76if (String.IsNullOrEmpty(physicalDirectory)) { 120if (string.IsNullOrEmpty(value)) {
Configuration\WebConfigurationHost.cs (25)
96if (!String.IsNullOrEmpty(site) && String.IsNullOrEmpty(locationSubPath)) { 109if (!String.IsNullOrEmpty(site)) { 112if (String.IsNullOrEmpty(appSiteID)) { 124if (String.IsNullOrEmpty(appSiteID)) { 128Debug.Assert(!String.IsNullOrEmpty(appSiteID), "No appSiteID found when site argument is null"); 144if (String.IsNullOrEmpty(appSiteID) && !String.IsNullOrEmpty(locationSite)) { 146if (!String.IsNullOrEmpty(appSiteID)) { 214if (!string.IsNullOrEmpty(_machineConfigFile)) { 230if (!String.IsNullOrEmpty(_appSiteID) && _appPath != null) { 281if (String.IsNullOrEmpty(physicalPath)) { 315if (!String.IsNullOrEmpty(site)) { 388if (vpath == null || string.IsNullOrEmpty(siteID)) { 401if (String.IsNullOrEmpty(parentConfigPath)) { 405if (String.IsNullOrEmpty(childConfigPath)) { 445return !string.IsNullOrEmpty(_machineConfigFile) ? _machineConfigFile : _configMapPath.GetMachineConfigFilename(); 448return !string.IsNullOrEmpty(_rootWebConfigFile) ? _rootWebConfigFile : _configMapPath.GetRootWebConfigFilename(); 577return String.IsNullOrEmpty(_appConfigPath) || 759if (String.IsNullOrEmpty(sectionGroupName) && sectionName == "system.codedom") 855bool isRemote = !String.IsNullOrEmpty(server) 868if (String.IsNullOrEmpty(server)) { 869if (!String.IsNullOrEmpty(userName)) 872if (!String.IsNullOrEmpty(password)) 886if (webFileMap != null && !String.IsNullOrEmpty(site)) {
CrossSiteScriptingValidation.cs (2)
95if (String.IsNullOrEmpty(s)) { 125return (String.IsNullOrEmpty(id) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(id));
DataAccess\DataConnectionHelper.cs (2)
173if (!String.IsNullOrEmpty(_UserName)) 291if (!String.IsNullOrEmpty(_UserName))
DataAccess\SqlConnectionHelper.cs (3)
103if (string.IsNullOrEmpty(dataDir)) { 111if (!string.IsNullOrEmpty(exeName)) 115if (string.IsNullOrEmpty(appPath))
ErrorFormatter.cs (7)
211if (!String.IsNullOrEmpty(miscTitle)) { 227if (!String.IsNullOrEmpty(sourceFilePath)) { 334if (!String.IsNullOrEmpty(sourceFilePath)) { 543if (!String.IsNullOrEmpty(fusionLog)) { 785if (String.IsNullOrEmpty(linePragma)) 877if (!String.IsNullOrEmpty(msg)) 930if (!String.IsNullOrEmpty(details)) {
FileChangesMonitor.cs (8)
652if (String.IsNullOrEmpty(file)) { 1728if (String.IsNullOrEmpty(file)) { 1833if (!String.IsNullOrEmpty(file)) { 1859if (String.IsNullOrEmpty(file)) { 1899if (String.IsNullOrEmpty(dir)) { 2125if (String.IsNullOrEmpty(file)) { 2186if (!String.IsNullOrEmpty(file)) { 2251if (!String.IsNullOrEmpty(file)) {
Handlers\AssemblyResourceLoader.cs (15)
100if (!String.IsNullOrEmpty(handlerTypeString)) { 270if (!String.IsNullOrEmpty(cdnPath)) { 320if (!String.IsNullOrEmpty(definition.ResourceName)) { 342if (String.IsNullOrEmpty(path)) { 344if (String.IsNullOrEmpty(path)) { 348if (!secureConnection || String.IsNullOrEmpty(definition.CdnDebugPath)) { 351if (String.IsNullOrEmpty(path)) { 359if (String.IsNullOrEmpty(path)) { 363if (!secureConnection || String.IsNullOrEmpty(definition.CdnPath)) { 366if (String.IsNullOrEmpty(path)) { 378if (String.IsNullOrEmpty(path)) { 391if (!String.IsNullOrEmpty(path)) { 517if (String.IsNullOrEmpty(encryptedData)) { 528if (String.IsNullOrEmpty(assemblyName)) { 533if (String.IsNullOrEmpty(resourceName)) {
Hosting\ApplicationManager.cs (4)
211if (!String.IsNullOrEmpty(siteName)) { 1114if (trustSection == null || String.IsNullOrEmpty(trustSection.Level)) { 1398if (compilationSection != null && !String.IsNullOrEmpty(compilationSection.TempDirectory)) { 1639if (!String.IsNullOrEmpty(HttpRuntime.HostSecurityPolicyResolverType) && hostSecurityPolicyResolver == null) {
Hosting\HostingEnvironment.cs (3)
321if (!String.IsNullOrEmpty(rootWebConfigPath)) { 1094if (String.IsNullOrEmpty(result)) { 1670if (_theHostingEnvironment != null && !String.IsNullOrEmpty(path)) {
Hosting\IIS7WorkerRequest.cs (4)
271string message = String.IsNullOrEmpty(eventData) ? String.Empty : eventData; 1490if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) { 2280if ( String.IsNullOrEmpty(userName) ) 2381bool replaceQueryString = !String.IsNullOrEmpty(queryString);
Hosting\ISAPIWorkerRequest.cs (3)
1119if (!String.IsNullOrEmpty(qs)) 2054string message = String.IsNullOrEmpty(eventData) ? String.Empty : eventData; 2501if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) {
Hosting\ProcessHost.cs (5)
911if (String.IsNullOrEmpty(appPath)) { 931Debug.Assert( !String.IsNullOrEmpty(physicalPath), "!String.IsNullOrEmpty(physicalPath)"); 965if (String.IsNullOrEmpty(context)) { 968if (String.IsNullOrEmpty(appId)) { 1035if (!stillEnabled || String.IsNullOrEmpty(preloadObjTypeName)) {
Hosting\SimpleApplicationHost.cs (1)
29if (String.IsNullOrEmpty(physicalPath))
Hosting\SimpleWorkerRequest.cs (2)
87if (!String.IsNullOrEmpty(qs)) 211if (String.IsNullOrEmpty(path) || path.Equals("/")) {
Hosting\VirtualPathProvider.cs (1)
242if (!String.IsNullOrEmpty(basePath))
HttpApplication.cs (7)
1318if(String.IsNullOrEmpty(type)) { 2637if (!String.IsNullOrEmpty(culture)) { 2650if (!String.IsNullOrEmpty(uiCulture)) { 2828Debug.Assert(!String.IsNullOrEmpty(moduleName), "!String.IsNullOrEmpty(moduleName)"); 2892if (!String.IsNullOrEmpty(moduleName) && !String.IsNullOrEmpty(moduleType)) { 3327if (!String.IsNullOrEmpty(configType)) {
HttpCachePolicy.cs (2)
336if (!String.IsNullOrEmpty(targetTypeName)) { 662if (!String.IsNullOrEmpty(value)) {
HttpCacheVaryByContentEncodings.cs (2)
107if (String.IsNullOrEmpty(contentEncoding)) { 122if (String.IsNullOrEmpty(contentEncoding)) {
HttpClientCertificate.cs (3)
131if (!String.IsNullOrEmpty(flags)) 157if (!String.IsNullOrEmpty(keySize)) 159if (!String.IsNullOrEmpty(skeySize))
HttpContext.cs (4)
346if (options != null && !String.IsNullOrEmpty(options.SubProtocol)) { 494if (!String.IsNullOrEmpty(eurl)) { 1046!string.IsNullOrEmpty(session.SessionID)) { // Ensure the session Id is valid - it will force to create new if didn't exist 1096&& String.IsNullOrEmpty(wr.GetManagedHandlerType())
HttpCookie.cs (5)
366if (string.IsNullOrEmpty(input)) { 377if (string.IsNullOrEmpty(cookie.Name)) { 448if (!String.IsNullOrEmpty(_name)) { 460if (!String.IsNullOrEmpty(_domain)) { 472if (!String.IsNullOrEmpty(_path)) {
HttpCookieCollection.cs (1)
142if (!String.IsNullOrEmpty(value)) {
HttpDebugHandler.cs (3)
188if (String.IsNullOrEmpty(logonUser) || String.IsNullOrEmpty(authType) || StringUtil.EqualsIgnoreCase(authType, "basic")) 201if (String.IsNullOrEmpty(sessId)) {
HttpRequest.cs (23)
359else if (!(String.IsNullOrEmpty(this.QueryStringText))) { 431if (!String.IsNullOrEmpty(h)) { 466if (!String.IsNullOrEmpty(h)) { 631if (!String.IsNullOrEmpty(h)) 909if (!String.IsNullOrEmpty(postDataCharset)) { 1442return (!String.IsNullOrEmpty(qs)) ? (Path + "?" + qs) : Path; 1803if (String.IsNullOrEmpty(s)) 1861if (!String.IsNullOrEmpty(qs)) 1882if (!String.IsNullOrEmpty(q)) 1889if (!String.IsNullOrEmpty(serverAndPort)) { 1934if (!String.IsNullOrEmpty(q)) 1941if (!String.IsNullOrEmpty(serverAndPort)) { 1970if (!String.IsNullOrEmpty(r)) { 2341if (wr == null || String.IsNullOrEmpty(logData)) { 2348if (String.IsNullOrEmpty(currentLogData)) { 2357if (String.IsNullOrEmpty(currentLogData)) { 2661if (string.IsNullOrEmpty(header)) 2761if (!String.IsNullOrEmpty(val)) 2780if (!String.IsNullOrEmpty(val)) 2919if (!String.IsNullOrEmpty(qs)) 2981if (String.IsNullOrEmpty(baseVirtualDir)) { 3058if (!String.IsNullOrEmpty(q)) 3096if (!String.IsNullOrEmpty(q))
HttpResponse.cs (11)
372if (!String.IsNullOrEmpty(versionHeader)) { 411if (!String.IsNullOrEmpty(versionHeader)) { 1173if ((globConfig != null) && (!String.IsNullOrEmpty(globConfig.UICulture))) { 1257if (ce != null && !String.IsNullOrEmpty(ce.Filename)) 2326if (String.IsNullOrEmpty(destinationUrl)) { 2481if (String.IsNullOrEmpty(url)) 3000if (string.IsNullOrEmpty(path) || !UrlPath.IsValidVirtualPathWithoutProtocol(path)) { 3180if (String.IsNullOrEmpty(value)) { 3286if (String.IsNullOrEmpty(_appPathModifier)) 3299return !String.IsNullOrEmpty(_appPathModifier); 3609if (String.IsNullOrEmpty(item)) {
HttpRuntime.cs (6)
468if (trustSection == null || String.IsNullOrEmpty(trustSection.Level)) { 886if (compilationSection != null && !String.IsNullOrEmpty(compilationSection.TempDirectory)) { 1329if (!String.IsNullOrEmpty(globConfig.Culture) && 1333if (!String.IsNullOrEmpty(globConfig.UICulture) && 2278if (String.IsNullOrEmpty(stackTrace) && !BuildManagerHost.InClientBuildManager) { 2660if (String.IsNullOrEmpty(path))
HttpServerVarsCollection.cs (1)
199if (String.IsNullOrEmpty(var)) {
HttpValueCollection.cs (2)
56if (!String.IsNullOrEmpty(str)) 111if (!String.IsNullOrEmpty(value)) {
Management\EventlogProvider.cs (2)
141if (!String.IsNullOrEmpty(stackTrace)) { 266if (String.IsNullOrEmpty(s)) {
Management\MailWebEventProvider.cs (5)
56if (String.IsNullOrEmpty(_to) && 57String.IsNullOrEmpty(_cc) && 58String.IsNullOrEmpty(_bcc) ) 114if (!String.IsNullOrEmpty(_cc)) { 118if (!String.IsNullOrEmpty(_bcc)) {
Management\regiisutil.cs (3)
292if (string.IsNullOrEmpty(appPath)) { 298if (string.IsNullOrEmpty(location)) 313String.IsNullOrEmpty(site) ? SR.GetString(SR.DefaultSiteName) : site), e);
Management\SqlServices.cs (4)
619if (!string.IsNullOrEmpty(table)) 646if (type == SessionStateType.Custom && String.IsNullOrEmpty(customDatabase)) { 701if (String.IsNullOrEmpty(server)) { 711if (String.IsNullOrEmpty(user)) {
Management\SqlWebEventProvider.cs (3)
50if (!String.IsNullOrEmpty(temp)) { 51if (!String.IsNullOrEmpty(_sqlConnectionString)) { 68if (String.IsNullOrEmpty(_sqlConnectionString)) {
ModelBinding\AssociatedMetadataProvider.cs (1)
44if (String.IsNullOrEmpty(propertyName)) {
ModelBinding\AssociatedValidatorProvider.cs (1)
21if (metadata.ContainerType != null && !String.IsNullOrEmpty(metadata.PropertyName)) {
ModelBinding\BinaryDataModelBinderProvider.cs (1)
39if (String.IsNullOrEmpty(base64string)) {
ModelBinding\ControlValueProvider.cs (3)
23if (String.IsNullOrEmpty(controlId)) { 42if (String.IsNullOrEmpty(propertyName)) { 43if ((controlValueProp != null) && (!String.IsNullOrEmpty(controlValueProp.Name))) {
ModelBinding\DataAnnotationsModelMetadata.cs (1)
19if (_displayColumnAttribute != null && !String.IsNullOrEmpty(_displayColumnAttribute.DisplayColumn)) {
ModelBinding\DataAnnotationsModelMetadataProvider.cs (1)
28?? uiHintAttributes.FirstOrDefault(a => String.IsNullOrEmpty(a.PresentationLayer));
ModelBinding\DataAnnotationsModelValidator.cs (2)
141return (!string.IsNullOrEmpty(Attribute.ErrorMessage) && 142string.IsNullOrEmpty(Attribute.ErrorMessageResourceName) &&
ModelBinding\DefaultModelBinder.cs (1)
18if (binder == null && !String.IsNullOrEmpty(bindingContext.ModelName)
ModelBinding\ModelBinderErrorMessageProviders.cs (1)
62return (!String.IsNullOrEmpty(resourceClassKey) && (modelBindingExecutionContext != null) && (modelBindingExecutionContext.HttpContext != null))
ModelBinding\ModelBinderUtil.cs (2)
22if (String.IsNullOrEmpty(prefix)) { 25else if (String.IsNullOrEmpty(propertyName)) {
ModelBinding\ModelMetadata.cs (1)
375if (containerType != null && !String.IsNullOrEmpty(propertyName)) {
ModelBinding\ValueProviderUtil.cs (2)
7if (String.IsNullOrEmpty(prefix)) { 10else if (String.IsNullOrEmpty(propertyName)) {
OutputCacheModule.cs (3)
326if (String.IsNullOrEmpty(acceptEncoding)) { 465if (String.IsNullOrEmpty(contentEncoding)) { 469if (String.IsNullOrEmpty(acceptEncoding)) {
parent\parent\parent\misc\ConfigPathUtility.cs (3)
27if (String.IsNullOrEmpty(configPath)) { 118Debug.Assert(String.IsNullOrEmpty(configPath) || IsValid(configPath), "String.IsNullOrEmpty(configPath) || IsValid(configPath)"); 120if (String.IsNullOrEmpty(configPath)) {
Profile\Attributes.cs (1)
58return string.IsNullOrEmpty(_CustomProviderData);
Profile\HttpProfileBase.cs (2)
453if (!string.IsNullOrEmpty(customData)) 521if (!string.IsNullOrEmpty(pps.CustomProviderData))
Profile\ProfileModule.cs (1)
126if (context.Request.IsAuthenticated && !string.IsNullOrEmpty(context.Request.AnonymousID) && _MigrateEventHandler != null)
Profile\SqlProfileProvider.cs (4)
49if (string.IsNullOrEmpty(config["description"])) { 60if (string.IsNullOrEmpty(_AppName)) 77if (!String.IsNullOrEmpty(attribUnrecognized)) 136if (!String.IsNullOrEmpty(username))
RequestQueue.cs (1)
55if (String.IsNullOrEmpty(remoteAddress))
Routing\PageRouteHandler.cs (1)
23if (string.IsNullOrEmpty(virtualPath) || !virtualPath.StartsWith("~/", StringComparison.OrdinalIgnoreCase)) {
Routing\ParsedRoute.cs (2)
510if (String.IsNullOrEmpty(requestPathSegment)) { 619if (String.IsNullOrEmpty(parameterValueString)) {
Routing\RouteCollection.cs (4)
53if (String.IsNullOrEmpty(name)) { 69if (!String.IsNullOrEmpty(name)) { 81if (!String.IsNullOrEmpty(name)) { 265if (!String.IsNullOrEmpty(name)) {
Routing\RouteData.cs (1)
51if (!String.IsNullOrEmpty(valueString)) {
Routing\RouteParser.cs (1)
177if (String.IsNullOrEmpty(url)) {
Security\ADMembershipProvider.cs (12)
319if (String.IsNullOrEmpty(name)) 322if (string.IsNullOrEmpty(config["description"])) 332if (string.IsNullOrEmpty(appName)) 339if (String.IsNullOrEmpty(temp)) 343if (String.IsNullOrEmpty(adConnectionString)) 595if (!string.IsNullOrEmpty(temp)) 630if (!String.IsNullOrEmpty(attribUnrecognized)) 705if (!string.IsNullOrEmpty(passwordAnswer)) 1044if (!string.IsNullOrEmpty(newPasswordAnswer)) 3127if (String.IsNullOrEmpty(connectionStringName)) 3700if (String.IsNullOrEmpty(containerDN)) 4111if (!String.IsNullOrEmpty(tempUsername))
Security\AnonymousIdentificationModule.cs (1)
227if (string.IsNullOrEmpty(context.Request.AnonymousID)) {
Security\AntiXss\AntiXssEncoder.cs (1)
47if (String.IsNullOrEmpty(value)) {
Security\AntiXss\CssEncoder.cs (1)
29if (string.IsNullOrEmpty(input)) {
Security\AntiXss\HtmlParameterEncoder.cs (1)
90if (string.IsNullOrEmpty(s)) {
Security\AntiXss\UnicodeCharacterEncoder.cs (1)
232if (string.IsNullOrEmpty(input)) {
Security\AuthStoreRoleProvider.cs (6)
79if (String.IsNullOrEmpty(name)) 83if (string.IsNullOrEmpty(config["description"])) { 104if (string.IsNullOrEmpty(connObj.ConnectionString)) 109if (string.IsNullOrEmpty(_AppName)) 124if (!String.IsNullOrEmpty(attribUnrecognized)) 626if (!string.IsNullOrEmpty(_ScopeName)) {
Security\CookielessHelper.cs (7)
54if (!String.IsNullOrEmpty(_Headers)) { 106if (!String.IsNullOrEmpty(_Headers)) { 165if (!String.IsNullOrEmpty(cookieValue)) { 183if (String.IsNullOrEmpty(headers)) { 252if (!String.IsNullOrEmpty(cookieHeader)) { // Yes, client sent request cookies 291if (String.IsNullOrEmpty(redirectPath)) { 340if (!String.IsNullOrEmpty(cookieHeader)) {
Security\FormsAuthentication.cs (8)
136if (String.IsNullOrEmpty(encryptedTicket) || encryptedTicket.Length > MAX_TICKET_LENGTH) 535if (!string.IsNullOrEmpty(returnUrl) && !returnUrl.Contains("/") && returnUrl.Contains("%")) 540if (!string.IsNullOrEmpty(returnUrl) && !EnableCrossAppRedirects) { 546if (!string.IsNullOrEmpty(returnUrl) && CrossSiteScriptingValidation.IsDangerousUrl(returnUrl)) 651if (!String.IsNullOrEmpty(defaultUrl)) { 655if (!String.IsNullOrEmpty(loginUrl)) { 724if (!String.IsNullOrEmpty(AppSettings.FormsAuthReturnUrlVar)) { 755if (!String.IsNullOrEmpty(extraQueryString)) {
Security\FormsAuthenticationModule.cs (1)
269if (!String.IsNullOrEmpty(FormsAuthentication.LoginUrl))
Security\Membership.cs (1)
450s_HashAlgorithmFromConfig = !string.IsNullOrEmpty(s_HashAlgorithmType);
Security\MembershipPasswordAttribute.cs (1)
176if (String.IsNullOrEmpty(valueAsString)) {
Security\PassportIdentity.cs (1)
834if (!String.IsNullOrEmpty(str)) {
Security\RoleManagerModule.cs (2)
116if (!String.IsNullOrEmpty(Roles.CookiePath) && Roles.CookiePath != "/") { 177if (string.IsNullOrEmpty(s) || s.Length > MAX_COOKIE_LENGTH) {
Security\RolePrincipal.cs (2)
104if (string.IsNullOrEmpty(encryptedTicket)) 240if (_Identity == null && string.IsNullOrEmpty(_Username))
Security\SQLMembershipProvider.cs (10)
72if (String.IsNullOrEmpty(value)) 110if (String.IsNullOrEmpty(name)) 112if (string.IsNullOrEmpty(config["description"])) { 155if (string.IsNullOrEmpty(_AppName)) 190if (!string.IsNullOrEmpty(temp)) 211if (!String.IsNullOrEmpty(attribUnrecognized)) 266if (!string.IsNullOrEmpty(passwordAnswer)) { 451if (!string.IsNullOrEmpty(newPasswordAnswer)) { 710if (!string.IsNullOrEmpty(passwordAnswer)) 1792if (string.IsNullOrEmpty(passwordAnswer))
Security\SQLRoleProvider.cs (4)
50if (String.IsNullOrEmpty(name)) 52if (string.IsNullOrEmpty(config["description"])) { 65if (string.IsNullOrEmpty(_AppName)) 80if (!String.IsNullOrEmpty(attribUnrecognized))
Security\WindowsTokenRoleProvider.cs (4)
44if (String.IsNullOrEmpty(name)) 46if (string.IsNullOrEmpty(config["description"])) { 55if (string.IsNullOrEmpty(_AppName)) 67if (!String.IsNullOrEmpty(attribUnrecognized))
SiteMapNode.cs (2)
369if (String.IsNullOrEmpty(url)) { 511if (!String.IsNullOrEmpty(_resourceKey)) {
SiteMapProvider.cs (1)
317if (string.IsNullOrEmpty(attributes["description"])) {
State\InProcStateClientManager.cs (1)
81if (String.IsNullOrEmpty(name))
State\OutOfProcStateClientManager.cs (1)
61if (String.IsNullOrEmpty(name))
State\SessionIDManager.cs (1)
368if (!String.IsNullOrEmpty(qs)) {
State\SessionStateModule.cs (3)
271if (String.IsNullOrEmpty(providerName)) { 292if (String.IsNullOrEmpty(partitionResolverType)) { 316if (String.IsNullOrEmpty(sessionIDManagerType)) {
State\sqlstateclientmanager.cs (4)
106if (String.IsNullOrEmpty(name)) 213if (String.IsNullOrEmpty(database)) { 218if (!String.IsNullOrEmpty(database)) { 328if (String.IsNullOrEmpty(logon)) {
StaticSiteMapProvider.cs (1)
102if (!String.IsNullOrEmpty(url)) {
ThreadContext.cs (2)
299if (!String.IsNullOrEmpty(globConfig.Culture)) 302if (!String.IsNullOrEmpty(globConfig.UICulture))
UI\BoundPropertyEntry.cs (1)
115get { return String.IsNullOrEmpty(ExpressionPrefix); }
UI\ClientScriptManager.cs (12)
147if (String.IsNullOrEmpty(uniqueId)) { 169if (!String.IsNullOrEmpty(fieldValue)) { 197if (String.IsNullOrEmpty(unsafeField)) { 233if (String.IsNullOrEmpty(uniqueId)) { 432string.IsNullOrEmpty(options.ActionUrl)) { 452if (String.IsNullOrEmpty(options.Argument)) { 542if (String.IsNullOrEmpty(resourceName)) { 828if (String.IsNullOrEmpty(url)) { 917if (String.IsNullOrEmpty(script)) { 1133if (!String.IsNullOrEmpty(_owner.ClientOnSubmitEvent) && _owner.ClientSupportsJavaScript) { 1219if (!String.IsNullOrEmpty(localPath)) { 1323if (String.IsNullOrEmpty(argument)) {
UI\Control.cs (9)
280if (String.IsNullOrEmpty(predictableIDPrefix)) { 284if (!String.IsNullOrEmpty(_id) && (!(this is IDataItemContainer) || (this is IDataBoundItemControl))) { 331if (!String.IsNullOrEmpty(suffixID)) { 332if (!String.IsNullOrEmpty(_cachedPredictableID)) { 339return String.IsNullOrEmpty(_cachedPredictableID) ? String.Empty : _cachedPredictableID; 1676if (!String.IsNullOrEmpty(uniqueID)) { 2141if (String.IsNullOrEmpty(virtualPath)) { 2997if (String.IsNullOrEmpty(baseUrl)) { 3030if (String.IsNullOrEmpty(tplSourceDir))
UI\ControlBuilder.cs (19)
693Debug.Assert(!String.IsNullOrEmpty(name)); 700if (String.IsNullOrEmpty(expressionPrefix)) { 702if (String.IsNullOrEmpty(controlID)) { 726Debug.Assert(!(String.IsNullOrEmpty(expressionPrefix) ^ (expressionBuilder == null)), "expressionBuilder should be non-null iff expressionPrefix is non-empty"); 757if (!String.IsNullOrEmpty(entry.Filter)) { 885Debug.Assert(!String.IsNullOrEmpty(name)); 954Debug.Assert(!String.IsNullOrEmpty(name)); 973if (!String.IsNullOrEmpty(filter)) { 1080if (String.IsNullOrEmpty(value)) { 1141Debug.Assert(!String.IsNullOrEmpty(name)); 1326if (!String.IsNullOrEmpty(text)) { 1825if (String.IsNullOrEmpty(filter) || filterResolutionService.EvaluateFilter(filter)) { 1834if (String.IsNullOrEmpty(entry.Filter)) { 2040if (!String.IsNullOrEmpty(SkinID)) { 2297if (String.IsNullOrEmpty(expressionPrefix)) { 2313if (!String.IsNullOrEmpty(expressionPrefix)) { 3122if (!FilterableAttribute.IsPropertyFilterable(propDesc) && !String.IsNullOrEmpty(filter)) { 3291if (String.IsNullOrEmpty(entry1.Filter)) { 3300if (String.IsNullOrEmpty(entry2.Filter)) {
UI\ControlPropertyNameConverter.cs (1)
56if (String.IsNullOrEmpty(controlID))
UI\CssStyleCollection.cs (1)
181if (String.IsNullOrEmpty(key)) {
UI\CssTextWriter.cs (1)
119if (!String.IsNullOrEmpty(styleName)) {
UI\DataBinder.cs (5)
134if (String.IsNullOrEmpty(format)) { 164if (String.IsNullOrEmpty(propName)) { 193if (String.IsNullOrEmpty(format)) { 209if (String.IsNullOrEmpty(expr)) { 300if (String.IsNullOrEmpty(format)) {
UI\DataSourceCache.cs (3)
126if (String.IsNullOrEmpty(key)) { 144if (String.IsNullOrEmpty(key)) { 193if (String.IsNullOrEmpty(key)) {
UI\DataSourceHelper.cs (1)
44if (String.IsNullOrEmpty(dataMember)) {
UI\DataSourceSelectArguments.cs (1)
101if (String.IsNullOrEmpty(value)) {
UI\DesignTimeParseData.cs (1)
40if (String.IsNullOrEmpty(parseText)) {
UI\DesignTimeTemplateParser.cs (4)
164if (String.IsNullOrEmpty(filterName)) { 176if (String.IsNullOrEmpty(filter1)) { 177if (!String.IsNullOrEmpty(filter2)) { 184if (String.IsNullOrEmpty(filter2)) {
UI\HiddenFieldPageStatePersister.cs (2)
31if (!String.IsNullOrEmpty(viewStateString) || !String.IsNullOrEmpty(Page.ViewStateUserKey)) {
UI\HtmlControls\HtmlAnchor.cs (1)
236Debug.Assert(!string.IsNullOrEmpty(postBackEventReference));
UI\HtmlControls\HtmlControl.cs (1)
259if (String.IsNullOrEmpty(url))
UI\HtmlControls\HtmlHead.cs (2)
210if (_description == null && !String.IsNullOrEmpty(_cachedDescription)) { 218if (_keywords == null && !String.IsNullOrEmpty(_cachedKeywords)) {
UI\HtmlControls\HtmlInputCheckBox.cs (1)
149bool newValue = !String.IsNullOrEmpty(post);
UI\HtmlControls\HtmlInputControl.cs (2)
133if (!string.IsNullOrEmpty(s)) { 154if (!String.IsNullOrEmpty(type)) {
UI\HtmlControls\HtmlLink.cs (1)
40if (!String.IsNullOrEmpty(Href)) {
UI\HtmlForm.cs (4)
270if (!String.IsNullOrEmpty(actionProperty)) { 311if (String.IsNullOrEmpty(action) && RenderingCompatibility >= VersionUtil.Framework45) { 323if (!String.IsNullOrEmpty(queryString)) { 399if (!String.IsNullOrEmpty(onSubmit)) {
UI\HTMLTextWriter.cs (2)
823if (!String.IsNullOrEmpty(attrName)) { 848if (!String.IsNullOrEmpty(tagName)) {
UI\IndexedString.cs (1)
18if (String.IsNullOrEmpty(s)) {
UI\ObjectStateFormatter.cs (1)
366if (String.IsNullOrEmpty(inputString)) {
UI\Page.cs (31)
1350if (!String.IsNullOrEmpty(value) && !FileUtil.IsValidDirectoryName(value)) { 1570if (!String.IsNullOrEmpty(_errorPage)) { 2139if (!String.IsNullOrEmpty(ViewStateUserKey)) { 2561if (String.IsNullOrEmpty(_validatorInvalidControl)) { 2634if (!String.IsNullOrEmpty(styleSheetName)) { 2653if (!String.IsNullOrEmpty(themeName)) { 3326bool hasEventSource = (!String.IsNullOrEmpty(eventSource)); 3583if (String.IsNullOrEmpty(varyByContentEncoding)) { 3586if (String.IsNullOrEmpty(varyByHeader)) { 3589if (String.IsNullOrEmpty(varyByCustom)) { 3592if (String.IsNullOrEmpty(varyByParam)) { 3595if (String.IsNullOrEmpty(varyByControl)) { 3744if (String.IsNullOrEmpty(varyByParam) && 3745String.IsNullOrEmpty(varyByControl) && 3750if (!String.IsNullOrEmpty(varyByParam)) { 3756if (!String.IsNullOrEmpty(varyByControl)) { 3773if (!String.IsNullOrEmpty(sqlDependency)) { 4669if (String.IsNullOrEmpty(exportedWebPartID)) { 4965if (String.IsNullOrEmpty(exportedWebPartID)) { 5277if (String.IsNullOrEmpty(title)) { 5331bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5367bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5379bool needsCallbackLoadScript = !String.IsNullOrEmpty(_requestValueCollection[callbackLoadScriptID]); 5384if (String.IsNullOrEmpty(index)) { 5579if (!String.IsNullOrEmpty(_clientTarget)) { 5597if (!String.IsNullOrEmpty(preferredResponseEncoding)) { 5601if(!String.IsNullOrEmpty(preferredRequestEncoding)) { 5616if (!String.IsNullOrEmpty(_titleToBeSet)) { 5626if (!String.IsNullOrEmpty(_descriptionToBeSet)) { 5636if (!String.IsNullOrEmpty(_keywordsToBeSet)) { 6197if (String.IsNullOrEmpty(validationGroup) &&
UI\PageAdapter.cs (6)
62if (!String.IsNullOrEmpty(queryString)) { 126if (String.IsNullOrEmpty(groupName)) 173if (!String.IsNullOrEmpty(accessKey)) { 210bool isCrossPagePostBack = !String.IsNullOrEmpty(postUrl); 261if (!String.IsNullOrEmpty(queryStringText)) { 267if (!String.IsNullOrEmpty(accessKey)) {
UI\PageParser.cs (1)
113if (!String.IsNullOrEmpty(inputFile)) {
UI\PageTheme.cs (1)
170if (String.IsNullOrEmpty(skinID)) {
UI\ParsedAttributeCollection.cs (4)
53if (String.IsNullOrEmpty(name)) { 85Debug.Assert(!String.IsNullOrEmpty(name)); 140if (String.IsNullOrEmpty(name)) { 163if (String.IsNullOrEmpty(name)) {
UI\PartialCachingControl.cs (2)
288if (String.IsNullOrEmpty(value)) { 520Debug.Assert(!String.IsNullOrEmpty(prefix));
UI\SessionPageStatePersister.cs (1)
48if (!String.IsNullOrEmpty(combinedSerializedStateString)) {
UI\StateBag.cs (2)
125if (String.IsNullOrEmpty(key)) 161if (String.IsNullOrEmpty(key))
UI\TagNameToTypeMapper.cs (3)
77if (String.IsNullOrEmpty(ns)) { 330if (!String.IsNullOrEmpty(nsRegisterEntry.AssemblyName)) 334if (!String.IsNullOrEmpty(nsRegisterEntry.Namespace))
UI\TagPrefixAttribute.cs (2)
21if (String.IsNullOrEmpty(namespaceName)) { 24if (String.IsNullOrEmpty(tagPrefix)) {
UI\TemplateParser.cs (2)
1289if (String.IsNullOrEmpty(literal)) { 1364if (String.IsNullOrEmpty(script)) {
UI\Util.cs (7)
1040if (String.IsNullOrEmpty(ns)) 1130if (String.IsNullOrEmpty(s)) 1269if (String.IsNullOrEmpty(location)) 1309Debug.Assert(!String.IsNullOrEmpty(assemblyPath)); 1424if (String.IsNullOrEmpty(value)) { 1645Debug.Assert(!String.IsNullOrEmpty(secondScript)); 1647if (!String.IsNullOrEmpty(firstScript)) {
UI\WebControls\AccessDataSource.cs (1)
58if (String.IsNullOrEmpty(dataFile)) {
UI\WebControls\AccessDataSourceView.cs (1)
38if (String.IsNullOrEmpty(_owner.DataFile)) {
UI\WebControls\Adapters\MenuAdapter.cs (4)
51if (String.IsNullOrEmpty(path)) { 438if (String.IsNullOrEmpty(target)) { 441if (!String.IsNullOrEmpty(target)) { 567if (!String.IsNullOrEmpty(className)) {
UI\WebControls\AdCreatedEventArgs.cs (2)
142String index = (String.IsNullOrEmpty(keyIndex)) ? defaultIndex : keyIndex; 151if (!String.IsNullOrEmpty(temp)) {
UI\WebControls\AdRotator.cs (12)
120if (!String.IsNullOrEmpty(AdvertisementFile)) { 200if (String.IsNullOrEmpty(value)) { 315if (!String.IsNullOrEmpty(id)) { 455string fileKey = CacheInternal.PrefixAdRotator + ((!String.IsNullOrEmpty(physicalPath)) ? 470if (!String.IsNullOrEmpty(physicalPath) && HttpRuntime.HasPathDiscoveryPermission(physicalPath)) { 772if (!String.IsNullOrEmpty(id)) { 788if (!String.IsNullOrEmpty(accessKey)) { 810if (!String.IsNullOrEmpty(alternateText)) { 828if (!String.IsNullOrEmpty(imageUrl)) { 841if (!String.IsNullOrEmpty(toolTip)) { 873bool noKeywordFilter = String.IsNullOrEmpty(keywordFilter); 963if (String.IsNullOrEmpty(impressionsString) ||
UI\WebControls\BaseDataBoundControl.cs (2)
87if (String.IsNullOrEmpty(value) && !String.IsNullOrEmpty(DataSourceID)) {
UI\WebControls\BoundField.cs (3)
427if (!String.IsNullOrEmpty(formatting)) { 432if (!String.IsNullOrEmpty(dataValueString) && encode) { 549if (encode && !String.IsNullOrEmpty(unencodedHeaderText)) {
UI\WebControls\BulletedList.cs (2)
404if (!String.IsNullOrEmpty(target)) { 443else if (!isItemEnabled && !String.IsNullOrEmpty(DisabledCssClass)) {
UI\WebControls\Button.cs (2)
341if (!String.IsNullOrEmpty(PostBackUrl)) { 380!String.IsNullOrEmpty(PostBackUrl)) {
UI\WebControls\Calendar.cs (2)
949if (!String.IsNullOrEmpty(title)) { 1329if (!String.IsNullOrEmpty(title)) {
UI\WebControls\ChangePassword.cs (11)
682if (String.IsNullOrEmpty(password) && _changePasswordContainer != null) { 1012if (String.IsNullOrEmpty(password) && _changePasswordContainer != null) { 1496if (String.IsNullOrEmpty(userName) && _changePasswordContainer != null && DisplayUserName) { 1728if (!String.IsNullOrEmpty(failureText)) { 1941if (!String.IsNullOrEmpty(cancelPageUrl)) { 1994if (!String.IsNullOrEmpty(continuePageUrl)) { 2009if (!String.IsNullOrEmpty(userName)) { 2062if (_mailDefinition != null && !String.IsNullOrEmpty(email)) { 2068if (!String.IsNullOrEmpty(successPageUrl)) { 2260_passwordHintTableRow.Visible = !String.IsNullOrEmpty(PasswordHintText); 2656if (!String.IsNullOrEmpty(userName)) {
UI\WebControls\CheckBox.cs (3)
413else if (!Enabled && !String.IsNullOrEmpty(DisabledCssClass)) { 414if (String.IsNullOrEmpty(CssClass)) { 602bool isChecked = (!String.IsNullOrEmpty(post));
UI\WebControls\CheckBoxList.cs (2)
231if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 541if (!string.IsNullOrEmpty(_controlToRepeat.CssClass)) {
UI\WebControls\ChildTable.cs (1)
85if (!String.IsNullOrEmpty(id)) {
UI\WebControls\CompositeDataBoundControl.cs (4)
23return !String.IsNullOrEmpty(SelectMethod) || 24!String.IsNullOrEmpty(UpdateMethod) || 25!String.IsNullOrEmpty(DeleteMethod) || 26!String.IsNullOrEmpty(InsertMethod);
UI\WebControls\ContentPlaceHolder.cs (1)
34if (String.IsNullOrEmpty(ID)) {
UI\WebControls\ControlParameter.cs (1)
166if ((controlValueProp != null) && (!String.IsNullOrEmpty(controlValueProp.Name))) {
UI\WebControls\CreateUserWizard.cs (19)
167if (String.IsNullOrEmpty(Answer) && _createUserStepContainer != null) { 174if (String.IsNullOrEmpty(answer)) { 766if (String.IsNullOrEmpty(email) && _createUserStepContainer != null) { 1215if (String.IsNullOrEmpty(password) && !AutoGeneratePassword && _createUserStepContainer != null) { 1372if (String.IsNullOrEmpty(question) && _createUserStepContainer != null) { 1379if (String.IsNullOrEmpty(question)) question = null; 1559if (String.IsNullOrEmpty(userName) && _createUserStepContainer != null) { 1766if (!String.IsNullOrEmpty(UserNameInternal)) { 1773if (!String.IsNullOrEmpty(EmailInternal)) { 1780if (!String.IsNullOrEmpty(QuestionInternal)) { 1787if (!String.IsNullOrEmpty(AnswerInternal)) { 1822if (!String.IsNullOrEmpty(PasswordHintText) && !AutoGeneratePassword) { 2007if (_failure && !String.IsNullOrEmpty(_unknownErrorMessage)) { 2123if (_mailDefinition != null && !String.IsNullOrEmpty(EmailInternal)) { 2161if (!String.IsNullOrEmpty(invalidPasswordErrorMessage)) { 2692if (!String.IsNullOrEmpty(continuePageUrl)) { 2743if (errorMessageLabel != null && !String.IsNullOrEmpty(_unknownErrorMessage)) { 2766if (!String.IsNullOrEmpty(providerString)) { 2862if (_failure && !String.IsNullOrEmpty(_unknownErrorMessage)) {
UI\WebControls\DataBoundControl.cs (1)
76return !String.IsNullOrEmpty(SelectMethod);
UI\WebControls\DataBoundControlHelper.cs (1)
32Debug.Assert(!String.IsNullOrEmpty(controlID), "controlID should not be empty");
UI\WebControls\DataControlFieldHeaderCell.cs (1)
73if (!String.IsNullOrEmpty(abbr)) {
UI\WebControls\DataControlImageButton.cs (1)
60if (!String.IsNullOrEmpty(callbackScript)) {
UI\WebControls\DataControlLinkButton.cs (1)
67if (!String.IsNullOrEmpty(callbackScript)) {
UI\WebControls\DataGrid.cs (1)
1100Table table = new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
UI\WebControls\DetailsView.cs (5)
2137return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2270if (!String.IsNullOrEmpty(argument)) { 2875if (!String.IsNullOrEmpty(oldDataKeyString)) { 2975if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 3138if (!String.IsNullOrEmpty(hiddenFieldState)) {
UI\WebControls\FilteredDataSetHelper.cs (2)
28if (!String.IsNullOrEmpty(sortExpression)) { 33if (!String.IsNullOrEmpty(filterExpression)) {
UI\WebControls\FontUnit.cs (1)
158if (!String.IsNullOrEmpty(value)) {
UI\WebControls\FormView.cs (5)
1832return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2523if (!String.IsNullOrEmpty(BackImageUrl)) { 2542!String.IsNullOrEmpty(Font.Name) || 2611if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 2864if (!string.IsNullOrEmpty(propertyName)) {
UI\WebControls\GridView.cs (11)
1891if (String.IsNullOrEmpty(_sortExpressionSerialized)) { 2319return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2391if (SortDirectionInternal == SortDirection.Descending && !String.IsNullOrEmpty(sortExpression)) { 2791if (String.IsNullOrEmpty(argument)) { 3514if (!String.IsNullOrEmpty(sortExpressionSerialized) || !String.IsNullOrEmpty(dataKeysSerialized)) { 3519if (!String.IsNullOrEmpty(sortExpressionSerialized)) { 3522if (!String.IsNullOrEmpty(dataKeysSerialized)) { 3645if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 3667if (!String.IsNullOrEmpty(hiddenFieldState)) { 3937if (!String.IsNullOrEmpty(SortExpression) && String.Equals(field.SortExpression, SortExpression, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Image.cs (1)
202if (!String.IsNullOrEmpty(s) || DesignMode) {
UI\WebControls\ImageButton.cs (5)
334if (!String.IsNullOrEmpty(postBackEventReference)) { 363if (!String.IsNullOrEmpty(PostBackUrl)) { 392if (!String.IsNullOrEmpty(postX) && !String.IsNullOrEmpty(postY)) { 451!String.IsNullOrEmpty(PostBackUrl))) {
UI\WebControls\LinkButton.cs (3)
306if (String.IsNullOrEmpty(postBackEventReference)) { 348if (!String.IsNullOrEmpty(PostBackUrl)) { 446!String.IsNullOrEmpty(PostBackUrl)) {
UI\WebControls\ListControl.cs (1)
853if (String.IsNullOrEmpty(owner.ID)) {
UI\WebControls\login.cs (6)
616if (String.IsNullOrEmpty(password) && _templateContainer != null) { 918if (String.IsNullOrEmpty(userName) && _templateContainer != null) { 1173if (!String.IsNullOrEmpty(returnUrl)) { 1177if (!String.IsNullOrEmpty(destinationPageUrl)) { 1185if (!String.IsNullOrEmpty(destinationPageUrl)) { 1701if (!String.IsNullOrEmpty(userName)) {
UI\WebControls\LoginName.cs (4)
67if (!String.IsNullOrEmpty(UserName)) { 74if (!String.IsNullOrEmpty(UserName)) { 81if (!String.IsNullOrEmpty(UserName)) { 92if (!String.IsNullOrEmpty(userName)) {
UI\WebControls\loginstatus.cs (1)
317if (!String.IsNullOrEmpty(url)) {
UI\WebControls\LoginUtil.cs (5)
28if (!String.IsNullOrEmpty(text)) { 86if (String.IsNullOrEmpty(mailDefinition.BodyFileName) && defaultBody != null) { 96if (String.IsNullOrEmpty(providerName)) { 352if (!string.IsNullOrEmpty(propertyName)) { 465if (!String.IsNullOrEmpty(control.CssClass)) {
UI\WebControls\MailDefinition.cs (8)
210if (!String.IsNullOrEmpty(bodyFileName)) { 238if (String.IsNullOrEmpty(from)) { 240if (smtpSection == null || smtpSection.Network == null || String.IsNullOrEmpty(smtpSection.From)) { 251if (!String.IsNullOrEmpty(CC)) { 254if (!String.IsNullOrEmpty(Subject)) { 260if (replacements != null && !String.IsNullOrEmpty(body)) { 286if (String.IsNullOrEmpty(path)) { 322else if (!String.IsNullOrEmpty(body)) {
UI\WebControls\Menu.cs (15)
1320(!String.IsNullOrEmpty(DataSourceID) || DataSource != null)) { 1480if (String.IsNullOrEmpty(text) && !String.IsNullOrEmpty(level.Text)) { 1499if (String.IsNullOrEmpty(value) && !String.IsNullOrEmpty(level.Value)) { 1518if (String.IsNullOrEmpty(target)) { 1537if (String.IsNullOrEmpty(imageUrl)) { 1556if (String.IsNullOrEmpty(navigateUrl)) { 1575if (String.IsNullOrEmpty(popOutImageUrl)) { 1594if (String.IsNullOrEmpty(separatorImageUrl)) { 1613if (String.IsNullOrEmpty(toolTip)) { 1672if (String.IsNullOrEmpty(navigateUrl)) { 2151if (!String.IsNullOrEmpty(DataSourceID) || DataSource != null) { 2259String.IsNullOrEmpty(DataSourceID) && DataSource == null) { 2269if (!String.IsNullOrEmpty(DataSourceID) ||
UI\WebControls\MenuItem.cs (3)
114if (!String.IsNullOrEmpty(imageUrl)) { 118if (!String.IsNullOrEmpty(navigateUrl)) { 122if (!String.IsNullOrEmpty(target)) {
UI\WebControls\MenuItemBinding.cs (1)
514return (String.IsNullOrEmpty(DataMember) ?
UI\WebControls\MenuRendererClassic.cs (8)
141if (!String.IsNullOrEmpty(Menu._dynamicHoverStyle.CssClass)) { 142if (!String.IsNullOrEmpty(Menu._dynamicHoverStyle.RegisteredCssClass)) { 152if (!String.IsNullOrEmpty(Menu._dynamicHoverStyle.CssClass)) { 153if (!String.IsNullOrEmpty(Menu._dynamicHoverHyperLinkStyle.RegisteredCssClass)) { 165if (!String.IsNullOrEmpty(Menu._staticHoverStyle.CssClass)) { 166if (!String.IsNullOrEmpty(Menu._staticHoverStyle.RegisteredCssClass)) { 176if (!String.IsNullOrEmpty(Menu._staticHoverStyle.CssClass)) { 177if (!String.IsNullOrEmpty(Menu._staticHoverHyperLinkStyle.RegisteredCssClass)) {
UI\WebControls\MenuRendererStandards.cs (19)
167if (!String.IsNullOrEmpty(StaticPopOutUrl)) { 175if (!String.IsNullOrEmpty(DynamicPopOutUrl)) { 276if (style != null && !String.IsNullOrEmpty(style.CssClass)) { 283if (levelStyle != null && !String.IsNullOrEmpty(levelStyle.CssClass)) { 293if (String.IsNullOrEmpty(url) && Menu.DynamicEnableDefaultPopOutImage) { 301if (String.IsNullOrEmpty(url) && Menu.StaticEnableDefaultPopOutImage) { 316if (!String.IsNullOrEmpty(DynamicPopOutUrl)) { 320else if (!String.IsNullOrEmpty(StaticPopOutUrl)) { 325if (!String.IsNullOrEmpty(cssClass)) { 391if (!String.IsNullOrEmpty(cssClass)) { 405RenderItems(writer, staticOnly || Menu.DesignMode || !Menu.Enabled, Menu.Items, 1, !String.IsNullOrEmpty(Menu.AccessKey)); 440if (String.IsNullOrEmpty(item.ImageUrl) || !item.NotTemplated()) { 453if (!String.IsNullOrEmpty(item.ToolTip)) { 479if (String.IsNullOrEmpty(item.NavigateUrl)) { 488if (String.IsNullOrEmpty(target)) { 491if (!String.IsNullOrEmpty(target)) { 501if (String.IsNullOrEmpty(separatorImageUrl)) { 507if (!String.IsNullOrEmpty(separatorImageUrl)) { 517if (!String.IsNullOrEmpty(separatorImageUrl)) {
UI\WebControls\ModelDataSourceView.cs (7)
421if (!String.IsNullOrEmpty(arguments.SortExpression)) { 471if (String.IsNullOrEmpty(sortExpression) && !String.IsNullOrEmpty(DataKeyName)) { 497bool shouldSort = !String.IsNullOrEmpty(arguments.SortExpression); 936if (!String.IsNullOrEmpty(SelectMethod)) { 1097if (!String.IsNullOrEmpty(name)) { 1284if (String.IsNullOrEmpty(modelTypeName)) {
UI\WebControls\ModelErrorMessage.cs (2)
90ModelError error = modelState.Errors.FirstOrDefault(modelError => !String.IsNullOrEmpty(modelError.ErrorMessage)); 97if (!String.IsNullOrEmpty(validateId)) {
UI\WebControls\ObjectDataSourceView.cs (5)
787if (!String.IsNullOrEmpty(arguments.SortExpression)) { 1017if (String.IsNullOrEmpty(arguments.SortExpression)) { 1079if (String.IsNullOrEmpty(maximumRowsParameterName) || 1080String.IsNullOrEmpty(startRowIndexParameterName)) { 1144if (!String.IsNullOrEmpty(arguments.SortExpression)) {
UI\WebControls\Parameter.cs (1)
317if (convertEmptyStringToNull && String.IsNullOrEmpty(defaultValue)) {
UI\WebControls\PasswordRecovery.cs (9)
110if (String.IsNullOrEmpty(answer) && _questionContainer != null) { 862if (String.IsNullOrEmpty(userName) && _userNameContainer != null) { 1162if (String.IsNullOrEmpty(Question)) { 1179if (String.IsNullOrEmpty(email)) { 1235if (String.IsNullOrEmpty(Question)) { 1247if (String.IsNullOrEmpty(email)) { 1517if (String.IsNullOrEmpty(Question)) { 1522if (String.IsNullOrEmpty(Question)) { 1571if (!String.IsNullOrEmpty(successPageUrl)) {
UI\WebControls\PopOutPanel.cs (4)
122if (!String.IsNullOrEmpty(ScrollerClass)) { 148if (!String.IsNullOrEmpty(CssClass)) { 172(!String.IsNullOrEmpty(CssClass)) ? 178if (!String.IsNullOrEmpty(CssClass)) {
UI\WebControls\QueryableHelpers.cs (1)
15if (!String.IsNullOrEmpty(sortExpression)) {
UI\WebControls\QueryExtensions.cs (1)
30if (String.IsNullOrEmpty(sortExpression)) {
UI\WebControls\RadioButtonList.cs (2)
303if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 500if (!string.IsNullOrEmpty(controlToRepeat.CssClass)) {
UI\WebControls\Repeater.cs (2)
70return !String.IsNullOrEmpty(SelectMethod); 887if (!DesignMode && !String.IsNullOrEmpty(ItemType)) {
UI\WebControls\SiteMapDataSource.cs (5)
60if (String.IsNullOrEmpty(SiteMapProvider)) { 205if (!String.IsNullOrEmpty(StartingNodeUrl) && StartFromCurrentNode) { 212else if (!String.IsNullOrEmpty(StartingNodeUrl)) { 300if (String.IsNullOrEmpty(viewPath)) { 323if (String.IsNullOrEmpty(viewPath)) {
UI\WebControls\SiteMapPath.cs (1)
251if (String.IsNullOrEmpty(SiteMapProvider)) {
UI\WebControls\SqlDataSource.cs (1)
928if (String.IsNullOrEmpty(providerName)) {
UI\WebControls\SqlDataSourceView.cs (1)
329if (String.IsNullOrEmpty(_owner.ProviderName) ||
UI\WebControls\Style.cs (1)
413if (!String.IsNullOrEmpty(registeredCssClass)) {
UI\WebControls\TableCell.cs (1)
272if (!String.IsNullOrEmpty(val)) {
UI\WebControls\TableHeaderCell.cs (2)
118if (!String.IsNullOrEmpty(abbr)) { 136if (!String.IsNullOrEmpty(val)) {
UI\WebControls\TextBox.cs (1)
431if (mode != TextBoxMode.SingleLine || String.IsNullOrEmpty(Attributes["type"])) {
UI\WebControls\TreeNode.cs (5)
101if (!String.IsNullOrEmpty(imageUrl)) { 105if (!String.IsNullOrEmpty(navigateUrl)) { 109if (!String.IsNullOrEmpty(target)) { 656else if ((Owner != null) && !String.IsNullOrEmpty(InternalValuePath)) { 1432&& !String.IsNullOrEmpty(WebControl.DisabledCssClass)) {
UI\WebControls\TreeNodeBinding.cs (1)
494return (String.IsNullOrEmpty(DataMember) ?
UI\WebControls\TreeView.cs (21)
1308if (!String.IsNullOrEmpty(oldAccessKey)) { 1493if (!String.IsNullOrEmpty(level.FormatString)) { 1506if (String.IsNullOrEmpty(text)) { 1525if (String.IsNullOrEmpty(value)) { 1582if (String.IsNullOrEmpty(target)) { 1637if (String.IsNullOrEmpty(navigateUrl)) { 1655if (!String.IsNullOrEmpty(text)) { 1658if (!String.IsNullOrEmpty(value)) { 1661if (!String.IsNullOrEmpty(imageUrl)) { 1664if (!String.IsNullOrEmpty(navigateUrl)) { 1667if (!String.IsNullOrEmpty(target)) { 1673if (!String.IsNullOrEmpty(toolTip)) { 1677if (!String.IsNullOrEmpty(imageToolTip)) { 2339if (String.IsNullOrEmpty(value)) { 2664if (!String.IsNullOrEmpty(_selectedNodeStyle.CssClass)) { 2677if (!String.IsNullOrEmpty(_hoverNodeStyle.CssClass)) { 2679if (!String.IsNullOrEmpty(className)) { 2682if (!String.IsNullOrEmpty(hyperLinkClassName)) { 2769String.IsNullOrEmpty(DataSourceID) && DataSource == null) { 2777if (!String.IsNullOrEmpty(DataSourceID) || DataSource != null) { 3350if (!String.IsNullOrEmpty(postedSelectedNodeID)) {
UI\WebControls\Unit.cs (2)
100if (String.IsNullOrEmpty(value)) { 269if (!String.IsNullOrEmpty(value)) {
UI\WebControls\ValidationSummary.cs (2)
274if (!String.IsNullOrEmpty(val.ErrorMessage)) { 290if (!String.IsNullOrEmpty(error.ErrorMessage)) {
UI\WebControls\WebColorConverter.cs (1)
35if (String.IsNullOrEmpty(colorText))
UI\WebControls\WebControl.cs (2)
604if ((RenderingCompatibility >= VersionUtil.Framework40) && !String.IsNullOrEmpty(DisabledCssClass)) { 605if (String.IsNullOrEmpty(CssClass)) {
UI\WebControls\Wizard.cs (4)
1861if (!String.IsNullOrEmpty(cancelDestinationUrl)) { 1878if (!String.IsNullOrEmpty(finishPageUrl)) { 2479} else if (!String.IsNullOrEmpty(Owner.HeaderText)) { 2714if ((Owner.HeaderTemplate == null) && String.IsNullOrEmpty(Owner.HeaderText)) {
UI\WebControls\WizardStepBase.cs (2)
109if (!String.IsNullOrEmpty(Title)) { 113if (!String.IsNullOrEmpty(ID)) {
UI\WebControls\xml.cs (5)
398if (String.IsNullOrEmpty(_transformSource) || _transformSource.Trim().Length == 0) 460if (!String.IsNullOrEmpty(_documentContent)) { 465if (String.IsNullOrEmpty(_documentSource)) 502if (!String.IsNullOrEmpty(_documentContent)) { 507if (String.IsNullOrEmpty(_documentSource))
UI\WebControls\XmlDataSource.cs (6)
229return (String.IsNullOrEmpty(TransformFile) && 230String.IsNullOrEmpty(Transform) && 231!String.IsNullOrEmpty(WriteableDataFile)); 385if (!String.IsNullOrEmpty(CacheKeyContext)) { 418if (String.IsNullOrEmpty(uniqueID)) { 669Debug.Assert(!String.IsNullOrEmpty(writeableDataFile), "Did not expect WriteableDataFile to be empty in Save()");
UI\WebControls\XmlHierarchicalDataSourceView.cs (1)
45if (!String.IsNullOrEmpty(_viewPath)) {
UI\WebParts\AppearanceEditorPart.cs (2)
101if (!String.IsNullOrEmpty(heightValueString)) { 133if (!String.IsNullOrEmpty(widthValueString)) {
UI\WebParts\BlobPersonalizationState.cs (10)
107Debug.Assert(!String.IsNullOrEmpty(personalizationID)); 423Debug.Assert(!String.IsNullOrEmpty(ID)); 424if (!String.IsNullOrEmpty(genericWebPartID)) { 582Debug.Assert(!String.IsNullOrEmpty(personalizationID)); 802if (String.IsNullOrEmpty(webPartID)) { 875Debug.Assert(!String.IsNullOrEmpty(personalizationID)); 876Debug.Assert(!String.IsNullOrEmpty(propertyName)); 964if (String.IsNullOrEmpty(ID)) { 973if (!String.IsNullOrEmpty(genericWebPartID)) { 1111Debug.Assert(!String.IsNullOrEmpty(personalizationID));
UI\WebParts\CatalogPart.cs (1)
37if (String.IsNullOrEmpty(displayTitle)) {
UI\WebParts\CatalogPartChrome.cs (2)
158if (String.IsNullOrEmpty(description)) { 168if (!String.IsNullOrEmpty(icon)) {
UI\WebParts\CatalogZoneBase.cs (9)
106if (String.IsNullOrEmpty(catalogPart.ID)) { 214if (String.IsNullOrEmpty(_selectedCatalogPartID)) { 241if (String.IsNullOrEmpty(_selectedCatalogPartID)) { 425if (!String.IsNullOrEmpty(selectedCheckBoxValues)) { 606Debug.Assert(!String.IsNullOrEmpty(catalogPart.ID)); 625if (!String.IsNullOrEmpty(emptyZoneText)) { 660Debug.Assert(!String.IsNullOrEmpty(zone.ID)); 698if (!String.IsNullOrEmpty(instructionText)) { 743if (!String.IsNullOrEmpty(_selectedCatalogPartID)) {
UI\WebParts\ConnectionConsumerAttribute.cs (3)
22if (String.IsNullOrEmpty(displayName)) { 31if (String.IsNullOrEmpty(id)) { 47if (String.IsNullOrEmpty(id)) {
UI\WebParts\ConnectionPoint.cs (2)
50if (String.IsNullOrEmpty(displayName)) { 88return (!String.IsNullOrEmpty(_id)) ? _id : DefaultID;
UI\WebParts\ConnectionProviderAttribute.cs (3)
22if (String.IsNullOrEmpty(displayName)) { 31if (String.IsNullOrEmpty(id)) { 47if (String.IsNullOrEmpty(id)) {
UI\WebParts\ConnectionsZone.cs (17)
662if (!String.IsNullOrEmpty(selectedValue)) { 746if (!String.IsNullOrEmpty(selectedValue)) { 938if (!String.IsNullOrEmpty(_pendingConnectionID)) { 956if (String.IsNullOrEmpty(consumerID)) { 972if (!String.IsNullOrEmpty(_pendingSelectedValue)) { 1244if (_pendingConnectionType == ConnectionType.Consumer && !String.IsNullOrEmpty(_pendingConnectionID)) { 1490if (!String.IsNullOrEmpty(connectToConsumerTitle)) { 1499if (!String.IsNullOrEmpty(connectToConsumerInstructionText)) { 1583if (!String.IsNullOrEmpty(connectToProviderTitle)) { 1592if (!String.IsNullOrEmpty(connectToProviderInstructionText)) { 1692if (!String.IsNullOrEmpty(instructionText)) { 1724if (!String.IsNullOrEmpty(instructionText)) { 1906if (!String.IsNullOrEmpty(instructionText)) { 1923if (!String.IsNullOrEmpty(instructionTitle)) { 1940if (!String.IsNullOrEmpty(noConnection)) { 1950if (!String.IsNullOrEmpty(instructions)) { 2291(String.IsNullOrEmpty(_pendingConnectionID) ||
UI\WebParts\DeclarativeCatalogPart.cs (1)
141if (!String.IsNullOrEmpty(webPartsListUserControlPath) && !DesignMode) {
UI\WebParts\EditorPart.cs (3)
75if (String.IsNullOrEmpty(displayTitle)) { 173if (!String.IsNullOrEmpty(propertyDescription)) { 207if (!String.IsNullOrEmpty(errorMessage)) {
UI\WebParts\EditorPartChrome.cs (5)
135if (!String.IsNullOrEmpty(accessKey)) { 139if (!String.IsNullOrEmpty(accessKey)) { 147if (String.IsNullOrEmpty(displayTitle)) { 169if (!String.IsNullOrEmpty(description)) { 174if (!String.IsNullOrEmpty(accessKey)) {
UI\WebParts\EditorZoneBase.cs (4)
124if (String.IsNullOrEmpty(editorPart.ID)) { 436if (!String.IsNullOrEmpty(emptyZoneText)) { 456if (!String.IsNullOrEmpty(errorText)) { 474if (!String.IsNullOrEmpty(instructionText)) {
UI\WebParts\ErrorWebPart.cs (1)
74if (!String.IsNullOrEmpty(errorMessage)) {
UI\WebParts\GenericWebPart.cs (1)
48if (String.IsNullOrEmpty(control.ID)) {
UI\WebParts\ImportCatalogPart.cs (6)
167if (WebPartManager == null || String.IsNullOrEmpty(_importedPartDescription)) { 216if (!String.IsNullOrEmpty(partTypeName)) { 285if (String.IsNullOrEmpty(title)) { 298_importErrorMessage = (!String.IsNullOrEmpty(_importErrorMessage)) ? 381if (!String.IsNullOrEmpty(fileName) && contents != null) { 390if (String.IsNullOrEmpty(_importedPartDescription)) {
UI\WebParts\PersonalizationProviderHelper.cs (1)
33if (String.IsNullOrEmpty(trimmedStr)) {
UI\WebParts\PropertyGridEditorPart.cs (1)
225if (attribute != null && !String.IsNullOrEmpty(attribute.DisplayName)) {
UI\WebParts\ProxyWebPart.cs (8)
40if (String.IsNullOrEmpty(_originalID)) { 55if (String.IsNullOrEmpty(_genericWebPartID)) { 62if (String.IsNullOrEmpty(_originalID)) { 71if (String.IsNullOrEmpty(originalID)) { 74if (String.IsNullOrEmpty(originalTypeName)) { 79if (!String.IsNullOrEmpty(originalPath) && String.IsNullOrEmpty(genericWebPartID)) { 87if (!String.IsNullOrEmpty(genericWebPartID)) {
UI\WebParts\RowToParametersTransformer.cs (1)
340if (!String.IsNullOrEmpty(selectedConsumerFieldName)) {
UI\WebParts\SqlPersonalizationProvider.cs (9)
48if (String.IsNullOrEmpty(_applicationName)) { 445if (String.IsNullOrEmpty(name)) { 450if (string.IsNullOrEmpty(configSettings["description"])) { 469if (String.IsNullOrEmpty(connectionStringName)) { 475if (String.IsNullOrEmpty(connectionString)) { 505Debug.Assert(!String.IsNullOrEmpty(path)); 561if (!String.IsNullOrEmpty(userName)) { 581Debug.Assert(!String.IsNullOrEmpty(path)); 907Debug.Assert(!String.IsNullOrEmpty(path));
UI\WebParts\WebPart.cs (3)
328if (String.IsNullOrEmpty(displayTitle)) { 683if (!String.IsNullOrEmpty(zoneID) && WebPartManager != null) { 758if (String.IsNullOrEmpty(_connectErrorMessage)) {
UI\WebParts\WebPartChrome.cs (10)
189if (!String.IsNullOrEmpty(description)) { 200if (!String.IsNullOrEmpty(subtitle)) { 283if (!String.IsNullOrEmpty(webPart.ConnectErrorMessage)) { 317if (!String.IsNullOrEmpty(titleIconImageUrl)) { 352if (!String.IsNullOrEmpty(titleIconImageUrl)) { 395if (!String.IsNullOrEmpty(url) && !DragDropEnabled) { 535if (!String.IsNullOrEmpty(clientClickHandler) && isEnabled) { 546if (!String.IsNullOrEmpty(clientClickHandler) && isEnabled) { 773if (String.IsNullOrEmpty(webPart.HelpUrl)) { 810if (String.IsNullOrEmpty(verb.ImageUrl)) {
UI\WebParts\WebPartConnection.cs (2)
81return (!String.IsNullOrEmpty(_consumerConnectionPointID)) ? 198return (!String.IsNullOrEmpty(_providerConnectionPointID)) ?
UI\WebParts\WebPartDescription.cs (3)
23if (String.IsNullOrEmpty(id)) { 26if (String.IsNullOrEmpty(title)) { 37if (String.IsNullOrEmpty(id)) {
UI\WebParts\WebPartDisplayMode.cs (1)
16if (String.IsNullOrEmpty(name)) {
UI\WebParts\WebPartManager.cs (23)
981if (!String.IsNullOrEmpty(zoneID)) { 1600if (String.IsNullOrEmpty(connectionID)) { 1894if (String.IsNullOrEmpty(title)) { 2292Debug.Assert(!String.IsNullOrEmpty(zoneID)); 2293if (!String.IsNullOrEmpty(zoneID)) { 2390Debug.Assert(!String.IsNullOrEmpty(displayTitle)); 2422(!String.IsNullOrEmpty(queryString) ? 2720if (String.IsNullOrEmpty(version)) { 2748if (!String.IsNullOrEmpty(partTypeName)) { 2812if (!String.IsNullOrEmpty(importErrorMessage)) { 2822if (String.IsNullOrEmpty(importErrorMessage)) { 3027if (!String.IsNullOrEmpty(typeName)) { 3179if (String.IsNullOrEmpty(path)) { 3184if (!String.IsNullOrEmpty(path)) { 3208if (!String.IsNullOrEmpty(webPartID) && Personalization.IsEnabled) { 3388if (!String.IsNullOrEmpty(path)) { 3402if (childControl == null && String.IsNullOrEmpty(path)) { 3914if (String.IsNullOrEmpty(zoneID)) { 3953if (!String.IsNullOrEmpty(zoneID)) { 4097if (!String.IsNullOrEmpty(path)) { 4100if (!String.IsNullOrEmpty(genericWebPartID)) { 4371if (String.IsNullOrEmpty(partID)) { 4387if (String.IsNullOrEmpty(childControlID)) {
UI\WebParts\WebPartMenu.cs (8)
148if (!String.IsNullOrEmpty(labelImageUrl)) { 151(!String.IsNullOrEmpty(text) ? 162if (!String.IsNullOrEmpty(text)) { 170if (!String.IsNullOrEmpty(popupImageUrl)) { 173(!String.IsNullOrEmpty(text) ? 280if (!String.IsNullOrEmpty(eventArgument)) { 291if (!String.IsNullOrEmpty(verb.ClientClickHandler)) { 336else if (!String.IsNullOrEmpty(WebControl.DisabledCssClass)) {
UI\WebParts\WebPartPersonalization.cs (3)
386if (String.IsNullOrEmpty(providerName)) { 476if (String.IsNullOrEmpty(webPartID)) { 666if (!String.IsNullOrEmpty(queryString)) {
UI\WebParts\WebPartUserCapability.cs (1)
21if (String.IsNullOrEmpty(name)) {
UI\WebParts\WebPartVerb.cs (4)
43if (String.IsNullOrEmpty(id)) { 58if (String.IsNullOrEmpty(clientClickHandler)) { 68if (String.IsNullOrEmpty(clientClickHandler)) { 243if (String.IsNullOrEmpty(_eventArgumentPrefix)) {
UI\WebParts\WebPartZoneBase.cs (6)
243if (!String.IsNullOrEmpty(title)) { 248if (!String.IsNullOrEmpty(id)) { 1040if (String.IsNullOrEmpty(eventArgument)) { 1377WebPartManager.DisplayMode.AllowPageDesign && !String.IsNullOrEmpty(emptyZoneText)); 1649if (!String.IsNullOrEmpty(s)) { 1665if (!String.IsNullOrEmpty(s)) {
UI\WebParts\ZoneButton.cs (1)
42if (!String.IsNullOrEmpty(_eventArgument) && _owner.Page != null) {
UI\WebParts\ZoneLinkButton.cs (4)
41if (!String.IsNullOrEmpty(_eventArgument) && _owner.Page != null) { 54if (!String.IsNullOrEmpty(imageUrl)) { 62if (!String.IsNullOrEmpty(toolTip)) { 67if (!String.IsNullOrEmpty(text)) {
UI\WebResourceAttribute.cs (3)
28if (String.IsNullOrEmpty(webResource)) { 32if (String.IsNullOrEmpty(contentType)) { 60if (String.IsNullOrEmpty(cdnPath) || !CdnSupportsSecureConnection || !cdnPath.StartsWith("http://", StringComparison.OrdinalIgnoreCase)) {
UI\XPathBinder.cs (3)
39if (String.IsNullOrEmpty(xPath)) { 80if (String.IsNullOrEmpty(format)) { 101if (String.IsNullOrEmpty(xPath)) {
UrlMappingsModule.cs (2)
41if (!String.IsNullOrEmpty(qs)) { 49if (!String.IsNullOrEmpty(mappedUrl))
Util\AspCompat.cs (2)
465if (String.IsNullOrEmpty(value) || value.IndexOfAny(TabOrBackSpace) < 0) { 530if (!String.IsNullOrEmpty(key)) {
Util\AssemblyUtil.cs (1)
21if (String.IsNullOrEmpty(version)) {
Util\FileUtil.cs (8)
247isSuspicious = !String.IsNullOrEmpty(physicalPath) && 286if (String.IsNullOrEmpty(physicalPath)) { 326if (String.IsNullOrEmpty(name)) { 355if (String.IsNullOrEmpty(physicalPath)) 477if (hr != HResults.S_OK || String.IsNullOrEmpty(rootDirectoryPath)) { 516if (!String.IsNullOrEmpty(fd.cAlternateFileName)) { 526if (!String.IsNullOrEmpty(relativePathLong)) { 554string fileName = String.IsNullOrEmpty(_fileNameShort) ? _fileNameLong : _fileNameShort;
Util\HttpEncoder.cs (9)
184encodedHeaderName = (String.IsNullOrEmpty(headerName)) ? headerName : HeaderEncodeInternal(headerName); 185encodedHeaderValue = (String.IsNullOrEmpty(headerValue)) ? headerValue : HeaderEncodeInternal(headerValue); 199if (String.IsNullOrEmpty(value)) { 321if (String.IsNullOrEmpty(value)) 340if (String.IsNullOrEmpty(value)) 392if (String.IsNullOrEmpty(value)) { 674if (String.IsNullOrEmpty(str)) 762if (String.IsNullOrEmpty(value)) { 791if (String.IsNullOrEmpty(value)) {
Util\Misc.cs (1)
159if (!string.IsNullOrEmpty(ver)) {
Util\ProviderUtil.cs (1)
193if (!String.IsNullOrEmpty(attribUnrecognized))
Util\SecUtil.cs (5)
31if (String.IsNullOrEmpty(appName)) { 46if (String.IsNullOrEmpty(appName)) { 62if (!String.IsNullOrEmpty(connectionString)) { 67if (String.IsNullOrEmpty(connectionStringName)) 71if (String.IsNullOrEmpty(connectionString)) {
Util\SmtpMail.cs (2)
382if (!String.IsNullOrEmpty(server) || message.Fields.Count > 0) { 388if (!String.IsNullOrEmpty(server)) {
Util\StringUtil.cs (10)
59if (String.IsNullOrEmpty(s1) && String.IsNullOrEmpty(s2)) { 77if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) 92if (String.IsNullOrEmpty(s1) && String.IsNullOrEmpty(s2)) { 95if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) { 197if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) {
Util\UriUtil.cs (5)
26Debug.Assert(!String.IsNullOrEmpty(scheme)); 27Debug.Assert(!String.IsNullOrEmpty(serverName)); 28Debug.Assert(!String.IsNullOrEmpty(path)); 59if (String.IsNullOrEmpty(unescaped) || ContainsOnlyPathSafeCharacters(unescaped)) 163if (!String.IsNullOrEmpty(authority)) {
Util\UrlPath.cs (9)
33return (String.IsNullOrEmpty(basepath) || basepath[0] == '/' || basepath[0] == '\\'); 97if (String.IsNullOrEmpty(path)) 160if (String.IsNullOrEmpty(relative)) 162if (String.IsNullOrEmpty(basepath)) 213Debug.Assert(!String.IsNullOrEmpty(basepath)); 214Debug.Assert(!String.IsNullOrEmpty(relative)); 488if (string.IsNullOrEmpty(path)) { 684if (String.IsNullOrEmpty(path)) 687if (String.IsNullOrEmpty(subpath))
Util\Utf16StringValidator.cs (1)
25if (skipUtf16Validation || String.IsNullOrEmpty(input)) {
VirtualPath.cs (1)
563if (String.IsNullOrEmpty(virtualPath)) {
WebSockets\SubprotocolUtil.cs (1)
54return (!String.IsNullOrEmpty(subprotocol) && subprotocol.All(IsValidSubProtocolChar));
WebSockets\WebSocketUtil.cs (2)
21if (String.IsNullOrEmpty(hostHeader)) { 27if (String.IsNullOrEmpty(secWebSocketOriginHeader)) {
WebSysDefaultValueAttribute.cs (1)
35if (!String.IsNullOrEmpty(baseValue)) {
WorkerRequest.cs (3)
472if (String.IsNullOrEmpty(remoteAddress)) 602bool isAuthenticated = (!string.IsNullOrEmpty(logonUser) || (!string.IsNullOrEmpty(authType) && !StringUtil.EqualsIgnoreCase(authType, "basic")));
XmlSiteMapProvider.cs (7)
173if (!String.IsNullOrEmpty(url)) { 589if (!String.IsNullOrEmpty(_filename)) { 671if (String.IsNullOrEmpty(text)) { 737if (!String.IsNullOrEmpty(resourceKey) && 745bool allowImplicitResourceAttribute = String.IsNullOrEmpty(resourceKey); 772if (!String.IsNullOrEmpty(url)) { 843if (string.IsNullOrEmpty(attributes["description"])) {
System.Web.ApplicationServices (1)
Security\MembershipUser.cs (1)
271if (!String.IsNullOrEmpty(pass)) {
System.Web.DataVisualization (89)
Common\Annotation\AnnotationBase.cs (1)
379if (String.IsNullOrEmpty(value))
Common\Annotation\AnnotationCollection.cs (1)
128if (textAnnotation != null && string.IsNullOrEmpty(textAnnotation.Text) && Chart != null && Chart.IsDesignMode())
Common\DataManager\DataPoint.cs (17)
2577if (!String.IsNullOrEmpty(strToReplace)) 5823 return !String.IsNullOrEmpty(series.label); 5835 return !String.IsNullOrEmpty(series.axisLabel); 5847 return !String.IsNullOrEmpty(series.labelFormat); 5931 return !String.IsNullOrEmpty(series.backImage); 6076 return !String.IsNullOrEmpty(series.markerImage); 6124 return !String.IsNullOrEmpty(series.toolTip); 6138 return !String.IsNullOrEmpty(series.url); 6150 return !String.IsNullOrEmpty(series.mapAreaAttributes); 6161return !String.IsNullOrEmpty(series.postbackValue); 6173 return !String.IsNullOrEmpty(series.legendUrl); 6185 return !String.IsNullOrEmpty(series.legendMapAreaAttributes); 6199 return !String.IsNullOrEmpty(series.labelUrl); 6211 return !String.IsNullOrEmpty(series.labelMapAreaAttributes); 6239 return !String.IsNullOrEmpty(series.legendText); 6251 return !String.IsNullOrEmpty(series.legendToolTip); 6265 return !String.IsNullOrEmpty(series.labelToolTip);
Common\DataManager\DataSeries.cs (3)
144if (String.IsNullOrEmpty(item.ChartArea) && Chart.ChartAreas != null) 148if (String.IsNullOrEmpty(item.Legend) && Chart.Legends != null) 888 if(this.Enabled && !String.IsNullOrEmpty(this.ChartArea))
Common\Formulas\FormulaHelpers.cs (8)
349if (String.IsNullOrEmpty(parameters)) 357if (!String.IsNullOrEmpty(newParamValue)) 394if (String.IsNullOrEmpty(parameters)) 402if (!String.IsNullOrEmpty(newParamValue)) 1092if (String.IsNullOrEmpty(parameters)) 1101if (!String.IsNullOrEmpty(newParamValue)) 1121if (String.IsNullOrEmpty(_parameters)) 1399if (String.IsNullOrEmpty(seriesFields))
Common\General\AxisLabels.cs (4)
248!String.IsNullOrEmpty(((Axis)this).SubAxisName) || 830 if(!String.IsNullOrEmpty(result)) 839if (!String.IsNullOrEmpty(labelSeriesName)) 845if (!String.IsNullOrEmpty(result))
Common\General\BaseClasses.cs (1)
351return (string.IsNullOrEmpty(_name)) ? typeName : typeName + '-' + _name;
Common\General\BaseCollections.cs (3)
421return String.IsNullOrEmpty(name) || 448if (String.IsNullOrEmpty(item.Name)) 472if (String.IsNullOrEmpty(item.Name))
Common\General\Chart.cs (2)
1111if (String.IsNullOrEmpty(yFields)) 1114if (String.IsNullOrEmpty(seriesGroupByField))
Common\General\ChartArea.cs (1)
352if (String.IsNullOrEmpty(value))
Common\General\FormulaData.cs (2)
458if (!String.IsNullOrEmpty(inputPoint.AxisLabel)) 1235if (string.IsNullOrEmpty(parameters))
Common\General\ImageMap.cs (6)
466if (!String.IsNullOrEmpty(this.ToolTip)) 473if (!String.IsNullOrEmpty(this.Url)) 479else if (!String.IsNullOrEmpty(this.PostBackValue) && chart.Page != null) 486if (!postbackRendered && !String.IsNullOrEmpty(this.PostBackValue) && chart.Page != null) 492if (!String.IsNullOrEmpty(this._attributes)) 532if (!String.IsNullOrEmpty(this.ToolTip))
Common\General\Legend.cs (1)
2638 if (String.IsNullOrEmpty(value))
Common\General\Selection.cs (7)
410if (this.SelectedObject == null && !String.IsNullOrEmpty(this.SeriesName)) 938 if(!String.IsNullOrEmpty(series)) 1011 if(!String.IsNullOrEmpty(series)) 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 2694if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2714if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2985if (String.IsNullOrEmpty(areaName))
Common\Utilities\ImageLoader.cs (1)
193else if (control.IsDesignMode() && !String.IsNullOrEmpty(control.webFormDocumentURL))
Common\Utilities\XmlSerializer.cs (2)
1646if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2514if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize))
WebForm\ChartWebControl.cs (7)
609if ( String.IsNullOrEmpty(htmlImage.Style[HtmlTextWriterStyle.BorderWidth]) && 610String.IsNullOrEmpty(htmlImage.Style["border"]) && 611String.IsNullOrEmpty(htmlImage.Style["border-width"])) 640if (String.IsNullOrEmpty(_designTimeChart)) 775if (String.IsNullOrEmpty(str) || str.Length > 7) 1433if (!String.IsNullOrEmpty(eventArgument)) 3214if (!String.IsNullOrEmpty(_designTimeChart))
WebForm\General\ChartHttpHandler.cs (22)
156_installed = !String.IsNullOrEmpty(WebConfigurationManager.AppSettings[ChartHttpHandlerAppSection]); 179if (String.IsNullOrEmpty(configSettings)) 326if (String.IsNullOrEmpty(value)) 415 if (!String.IsNullOrEmpty(_controllerDirectory) && String.IsNullOrEmpty(Settings.FolderName)) 424 if (!String.IsNullOrEmpty(key)) 433 if (!String.IsNullOrEmpty(key)) 904if (!String.IsNullOrEmpty(value)) 1064if (!String.IsNullOrEmpty(parameters)) 1208if (String.IsNullOrEmpty(this.Url)) 1214if (String.IsNullOrEmpty(fileDirectory)) 1270if (!String.IsNullOrEmpty(this.CustomHandlerName)) 1322if (!String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1328keyType = String.IsNullOrEmpty(sessionId) ? ImageOwnerKeyType.None : ImageOwnerKeyType.SessionID; 1340if (String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1464if (String.IsNullOrEmpty(sessionID)) 1514if (settings.PrivateImages && !String.IsNullOrEmpty(privacyKey)) 1532if (settings.PrivateImages && !String.IsNullOrEmpty(privacyKey)) 1570if (!String.IsNullOrEmpty(privacyKey)) 1580if (!String.IsNullOrEmpty((string)_storageData[key + _privacyKeyName])) 1619if (!String.IsNullOrEmpty(privacyKey)) 1787System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(keyFormat));
System.Web.DynamicData (77)
DynamicData\ControlFilterExpression.cs (1)
58if (String.IsNullOrEmpty(Column)) {
DynamicData\DataBoundControlParameterTarget.cs (1)
33if ((attribute != null) && !String.IsNullOrEmpty(attribute.Name)) {
DynamicData\DataControlReference.cs (1)
40if (String.IsNullOrEmpty(ControlID)) {
DynamicData\DynamicControl.cs (5)
250if (!String.IsNullOrEmpty(CssClass)) { 263if (String.IsNullOrEmpty(DataField)) { 273if (String.IsNullOrEmpty(UIHint)) { 276if (String.IsNullOrEmpty(DataFormatString)) { 279if (String.IsNullOrEmpty(NullDisplayText)) {
DynamicData\DynamicControlParameter.cs (1)
62if (!String.IsNullOrEmpty(columnName)) {
DynamicData\DynamicDataExtensions.cs (4)
314if (!String.IsNullOrEmpty(formatting)) { 319if (!String.IsNullOrEmpty(dataValueString) && formattingOptions.HtmlEncode) { 362if (String.IsNullOrEmpty(value) && formattingOptions.ConvertEmptyStringToNull) { 368if (value == nullDisplayText && !String.IsNullOrEmpty(nullDisplayText)) {
DynamicData\DynamicDataManager.cs (2)
226if (String.IsNullOrEmpty(dataSource.EntitySetName)) { 231if (String.IsNullOrEmpty(dataSource.Where)) {
DynamicData\DynamicHyperLink.cs (12)
130if (!String.IsNullOrEmpty(NavigateUrl)) { 135if (!String.IsNullOrEmpty(TableName) || !String.IsNullOrEmpty(ContextTypeName)) { 159if (String.IsNullOrEmpty(Text)) { 179if (String.IsNullOrEmpty(Text)) { 180if (!String.IsNullOrEmpty(DataField)) { 193if (!String.IsNullOrEmpty(NavigateUrl)) { 201if (!_dataBound && String.IsNullOrEmpty(NavigateUrl)) { 236return String.IsNullOrEmpty(Action) ? defaultAction : Action; 242if (!String.IsNullOrEmpty(TableName)) { 253Debug.Assert(!String.IsNullOrEmpty(tableName)); 255if (!String.IsNullOrEmpty(contextTypeName)) {
DynamicData\DynamicValidator.cs (1)
84if (String.IsNullOrEmpty(ColumnName)) {
DynamicData\EntityTemplateFactory.cs (1)
107if (String.IsNullOrEmpty(candidateName)) {
DynamicData\FieldTemplateFactory.cs (3)
129if (String.IsNullOrEmpty(uiHint) && !hasDataTypeAttribute) { 212if (!String.IsNullOrEmpty(templateName)) { 287if (String.IsNullOrEmpty(templateName)) {
DynamicData\FieldTemplateUserControl.cs (7)
251if (!String.IsNullOrEmpty(path)) { 277if (!String.IsNullOrEmpty(path)) { 436if (String.IsNullOrEmpty(validator.ErrorMessage)) { 438if (String.IsNullOrEmpty(columnErrorMessage)) { 482if (String.IsNullOrEmpty(validator.ErrorMessage)) { 518if (String.IsNullOrEmpty(validator.ErrorMessage)) { 536if (String.IsNullOrEmpty(validator.ErrorMessage)) {
DynamicData\FilterFactory.cs (2)
93if (!String.IsNullOrEmpty(filterUIHint)) { 96else if (!String.IsNullOrEmpty(column.FilterUIHint)) {
DynamicData\FilterRepeater.cs (6)
56if (String.IsNullOrEmpty(_dynamicFilterContainerId)) { 135if (!String.IsNullOrEmpty(ContextTypeName) || !String.IsNullOrEmpty(TableName)) { 141if (String.IsNullOrEmpty(ContextTypeName)) { 145} else if (String.IsNullOrEmpty(tableName)) { 152if (!String.IsNullOrEmpty(ContextTypeName)) {
DynamicData\FilterUserControlBase.cs (7)
69if (String.IsNullOrEmpty(SelectedValue)) 128if (String.IsNullOrEmpty(DataField)) { 136if (!String.IsNullOrEmpty(ContextTypeName) || !String.IsNullOrEmpty(TableName)) { 138if (String.IsNullOrEmpty(ContextTypeName)) { 143if (String.IsNullOrEmpty(TableName)) { 200if (!String.IsNullOrEmpty(contextTypeName)) {
DynamicData\MetaChildrenColumn.cs (1)
93if (String.IsNullOrEmpty(path)) {
DynamicData\MetaColumn.cs (3)
301if (!String.IsNullOrEmpty(UIHint)) return true; 653var presentationLayerNotSpecified = uiHints.Where(a => String.IsNullOrEmpty(presentationLayerPropertyAccessor(a))); 654var presentationLayerSpecified = uiHints.Where(a => !String.IsNullOrEmpty(presentationLayerPropertyAccessor(a)));
DynamicData\MetaForeignKeyColumn.cs (1)
76if (String.IsNullOrEmpty(value)) {
DynamicData\MetaModel.cs (2)
341if (String.IsNullOrEmpty(nameOverride)) { 400return !table.EntityType.IsAbstract && !String.IsNullOrEmpty(table.ListActionPath) && table.CanRead(Context.User);
DynamicData\MetaTable.cs (7)
272if (displayColumnAttribute != null && !String.IsNullOrEmpty(displayColumnAttribute.SortColumn)) { 484if (String.IsNullOrEmpty(path)) { 546if (!String.IsNullOrEmpty(groupName) && groupings.TryGetValue(groupName, out order)) { 563if (string.IsNullOrEmpty(value)) 648return Columns.Where(c => c.Metadata.DisplayAttribute != null && !String.IsNullOrEmpty(c.Metadata.DisplayAttribute.GetGroupName())) 799if (!String.IsNullOrEmpty(column.FilterUIHint)) { 916if (!String.IsNullOrEmpty(nameOverride)) {
DynamicData\QueryableFilterRepeater.cs (1)
47return String.IsNullOrEmpty(id) ? "DynamicFilter" : id;
DynamicData\QueryStringHandler.cs (3)
11if (String.IsNullOrEmpty(virtualPath)) 20if (String.IsNullOrEmpty(queryString)) 46if (!String.IsNullOrEmpty(s)) {
DynamicData\SimpleFieldTemplateFactory.cs (1)
52if (!String.IsNullOrEmpty(uiHint)) {
DynamicData\TableNameAttribute.cs (1)
18if (String.IsNullOrEmpty(name)) {
DynamicData\Util\MetaTableHelper.cs (1)
106if (contextType == null || String.IsNullOrEmpty(tableName)) {
DynamicData\Util\RouteParametersHelper.cs (1)
17if (String.IsNullOrEmpty(columnName)) {
DynamicData\Util\TemplateFactory.cs (1)
30Debug.Assert(!String.IsNullOrEmpty(defaultLocation));
System.Web.Entity (60)
System\Data\WebControls\EntityDataSource.cs (28)
275if (!String.IsNullOrEmpty(value) && System.Web.Hosting.HostingEnvironment.IsHosted) 446if (!String.IsNullOrEmpty(DefaultContainerName)) 717if (!string.IsNullOrEmpty(parameter.Name)) 1146String.IsNullOrEmpty(EntitySetName) || 1147!String.IsNullOrEmpty(CommandText) || 1149!String.IsNullOrEmpty(Select) || 1150!String.IsNullOrEmpty(GroupBy); 1152if (!String.IsNullOrEmpty(CommandText) && 1153!String.IsNullOrEmpty(EntitySetName)) 1158if (String.IsNullOrEmpty(CommandText) && 1159String.IsNullOrEmpty(EntitySetName)) 1164if (anyEditablesEnabled && !String.IsNullOrEmpty(CommandText)) 1169if (anyEditablesEnabled && !String.IsNullOrEmpty(Select)) 1174if (anyEditablesEnabled && !String.IsNullOrEmpty(GroupBy)) 1179if (!String.IsNullOrEmpty(Where) && AutoGenerateWhereClause) 1184if (!String.IsNullOrEmpty(OrderBy) && AutoGenerateOrderByClause) 1189if (0 < WhereParameters.Count && !AutoGenerateWhereClause && String.IsNullOrEmpty(Where)) 1194if (0 < OrderByParameters.Count && !AutoGenerateOrderByClause && String.IsNullOrEmpty(OrderBy)) 1199if (0 < CommandParameters.Count && String.IsNullOrEmpty(CommandText)) 1204if (0 < SelectParameters.Count && String.IsNullOrEmpty(Select)) 1209if (!String.IsNullOrEmpty(GroupBy) && String.IsNullOrEmpty(Select)) 1214if (!String.IsNullOrEmpty(EntityTypeFilter) && !String.IsNullOrEmpty(CommandText)) 1219if (!String.IsNullOrEmpty(EntitySetName)) 1241String.IsNullOrEmpty(CommandText) && 1242String.IsNullOrEmpty(Select) && 1243String.IsNullOrEmpty(GroupBy);
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (8)
103if (!String.IsNullOrEmpty(_whereExpression)) 119return String.IsNullOrEmpty(orderByClause) ? queryT : queryT.OrderBy(orderByClause, orderByParameters); 129var hasOrderByClause = !String.IsNullOrEmpty(orderByClause); 164if (!string.IsNullOrEmpty(_includePaths)) 169if (!string.IsNullOrEmpty(trimmedInclude)) 264Debug.Assert(!String.IsNullOrEmpty(_selectExpression), "Select expression should not be of zero length."); 266if (!string.IsNullOrEmpty(_groupByExpression)) 289if (!string.IsNullOrEmpty(commandText))
System\Data\WebControls\EntityDataSourceUtil.cs (3)
186if (String.IsNullOrEmpty(entityTypeFilter)) 290Debug.Assert(!String.IsNullOrEmpty(columnName), "columnName must be given"); 886return (String.IsNullOrEmpty(type.NamespaceName) ? String.Empty : (QuoteEntitySqlIdentifier(type.NamespaceName) + "."))
System\Data\WebControls\EntityDataSourceView.cs (14)
218if (!string.IsNullOrEmpty(_owner.Select)) 222else if (!string.IsNullOrEmpty(_owner.CommandText)) 394var checkEntitySet = wasQueryModified && !String.IsNullOrEmpty(_owner.EntitySetName) && (CanDelete || CanUpdate); 440if (String.IsNullOrEmpty(_owner.EntityTypeFilter)) 805if (!String.IsNullOrEmpty(_owner.EntitySetName) && !EntityDataSourceUtil.PropertyIsOnEntity(propertyName, _collectionManager.FlattenedEntityCollection, EntitySet, null)) 1117else if (null != _owner.ContextType || !String.IsNullOrEmpty(_owner.ContextTypeName)) 1142if (!String.IsNullOrEmpty(_owner.DefaultContainerName) && 1143!String.IsNullOrEmpty(_owner.ConnectionString)) 1175else if (!String.IsNullOrEmpty(_owner.DefaultContainerName) && 1480if (!String.IsNullOrEmpty(_owner.EntityTypeFilter)) 1533if (String.IsNullOrEmpty(_owner.EntitySetName)) 1580if (!string.IsNullOrEmpty(_owner.DefaultContainerName)) 1584if (!string.IsNullOrEmpty(Context.DefaultContainerName)) 1713if (parameter.TypeCode == TypeCode.String && parameter.ConvertEmptyStringToNull && String.IsNullOrEmpty(valueString))
System\Data\WebControls\OrderByBuilder.cs (6)
65Debug.Assert(String.IsNullOrEmpty(_orderBy), "If AutoGenerateOrderByClause is true, then OrderBy cannot be set. This should have been caught by a runtime error check"); 70if (!string.IsNullOrEmpty((string)(de.Value))) 82if (!String.IsNullOrEmpty(_orderBy)) 108if (!String.IsNullOrEmpty(expression)) 118if (String.IsNullOrEmpty(columnName)) 195if (string.IsNullOrEmpty(memberElement))
System\Data\WebControls\WebControlParameterProxy.cs (1)
29Debug.Assert(!String.IsNullOrEmpty(propertyName));
System.Web.Entity.Design (45)
System\Data\WebControls\Design\EntityConnectionStringBuilderItem.cs (4)
32Debug.Assert(!String.IsNullOrEmpty(unknownConnectionString), "null or empty unknownConnectionString"); 63return String.IsNullOrEmpty(this.ConnectionString); 73return !String.IsNullOrEmpty(_connectionStringBuilder.Name); 88if (!String.IsNullOrEmpty(_connectionStringBuilder.Name))
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContext.cs (1)
141if (!String.IsNullOrEmpty(containerName))
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (2)
133_configureObjectContext.SelectConnectionStringHasValue(!String.IsNullOrEmpty(_connectionStringTextBox.Text)); 158_configureObjectContext.SelectConnectionStringHasValue(!String.IsNullOrEmpty(_connectionStringTextBox.Text));
System\Data\WebControls\Design\EntityDataSourceContainerNameConverter.cs (1)
33if (entityDataSource != null && !String.IsNullOrEmpty(entityDataSource.ConnectionString))
System\Data\WebControls\Design\EntityDataSourceContainerNameItem.cs (1)
29Debug.Assert(!String.IsNullOrEmpty(unknownContainerName), "null or empty unknownContainerName");
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (5)
114if (!String.IsNullOrEmpty(entitySetName)) 162if (!String.IsNullOrEmpty(entitySetName)) 227if (!String.IsNullOrEmpty(entityTypeFilter)) 249if (!String.IsNullOrEmpty(entityTypeFilter)) 395if (!String.IsNullOrEmpty(currentSelect))
System\Data\WebControls\Design\EntityDataSourceDesigner.cs (4)
46return (!String.IsNullOrEmpty(_helper.ConnectionString) && !String.IsNullOrEmpty(_helper.DefaultContainerName)) && 47(!String.IsNullOrEmpty(_helper.EntitySetName) || !String.IsNullOrEmpty(_helper.CommandText));
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (17)
503if (String.IsNullOrEmpty(connStrBuilder.ConnectionString)) 512if (!String.IsNullOrEmpty(connStrBuilder.Name)) 524Debug.Assert(!String.IsNullOrEmpty(originalMetadata), "originalMetadata should have aleady been verified to be non-null or empty"); 537if (!String.IsNullOrEmpty(trimmedPath)) 720Debug.Assert(namedConnStrBuilder != null && !String.IsNullOrEmpty(namedConnStrBuilder.Name), "expected non-null connStrBuilder for a named connection"); 733if (connStrSettings != null && !String.IsNullOrEmpty(connStrSettings.ConnectionString) && connStrSettings.ProviderName == s_entityClientProviderName) 803if (!String.IsNullOrEmpty(connStrBuilder.ConnectionString)) 806if (!allowNamedConnections && !String.IsNullOrEmpty(connStrBuilder.Name)) 813if (String.IsNullOrEmpty(connStrBuilder.Name)) 815if (String.IsNullOrEmpty(connStrBuilder.Metadata)) 977if (!string.IsNullOrEmpty(connStrBuilder.Provider)) 1083if (String.IsNullOrEmpty(this.EntityDataSource.ConnectionString) || 1084String.IsNullOrEmpty(this.EntityDataSource.DefaultContainerName) || 1085String.IsNullOrEmpty(this.EntityDataSource.CommandText) && String.IsNullOrEmpty(this.EntityDataSource.EntitySetName)) 1229if (String.IsNullOrEmpty(viewName) || 1269if (String.IsNullOrEmpty(entityContainerName))
System\Data\WebControls\Design\EntityDataSourceEntitySetNameConverter.cs (2)
34!String.IsNullOrEmpty(entityDataSource.ConnectionString) && 35!String.IsNullOrEmpty(entityDataSource.DefaultContainerName))
System\Data\WebControls\Design\EntityDataSourceEntityTypeFilterConverter.cs (3)
35!String.IsNullOrEmpty(entityDataSource.ConnectionString) && 36!String.IsNullOrEmpty(entityDataSource.DefaultContainerName) && 37!String.IsNullOrEmpty(entityDataSource.EntitySetName))
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (1)
340else if (!String.IsNullOrEmpty(_cachedStatementText))
System\Data\WebControls\Design\EntityDesignerDataSourceView.cs (4)
45return !String.IsNullOrEmpty(_helper.EntitySetName) && 46String.IsNullOrEmpty(_helper.Select) && 47String.IsNullOrEmpty(_helper.CommandText) && 48String.IsNullOrEmpty(_helper.GroupBy);
System.Web.Extensions (266)
ApplicationServices\ProfileService.cs (3)
289if (user == null || user.Identity == null || string.IsNullOrEmpty(user.Identity.Name)) { // anonymous user? 292if (!authenticatedUserOnly && context != null && !string.IsNullOrEmpty(context.Request.AnonymousID)) { // Use Anonymous ID? 302if (!isAuthenticated && (authenticatedUserOnly || string.IsNullOrEmpty(name))) {
ClientServices\Providers\ClientData.cs (1)
92_StoredValues[iter] = !(string.IsNullOrEmpty(s) || s != "1");
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (14)
116if (string.IsNullOrEmpty(_ConnectionString)) { 138if (!string.IsNullOrEmpty(temp)) 148if (!String.IsNullOrEmpty(attribUnrecognized)) 172int promptCount = string.IsNullOrEmpty(username) ? 0 : 3; 180if (!string.IsNullOrEmpty(_GetCredentialsTypeName)) { 242if (string.IsNullOrEmpty(_ServiceUri)) 257if (string.IsNullOrEmpty(_ServiceUri)) { 284bool usernameNotSupplied = string.IsNullOrEmpty(username); 292if (string.IsNullOrEmpty(lastLoggedInUser) && currentUser != null) 309if (!string.IsNullOrEmpty(lastLoggedInUser) && string.Compare(lastLoggedInUser, username, StringComparison.OrdinalIgnoreCase) == 0) { 425if (!string.IsNullOrEmpty(username)) { 458if (string.IsNullOrEmpty(_GetCredentialsTypeName)) 645if (string.IsNullOrEmpty(passwordHash) || string.IsNullOrEmpty(passwordSalt))
ClientServices\Providers\ClientRoleProvider.cs (8)
56if (!string.IsNullOrEmpty(temp)) 60if (string.IsNullOrEmpty(_ConnectionString)) { 82if (!string.IsNullOrEmpty(temp)) 92if (!String.IsNullOrEmpty(attribUnrecognized)) 117if (!string.IsNullOrEmpty(username) && string.Compare(username, p.Identity.Name, StringComparison.OrdinalIgnoreCase) != 0) 206if (string.IsNullOrEmpty(_CurrentUser)) 368if (string.IsNullOrEmpty(_ServiceUri)) 383if (string.IsNullOrEmpty(_ServiceUri)) {
ClientServices\Providers\ClientSettingsProvider.cs (8)
148if (!string.IsNullOrEmpty(temp)) 152if (!string.IsNullOrEmpty(temp)) { 165if (!string.IsNullOrEmpty(temp)) 174if (!string.IsNullOrEmpty(temp)) 178if (!string.IsNullOrEmpty(temp)) { 191if (!String.IsNullOrEmpty(attribUnrecognized)) 344if (string.IsNullOrEmpty(_ServiceUri)) 360if (string.IsNullOrEmpty(_ServiceUri)) {
ClientServices\Providers\ClientWindowsAuthenticationMembershipProvider.cs (2)
30if (!string.IsNullOrEmpty(password)) 32if (!string.IsNullOrEmpty(username) && string.Compare(username, id.Name, StringComparison.OrdinalIgnoreCase) != 0)
ClientServices\Providers\ProxyHelper.cs (3)
285if (string.IsNullOrEmpty(allCookies[iter])) 329if (string.IsNullOrEmpty(cookieHeaders)) 427if (string.IsNullOrEmpty(newCookieName)) // do nothing on failure
ClientServices\Providers\SqlHelper.cs (3)
40if (string.IsNullOrEmpty(connectionString)) 114if (!string.IsNullOrEmpty(cookieValue)) { 303if (string.IsNullOrEmpty(username)) {
Compilation\WCFBuildProvider.cs (3)
228string referenceDisplayName = String.IsNullOrEmpty(generatedNamespace) ? 303if (!String.IsNullOrEmpty(generationError.MetadataFile)) 498if (String.IsNullOrEmpty(typeName))
Compilation\WCFModel\DataSvcMapFileLoader.cs (1)
32Debug.Assert(!string.IsNullOrEmpty(mapFilePath), "mapFilePath is null!");
Compilation\WCFModel\MapFileLoader.cs (2)
330var metadataFileNames = mapFile.MetadataList.Select(p => p.FileName).Where(p => !string.IsNullOrEmpty(p)); 331var extensionFileNames = mapFile.Extensions.Select(p => p.FileName).Where(p => !string.IsNullOrEmpty(p));
Compilation\WCFModel\MetadataFile.cs (2)
496if (!String.IsNullOrEmpty(TargetNamespace)) 724if (String.IsNullOrEmpty(SourceUrl))
Compilation\WCFModel\SchemaMerger.cs (9)
140if (String.IsNullOrEmpty(targetNamespace)) 170else if (!String.IsNullOrEmpty(differentLocation)) 233if (String.IsNullOrEmpty(ignorableDifferenceLocation)) 298if (!String.IsNullOrEmpty(differentLocation)) 327if (!String.IsNullOrEmpty(differentLocation)) 405if (String.IsNullOrEmpty(ignorableDifferenceLocation)) 529if (String.IsNullOrEmpty(path1)) 533else if (String.IsNullOrEmpty(path2)) 587if (String.IsNullOrEmpty(name))
Compilation\WCFModel\SvcMapFileLoader.cs (1)
32Debug.Assert(!string.IsNullOrEmpty(mapFilePath), "mapFilePath is null!");
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1081if (String.IsNullOrEmpty(ns))
Compilation\WCFModel\WsdlInspector.cs (1)
68if (String.IsNullOrEmpty(targetNamespace))
Handlers\ScriptResourceHandler.cs (12)
59if (String.IsNullOrEmpty(scriptResourceName)) return CultureInfo.InvariantCulture; 74if (!String.IsNullOrEmpty(resourceInfo.ScriptResourceName) || 75((releaseResourceInfo != null) && !String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName))) { 128Debug.Assert(!String.IsNullOrEmpty(assemblyName)); 236return !String.IsNullOrEmpty(path) && 287if (String.IsNullOrEmpty(encryptedData)) { 334if (String.IsNullOrEmpty(decryptedString)) { 370if (String.IsNullOrEmpty(decryptedString)) { 409String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName), 427bool hasAssembly = !String.IsNullOrEmpty(assemblyName); 432Debug.Assert(!String.IsNullOrEmpty(decryptedData[i + 1])); 484String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName),
Script\Services\ClientProxyGenerator.cs (6)
220if (!String.IsNullOrEmpty(proxyPath) && (proxyPath.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || proxyPath.StartsWith("https://", StringComparison.OrdinalIgnoreCase))) { 239if (!String.IsNullOrEmpty(jsonpParameterName) && !jsonpParameterName.Equals("callback", StringComparison.Ordinal)) { 256if (!String.IsNullOrEmpty(clientType)) { 382if (!String.IsNullOrEmpty(ns)) { 409if (String.IsNullOrEmpty(ns)) return; 428if (!String.IsNullOrEmpty(namespacePart)) {
Script\Services\RestHandler.cs (1)
104if (String.IsNullOrEmpty(bodyString)) {
Script\Services\RestHandlerFactory.cs (1)
41!String.IsNullOrEmpty(request.PathInfo) &&
Script\Services\WebServiceData.cs (1)
341if (!String.IsNullOrEmpty(attribute.ScriptTypeId))
Script\Services\WebServiceMethodData.cs (1)
32if (String.IsNullOrEmpty(_methodName)) {
Script\Services\WebServiceTypeData.cs (2)
51if (String.IsNullOrEmpty(ns)) { 215&& !String.IsNullOrEmpty(schemaType.Name)) {
UI\ApplicationServiceManager.cs (1)
22if(String.IsNullOrEmpty(existingUrl)) {
UI\AssemblyCache.cs (1)
57Debug.Assert(!String.IsNullOrEmpty(assemblyName));
UI\AsyncPostBackTrigger.cs (3)
121if (!String.IsNullOrEmpty(EventName)) { 148if (String.IsNullOrEmpty(ControlID)) { 153(String.IsNullOrEmpty(EventName) ? String.Empty : ("." + EventName));
UI\AuthenticationServiceManager.cs (1)
74bool pathSpecified = !String.IsNullOrEmpty(serviceUrl);
UI\CompositeScriptReference.cs (4)
51if (!String.IsNullOrEmpty(Path)) { 90bool hasPath = !String.IsNullOrEmpty(reference.EffectivePath); 93bool hasScriptPath = (!String.IsNullOrEmpty(scriptManager.ScriptPath) && !reference.IgnoreScriptPath); 136if (String.IsNullOrEmpty(reference.Path)) {
UI\ExtenderControl.cs (1)
125if (String.IsNullOrEmpty(TargetControlID)) {
UI\PageRequestManager.cs (5)
133Debug.Assert(!String.IsNullOrEmpty(type), "Type should always be specified"); 337return !String.IsNullOrEmpty(asyncPost) && 422if (String.IsNullOrEmpty(errorMessage) && !_owner.Control.Context.IsCustomErrorEnabled) { 466if (!String.IsNullOrEmpty(_focusedControlID)) { 783if (!String.IsNullOrEmpty(pageTitle)) {
UI\PostBackTrigger.cs (1)
74if (String.IsNullOrEmpty(ControlID)) {
UI\ProfileServiceManager.cs (2)
99if (!String.IsNullOrEmpty(serviceUrl)) { 153if(!String.IsNullOrEmpty(property)) {
UI\RegisteredExpandoAttribute.cs (2)
28Debug.Assert(!String.IsNullOrEmpty(controlId)); 29Debug.Assert(!String.IsNullOrEmpty(name));
UI\RegisteredScript.cs (1)
23Debug.Assert(!String.IsNullOrEmpty(url));
UI\ResourceDefaultValueAttribute.cs (1)
37if (!String.IsNullOrEmpty(baseValue)) {
UI\RoleServiceManager.cs (1)
85bool pathSpecified = !String.IsNullOrEmpty(serviceUrl);
UI\ScriptBehaviorDescriptor.cs (4)
25if (String.IsNullOrEmpty(ID)) { 26Debug.Assert(!String.IsNullOrEmpty(ElementID), "Base ctor ensures ElementID is not null or empty"); 44if (String.IsNullOrEmpty(_name)) { 71if (!String.IsNullOrEmpty(_name)) {
UI\ScriptComponentDescriptor.cs (10)
32if (String.IsNullOrEmpty(type)) { 41if (String.IsNullOrEmpty(elementID)) { 113if (String.IsNullOrEmpty(value)) { 122if (String.IsNullOrEmpty(componentID)) { 130if (String.IsNullOrEmpty(elementID)) { 137if (String.IsNullOrEmpty(name)) { 140if (String.IsNullOrEmpty(handler)) { 151if (String.IsNullOrEmpty(name)) { 159if (String.IsNullOrEmpty(script)) { 263if (!String.IsNullOrEmpty(ID)) {
UI\ScriptManager.cs (21)
952if (String.IsNullOrEmpty(frameworkScriptName)) { 960((!String.IsNullOrEmpty(frameworkScriptName) && 963(!String.IsNullOrEmpty(frameworkScriptPath) && 981if (((!String.IsNullOrEmpty(frameworkScriptName) && 984(!String.IsNullOrEmpty(frameworkScriptPath) && 1033if ((mode == AjaxFrameworkMode.Enabled) && !String.IsNullOrEmpty(_appServicesInitializationScript)) { 1197if (String.IsNullOrEmpty(serverState)) { 1538if ((entry != null) && !String.IsNullOrEmpty(entry.Item1)) { 1544if (!String.IsNullOrEmpty(entry.Item2)) { 1603if (String.IsNullOrEmpty(effectivePath)) { 1703bool hasAppServicesScript = !String.IsNullOrEmpty(_appServicesInitializationScript); 1757if (!String.IsNullOrEmpty(scriptInfo.LoadSuccessExpression)) { 1759if (String.IsNullOrEmpty(fallbackPath)) { 1793if (!String.IsNullOrEmpty(pageMethods)) { 1855if (!String.IsNullOrEmpty(script1.EffectiveResourceName)) { 1868if (!String.IsNullOrEmpty(script1.EffectiveResourceName)) { 1871if (!String.IsNullOrEmpty(script2.EffectiveResourceName)) { 1896Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ? 1934Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ? 2017if (!String.IsNullOrEmpty(ClientNavigateHandler)) { 2032if (String.IsNullOrEmpty(IPage.Title)) {
UI\ScriptReference.cs (31)
47Debug.Assert(!String.IsNullOrEmpty(name), "The script's name must be specified."); 85return String.IsNullOrEmpty(Path) ? ScriptInfo.Path : Path; 107return ((String.IsNullOrEmpty(EffectiveResourceName) && 108(!String.IsNullOrEmpty(Path) || String.IsNullOrEmpty(ScriptInfo.DebugPath))) ? 157Debug.Assert(!String.IsNullOrEmpty(resourceName)); 195if (!String.IsNullOrEmpty(EffectiveResourceName)) { 215return String.IsNullOrEmpty(Assembly) ? null : AssemblyCache.Load(Assembly); 258if (!String.IsNullOrEmpty(EffectiveResourceName)) { 268path = String.IsNullOrEmpty(predeterminedDebugPath) ? GetDebugPath(releasePath) : predeterminedDebugPath; 331bool hasName = !String.IsNullOrEmpty(Name); 332bool hasAssembly = !String.IsNullOrEmpty(Assembly); 334if (!hasName && String.IsNullOrEmpty(Path)) { 351if (!String.IsNullOrEmpty(EffectiveResourceName) && !IsAjaxFrameworkScript(scriptManager) && 359if (!String.IsNullOrEmpty(Path)) { 367else if (!String.IsNullOrEmpty(ScriptInfo.Path)) { 377if (!String.IsNullOrEmpty(resourceName)) { 383if (!String.IsNullOrEmpty(cdnPath)) { 391Debug.Assert(!String.IsNullOrEmpty(EffectiveResourceName)); 399bool isAssemblyResource = !String.IsNullOrEmpty(resourceName); 410if (isAssemblyResource && String.IsNullOrEmpty(cdnPath) && String.IsNullOrEmpty(isDebuggingEnabled ? ScriptInfo.CdnDebugPath : ScriptInfo.CdnPath)) { 416return String.IsNullOrEmpty(cdnPath) ? null : ClientUrlResolver.ResolveClientUrl(AddCultureName(scriptManager, cdnPath)); 427if (!String.IsNullOrEmpty(cdnPath)) { 436if (IgnoreScriptPath || String.IsNullOrEmpty(scriptManager.ScriptPath)) { 539if (!String.IsNullOrEmpty(Name)) { 542else if (!String.IsNullOrEmpty(Path)) { 567if (String.IsNullOrEmpty(path)) { 580else if ((assembly == null) && !String.IsNullOrEmpty(name)) { 588if (assembly != null && !String.IsNullOrEmpty(name) && String.IsNullOrEmpty(LoadSuccessExpression)) {
UI\ScriptRegistrationManager.cs (2)
255if (String.IsNullOrEmpty(resourceName)) { 552if (String.IsNullOrEmpty(activeRegistration.Url)) {
UI\ScriptResourceAttribute.cs (7)
42if (String.IsNullOrEmpty(scriptName)) { 140if (String.IsNullOrEmpty(resourceName)) { 180if (!String.IsNullOrEmpty(resourceInfo.ScriptResourceName)) { 186!String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName)) { 192!String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName) && 193!String.IsNullOrEmpty(resourceInfo.ScriptResourceName) && 292if (String.IsNullOrEmpty(typeName)) {
UI\ScriptResourceDefinition.cs (1)
109if (!String.IsNullOrEmpty(unsecurePath)) {
UI\ScriptResourceInfo.cs (2)
43_isDebug = !String.IsNullOrEmpty(_scriptName) && _scriptName.EndsWith(".debug.js", StringComparison.OrdinalIgnoreCase); 48if (!String.IsNullOrEmpty(_cdnPath)) {
UI\ScriptResourceMapping.cs (7)
19if (String.IsNullOrEmpty(name)) { 25if (String.IsNullOrEmpty(definition.ResourceName) && String.IsNullOrEmpty(definition.Path)) { 41if (!String.IsNullOrEmpty(path) && 55if (String.IsNullOrEmpty(name)) { 71if (!String.IsNullOrEmpty(name)) { 83if (String.IsNullOrEmpty(name)) {
UI\ServiceReference.cs (4)
91if (String.IsNullOrEmpty(path)) { 107if (!String.IsNullOrEmpty(script)) { 114if (!String.IsNullOrEmpty(url)) { 122if (!String.IsNullOrEmpty(Path)) {
UI\UpdatePanelControlTrigger.cs (1)
39if (String.IsNullOrEmpty(ControlID)) {
UI\UpdateProgress.cs (1)
192if (!String.IsNullOrEmpty(AssociatedUpdatePanelID)) {
UI\WebControls\ContextDataSourceView.cs (3)
87if (_contextType == null && !String.IsNullOrEmpty(ContextTypeName)) { 136if (String.IsNullOrEmpty(entitySetTypeName)) { 155if (!String.IsNullOrEmpty(typeName)) {
UI\WebControls\DataPager.cs (4)
291if (!String.IsNullOrEmpty(PagedControlID)) { 335if (String.IsNullOrEmpty(field)) { 452if (!String.IsNullOrEmpty(QueryStringField)) { 491if (!String.IsNullOrEmpty(QueryStringField)) {
UI\WebControls\Dynamic.cs (2)
657if (!String.IsNullOrEmpty(pe.Name)) 659if (parameters.Length == 1 && String.IsNullOrEmpty(parameters[0].Name))
UI\WebControls\Expressions\ExpressionHelper.cs (1)
33if (String.IsNullOrEmpty(propertyName)) {
UI\WebControls\Expressions\MethodExpression.cs (2)
60if (!String.IsNullOrEmpty(typeName)) { 75if (String.IsNullOrEmpty(MethodName)) {
UI\WebControls\Expressions\OfTypeExpression.cs (1)
58if (String.IsNullOrEmpty(typeName)) {
UI\WebControls\Expressions\OrderByExpression.cs (1)
57if (String.IsNullOrEmpty(DataField)) {
UI\WebControls\Expressions\PropertyExpression.cs (1)
20if (!String.IsNullOrEmpty(pair.Key)) {
UI\WebControls\Expressions\RangeExpression.cs (1)
53if (String.IsNullOrEmpty(DataField)) {
UI\WebControls\Expressions\SearchExpression.cs (2)
47if ((DataFields == null) || String.IsNullOrEmpty(DataFields.Trim())) { 59if (String.IsNullOrEmpty(query)) {
UI\WebControls\LinqDataSource.cs (1)
580if (String.IsNullOrEmpty(ContextTypeName)) {
UI\WebControls\LinqDataSourceView.cs (6)
112if (String.IsNullOrEmpty(typeName)) { 591String.IsNullOrEmpty(GroupBy) && String.IsNullOrEmpty(SelectNew); 609if (String.IsNullOrEmpty(tableName)) { 936if (!String.IsNullOrEmpty(GroupBy)) { 940if (!String.IsNullOrEmpty(SelectNew)) {
UI\WebControls\ListView.cs (8)
532if (String.IsNullOrEmpty(value)) { 668if (String.IsNullOrEmpty(value)) { 1283return !String.IsNullOrEmpty(SelectMethod) || 1284!String.IsNullOrEmpty(UpdateMethod) || 1285!String.IsNullOrEmpty(DeleteMethod) || 1286!String.IsNullOrEmpty(InsertMethod); 1574if (SortDirectionInternal == SortDirection.Descending && !String.IsNullOrEmpty(sortExpression)) { 2824if (!DesignMode && !String.IsNullOrEmpty(ItemType)) {
UI\WebControls\NextPreviousPagerField.cs (5)
438if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 478if (!String.IsNullOrEmpty(ButtonCssClass)) { 507if (webControl != null && !String.IsNullOrEmpty(ButtonCssClass)) { 521if (!String.IsNullOrEmpty(ButtonCssClass)) { 532if (String.IsNullOrEmpty(DataPager.QueryStringField)) {
UI\WebControls\NumericPagerField.cs (8)
289if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 338if (webControl != null && !String.IsNullOrEmpty(NumericButtonCssClass)) { 351if (!String.IsNullOrEmpty(NumericButtonCssClass)) { 381if (webControl != null && !String.IsNullOrEmpty(NextPreviousButtonCssClass)) { 394if (!String.IsNullOrEmpty(NextPreviousButtonCssClass)) { 405if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 428if (!String.IsNullOrEmpty(CurrentPageLabelCssClass)) { 463if (!String.IsNullOrEmpty(CurrentPageLabelCssClass)) {
UI\WebControls\QueryableDataSourceHelper.cs (7)
121if (String.IsNullOrEmpty(key)) { 138if (String.IsNullOrEmpty(key)) { 154if (!String.IsNullOrEmpty(orderByExpression)) { 165if (!String.IsNullOrEmpty(clause.Expression)) { 185if (!(String.IsNullOrEmpty(key) || String.IsNullOrEmpty(value))) { 208if (!String.IsNullOrEmpty(value)) {
UI\WebControls\QueryableDataSourceView.cs (9)
401if (!String.IsNullOrEmpty(Where)) { 407else if (!String.IsNullOrEmpty(Where)) { 412if (!String.IsNullOrEmpty(OrderBy)) { 418else if (!String.IsNullOrEmpty(OrderBy)) { 424if (String.IsNullOrEmpty(groupBy)) { 425if (!String.IsNullOrEmpty(OrderGroupsBy)) { 432if (!String.IsNullOrEmpty(OrderGroupsBy)) { 437if (!String.IsNullOrEmpty(SelectNew)) { 450if (CanSort && AutoSort && !String.IsNullOrEmpty(sortExpression)) {
UI\WebControls\QueryExtender.cs (1)
37if (String.IsNullOrEmpty(TargetControlID)) {
UI\WebResourceUtil.cs (1)
133if (String.IsNullOrEmpty(s)) {
Util\HeaderUtility.cs (1)
12if (String.IsNullOrEmpty(acceptEncodingHeader)) {
System.Web.Mobile (65)
Mobile\DeviceFiltersSection.cs (5)
335if(string.IsNullOrEmpty(elem.Method)) { 340if (!string.IsNullOrEmpty(elem.Compare)) { 343else if (!string.IsNullOrEmpty(elem.Argument)) { 353if (string.IsNullOrEmpty(elem.Compare)) { 358if (!string.IsNullOrEmpty(elem.Method)) {
Mobile\MobileCapabilities.cs (1)
150if(String.IsNullOrEmpty(delegateName))
Mobile\MobileDeviceCapabilitiesSectionHandler.cs (1)
148if(String.IsNullOrEmpty(capabilityName))
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
354if (String.IsNullOrEmpty(promptText))
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (1)
312if (!String.IsNullOrEmpty(value))
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (1)
91if (!String.IsNullOrEmpty(Control.Form.Action))
UI\MobileControls\Adapters\HtmlCommandAdapter.cs (1)
53if (!String.IsNullOrEmpty(Control.ImageUrl) &&
UI\MobileControls\Adapters\HtmlControlAdapter.cs (1)
232if (!String.IsNullOrEmpty(attributeValue))
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
55bool isTitleEmpty = String.IsNullOrEmpty(title);
UI\MobileControls\Adapters\HtmlImageAdapter.cs (5)
40if (!String.IsNullOrEmpty(target)) 45if (String.IsNullOrEmpty(Control.ImageUrl)) 60if (!String.IsNullOrEmpty(target)) 74if (!String.IsNullOrEmpty(source)) 83if (!String.IsNullOrEmpty(Control.AlternateText))
UI\MobileControls\Adapters\HtmlLabelAdapter.cs (1)
67(String.IsNullOrEmpty(Control.Text) || WhiteSpace(Control.Text) ) )
UI\MobileControls\Adapters\HtmlLinkAdapter.cs (1)
47writer.WriteText(String.IsNullOrEmpty(Control.Text) ? navigateUrl : Control.Text, true);
UI\MobileControls\Adapters\HtmlPhoneCallAdapter.cs (2)
53if (String.IsNullOrEmpty(text)) 82if (!String.IsNullOrEmpty(url))
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (2)
237Debug.Assert (String.IsNullOrEmpty(Control.Form.Action), 315if (Page.DesignMode || String.IsNullOrEmpty(Control.Form.Action))
UI\MobileControls\Adapters\HtmlValidationSummaryAdapter.cs (1)
92_link.Text = String.IsNullOrEmpty(Control.BackLabel) ? GetDefaultLabel(BackLabel) : Control.BackLabel;
UI\MobileControls\Adapters\HtmlValidatorAdapter.cs (2)
51if (!String.IsNullOrEmpty(Control.Text)) 55else if (!String.IsNullOrEmpty(Control.ErrorMessage))
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
341if (String.IsNullOrEmpty(promptText))
UI\MobileControls\Adapters\WmlFormAdapter.cs (3)
52if(!String.IsNullOrEmpty(formsAuthCookieName)) 61!String.IsNullOrEmpty(formsAuthCookieName) && 68if(!String.IsNullOrEmpty(value))
UI\MobileControls\Adapters\WmlImageAdapter.cs (3)
50if (!String.IsNullOrEmpty(target)) 56if (String.IsNullOrEmpty(source)) 84if (!String.IsNullOrEmpty(target))
UI\MobileControls\Adapters\WmlLinkAdapter.cs (1)
46String text = (String.IsNullOrEmpty(Control.Text)) ? navigateUrl : Control.Text;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
868if(!String.IsNullOrEmpty(formsAuthCookieName))
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (2)
121bool crossPagePost = !String.IsNullOrEmpty(Control.Form.Action); 171Debug.Assert (String.IsNullOrEmpty(Control.Form.Action),
UI\MobileControls\Adapters\WmlTextBoxAdapter.cs (1)
76if (String.IsNullOrEmpty(format))
UI\MobileControls\Adapters\WmlValidatorAdapter.cs (2)
51if (String.IsNullOrEmpty(text)) 56if (!String.IsNullOrEmpty(text))
UI\MobileControls\AdRotator.cs (1)
248if (!String.IsNullOrEmpty(accesskey))
UI\MobileControls\ControlsConfig.cs (1)
190if (!String.IsNullOrEmpty(typeString)) {
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (2)
57if (!String.IsNullOrEmpty(source)) 61if (!String.IsNullOrEmpty(Control.AlternateText))
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (2)
69if (String.IsNullOrEmpty((String) Style[Style.FontNameKey, true])) 156if (!String.IsNullOrEmpty(Control.Text))
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
143if (!String.IsNullOrEmpty(fontName))
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (1)
79writer.WriteText(String.IsNullOrEmpty(Control.BackLabel) ? GetDefaultLabel(BackLabel) : Control.BackLabel, true);
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
162if (!String.IsNullOrEmpty(dataMember))
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
178if(String.IsNullOrEmpty(node.Text))
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
303if (String.IsNullOrEmpty(value) || 700if (!String.IsNullOrEmpty(templateContent))
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
1046if (!String.IsNullOrEmpty(value) &&
UI\MobileControls\Design\Util\DesignerUtility.cs (1)
64if (String.IsNullOrEmpty(filter))
UI\MobileControls\MobileControlsSection.cs (1)
457if ( string.IsNullOrEmpty(elem.InheritsFrom) )
UI\MobileControls\MobileControlsSectionHandler.cs (2)
45if (!String.IsNullOrEmpty(cookielessDataDictionaryType)) { 123if (String.IsNullOrEmpty(deviceName)) {
UI\MobileControls\MobileControlsSectionHelper.cs (1)
62Debug.Assert(!String.IsNullOrEmpty(device.PredicateMethod));
UI\MobileControls\PagerStyle.cs (2)
103if (!String.IsNullOrEmpty(s)) 117if (!String.IsNullOrEmpty(s))
UI\MobileControls\PhoneCall.cs (1)
63if (!String.IsNullOrEmpty(value)) {
UI\MobileControls\Style.cs (1)
278if (String.IsNullOrEmpty(reference))
UI\MobileControls\StyleSheet.cs (2)
93if (String.IsNullOrEmpty(name)) { 131if (String.IsNullOrEmpty(name)) {
System.Web.Services (5)
System\Web\Services\Description\SoapProtocolImporter.cs (2)
681requestMessageName = !String.IsNullOrEmpty(requestBinding.Name) && soapBindingStyle != SoapBindingStyle.Rpc ? requestBinding.Name : this.Operation.Name; // per WSDL 1.1 sec 3.5 685responseMessageName = !String.IsNullOrEmpty(responseBinding.Name) && soapBindingStyle != SoapBindingStyle.Rpc ? responseBinding.Name : this.Operation.Name + "Response"; // per WSDL 1.1 sec 3.5
System\Web\Services\Diagnostics\TraceUtility.cs (2)
193if (IsVerbose && !string.IsNullOrEmpty(e.StackTrace)) { 218if (!string.IsNullOrEmpty(hostName))
System\Web\Services\Protocols\WebServiceHandler.cs (1)
141if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Error, this, string.IsNullOrEmpty(method) ? "HandleOneWayException" : method, e);
System.Windows.Forms (305)
misc\DpiHelper.cs (3)
82if (!string.IsNullOrEmpty(value) && string.Equals(value, "true", StringComparison.InvariantCultureIgnoreCase)) 124if (string.IsNullOrEmpty(dpiAwarenessValue)) 133if (!string.IsNullOrEmpty(dpiAwarenessValue)) // setting in configuration wins
misc\GDI\WindowsGraphics2.cs (3)
203if (string.IsNullOrEmpty(text) || foreColor == Color.Transparent) 378if (string.IsNullOrEmpty(text)) 446if (string.IsNullOrEmpty(text))
misc\MultitargetUtil.cs (1)
41if (string.IsNullOrEmpty(assemblyQualifiedName))
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (5)
735if (string.IsNullOrEmpty(hash)) 770if (!string.IsNullOrEmpty(encodedMessage)) 834string.IsNullOrEmpty(timestamps[0].InnerText) || string.IsNullOrEmpty(signatureValues[0].InnerText)) 1078if (!string.IsNullOrEmpty(value))
winforms\Managed\System\Resources\ResXDataNode.cs (3)
181if(!string.IsNullOrEmpty(nodeInfo.TypeName)) // can be null if we have a string (default for string is TypeName == null) 277if(String.IsNullOrEmpty(fileRefTextEncoding)) 882if (!string.IsNullOrEmpty(assemblyQualifiedTypeName)) {
winforms\Managed\System\Resources\ResXResourceReader.cs (4)
574if (string.IsNullOrEmpty(alias)) { 590if (!string.IsNullOrEmpty(typeName)) { 593if (!string.IsNullOrEmpty(alias)) { 692if (this.cachedAliases != null && !string.IsNullOrEmpty(alias)) {
winforms\Managed\System\Resources\ResXResourceWriter.cs (10)
469if (!String.IsNullOrEmpty(modifiedBasePath)) { 539if (!string.IsNullOrEmpty(type) && elementName == DataStr) 542if(string.IsNullOrEmpty(assemblyName)) { 562if (!string.IsNullOrEmpty(alias) && !string.IsNullOrEmpty(type) && elementName == DataStr) { 585if(!string.IsNullOrEmpty(value)) { 590if(!string.IsNullOrEmpty(comment)) { 605if (!string.IsNullOrEmpty(alias)) { 609if (!string.IsNullOrEmpty(name)) { 624if (string.IsNullOrEmpty(alias))
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
619return !string.IsNullOrEmpty(DefaultAction);
winforms\Managed\System\WinForms\Application.cs (3)
293if (!string.IsNullOrEmpty(ns)){ 522if (!string.IsNullOrEmpty(ns)) { 1617if (string.IsNullOrEmpty(boolStr))
winforms\Managed\System\WinForms\Binding.cs (1)
637if (!String.IsNullOrEmpty(errorText)) {
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
161char ch = string.IsNullOrEmpty(Name) || char.IsLower(Name[0]) ? 'b' : 'B';
winforms\Managed\System\WinForms\BindingSource.cs (5)
188if (String.IsNullOrEmpty(dataMember)) { 868if (String.IsNullOrEmpty(this.dataMember)) { 1052if (!String.IsNullOrEmpty(this.dataMember)) { 1118if (String.IsNullOrEmpty(sortString)) { 1748if (ds is ITypedList && !String.IsNullOrEmpty(this.dataMember)) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1059if (!string.IsNullOrEmpty(text)) { 1451else if (!string.IsNullOrEmpty(text)) { // GDI text rendering (Whidbey feature).
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
278if (AccessibilityImprovements.Level2 && String.IsNullOrEmpty(Control.Text)) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
67if (!AccessibilityImprovements.Level2 || !String.IsNullOrEmpty(Control.Text)) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
38if (!AccessibilityImprovements.Level2 || !String.IsNullOrEmpty(Control.Text)) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
198if (AccessibilityImprovements.Level2 && String.IsNullOrEmpty(Control.Text)) {
winforms\Managed\System\WinForms\Clipboard.cs (1)
563if (String.IsNullOrEmpty(text)) {
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
480return !string.IsNullOrEmpty(this.name);
winforms\Managed\System\WinForms\ColumnHeaderConverter.cs (1)
68if (id == null && !String.IsNullOrEmpty(col.ImageKey)) {
winforms\Managed\System\WinForms\ComboBox.cs (4)
1276if (!String.IsNullOrEmpty(candidate)) { 1289if (DropDownStyle == ComboBoxStyle.DropDownList && !IsHandleCreated && !String.IsNullOrEmpty(value) && FindStringExact(value) == -1) 2399if (!String.IsNullOrEmpty(oldText) && String.IsNullOrEmpty(WindowText)) {
winforms\Managed\System\WinForms\Control.cs (8)
3398if (String.IsNullOrEmpty(name)) { 3411if (String.IsNullOrEmpty(value)) { 14898if (String.IsNullOrEmpty(key)) { 14977if (String.IsNullOrEmpty(key)) { 15107if (String.IsNullOrEmpty(key)) { 19744if (!string.IsNullOrEmpty(text)) { 19753if (!string.IsNullOrEmpty(text)) { 19845if (!String.IsNullOrEmpty(fileName)) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
5704if (String.IsNullOrEmpty(this.DataMember))
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
257if (String.IsNullOrEmpty(column.MappingName))
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
568if (!String.IsNullOrEmpty(errString)) {
winforms\Managed\System\WinForms\DataGridRow.cs (2)
629if (!String.IsNullOrEmpty(tooltip)) { 636if (String.IsNullOrEmpty(errString))
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
178if (String.IsNullOrEmpty(table.MappingName))
winforms\Managed\System\WinForms\DataGridView.cs (6)
4791this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4805this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4845this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption) /*activate*/); 4858bool activate = !String.IsNullOrEmpty(this.toolTipCaption); 4940this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4954this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption));
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
41if (!String.IsNullOrEmpty(name))
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
279String.IsNullOrEmpty(GetErrorText(rowIndex))) 345if (string.IsNullOrEmpty(formattedString)) 918if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
240!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (11)
328if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropCellErrorText)) 887if (!String.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropCellToolTipText)) 2898if (string.IsNullOrEmpty(text)) 3115if (String.IsNullOrEmpty(toolTipText)) 3131if (!string.IsNullOrEmpty(editedFormattedValue)) 3143if (!string.IsNullOrEmpty(stringValue)) 3181if (!String.IsNullOrEmpty(toolTipText)) 3205Debug.Assert(!String.IsNullOrEmpty(errorText), "if we entered the cell error area then an error was painted, so we should have an error"); 4300if (!string.IsNullOrEmpty(errorText) && 4323if (!string.IsNullOrEmpty(errorText) && 4961if (formattedValue == null || (formattedValueAsString != null && String.IsNullOrEmpty(formattedValueAsString)))
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
880if (!string.IsNullOrEmpty(this.Format))
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
598String.IsNullOrEmpty(GetErrorText(rowIndex))) 1610if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
345!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
321!String.IsNullOrEmpty(defaultCellStyle.Format) || 856if (this.Site != null && !String.IsNullOrEmpty(this.Site.Name)) 866if (String.IsNullOrEmpty(value))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (7)
552if (!string.IsNullOrEmpty(valStr)) 578if (!string.IsNullOrEmpty(valStr)) 605!string.IsNullOrEmpty(valStr)) 654if (!string.IsNullOrEmpty(valStr)) 674if (!string.IsNullOrEmpty(valStr)) 688if (!string.IsNullOrEmpty(valStr)) 925!String.IsNullOrEmpty(formattedValueStr))
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (22)
1072String.IsNullOrEmpty(GetErrorText(rowIndex))) 1174!string.IsNullOrEmpty(this.ValueMember) || !string.IsNullOrEmpty(this.DisplayMember)) 1183else if (strValue != null && String.IsNullOrEmpty(strValue) && this.DisplayType == typeof(String)) 1211(!(value is String) || !String.IsNullOrEmpty(strValue))) 1259else if (!string.IsNullOrEmpty(this.DisplayMember)) 1268else if (!string.IsNullOrEmpty(this.ValueMember)) 1328else if (!string.IsNullOrEmpty(this.ValueMember)) 1337if (!valueSet && !string.IsNullOrEmpty(this.DisplayMember)) 1446if (!string.IsNullOrEmpty(formattedValue)) 1596if (String.IsNullOrEmpty(displayMember)) 1624if (String.IsNullOrEmpty(valueMember)) 1698Debug.Assert(!string.IsNullOrEmpty(field)); 1783!string.IsNullOrEmpty(this.ValueMember) || !string.IsNullOrEmpty(this.DisplayMember)); 1795item = ItemFromComboBoxItems(rowIndex, string.IsNullOrEmpty(this.ValueMember) ? this.DisplayMember : this.ValueMember, value); 1825!string.IsNullOrEmpty(this.DisplayMember) || !string.IsNullOrEmpty(this.ValueMember)); 1837item = ItemFromComboBoxItems(this.RowIndex, string.IsNullOrEmpty(this.DisplayMember) ? this.ValueMember : this.DisplayMember, formattedValue); 2643if (!String.IsNullOrEmpty(errorText)) 2677!string.IsNullOrEmpty(this.DisplayMember) || !string.IsNullOrEmpty(this.ValueMember))
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (2)
722if (!string.IsNullOrEmpty(dataPropertyName)) 1044dataGridViewColumn.HeaderText = !String.IsNullOrEmpty(this.props[i].DisplayName) ? this.props[i].DisplayName : this.props[i].Name;
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
88if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropImageCellDescription)) 373String.IsNullOrEmpty(GetErrorText(rowIndex))) 962if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
337!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
617String.IsNullOrEmpty(GetErrorText(rowIndex))) 668if (string.IsNullOrEmpty(formattedString)) 1152if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
1523!String.IsNullOrEmpty(dataGridViewCols[i].DataPropertyName) && 2716if (String.IsNullOrEmpty(this.editingControl.AccessibleName)) 3328return String.IsNullOrEmpty(this.toolTipCaption) && this.ShowCellToolTips; 29935if (!String.IsNullOrEmpty(toolTip))
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
221if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropRowErrorText)) 1347if (string.IsNullOrEmpty(errorText) &&
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (4)
374String.IsNullOrEmpty(GetErrorText(rowIndex))) 894if (!String.IsNullOrEmpty(formattedString)) 1035if (!String.IsNullOrEmpty(errorText)) 1117if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (4)
271if (string.IsNullOrEmpty(editedFormattedValue)) 375String.IsNullOrEmpty(GetErrorText(rowIndex))) 443if (string.IsNullOrEmpty(formattedString)) 786if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (3)
341!String.IsNullOrEmpty(formattedValueStr) && 376else if (computeErrorIconBounds && !String.IsNullOrEmpty(errorText)) 516if (String.IsNullOrEmpty(strValue))
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (3)
187if (!String.IsNullOrEmpty(val)) 222if (!String.IsNullOrEmpty(val)) 268if (!String.IsNullOrEmpty(val))
winforms\Managed\System\WinForms\DataObject.cs (1)
443if (String.IsNullOrEmpty(textData)) {
winforms\Managed\System\WinForms\ErrorProvider.cs (2)
352if (parentControl != null && value != null && !String.IsNullOrEmpty(this.dataMember)) { 533if (String.IsNullOrEmpty(outputError)) {
winforms\Managed\System\WinForms\FileDialog_Vista.cs (2)
90if (!string.IsNullOrEmpty(this.InitialDirectory)) 285if (!string.IsNullOrEmpty(filter))
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (3)
40if (string.IsNullOrEmpty(this._path)) 76if (!string.IsNullOrEmpty(this._path)) 85if (string.IsNullOrEmpty(filePathString))
winforms\Managed\System\WinForms\Formatter.cs (1)
127if (value is IFormattable && !String.IsNullOrEmpty(formatString)) {
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (6)
225if (string.IsNullOrEmpty(text)) 237if (string.IsNullOrEmpty(text)) 249if (string.IsNullOrEmpty(text)) 264if (string.IsNullOrEmpty(text)) 293if (string.IsNullOrEmpty(text)) 323if (string.IsNullOrEmpty(text))
winforms\Managed\System\WinForms\Help.cs (2)
332if (!string.IsNullOrEmpty(partialUri)) { 440if ((String.IsNullOrEmpty(param)) &&
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
164return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\HtmlWindow.cs (1)
240return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\Label.cs (1)
1296if (string.IsNullOrEmpty(Text)) {
winforms\Managed\System\WinForms\LinkLabel.cs (6)
598if (String.IsNullOrEmpty(text)) { 737if (String.IsNullOrEmpty(Text)) { 753if (String.IsNullOrEmpty(text)) { 2019if (string.IsNullOrEmpty(key)){ 2252if (string.IsNullOrEmpty(key)){ 2470if (owner != null && !String.IsNullOrEmpty(owner.Text)) {
winforms\Managed\System\WinForms\ListBindingHelper.cs (3)
63if (dataSource == null || dataSource is Type || String.IsNullOrEmpty(dataMember)) { 201if (!String.IsNullOrEmpty(dataMember)) { 302if (String.IsNullOrEmpty(dataMember)) {
winforms\Managed\System\WinForms\ListControl.cs (1)
423if (string.IsNullOrEmpty(propertyName))
winforms\Managed\System\WinForms\ListItemConverter.cs (5)
64if (!String.IsNullOrEmpty(item.ImageKey)) { 98if (!String.IsNullOrEmpty(item.ImageKey)) { 135if (item.ImageIndex == -1 && String.IsNullOrEmpty(item.ImageKey) && item.SubItems.Count <= 1) { 145if (!String.IsNullOrEmpty(item.ImageKey)) { 164if (!String.IsNullOrEmpty(item.ImageKey)) {
winforms\Managed\System\WinForms\ListView.cs (13)
2878if (!String.IsNullOrEmpty(fileName)) { 2980if (!String.IsNullOrEmpty(this.backgroundImageFileName) || this.bkImgFileNames != null) { 2991if (!String.IsNullOrEmpty(this.backgroundImageFileName)) { 4828if (String.IsNullOrEmpty(fileNameToDelete)) { 6143if (lvi != null && !string.IsNullOrEmpty(lvi.ToolTipText)) { 6731if(string.IsNullOrEmpty(key)) { 6854if (string.IsNullOrEmpty(key)) { 7414if (string.IsNullOrEmpty(key)){ 7646if (string.IsNullOrEmpty(key)){ 7720if (string.IsNullOrEmpty(key)){ 7809if (string.IsNullOrEmpty(key)){ 8411if (string.IsNullOrEmpty(key)){ 8673if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
288if (!String.IsNullOrEmpty(this.Name)) {
winforms\Managed\System\WinForms\ListViewItem.cs (5)
1001if (!String.IsNullOrEmpty(this.ImageIndexer.Key)) { 1104if (String.IsNullOrEmpty(this.groupName)) { 1324if (!String.IsNullOrEmpty(ImageIndexer.Key)) { 1814if (string.IsNullOrEmpty(key)){ 2041if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
712if( this.flagState[IS_NULL_MASK] == string.IsNullOrEmpty( value ) && (this.flagState[IS_NULL_MASK] || value == this.maskedTextProvider.Mask) ) 723if( string.IsNullOrEmpty( value ) ) // Resetting the control, the native edit control will be in charge. 1327if (string.IsNullOrEmpty(value)) 2518if( string.IsNullOrEmpty(text) )
winforms\Managed\System\WinForms\Menu.cs (2)
726if (string.IsNullOrEmpty(key)){ 1032if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
675if (string.IsNullOrEmpty(tipText))
winforms\Managed\System\WinForms\NumericUpDown.cs (2)
605if (!string.IsNullOrEmpty(Text) && 784if (currentValueChanged || (!string.IsNullOrEmpty(Text) &&
winforms\Managed\System\WinForms\OpenFileDialog.cs (1)
263if (string.IsNullOrEmpty(fullPath))
winforms\Managed\System\WinForms\PictureBox.cs (3)
412pictureBoxState[PICTUREBOXSTATE_needToLoadImageLocation] = !string.IsNullOrEmpty(imageLocation); 415if (string.IsNullOrEmpty(imageLocation) && 421if (WaitOnLoad && !pictureBoxState[PICTUREBOXSTATE_inInitialization] && !string.IsNullOrEmpty(imageLocation))
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
57if (this.IsHandleCreated || !String.IsNullOrEmpty(value)) {
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
74if (string.IsNullOrEmpty(e.Message)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
881if (newHandler == null && !String.IsNullOrEmpty(handler)) { 884else if (handler == newHandler && !String.IsNullOrEmpty(newHandler)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2862needReset = originalTextValue != curTextValue && !(string.IsNullOrEmpty(originalTextValue) && string.IsNullOrEmpty(curTextValue));
winforms\Managed\System\WinForms\PropertyManager.cs (2)
40if (this.dataSource != null && !String.IsNullOrEmpty(this.propName)) { 47if (this.dataSource != null && !String.IsNullOrEmpty(this.propName)) {
winforms\Managed\System\WinForms\RichTextBox.cs (4)
387Debug.Assert(versionInfo != null && !string.IsNullOrEmpty(versionInfo.ProductVersion), "Couldn't get the version info for the richedit dll"); 388if (versionInfo != null && !string.IsNullOrEmpty(versionInfo.ProductVersion)) { 3125if(!String.IsNullOrEmpty(result) && (result[result.Length-1] == '\0')) { 3347if (!string.IsNullOrEmpty(linktext))
winforms\Managed\System\WinForms\SaveFileDialog.cs (1)
102if (string.IsNullOrEmpty(filename))
winforms\Managed\System\WinForms\SendKeys.cs (1)
287if (string.IsNullOrEmpty(value))
winforms\Managed\System\WinForms\StatusBar.cs (2)
1282if (string.IsNullOrEmpty(key)){ 1453if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\TabControl.cs (3)
2032if (!string.IsNullOrEmpty(tipText)) 2283if (string.IsNullOrEmpty(key)){ 2512if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
56if (!String.IsNullOrEmpty(stringVal) && converter != null) { 437if (!String.IsNullOrEmpty(stringVal)) {
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (3)
147if (!string.IsNullOrEmpty(attributeValue)) { 164if (!string.IsNullOrEmpty(name)) { 194if (!string.IsNullOrEmpty(styleString)) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1827if (String.IsNullOrEmpty(this.WindowText)) {
winforms\Managed\System\WinForms\ToolBar.cs (2)
1849if (string.IsNullOrEmpty(key)){ 2058if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\ToolBarButton.cs (2)
399if (String.IsNullOrEmpty(value)) { 484if (this.parent.ImageList != null || !String.IsNullOrEmpty(Text)) {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
2757if (!String.IsNullOrEmpty(text)) { 3057if (string.IsNullOrEmpty(currentItem.Text) || !currentItem.Enabled) { 3107if (!(currentItem is ToolStripMenuItem) || string.IsNullOrEmpty(currentItem.Text) || !currentItem.Enabled) {
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
271if (string.IsNullOrEmpty(stockName)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (5)
2388if (AutoToolTip && string.IsNullOrEmpty(toolTipText)) { 2623if (!Enabled && ParentInternal != null && !string.IsNullOrEmpty(ToolTipText)) { 2721if (string.IsNullOrEmpty(Text)) { 3229if (ParentInternal != null && !string.IsNullOrEmpty(ToolTipText)) { 3676return !string.IsNullOrEmpty(toolTipText);
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
672if (String.IsNullOrEmpty(key)) { 700if (String.IsNullOrEmpty(key)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
837if (string.IsNullOrEmpty(shortcutString)) { 1211if (!string.IsNullOrEmpty(shortcutKeyDisplayString)) {
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
156if (string.IsNullOrEmpty(stockName)) {
winforms\Managed\System\WinForms\ToolStripSettings.cs (13)
125if (toolStrip != null && !string.IsNullOrEmpty(toolStrip.Name)) { 140if (toolStrip != null && !string.IsNullOrEmpty(toolStrip.Name)) { 184object destinationPanel = !string.IsNullOrEmpty(toolStripSettings.ToolStripPanelName) ? toolStripSettings.ToolStripPanelName : null; 188if (!string.IsNullOrEmpty(toolStripSettings.Name)) { 216if (String.IsNullOrEmpty(toolStripPanelName) && toolStripPanel.Parent is ToolStripContainer && !String.IsNullOrEmpty(toolStripPanel.Parent.Name)) { 226if (!string.IsNullOrEmpty(settings.Name)) { 248if (!string.IsNullOrEmpty(itemNames)) { 257if (!string.IsNullOrEmpty(key) && itemLocationHash.ContainsKey(key)) { 273if (!string.IsNullOrEmpty(item.Name)) { 379if (!String.IsNullOrEmpty(parentPanel.Name)) { 382else if (parentPanel.Parent is ToolStripContainer && !String.IsNullOrEmpty(parentPanel.Parent.Name)) { 387Debug.Assert(!String.IsNullOrEmpty(this.ToolStripPanelName), "ToolStrip was parented to a panel, but we couldn't figure out its name.");
winforms\Managed\System\WinForms\ToolTip.cs (4)
537string title = !String.IsNullOrEmpty(toolTipTitle) ? toolTipTitle : " "; 934if (toolTipIcon > 0 || !String.IsNullOrEmpty(toolTipTitle)) { 936string title = !String.IsNullOrEmpty(toolTipTitle) ? toolTipTitle : " "; 1450if (info == null || String.IsNullOrEmpty(info.Caption)) {
winforms\Managed\System\WinForms\TreeNode.cs (4)
1286if ( ! (string.IsNullOrEmpty(ImageIndexer.Key))) { 1291if (!(string.IsNullOrEmpty(SelectedImageIndexer.Key))) { 1296if (!(string.IsNullOrEmpty(StateImageIndexer.Key))) { 1534if (!String.IsNullOrEmpty(this.StateImageKey)) {
winforms\Managed\System\WinForms\TreeNodeCollection.cs (2)
102if (string.IsNullOrEmpty(key)){ 429if (string.IsNullOrEmpty(key)){
winforms\Managed\System\WinForms\TreeView.cs (3)
611if (String.IsNullOrEmpty(value) || value.Equals(SR.GetString(SR.toStringNone))) { 1100if (String.IsNullOrEmpty(value) || value.Equals(SR.GetString(SR.toStringNone))) { 2946if (ShowNodeToolTips && tn != null && (!string.IsNullOrEmpty(tn.ToolTipText))) {
winforms\Managed\System\WinForms\TrustManager.cs (6)
469TrustManagerPromptUIThread basicInstallDialog = new TrustManagerPromptUIThread(string.IsNullOrEmpty(parsedData.AppName) ? info.ApplicationId.Name : parsedData.AppName, 700if (string.IsNullOrEmpty(host)) 704if (string.IsNullOrEmpty(uri.Host) && host.StartsWith("/")) 800if (string.IsNullOrEmpty(promptingLevelStr)) 843TrustManagerPromptUIThread highRiskDialog = new TrustManagerPromptUIThread(string.IsNullOrEmpty(parsedData.AppName) ? info.ApplicationId.Name : parsedData.AppName, 876TrustManagerPromptUIThread errorDialog = new TrustManagerPromptUIThread(string.IsNullOrEmpty(parsedData.AppName) ? info.ApplicationId.Name : parsedData.AppName,
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (3)
494if (!String.IsNullOrEmpty(textToDraw)) { 870if (String.IsNullOrEmpty(textToDraw)) { 895if (String.IsNullOrEmpty(textToDraw)) {
winforms\Managed\System\WinForms\WebBrowser.cs (3)
270if (!string.IsNullOrEmpty(href)) 620if (string.IsNullOrEmpty(urlString)) 1532if (string.IsNullOrEmpty(urlString)) {
winforms\Managed\System\WinForms\WebBrowserUriTypeConverter.cs (1)
18if (uri != null && !string.IsNullOrEmpty(uri.OriginalString) && !uri.IsAbsoluteUri)
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
371if (string.IsNullOrEmpty(defaultNameValue)) {
System.Windows.Forms.DataVisualization (59)
Common\Annotation\AnnotationBase.cs (1)
379if (String.IsNullOrEmpty(value))
Common\Annotation\AnnotationCollection.cs (1)
128if (textAnnotation != null && string.IsNullOrEmpty(textAnnotation.Text) && Chart != null && Chart.IsDesignMode())
Common\DataManager\DataPoint.cs (17)
2577if (!String.IsNullOrEmpty(strToReplace)) 5823 return !String.IsNullOrEmpty(series.label); 5835 return !String.IsNullOrEmpty(series.axisLabel); 5847 return !String.IsNullOrEmpty(series.labelFormat); 5931 return !String.IsNullOrEmpty(series.backImage); 6076 return !String.IsNullOrEmpty(series.markerImage); 6124 return !String.IsNullOrEmpty(series.toolTip); 6138 return !String.IsNullOrEmpty(series.url); 6150 return !String.IsNullOrEmpty(series.mapAreaAttributes); 6161return !String.IsNullOrEmpty(series.postbackValue); 6173 return !String.IsNullOrEmpty(series.legendUrl); 6185 return !String.IsNullOrEmpty(series.legendMapAreaAttributes); 6199 return !String.IsNullOrEmpty(series.labelUrl); 6211 return !String.IsNullOrEmpty(series.labelMapAreaAttributes); 6239 return !String.IsNullOrEmpty(series.legendText); 6251 return !String.IsNullOrEmpty(series.legendToolTip); 6265 return !String.IsNullOrEmpty(series.labelToolTip);
Common\DataManager\DataSeries.cs (3)
144if (String.IsNullOrEmpty(item.ChartArea) && Chart.ChartAreas != null) 148if (String.IsNullOrEmpty(item.Legend) && Chart.Legends != null) 888 if(this.Enabled && !String.IsNullOrEmpty(this.ChartArea))
Common\Formulas\FormulaHelpers.cs (8)
349if (String.IsNullOrEmpty(parameters)) 357if (!String.IsNullOrEmpty(newParamValue)) 394if (String.IsNullOrEmpty(parameters)) 402if (!String.IsNullOrEmpty(newParamValue)) 1092if (String.IsNullOrEmpty(parameters)) 1101if (!String.IsNullOrEmpty(newParamValue)) 1121if (String.IsNullOrEmpty(_parameters)) 1399if (String.IsNullOrEmpty(seriesFields))
Common\General\AxisLabels.cs (4)
248!String.IsNullOrEmpty(((Axis)this).SubAxisName) || 830 if(!String.IsNullOrEmpty(result)) 839if (!String.IsNullOrEmpty(labelSeriesName)) 845if (!String.IsNullOrEmpty(result))
Common\General\BaseClasses.cs (1)
351return (string.IsNullOrEmpty(_name)) ? typeName : typeName + '-' + _name;
Common\General\BaseCollections.cs (3)
421return String.IsNullOrEmpty(name) || 448if (String.IsNullOrEmpty(item.Name)) 472if (String.IsNullOrEmpty(item.Name))
Common\General\Chart.cs (2)
1111if (String.IsNullOrEmpty(yFields)) 1114if (String.IsNullOrEmpty(seriesGroupByField))
Common\General\ChartArea.cs (1)
352if (String.IsNullOrEmpty(value))
Common\General\FormulaData.cs (2)
458if (!String.IsNullOrEmpty(inputPoint.AxisLabel)) 1235if (string.IsNullOrEmpty(parameters))
Common\General\ImageMap.cs (6)
466if (!String.IsNullOrEmpty(this.ToolTip)) 473if (!String.IsNullOrEmpty(this.Url)) 479else if (!String.IsNullOrEmpty(this.PostBackValue) && chart.Page != null) 486if (!postbackRendered && !String.IsNullOrEmpty(this.PostBackValue) && chart.Page != null) 492if (!String.IsNullOrEmpty(this._attributes)) 532if (!String.IsNullOrEmpty(this.ToolTip))
Common\General\Legend.cs (1)
2638 if (String.IsNullOrEmpty(value))
Common\General\Selection.cs (7)
410if (this.SelectedObject == null && !String.IsNullOrEmpty(this.SeriesName)) 938 if(!String.IsNullOrEmpty(series)) 1011 if(!String.IsNullOrEmpty(series)) 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 2694if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2714if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2985if (String.IsNullOrEmpty(areaName))
Common\Utilities\XmlSerializer.cs (2)
1646if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2514if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize))
System.Workflow.Activities (71)
Common\BasePropertyDescriptor.cs (2)
665if (string.IsNullOrEmpty(value as string)) 756if (String.IsNullOrEmpty(typeName))
Common\CompilerHelpers.cs (2)
59if (string.IsNullOrEmpty(compilerVersion)) 140if (!String.IsNullOrEmpty(language) &&
Common\CompModHelpers.cs (6)
430if (!String.IsNullOrEmpty(className)) 452if (string.IsNullOrEmpty(inputName)) 561if (string.IsNullOrEmpty(path)) 580if (string.IsNullOrEmpty(path)) 611if (string.IsNullOrEmpty(path)) 964if (!String.IsNullOrEmpty(interfaceName))
Common\TypeSystemHelpers.cs (3)
193if (thisName == null || string.IsNullOrEmpty(thisName.Name)) 195if (string.IsNullOrEmpty(thatName)) 219if (string.IsNullOrEmpty(partValue))
CorrelationValidator.cs (5)
178if (!string.IsNullOrEmpty(qualifiedCorrelationToken)) 476if (String.IsNullOrEmpty(parameterAttribute.Name) || parameterAttribute.Name.Trim().Length == 0) 673if (String.IsNullOrEmpty(aliasAttribute.Name) || aliasAttribute.Name.Trim().Length == 0) 681if (String.IsNullOrEmpty(aliasAttribute.Path) || aliasAttribute.Path.Trim().Length == 0) 824if (String.IsNullOrEmpty(operation))
Delay.cs (1)
233if (!String.IsNullOrEmpty(timeSpan))
Designers\InvokeWebServiceDesigner.cs (1)
126PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["ProxyClass"], Activity, string.IsNullOrEmpty(this.url) ? null : extUIService.GetProxyClassForUrl(new Uri(this.url)));
Designers\PolicyDesigner.cs (1)
52&& !string.IsNullOrEmpty(ruleSetReference.RuleSetName))
Designers\SetStateDesigner.cs (1)
147if (String.IsNullOrEmpty(targetState))
Designers\StateDesigner.cs (5)
279if (String.IsNullOrEmpty(text)) 1187if (connector == null || string.IsNullOrEmpty(connector.SetStateName) || !this.RootStateDesigner.RemovingSetState) 2194if (!String.IsNullOrEmpty(activeDesignerName)) 2703if (_initialStateDesignerImage == null && !String.IsNullOrEmpty(_initialStateDesignerImagePath)) 2715if (_completedStateDesignerImage == null && !String.IsNullOrEmpty(_completedStateDesignerImagePath))
Designers\StateDesigner.Layouts.cs (2)
850if (compositeDesignerTheme != null && !String.IsNullOrEmpty(text)) 861if (String.IsNullOrEmpty(text))
Designers\StateDesigner.TransitionInfo.cs (1)
156if (!String.IsNullOrEmpty(targetStateName))
LocalService\CorrelationTokenTypeConvertor.cs (1)
36if (!String.IsNullOrEmpty(correlatorName))
LocalService\MessageQueueKey.cs (1)
231if (String.IsNullOrEmpty(this.activityId))
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
238if (string.IsNullOrEmpty(this._condition)) 245if (string.IsNullOrEmpty(this.declaringActivityId)) 362if (!string.IsNullOrEmpty(declarativeCondition.ConditionName))
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
473if (string.IsNullOrEmpty(currentValue.Trim()) && this.listBoxAutoComplete.Items.Count > 0)
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
132if (!string.IsNullOrEmpty(this.conditionTextBox.Text))
Rules\Design\Dialogs\RuleSetDialog.cs (2)
233if (!string.IsNullOrEmpty(this.conditionTextBox.Text)) 343if (string.IsNullOrEmpty(ruleName))
Rules\Design\LogicalExpressionTypeConverter.cs (2)
444if (!string.IsNullOrEmpty(ruleSetReference.RuleSetName)) 480if (!string.IsNullOrEmpty(ruleSetReference.RuleSetName))
Rules\Helpers.cs (3)
43if (!String.IsNullOrEmpty(className)) 114if (!string.IsNullOrEmpty(loader.FileName)) 153if (!string.IsNullOrEmpty(loader.FileName))
Rules\Parser\Parser.cs (1)
684if (string.IsNullOrEmpty(typeNamespace))
Rules\Rule.cs (1)
142if (string.IsNullOrEmpty(name))
Rules\RuleAction.cs (1)
126else if (string.IsNullOrEmpty(parts[i]) && i == parts.Length - 1)
Rules\RuleAttributes.cs (5)
55if (string.IsNullOrEmpty(attributePath)) 112if (string.IsNullOrEmpty(lastPart) || lastPart == "*") 169if (string.IsNullOrEmpty(attributePath)) 224RulePathQualifier qualifier = string.IsNullOrEmpty(suffix) ? null : new RulePathQualifier(suffix, null); 327if (string.IsNullOrEmpty(methodInvoked))
Rules\RuleSet.cs (1)
102if (!string.IsNullOrEmpty(r.Name)) // invalid names caught when validating the rule
Rules\RuleSetReference.cs (1)
117if (!string.IsNullOrEmpty(ruleSetReference.RuleSetName))
SetState.cs (1)
90if (String.IsNullOrEmpty(setState.TargetStateName))
State.cs (4)
119if (String.IsNullOrEmpty(initialStateName)) 216if (String.IsNullOrEmpty(executionState.NextStateName)) 446if (String.IsNullOrEmpty(executionState.NextStateName)) 473if (!String.IsNullOrEmpty(executionState.NextStateName) && executionState.NextStateName.Equals(state.QualifiedName))
StateInitialization.cs (1)
102if (!String.IsNullOrEmpty(setState.TargetStateName))
StateMachineExecutionState.cs (2)
209if (String.IsNullOrEmpty(this.NextStateName)) 222if (String.IsNullOrEmpty(targetStateName))
StateMachineHelpers.cs (1)
267if (String.IsNullOrEmpty(stateName))
StateValidator.cs (2)
227if (String.IsNullOrEmpty(initialStateName)) 280if (!String.IsNullOrEmpty(completedStateName))
WebServiceFault.cs (2)
186if (String.IsNullOrEmpty(webServiceFault.InputActivityName)) 247if (String.IsNullOrEmpty(webServiceReceive.MethodName))
WebServiceReceive.cs (1)
541if (String.IsNullOrEmpty(webServiceReceive.MethodName))
WebServiceResponse.cs (3)
256if (this.InputActivityName != null && !String.IsNullOrEmpty(this.InputActivityName.Trim())) 311if (String.IsNullOrEmpty(webServiceResponse.InputActivityName)) 370if (String.IsNullOrEmpty(webServiceReceive.MethodName))
System.Workflow.ComponentModel (160)
AuthoringOM\Activity.cs (4)
49if (!(string.IsNullOrEmpty(workflowMarkup) ^ activityType == null)) 2175if (!string.IsNullOrEmpty(remainingPath)) 2204if (!string.IsNullOrEmpty(thisLookupPath)) 2411if (rootActivity.Parent == null || !string.IsNullOrEmpty(className))
AuthoringOM\Behaviors\Compensate.cs (1)
228if (String.IsNullOrEmpty(compensate.TargetActivityName))
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
94if (!String.IsNullOrEmpty(timeSpan))
AuthoringOM\Bind.cs (15)
84if (string.IsNullOrEmpty(path)) 184if (string.IsNullOrEmpty(path)) 558if (string.IsNullOrEmpty(inputName)) 752if (!string.IsNullOrEmpty(Name)) 755if (!string.IsNullOrEmpty(Path)) 760bindString += (!String.IsNullOrEmpty(bindString)) ? "." + path : path; 906if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(Name) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor) 1280if (string.IsNullOrEmpty(path)) 1384if (string.IsNullOrEmpty(path)) 1398if (string.IsNullOrEmpty(info.name)) 1407string newPath = (string.IsNullOrEmpty(currentPath)) ? additionalPath : currentPath + ((info.type == SourceValueType.Property) ? "." : string.Empty) + additionalPath; 1439return string.IsNullOrEmpty(parsingError); 1454if (i < pathInfo.Count - 1 && pathInfo[i + 1].type == SourceValueType.Indexer && !string.IsNullOrEmpty(pathInfo[i + 1].name)) 1532if (!string.IsNullOrEmpty(info.name)) 1580return string.IsNullOrEmpty(parsingError);
AuthoringOM\Compiler\CompileXomlTask.cs (7)
450if (string.IsNullOrEmpty(this.targetFramework)) 475if (!string.IsNullOrEmpty(frameworkVersion)) 556if (!string.IsNullOrEmpty(assemblyName)) 859if (!string.IsNullOrEmpty(this.RootNamespace)) 917if (string.IsNullOrEmpty(optionValue)) 921else if (string.IsNullOrEmpty(optionDelimiter)) 1176if (!string.IsNullOrEmpty(rootNamespace))
AuthoringOM\Compiler\Configuration.cs (1)
37if (!string.IsNullOrEmpty(version))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
666if (type == null && !string.IsNullOrEmpty(Namespace))
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
238if (!String.IsNullOrEmpty(type.AssemblyQualifiedName))
AuthoringOM\Compiler\Validation\BindValidator.cs (12)
18if (refActivity.Site != null && !string.IsNullOrEmpty(typeName)) 21if (typeProvider != null && !string.IsNullOrEmpty(typeName)) 55if (string.IsNullOrEmpty(bind.Name)) 142else if (!string.IsNullOrEmpty(bind.Path)) 240if (string.IsNullOrEmpty(bind.Name)) 339else if (!string.IsNullOrEmpty(bind.Path)) 437if (string.IsNullOrEmpty(bind.Name)) 597if (string.IsNullOrEmpty(bind.Name)) 616if (String.IsNullOrEmpty(bind.Path)) 642if (!String.IsNullOrEmpty(memberName)) 671string qualifier = (!String.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : bind.Name; 727error = new ValidationError(SR.GetString(SR.Error_PathCouldNotBeResolvedToMember, bind.Path, (!string.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : refActivity.GetType().Name), ErrorNumbers.Error_PathCouldNotBeResolvedToMember);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (4)
105if (propValue is string && !string.IsNullOrEmpty((string)propValue)) 121(propValue == null || (propValue is string && string.IsNullOrEmpty((string)propValue))) && 180if (propValue is string && !string.IsNullOrEmpty((string)propValue)) 187if (rootActivity == enclosingActivity && !string.IsNullOrEmpty(typeName))
AuthoringOM\Compiler\XomlCompiler.cs (6)
379if (!string.IsNullOrEmpty(fxName)) 504if (string.IsNullOrEmpty(parameters.OutputAssembly)) 733if (string.IsNullOrEmpty(parameters.CoreAssemblyFileName)) 842if (!string.IsNullOrEmpty(currentActivity.Name)) 881if (string.IsNullOrEmpty(parameters.OutputAssembly)) 1086bool createNewClass = (!string.IsNullOrEmpty(rootActivity.GetValue(WorkflowMarkupSerializer.XClassProperty) as string));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (6)
108if (String.IsNullOrEmpty(fileName)) 118if (!String.IsNullOrEmpty(fileName)) 269(string.IsNullOrEmpty(parameters.CompilerOptions) || !parameters.CompilerOptions.ToLower(CultureInfo.InvariantCulture).Contains("/delaysign"))) 280if (string.IsNullOrEmpty(options)) 904yield return String.Format("{0}, {1}, Version={2}.{3}.{4}.{5}, Culture={6}, PublicKeyToken={7}", typeRefName, Marshal.PtrToStringUni(assemblyName), assemblyMetadata.majorVersion, assemblyMetadata.minorVersion, assemblyMetadata.buildNumber, assemblyMetadata.revisionNumber, String.IsNullOrEmpty(Marshal.PtrToStringUni(assemblyMetadata.locale)) ? "neutral" : Marshal.PtrToStringUni(assemblyMetadata.locale), String.IsNullOrEmpty(publicKeyString) ? "null" : publicKeyString);
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
442if (String.IsNullOrEmpty(value))
AuthoringOM\ComponentFactoryHelpers.cs (1)
111if (!String.IsNullOrEmpty(typeName))
AuthoringOM\Design\ActivityDesigner.cs (7)
532if (String.IsNullOrEmpty(Text)) 779string tipText = (!String.IsNullOrEmpty(Activity.Description)) ? Activity.Description : ActivityDesigner.GetActivityDescription(Activity.GetType()); 1131this.Text = (!String.IsNullOrEmpty(activity.Name)) ? activity.Name : activity.GetType().Name; 1220if (string.IsNullOrEmpty(handler)) 1674if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.IsEmpty) 1708if (!String.IsNullOrEmpty(Text)) 2089if (!(handler is String) || String.IsNullOrEmpty((String)handler))
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (1)
94else if (!string.IsNullOrEmpty(activity.QualifiedName))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (4)
54if (!String.IsNullOrEmpty(associatedActivityName)) 336if (!String.IsNullOrEmpty(colorValue)) 391if (!String.IsNullOrEmpty(sizeValue)) 441if (!String.IsNullOrEmpty(pointValue))
AuthoringOM\Design\ComponentSerializationService.cs (2)
646if (!String.IsNullOrEmpty(propertyName) && propertyType != null) 689if (!String.IsNullOrEmpty(propertyName) && propertyType != null)
AuthoringOM\Design\CompositeActivityDesigner.cs (4)
324if (String.IsNullOrEmpty(Text)) 444if (designerHost != null && !string.IsNullOrEmpty(undoTransactionDescription)) 512if (designerHost != null && !string.IsNullOrEmpty(transactionDescription)) 1289if (!String.IsNullOrEmpty(Text))
AuthoringOM\Design\CustomActivityDesigner.cs (4)
271if (string.IsNullOrEmpty(className)) 283if (string.IsNullOrEmpty(typeName)) 493if (String.IsNullOrEmpty(customProperty.UITypeEditor)) 656if (!string.IsNullOrEmpty(property.UITypeEditor))
AuthoringOM\Design\DesignerHelpers.cs (1)
1746if (!string.IsNullOrEmpty(ruleName) && !rules.ContainsKey(ruleName))
AuthoringOM\Design\DesignerWidgets.cs (2)
2202if (String.IsNullOrEmpty(text)) 2230if (String.IsNullOrEmpty(text))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (3)
597currentPath = (string.IsNullOrEmpty(currentPath)) ? string.Empty : currentPath + "."; 716if (string.IsNullOrEmpty(path)) 1307if (string.IsNullOrEmpty(path))
AuthoringOM\Design\IdentifierCreationService.cs (2)
168if (string.IsNullOrEmpty(activity.Name) || string.Equals(activity.Name, activity.GetType().Name, StringComparison.Ordinal)) 194if (string.IsNullOrEmpty(className))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
543if (ex.InnerException != null && !String.IsNullOrEmpty(ex.InnerException.Message))
AuthoringOM\Design\PropertyDescriptors.cs (3)
526if (!String.IsNullOrEmpty(activityBind.Path)) 728if (!String.IsNullOrEmpty(id)) 741if (String.IsNullOrEmpty(id))
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (3)
135if (!String.IsNullOrEmpty(Text)) 193if (!String.IsNullOrEmpty(Text) && e.DesignerTheme != null && e.DesignerTheme.Font != null) 209if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.IsEmpty && e.DesignerTheme != null && e.DesignerTheme.Font != null)
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
149if (Header != null && !String.IsNullOrEmpty(Header.Text) && this.Views.Count > 1)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
216return (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.IsEmpty && Views.Count > 1);
AuthoringOM\Design\Themes.cs (3)
307if (String.IsNullOrEmpty(path)) 1502if (!String.IsNullOrEmpty(value) && value.Contains(Path.DirectorySeparatorChar.ToString()) && Path.IsPathRooted(value)) 2553if (!String.IsNullOrEmpty(value) && value.Contains(Path.DirectorySeparatorChar.ToString()) && Path.IsPathRooted(value))
AuthoringOM\Design\UITypeEditors.cs (2)
161if (!String.IsNullOrEmpty(e.Message)) 196if (!String.IsNullOrEmpty(e.Message))
AuthoringOM\Design\XomlDesignerLoader.cs (3)
174string rootSiteName = (!string.IsNullOrEmpty(fullClassName)) ? Helpers.GetClassName(fullClassName) : Helpers.GetClassName(activity.GetType().FullName); 486if (String.IsNullOrEmpty(layoutFileName) || rootDesigner == null || !rootDesigner.SupportsLayoutPersistence) 505if (!String.IsNullOrEmpty(layoutFileName))
AuthoringOM\Fault.cs (2)
140if (!String.IsNullOrEmpty(propertyName) && propertyName.Equals("Fault", StringComparison.Ordinal)) 182if (context != null && typeProvider != null && !String.IsNullOrEmpty(stringValue))
AuthoringOM\Helpers.cs (1)
22string newID = (string.IsNullOrEmpty(id)) ? activity.Name : id;
AuthoringOM\ScheduleChanges.cs (1)
524if (!string.IsNullOrEmpty(xomlText))
AuthoringOM\Serializer\ActivitySurrogate.cs (3)
73if (!string.IsNullOrEmpty(wMarkup)) 79if (!string.IsNullOrEmpty(rMarkup)) 217if (this.type == null && string.IsNullOrEmpty(this.workflowMarkup))
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (2)
64if (string.IsNullOrEmpty(assemblyFullName)) 82if (string.IsNullOrEmpty(value) || IsValidCompactAttributeFormat(value))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (4)
148if (!string.IsNullOrEmpty(handler)) 196if (!string.IsNullOrEmpty(typeName) && !string.IsNullOrEmpty(propName) && !string.IsNullOrEmpty(ownerTypeName))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (11)
105if ((string.IsNullOrEmpty(rootActivity.Name) || rootActivity.Name == rootActivity.GetType().Name) && !string.IsNullOrEmpty(rootActivity.GetValue(WorkflowMarkupSerializer.XClassProperty) as string)) 816if ((propertyValue == null || (propertyValue is string && string.IsNullOrEmpty((string)propertyValue))) 914if (!string.IsNullOrEmpty(stringValue)) 1040if (!string.IsNullOrEmpty(stringValue)) 1670if (string.IsNullOrEmpty(errorMsg)) 2063if (!String.IsNullOrEmpty(ownerTypeName) && !String.IsNullOrEmpty(propertyName)) 2429if (properties != null && !string.IsNullOrEmpty(propertyName)) 2442if (events != null && !string.IsNullOrEmpty(eventName)) 3094if (!String.IsNullOrEmpty(contentPropertyName))
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (8)
363else if (String.IsNullOrEmpty(assemblyName)) 366if (String.IsNullOrEmpty(xmlNamespace)) 382else if (String.IsNullOrEmpty(assemblyName)) 387if (String.IsNullOrEmpty(prefix)) 419xmlNamespace += (String.IsNullOrEmpty(clrNamespace)) ? StandardXomlKeys.GlobalNamespace : clrNamespace; 420if (!String.IsNullOrEmpty(assemblyName)) 442if (String.IsNullOrEmpty(prefix) || !IsNamespacePrefixUnique(prefix, manager.PrefixBasedMappings.Keys)) 444string basePrefix = (String.IsNullOrEmpty(prefix)) ? "ns" : prefix;
AuthoringOM\Serializer\XmlDocumentSurrogate.cs (1)
38if (!string.IsNullOrEmpty(this.innerXml))
Shared\BasePropertyDescriptor.cs (2)
664if (string.IsNullOrEmpty(value as string)) 755if (String.IsNullOrEmpty(typeName))
Shared\CompilerHelpers.cs (2)
57if (string.IsNullOrEmpty(compilerVersion)) 138if (!String.IsNullOrEmpty(language) &&
Shared\CompModHelpers.cs (6)
428if (!String.IsNullOrEmpty(className)) 450if (string.IsNullOrEmpty(inputName)) 559if (string.IsNullOrEmpty(path)) 578if (string.IsNullOrEmpty(path)) 609if (string.IsNullOrEmpty(path)) 962if (!String.IsNullOrEmpty(interfaceName))
Shared\NativeMethods.cs (2)
375if (!string.IsNullOrEmpty(libName) && !string.IsNullOrEmpty(procName))
Shared\TypeSystemHelpers.cs (3)
192if (thisName == null || string.IsNullOrEmpty(thisName.Name)) 194if (string.IsNullOrEmpty(thatName)) 218if (string.IsNullOrEmpty(partValue))
Shared\XomlSerializationHelpers.cs (4)
218if (codeDomProvider != null && !string.IsNullOrEmpty(activityFullClassName)) 370if (!String.IsNullOrEmpty(clrNamespace)) 441if (!string.IsNullOrEmpty(eventName) && owner != null && dependencyObject != null) 457if (!string.IsNullOrEmpty(eventName) && owner != null && dependencyObject != null)
System.Workflow.Runtime (26)
CorrelationToken.cs (1)
276if (!String.IsNullOrEmpty(ownerActivityName))
DebugEngine\DebugController.cs (3)
486if (!String.IsNullOrEmpty(controllerConduitTypeName) && Type.GetType(controllerConduitTypeName) != null) 537&& !(string.IsNullOrEmpty(assembly.Location))) 1051else if (string.IsNullOrEmpty(rootActivity.GetValue(Activity.WorkflowXamlMarkupProperty) as string))
DebugEngine\DebugControllerThread.cs (1)
104if (!String.IsNullOrEmpty(evaluationFrameTypeName) && Type.GetType(evaluationFrameTypeName) != null)
Hosting\DbResourceAllocator.cs (5)
62if (String.IsNullOrEmpty(connectionString)) 76if (String.IsNullOrEmpty(connectionString) && (runtime != null)) 98if (String.IsNullOrEmpty(connectionString)) 311if (String.IsNullOrEmpty(connectionString) || String.IsNullOrEmpty(connectionString.Trim()))
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
42if (String.IsNullOrEmpty(connectionString))
Hosting\SqlWorkflowPersistenceService.cs (2)
739if (String.IsNullOrEmpty(connectionString)) 802if (String.IsNullOrEmpty(connectionString))
PerformanceCounterManager.cs (4)
228if (String.IsNullOrEmpty(instanceName)) 300if (!String.IsNullOrEmpty(this.m_instanceName)) 430System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(name)); 431System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(description));
System\Activities\Statements\InteropExecutor.cs (2)
437if (!string.IsNullOrEmpty(this.internalCurrentActivityName)) 442if (!string.IsNullOrEmpty(this.atomicActivityName))
Tracking\PreviousTrackingServiceAttribute.cs (1)
26if (string.IsNullOrEmpty(assemblyQualifiedName))
Tracking\SqlTrackingService.cs (1)
141if (String.IsNullOrEmpty(connectionString))
WorkflowDefinitionDispenser.cs (4)
139if (string.IsNullOrEmpty(xomlText)) 150if (!string.IsNullOrEmpty(rulesText)) 206if (!string.IsNullOrEmpty(root.GetValue(WorkflowMarkupSerializer.XClassProperty) as string)) 287if (!string.IsNullOrEmpty(rulesText))
WorkflowRuntime.cs (1)
575if (!string.IsNullOrEmpty(xomlText))
System.WorkflowServices (75)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (2)
28if (string.IsNullOrEmpty(constructorString)) 167if (string.IsNullOrEmpty(compiledString))
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (2)
67if (!string.IsNullOrEmpty(channel.SessionId) && !result.IncomingChannels.Contains(channel)) 116if (!string.IsNullOrEmpty(channel.SessionId))
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
125if (string.IsNullOrEmpty(value))
System\Workflow\Activities\ChannelToken.cs (3)
163if (string.IsNullOrEmpty(name)) 182if (string.IsNullOrEmpty(ownerActivityName)) 204if (owner == null && !string.IsNullOrEmpty(ownerActivityName))
System\Workflow\Activities\ChannelTokenTypeConverter.cs (1)
39if (!String.IsNullOrEmpty(endpointName))
System\Workflow\Activities\ContextToken.cs (6)
54if (string.IsNullOrEmpty(name)) 97if (!string.IsNullOrEmpty(this.OwnerActivityName)) 145if (string.IsNullOrEmpty(contextName)) 160if (string.IsNullOrEmpty(ownerActivityName)) 299if (string.IsNullOrEmpty(contextName)) 314if (string.IsNullOrEmpty(ownerActivityName))
System\Workflow\Activities\ContextTokenTypeConverter.cs (1)
39if (!String.IsNullOrEmpty(contextName))
System\Workflow\Activities\ContractMethodInfo.cs (1)
35if (string.IsNullOrEmpty(operationInfo.Name))
System\Workflow\Activities\ContractType.cs (2)
36if (string.IsNullOrEmpty(name)) 301if (string.IsNullOrEmpty(name))
System\Workflow\Activities\Design\OperationPickerDialog.cs (4)
74if (String.IsNullOrEmpty(contractName)) 404if (string.IsNullOrEmpty(serviceContractListItem.Name)) 454if (string.IsNullOrEmpty(newOperationName)) 462Fx.Assert(!string.IsNullOrEmpty(contractName), "contract name should be valid to run this check");
System\Workflow\Activities\Design\ServiceContractListItem.cs (2)
69if (String.IsNullOrEmpty(operation.Name)) 117if (String.IsNullOrEmpty(operation.Name))
System\Workflow\Activities\Design\ServiceContractViewControl.cs (1)
34if (!string.IsNullOrEmpty(listItem.Name))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (3)
707if (string.IsNullOrEmpty(name) || name.Equals(this.ParameterTemplateRowName)) 715if (string.IsNullOrEmpty(direction)) 754if (string.IsNullOrEmpty(parameterName))
System\Workflow\Activities\DynamicContractTypeBuilder.cs (3)
41if (string.IsNullOrEmpty(operationInfo.ContractName)) 101if (string.IsNullOrEmpty(operationInfo.ContractName) || 102string.IsNullOrEmpty(operationInfo.Name))
System\Workflow\Activities\OperationInfo.cs (4)
188if (!string.IsNullOrEmpty(this.Name)) 192if (!string.IsNullOrEmpty(this.ContractName)) 229if (string.IsNullOrEmpty(this.Name)) 292if (string.IsNullOrEmpty(operationName) &&
System\Workflow\Activities\ReceiveActivity.cs (4)
353if (string.IsNullOrEmpty(contextName)) 722if (!string.IsNullOrEmpty(serviceOperationInfo.PrincipalPermissionRole) 723|| !string.IsNullOrEmpty(serviceOperationInfo.PrincipalPermissionName)) 1226if (!String.IsNullOrEmpty(fullClassName))
System\Workflow\Activities\ReceiveActivityDesigner.cs (3)
41if (!String.IsNullOrEmpty(operationName)) 224if (string.IsNullOrEmpty(sourceName) || string.IsNullOrEmpty(targetName))
System\Workflow\Activities\SendActivity.cs (2)
294if (string.IsNullOrEmpty(endpointName)) 344if (string.IsNullOrEmpty(endpointName))
System\Workflow\Activities\SendActivityDesigner.cs (1)
42if (!String.IsNullOrEmpty(operationName))
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
31if (!String.IsNullOrEmpty(operationContractAttribute.Name)) 331if (string.IsNullOrEmpty((argumentNames[index])))
System\Workflow\Activities\ServiceOperationInfoTypeConverter.cs (2)
41if (string.IsNullOrEmpty(contractName) || string.IsNullOrEmpty(serviceOperationInfo.Name))
System\Workflow\Activities\TypedOperationInfo.cs (4)
38if (string.IsNullOrEmpty(operationName)) 90if (!string.IsNullOrEmpty(this.Name)) 175if (string.IsNullOrEmpty(this.Name)) 316if (string.IsNullOrEmpty(operationName) &&
System\Workflow\Activities\ValidationHelper.cs (10)
157if (string.IsNullOrEmpty(typeName)) 409if (string.IsNullOrEmpty(endpoint.Name)) 418if (string.IsNullOrEmpty(endpoint.EndpointName) && 428if (!string.IsNullOrEmpty(endpoint.OwnerActivityName)) 510if (string.IsNullOrEmpty(contextToken.Name)) 521if (!string.IsNullOrEmpty(contextToken.OwnerActivityName)) 530else if (!string.IsNullOrEmpty(contextToken.OwnerActivityName)) 603if (string.IsNullOrEmpty(operationInfo.Name)) 614if (!string.IsNullOrEmpty(currentOperationInfo.Name) && 622if (string.IsNullOrEmpty(currentOperationInfo.ContractName))
System\Workflow\Activities\WorkflowServiceAttributes.cs (3)
154if (!string.IsNullOrEmpty(this.ConfigurationName)) 159if (!string.IsNullOrEmpty(this.Name)) 163if (!string.IsNullOrEmpty(this.Namespace))
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (6)
27Fx.Assert(!string.IsNullOrEmpty(endpointName), "endpointName should not be null"); 35Fx.Assert(!string.IsNullOrEmpty(endpointName), "endpointName should not be null"); 36Fx.Assert(!string.IsNullOrEmpty(contractName), "contractName should not be null"); 114if (string.IsNullOrEmpty(customAddress)) 165if (string.IsNullOrEmpty(endpointName)) 225if (string.IsNullOrEmpty(endpointName))
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (1)
75if (string.IsNullOrEmpty(key))
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (1)
219if (!string.IsNullOrEmpty(this.rootActivity.GetValue(WorkflowMarkupSerializer.XClassProperty) as string))
System.Xaml.Hosting (3)
System\Xaml\Hosting\Configuration\HandlerElement.cs (2)
54if (string.IsNullOrEmpty(value)) 73if (string.IsNullOrEmpty(value))
System\Xaml\Hosting\XamlBuildProvider.cs (1)
85if (!string.IsNullOrEmpty(xamlType.PreferredXamlNamespace))
System.Xml (25)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
150if (!String.IsNullOrEmpty(value))
System\Xml\Core\XmlTextReaderImpl.cs (3)
2397if (ps.baseUri == null && !string.IsNullOrEmpty(ps.baseUriStr)) { 7107if ( !string.IsNullOrEmpty( publicId ) ) { 7194if (!string.IsNullOrEmpty(entity.BaseUriString)) {
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
796if (ps.baseUri == null && !string.IsNullOrEmpty(ps.baseUriStr)) { 4744if ( !string.IsNullOrEmpty( publicId ) ) { 4839if (!string.IsNullOrEmpty(entity.BaseUriString)) {
System\Xml\Serialization\Compilation.cs (3)
665if (string.IsNullOrEmpty(location)) { 669if (!string.IsNullOrEmpty(location)) { 674return new XmlSerializerCompilerParameters(parameters, string.IsNullOrEmpty(location));
System\Xml\Serialization\Configuration\XmlSerializerSection.cs (2)
79if (string.IsNullOrEmpty(tempDirectory)) 82if (string.IsNullOrEmpty(tempDirectory))
System\Xml\Serialization\SoapReflectionImporter.cs (2)
220TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc : typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 221string xsdTypeName = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc.Name : dataType;
System\Xml\Serialization\XmlReflectionImporter.cs (3)
390TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc : typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 830return string.IsNullOrEmpty(originalNs) || originalNs == contextNs; 1751if ((element.Form == XmlSchemaForm.Unqualified && string.IsNullOrEmpty(choiceNs)) || element.Namespace == choiceNs) {
System\Xml\Serialization\XmlSchemaExporter.cs (1)
262schema.TargetNamespace = string.IsNullOrEmpty(targetNamespace) ? null : targetNamespace;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
1771bool isNameNullOrEmpty = string.IsNullOrEmpty(name);
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3210if ((element.Form == XmlSchemaForm.Unqualified && string.IsNullOrEmpty(choiceNs)) || element.Namespace == choiceNs) { 3257bool isTypeDynamic = assembly.IsDynamic || string.IsNullOrEmpty(assembly.Location);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2191if ((element.Form == XmlSchemaForm.Unqualified && string.IsNullOrEmpty(choiceNs)) || element.Namespace == choiceNs) {
System\Xml\Serialization\XmlSerializerNamespaces.cs (2)
109if (string.IsNullOrEmpty(ns)) 115if (!string.IsNullOrEmpty(prefix) && (string)namespaces[prefix] == ns) {
System\Xml\XmlConvert.cs (1)
178if (string.IsNullOrEmpty(name)) {
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
5830if (declaration != null && !string.IsNullOrEmpty(declaration.Encoding)) { 5873if (declaration != null && !string.IsNullOrEmpty(declaration.Encoding)) {
UIAutomationClient (4)
MS\Internal\Automation\CacheHelper.cs (1)
160if (string.IsNullOrEmpty(treeDescription))
MS\Internal\Automation\Misc.cs (1)
715if (string.IsNullOrEmpty(s) || s.IndexOfAny(new char[2] { ' ', '&' }) < 0)
MS\Internal\Automation\ProxyManager.cs (2)
523if (!String.IsNullOrEmpty(baseClassName)) 538if (proxy == null && !String.IsNullOrEmpty(baseClassName))
UIAutomationClientsideProviders (50)
MS\Internal\AutomationProxies\Misc.cs (2)
1660if (string.IsNullOrEmpty(s) || s.IndexOfAny(new char[2] { ' ', '&' }) < 0) 1955if (string.IsNullOrEmpty(name))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
872if(pattern == InvokePattern.Pattern && !String.IsNullOrEmpty(_acc.DefaultAction)) 877else if(pattern == ValuePattern.Pattern && !String.IsNullOrEmpty(_acc.Value)) 921return string.IsNullOrEmpty(value) ? null : value; 926return string.IsNullOrEmpty(value) ? null : value; 943return string.IsNullOrEmpty(value) ? null : value;
MS\Internal\AutomationProxies\ProxyHwnd.cs (8)
156if (string.IsNullOrEmpty(accessKey)) 175return string.IsNullOrEmpty(sPersistentID) ? null : sPersistentID; 186if (!string.IsNullOrEmpty(name)) 205if (!string.IsNullOrEmpty(name)) 221if (String.IsNullOrEmpty(name)) 284if (string.IsNullOrEmpty(text)) 289if (string.IsNullOrEmpty(text)) 526if (!string.IsNullOrEmpty(labelText))
MS\Internal\AutomationProxies\ProxySimple.cs (2)
359return string.IsNullOrEmpty(sRawName) ? null : Misc.AccessKey(sRawName); 631name = string.IsNullOrEmpty(name) ? null : name;
MS\Internal\AutomationProxies\WindowsButton.cs (3)
69_fControlHasLabel = string.IsNullOrEmpty(GetLocalizedName()); 76_fControlHasLabel = string.IsNullOrEmpty(GetLocalizedName()); 83_fControlHasLabel = string.IsNullOrEmpty(GetLocalizedName());
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
638if (!string.IsNullOrEmpty(text))
MS\Internal\AutomationProxies\WindowsContainer.cs (2)
42if (!string.IsNullOrEmpty(className)) 185if (string.IsNullOrEmpty(dlgName))
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
168hwnd != IntPtr.Zero && string.IsNullOrEmpty(accessKey); 221if (string.IsNullOrEmpty(name))
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
407if (string.IsNullOrEmpty(s))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
192return string.IsNullOrEmpty(helpText) ? null : helpText; 202if (string.IsNullOrEmpty(text))
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
104if (!string.IsNullOrEmpty(key))
MS\Internal\AutomationProxies\WindowsMenu.cs (6)
1321if (string.IsNullOrEmpty(menuRawText)) 1361if (!string.IsNullOrEmpty(accelerator)) 1398if (!string.IsNullOrEmpty(acceleratorKey)) 1557return string.IsNullOrEmpty(text) ? null : SubMenuAccessKey(text); 2747if (string.IsNullOrEmpty(menuRawText)) 2785if (!string.IsNullOrEmpty(accelerator))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (3)
160if (string.IsNullOrEmpty(name)) 567if (string.IsNullOrEmpty(text)) 619if (!string.IsNullOrEmpty(text))
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
272return string.IsNullOrEmpty(text) ? "" : text; 744if (string.IsNullOrEmpty(name))
MS\Internal\AutomationProxies\WindowsTab.cs (6)
365if (string.IsNullOrEmpty(sTitle)) 711if (!string.IsNullOrEmpty(WindowsTabItem.GetName(hwnd, i, true))) 914_fIsContent = !string.IsNullOrEmpty(GetName(_hwnd, _item, true)); 961return !string.IsNullOrEmpty(GetName(_hwnd, _item, true)); 986if (!string.IsNullOrEmpty(name)) 1334if (!string.IsNullOrEmpty(sName))
MS\Internal\AutomationProxies\WindowsToolbar.cs (3)
272if (string.IsNullOrEmpty(name)) 278return string.IsNullOrEmpty(name) ? null : name; 623if (!string.IsNullOrEmpty(name))
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
59if (!string.IsNullOrEmpty(text))
WindowsBase (15)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
500if (!string.IsNullOrEmpty(pa.PropertyName))
Base\MS\Internal\Interop\ErrorCodes.cs (2)
445if (string.IsNullOrEmpty(message)) 462if (!string.IsNullOrEmpty(message))
Base\MS\Internal\NamedObject.cs (1)
27if (String.IsNullOrEmpty(name))
Base\MS\Internal\PlatformCulture.cs (1)
36Invariant.Assert(!string.IsNullOrEmpty(uiLanguage), "No UILanguage was specified in stringtable.");
Base\MS\Internal\Verify.cs (1)
49Debug.Assert(!string.IsNullOrEmpty(name));
Base\System\ComponentModel\PropertyChangedEventManager.cs (1)
516else if (!String.IsNullOrEmpty(propertyName))
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
142if (!string.IsNullOrEmpty(converterName))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (4)
832if (String.IsNullOrEmpty(mappedNamespace) || namespaceName == mappedNamespace) 968if (!String.IsNullOrEmpty(pair)) 1016if (!String.IsNullOrEmpty(prefix)) 1225if (String.IsNullOrEmpty(requiresValue))
Base\System\Windows\SplashScreen.cs (1)
75if (String.IsNullOrEmpty(resourceName))
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
405if (String.IsNullOrEmpty(assemblyPath)) 410if (!String.IsNullOrEmpty(assemblyPath))
WsatConfig (31)
CommandLine\ArgumentsParser.cs (14)
33if (!string.IsNullOrEmpty(lowerCaseOption) && optionsLookupTable.ContainsKey(lowerCaseOption)) 98if (!string.IsNullOrEmpty(arg)) 149if (!String.IsNullOrEmpty(value)) 172if (!String.IsNullOrEmpty(value)) 190if (!String.IsNullOrEmpty(value)) 208if (!String.IsNullOrEmpty(value)) 226if (!String.IsNullOrEmpty(value)) 256if (!String.IsNullOrEmpty(value)) 279if (!String.IsNullOrEmpty(value)) 302if (!String.IsNullOrEmpty(value)) 325if (!String.IsNullOrEmpty(value)) 368if (!string.IsNullOrEmpty(normalizedAccount)) 412if (!String.IsNullOrEmpty(value)) 441if (!string.IsNullOrEmpty(certString))
CommandLine\ConsoleEntryPoint.cs (1)
235if (String.IsNullOrEmpty(rawArg))
CommandLine\OptionUsage.cs (2)
160Debug.Assert(string.IsNullOrEmpty(optionAbbr)); 192if (string.IsNullOrEmpty(majorText))
Configuration\CertificateManager.cs (2)
136if (string.IsNullOrEmpty(constraint) || constraint.Length < 3) 207if (String.IsNullOrEmpty(thumbprint))
Configuration\ClusterRegistryConfigurationProvider.cs (2)
42if (string.IsNullOrEmpty(key)) 244if (!string.IsNullOrEmpty(s))
Configuration\MsdtcWrapper.cs (2)
38if (!string.IsNullOrEmpty(virtualServerName)) 124if (string.IsNullOrEmpty(virtualServerName))
Configuration\RegistryExceptionHelper.cs (1)
27if (!string.IsNullOrEmpty(str))
Configuration\RemoteHelper.cs (2)
151if (string.IsNullOrEmpty(path)) 160if (string.IsNullOrEmpty(path))
Configuration\Utilities.cs (1)
180return (string.IsNullOrEmpty(machineName) || SafeCompare(machineName, "localhost") ||
Configuration\WsatConfiguration.cs (4)
86if (!string.IsNullOrEmpty(VirtualServer)) 137get { return string.IsNullOrEmpty(this.machineName) ? string.Empty : machineName; } 313if (!string.IsNullOrEmpty(subKey)) 550if (!string.IsNullOrEmpty(VirtualServer))
WsatUI (20)
Configuration\CertificateManager.cs (1)
207if (String.IsNullOrEmpty(thumbprint))
Configuration\ClusterRegistryConfigurationProvider.cs (2)
42if (string.IsNullOrEmpty(key)) 244if (!string.IsNullOrEmpty(s))
Configuration\ETWSafeNativeMethods.cs (2)
112if (!string.IsNullOrEmpty(loggerName)) 125if (!string.IsNullOrEmpty(logFileName))
Configuration\ETWWsatTraceSession.cs (2)
160if (!String.IsNullOrEmpty(logFileNameInRegistry)) 165if (!String.IsNullOrEmpty(logFileNameInRegistry))
Configuration\MsdtcWrapper.cs (2)
38if (!string.IsNullOrEmpty(virtualServerName)) 124if (string.IsNullOrEmpty(virtualServerName))
Configuration\RegistryExceptionHelper.cs (1)
27if (!string.IsNullOrEmpty(str))
Configuration\RemoteHelper.cs (2)
151if (string.IsNullOrEmpty(path)) 160if (string.IsNullOrEmpty(path))
Configuration\Utilities.cs (1)
180return (string.IsNullOrEmpty(machineName) || SafeCompare(machineName, "localhost") ||
Configuration\WsatConfiguration.cs (4)
86if (!string.IsNullOrEmpty(VirtualServer)) 137get { return string.IsNullOrEmpty(this.machineName) ? string.Empty : machineName; } 313if (!string.IsNullOrEmpty(subKey)) 550if (!string.IsNullOrEmpty(VirtualServer))
MMCUI\AcceptedCertificatesForm.cs (1)
70String.IsNullOrEmpty(store[i].FriendlyName) ? SR.GetString(SR.FriendlyNameNone) : store[i].FriendlyName,
MMCUI\WSATControl.cs (1)
202if (string.IsNullOrEmpty(ret))
MMCUI\WSATPropertySheet.cs (1)
107if (TryGetResourceValue(dataObject, "CCF_DTC_RESOURCE", out dtcResource) && !string.IsNullOrEmpty(dtcResource))
XamlBuildTask (30)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
58if (!String.IsNullOrEmpty(classData.Namespace))
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (4)
225if (!string.IsNullOrEmpty(this.rootNamespace)) 228if (!string.IsNullOrEmpty(@namespace)) 486if (string.IsNullOrEmpty(property.Name)) 548if (string.IsNullOrEmpty(classData.Name))
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (2)
197if (!String.IsNullOrEmpty(originalString)) 228if (!String.IsNullOrEmpty(requiredPropertiesNotSpecified))
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (5)
143if (!string.IsNullOrEmpty(itemName)) 152if (!string.IsNullOrEmpty(itemName) && items != null) 196if (!string.IsNullOrEmpty(propertyName)) 211if (!string.IsNullOrEmpty(prop.Name) && prop.Value != null) 215if (!string.IsNullOrEmpty(prop.Condition))
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
482if (!string.IsNullOrEmpty(this.AssemblyName)) 701if (!string.IsNullOrEmpty(this.GeneratedSourceExtension))
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
50if (!string.IsNullOrEmpty(remotingLeaseLifetimeInMinutesStringValue))
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (11)
122if (!string.IsNullOrEmpty(classModifier)) 143if (!string.IsNullOrEmpty(memberModifier)) 323if (string.IsNullOrEmpty(errorCode)) 388else if (!string.IsNullOrEmpty(realAssemblyName) && 510if (!String.IsNullOrEmpty(rootNamespace) && 511!String.IsNullOrEmpty(clrNs) && 523if (string.IsNullOrEmpty(clrNs)) 565if ((!string.IsNullOrEmpty(localAssemblyName) && assemblyName.Contains(localAssemblyName)) || string.IsNullOrEmpty(assemblyName)) 646if (!string.IsNullOrEmpty(assemblyName)) 779bool isManagedSystemMetadata = !String.IsNullOrEmpty(isSystemReference)
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (4)
325Fx.Assert(!string.IsNullOrEmpty(className), "ClassName cannot be null"); 326if (!string.IsNullOrEmpty(this.rootNamespace)) 412!string.IsNullOrEmpty(this.rootNamespace) && 420clrNs = string.IsNullOrEmpty(clrNs) ? this.rootNamespace : this.rootNamespace + "." + clrNs;