490 references to StringUtil
System.Web (490)
Cache\SqlCacheDependency.cs (2)
202if (StringUtil.EqualsIgnoreCase(depString, SQL9_CACHE_DEPENDENCY_DIRECTIVE)) { 224if (StringUtil.EqualsIgnoreCase(dependency, SQL9_CACHE_DEPENDENCY_DIRECTIVE)) {
Compilation\AssemblyBuilder.cs (3)
1070if (StringUtil.EqualsIgnoreCase(error.ErrorNumber, "CS0016")){ 1224if (StringUtil.EqualsIgnoreCase(virtualPath, buildProvider.VirtualPath)) { 1235if (StringUtil.EqualsIgnoreCase(linePragma, physicalPath)) {
Compilation\BaseCodeDomTreeGenerator.cs (1)
209if (StringUtil.EqualsIgnoreCase(className, baseTypeName)) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1747bool sameAsPrevious = (previous != null) && StringUtil.EqualsIgnoreCase(previous.Name, current.Name);
Compilation\BrowserCapabilitiesCompiler.cs (1)
183if (StringUtil.EqualsIgnoreCase(extension, ".browser")) {
Compilation\BuildManager.cs (7)
1500return result.ComputeHashCode(s_topLevelHash, StringUtil.GetStringHashCode(dependenciesHash)); 2272return name + "." + StringUtil.GetStringHashCode(dir).ToString("x", CultureInfo.InvariantCulture); 2908(StringUtil.EqualsIgnoreCase(child.Name, HttpRuntime.CodeDirectoryName) || 2909StringUtil.EqualsIgnoreCase(child.Name, HttpRuntime.ResourcesDirectoryName) || 2910StringUtil.EqualsIgnoreCase(child.Name, HttpRuntime.WebRefDirectoryName))) { 2917if (!PrecompilingForUpdatableDeployment && StringUtil.EqualsIgnoreCase(child.Name, 3054return StringUtil.StringStartsWithIgnoreCase(sourcePhysicalDir, destPhysicalDir);
Compilation\BuildManagerHost.cs (2)
506if (StringUtil.EqualsIgnoreCase(virtualPath.VirtualPathString, BuildManager.GlobalAsaxVirtualPath.VirtualPathString)) { 669hashCodeCombiner.AddInt(StringUtil.GetNonRandomizedHashCode((string)_stringDictionary[virtualDependency]));
Compilation\BuildResultCache.cs (4)
62Debug.Assert(StringUtil.StringStartsWith(assemblyName, BuildManager.AssemblyNamePrefix)); 92if (!StringUtil.StringStartsWith(name, BuildManager.AssemblyNamePrefix)) 99if (!StringUtil.StringStartsWith(assemblyName.Name, BuildManager.AssemblyNamePrefix)) 919if (StringUtil.StringStartsWith(fileData.Name, CodeDirectoryCompiler.sourcesDirectoryPrefix))
Compilation\CodeDirectoryCompiler.cs (1)
117if (dirType != CodeDirectoryType.LocalResources && !StringUtil.StringStartsWithIgnoreCase(physicalDir, HttpRuntime.AppDomainAppPathInternal)) {
Compilation\CompilationLock.cs (1)
172int hashCode = StringUtil.GetNonRandomizedHashCode("CompilationLock" + HttpRuntime.AppDomainAppId.ToLower(CultureInfo.InvariantCulture));
Compilation\CompilationUtil.cs (2)
423if (StringUtil.EqualsIgnoreCase(extension, ".asax")) 425if (!updatable && StringUtil.EqualsIgnoreCase(extension, ThemeDirectoryCompiler.skinExtension))
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
154if(StringUtil.Equals(typeToCreate, ns.Name + "." + type.Name)) {
Compilation\ThemeDirectoryCompiler.cs (2)
151if ((StringUtil.EqualsIgnoreCase(extension, skinExtension)) && topLevel) { 156if (StringUtil.EqualsIgnoreCase(extension, ".css")) {
Compilation\WebReferencesBuildProvider.cs (1)
58Debug.Assert(StringUtil.StringStartsWithIgnoreCase(
Configuration\AuthenticationConfig.cs (3)
77if (StringUtil.EqualsIgnoreCase(requestPath, loginUrl)) { 87if (StringUtil.EqualsIgnoreCase(requestPath, decodedLoginUrl)) { 92if (StringUtil.EqualsIgnoreCase(requestPath, decodedLoginUrl)) {
Configuration\AuthorizationRule.cs (1)
354if (StringUtil.StringStartsWith(name, @".\")) {
Configuration\BuildProvider.cs (2)
70return (o != null && StringUtil.EqualsIgnoreCase(Extension, o.Extension) && Type == o.Type); 73return HashCodeCombiner.CombineHashCodes(StringUtil.GetNonRandomizedHashCode(Extension.ToLower(CultureInfo.InvariantCulture)),
Configuration\ClientTargetCollection.cs (1)
41return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\CodeSubDirectory.cs (1)
102if (!StringUtil.EqualsIgnoreCase(directoryName, ffd.FileNameLong)) {
Configuration\CompilationSection.cs (1)
746if (StringUtil.EqualsIgnoreCase(asmName.Name, new AssemblyName(a[i].FullName).Name)) {
Configuration\CompilerCollection.cs (1)
48return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\ExpressServerConfig.cs (8)
124string appRoot = StringUtil.StringFromWCharPtr(pBstr, cBstr); 143string subVdir = (cBstr > 1) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 155else if (StringUtil.EqualsIgnoreCase(appRootRelativePath, 0, subVdir, 0, appRootRelativePath.Length)) { 210username = (cBstrUserName > 0) ? StringUtil.StringFromWCharPtr(pBstrUserName, cBstrUserName) : null; 211password = (cBstrPassword > 0) ? StringUtil.StringFromWCharPtr(pBstrPassword, cBstrPassword) : null; 281StringUtil.EqualsIgnoreCase(siteArgument, ProcessHostConfigUtils.DEFAULT_SITE_ID_STRING) || 282StringUtil.EqualsIgnoreCase(siteArgument, _nativeConfig.GetSiteNameFromId(ProcessHostConfigUtils.DEFAULT_SITE_ID_UINT))) { 356appPath = (result == 0 && cBstr > 0) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null;
Configuration\FolderLevelBuildProvider.cs (2)
61return (o != null && StringUtil.EqualsIgnoreCase(Name, o.Name) && Type == o.Type); 64return HashCodeCombiner.CombineHashCodes(StringUtil.GetNonRandomizedHashCode(Name.ToLower(CultureInfo.InvariantCulture)),
Configuration\FormsAuthenticationConfiguration.cs (2)
398if (StringUtil.StringStartsWith(elem.LoginUrl, "\\\\") || 405if (StringUtil.StringStartsWith(elem.DefaultUrl, "\\\\") ||
Configuration\FormsAuthenticationUserCollection.cs (1)
107return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\GlobalizationSection.cs (2)
246if (StringUtil.EqualsIgnoreCase(configCulture, HttpApplication.AutoCulture)) { 249else if (StringUtil.StringStartsWithIgnoreCase(configCulture, HttpApplication.AutoCulture)) {
Configuration\HandlerBase.cs (1)
269if (!StringUtil.StringStartsWithIgnoreCase(value, "registry:")) {
Configuration\HttpModuleAction.cs (1)
125return (StringUtil.EqualsIgnoreCase(name, "DefaultAuthentication"));
Configuration\MachineKeySection.cs (8)
336bool fAppIdSpecific = StringUtil.StringEndsWith(strKey, ",IsolateByAppId"); 341bool fAppSpecific = StringUtil.StringEndsWith(strKey, ",IsolateApps"); 372int dwCode = StringUtil.GetNonRandomizedStringComparerHashCode(appName); 380int dwCode = StringUtil.GetNonRandomizedStringComparerHashCode(appId); 388fAppIdSpecific = StringUtil.StringEndsWith(strKey, ",IsolateByAppId"); 393fAppSpecific = StringUtil.StringEndsWith(strKey, ",IsolateApps"); 428int dwCode = StringUtil.GetNonRandomizedStringComparerHashCode(appName); 436int dwCode = StringUtil.GetNonRandomizedStringComparerHashCode(appId);
Configuration\MetabaseServerConfig.cs (5)
57if (StringUtil.EqualsIgnoreCase(siteID, DEFAULT_SITEID)) 124StringUtil.EqualsIgnoreCase(siteArgument, DEFAULT_SITEID) || 125StringUtil.EqualsIgnoreCase(siteArgument, _defaultSiteName)) { 172if (StringUtil.EqualsIgnoreCase(rootAboPath, appAboPath)) { 255if (parentPath.Length > 1 && StringUtil.StringEndsWith(parentPath, '/')) { // Trim the extra trailing / if there is one
Configuration\NativeConfig.cs (2)
62siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty; 81physicalPath = (pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null;
Configuration\OutputCacheProfileCollection.cs (1)
43return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\PassportAuthentication.cs (1)
138if (StringUtil.StringStartsWith(elem.RedirectUrl, "\\\\") ||
Configuration\ProcessHostConfigUtils.cs (2)
62physicalPath = (pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 81siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty;
Configuration\ProcessHostMapPath.cs (4)
122StringUtil.EqualsIgnoreCase(siteArgument, ProcessHostConfigUtils.DEFAULT_SITE_ID_STRING) || 123StringUtil.EqualsIgnoreCase(siteArgument, ProcessHostConfigUtils.GetSiteNameFromId(ProcessHostConfigUtils.DEFAULT_SITE_ID_UINT))) { 200appPath = (result == 0 && cBstr > 0) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 252if (parentPath.Length > 1 && StringUtil.StringEndsWith(parentPath, '/')) { // Trim the extra trailing / if there is one
Configuration\ProcessHostServerConfig.cs (5)
114string appRoot = StringUtil.StringFromWCharPtr(pBstr, cBstr); 133string subVdir = (cBstr > 1) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 145else if (StringUtil.EqualsIgnoreCase(appRootRelativePath, 0, subVdir, 0, appRootRelativePath.Length)) { 201username = (cBstrUserName > 0) ? StringUtil.StringFromWCharPtr(pBstrUserName, cBstrUserName) : null; 202password = (cBstrPassword > 0) ? StringUtil.StringFromWCharPtr(pBstrPassword, cBstrPassword) : null;
Configuration\ProfileGroupSettingsCollection.cs (1)
42return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\ProfilePropertySettingsCollection.cs (1)
66return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\SqlCacheDependencyDatabaseCollection.cs (1)
36return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\TagMapInfo.cs (2)
59return StringUtil.Equals(TagType, tm.TagType) && 60StringUtil.Equals(MappedTagType, tm.MappedTagType);
Configuration\TagPrefixInfo.cs (5)
92return StringUtil.Equals(TagPrefix, ns.TagPrefix) && 93StringUtil.Equals(TagName, ns.TagName) && 94StringUtil.Equals(Namespace, ns.Namespace) && 95StringUtil.Equals(Assembly, ns.Assembly) && 96StringUtil.Equals(Source, ns.Source);
Configuration\TransformerInfo.cs (2)
96return StringUtil.Equals(Name, ti.Name) && 97StringUtil.Equals(Type, ti.Type);
Configuration\UrlMappingCollection.cs (1)
42return StringUtil.ObjectArrayToStringArray(BaseGetAllKeys());
Configuration\UserMapPath.cs (2)
87StringUtil.EqualsIgnoreCase(site, _siteName) || 88StringUtil.EqualsIgnoreCase(site, _siteID);
Configuration\WebConfigurationHost.cs (8)
627if (!StringUtil.EqualsIgnoreCase(_appSiteID, siteID)) 699if (StringUtil.EqualsIgnoreCase(site, _appSiteID) || StringUtil.EqualsIgnoreCase(site, _appSiteName)) { 753if ( StringUtil.StringStartsWith(sectionGroupName, SysWebName) 857&& !StringUtil.EqualsIgnoreCase(server, "127.0.0.1") 858&& !StringUtil.EqualsIgnoreCase(server, "::1") 859&& !StringUtil.EqualsIgnoreCase(server, "localhost") 860&& !StringUtil.EqualsIgnoreCase(server, Environment.MachineName);
DefaultHttpHandler.cs (1)
53return StringUtil.StringEndsWithIgnoreCase(filePath, ".asp");
ErrorFormatter.cs (2)
280if (StringUtil.StringStartsWithIgnoreCase(preferredRenderingType, "xhtml")) { 284else if (StringUtil.StringStartsWithIgnoreCase(preferredRenderingType, "wml")) {
FileChangesMonitor.cs (4)
947if (StringUtil.StringStartsWithIgnoreCase(fileName, FileChangesMonitor.s_dirsToMonitor[i])) { 1081Debug.Assert(StringUtil.EqualsIgnoreCase(fileMon.FileNameLong, ffd.FileNameLong), 1566if (StringUtil.StringStartsWithIgnoreCase(dirName, specialDirName)) { 1995if (StringUtil.StringEndsWith(dirRoot, '\\')) {
Hosting\AppDomainFactory.cs (1)
161if (!StringUtil.StringEndsWith(appPath, '\\')) {
Hosting\ApplicationHost.cs (2)
47if (!StringUtil.StringEndsWith(physicalDir, Path.DirectorySeparatorChar)) 52String appId = StringUtil.GetNonRandomizedHashCode(String.Concat(virtualDir, physicalDir)).ToString("x");
Hosting\ApplicationManager.cs (2)
891if (!StringUtil.StringEndsWith(physicalPath, Path.DirectorySeparatorChar)) 895String appName = (StringUtil.GetStringHashCode(String.Concat(appId.ToLower(CultureInfo.InvariantCulture),
Hosting\HostingEnvironment.cs (2)
1682if (StringUtil.EqualsIgnoreCase(appPath, path)) { 1686StringUtil.StringStartsWithIgnoreCase(path, appPath)) {
Hosting\IIS7WorkerRequest.cs (34)
150_cacheUrl = (cacheUrlBufferSize <= 0) ? null : StringUtil.StringFromWCharPtr(cacheUrl, cacheUrlBufferSize); 151_pathTranslated = (pathTranslatedBufferSize <= 0) ? String.Empty : StringUtil.StringFromWCharPtr(pathTranslatedBuffer, pathTranslatedBufferSize); 211_appPath = StringUtil.StringFromWCharPtr(virtAddr, virtLen); 212_appPathTranslated = StringUtil.StringFromWCharPtr(physAddr, physLen); 217!StringUtil.StringEndsWith(_appPathTranslated, '\\') ) 309uri = StringUtil.StringFromWCharPtr(buffer, bufSize); 346return StringUtil.StringFromWCharPtr(buffer, len); 689string correlationIdString = StringUtil.StringFromCharPtr(correlationIdStringPtr, correlationIdStringLength); 752if (StringUtil.EqualsIgnoreCase(name, _unknownRequestHeaders[i][0])) 769if (StringUtil.StringStartsWith(name, "HTTP_")) { 1162return StringUtil.StringFromCharPtr(buffer, bufLen); 1180return StringUtil.StringFromWCharPtr(buffer, bufLen); 1198moduleName = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1216return StringUtil.StringFromCharPtr(buffer, bufLen); 1233return StringUtil.StringFromCharPtr(buffer, bufLen); 1545handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1587handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1604handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1673description = StringUtil.StringFromCharPtr(buffer, bufLen); 2025int valueLength = StringUtil.GetNullTerminatedByteArray(_headerEncoding, value, out valueBytes); 2033int valueLength = StringUtil.GetNullTerminatedByteArray(_headerEncoding, value, out valueBytes); 2035StringUtil.GetNullTerminatedByteArray(_headerEncoding, name, out nameBytes); 2059int valueLength = StringUtil.GetNullTerminatedByteArray(_headerEncoding, value, out valueBytes); 2068if (StringUtil.EqualsIgnoreCase(name, "Set-Cookie")) { 2073int valueLength = StringUtil.GetNullTerminatedByteArray(_headerEncoding, value, out valueBytes); 2075StringUtil.GetNullTerminatedByteArray(_headerEncoding, name, out nameBytes); 2104string name = StringUtil.StringFromCharPtr(pName, UnsafeNativeMethods.lstrlenA(pName)); 2107value = StringUtil.StringFromWCharPtr(pValue, UnsafeNativeMethods.lstrlenW(pValue)); 2185value = StringUtil.StringFromCharPtr(pValue, UnsafeNativeMethods.lstrlenA(pValue)); 2208string name = StringUtil.StringFromCharPtr(pName, UnsafeNativeMethods.lstrlenA(pName)); 2211value = StringUtil.StringFromCharPtr(pValue, UnsafeNativeMethods.lstrlenA(pValue)); 2221if (StringUtil.EqualsIgnoreCase(name, "Set-Cookie")) { 2272userName = StringUtil.StringFromWCharPtr(pUserName, cchUserName); 2277authType = StringUtil.StringFromWCharPtr(pAuthType, cchAuthType);
Hosting\IPipelineRuntime.cs (1)
431isInRole = principal.IsInRole(StringUtil.StringFromWCharPtr(pszRole, cchRole));
Hosting\ISAPIApplicationHost.cs (1)
61if (StringUtil.StringStartsWithIgnoreCase(appIdOrVirtualPath, LMW3SVC_PREFIX)) {
Hosting\ISAPIRuntime.cs (1)
166StringUtil.EqualsIgnoreCase(wrPath, adPath)) {
Hosting\ISAPIWorkerRequest.cs (4)
1010if (_appPathTranslated != null && _appPathTranslated.Length > 2 && !StringUtil.StringEndsWith(_appPathTranslated, '\\')) 1267if (StringUtil.EqualsIgnoreCase(name, _unknownRequestHeaders[i][0])) 1315if (StringUtil.EqualsIgnoreCase(name, "Set-Cookie")) { 2236if (StringUtil.StringStartsWith(name, "HTTP_"))
Hosting\ProcessHost.cs (2)
707if (!StringUtil.StringEndsWith(appPath, '\\')) { 927if (!StringUtil.StringEndsWith(physicalPath, '\\')) {
Hosting\ReadAsyncResult.cs (1)
48StringUtil.memcpyimpl(src, dst + _offset, bytesRead);
Hosting\SimpleApplicationHost.cs (1)
39_appPhysicalPath = StringUtil.StringEndsWith(physicalPath, "\\") ? physicalPath : physicalPath + "\\";
Hosting\SimpleWorkerRequest.cs (2)
214if (StringUtil.StringStartsWith(path, _appVirtPath)) { 411if (!StringUtil.StringEndsWith(_appPhysPath, '\\'))
Hosting\VirtualPathProvider.cs (2)
160if (!StringUtil.EqualsIgnoreCase(virtualPath, virtualFile.VirtualPath)) { 196if (!StringUtil.EqualsIgnoreCase(virtualPath, virtualDir.VirtualPath)) {
HttpApplication.cs (10)
1429if (StringUtil.EqualsIgnoreCase(custom, "browser")) { 1885if (StringUtil.EqualsIgnoreCase(targetName, "Application")) 1900&& StringUtil.EqualsIgnoreCase(eventName.Substring(0, 2), "on")) { 1965if (!StringUtil.StringStartsWith(eventName, "Post")) { 2638if (StringUtil.StringStartsWithIgnoreCase(culture, AutoCulture)) { 2651if (StringUtil.StringStartsWithIgnoreCase(uiCulture, AutoCulture)) 2796UnsafeNativeMethods.EndPrefetchActivity((uint)StringUtil.GetNonRandomizedHashCode(HttpRuntime.AppDomainAppId)); 2879string moduleName = (cBstrModuleName > 0) ? StringUtil.StringFromWCharPtr(pBstrModuleName, cBstrModuleName) : null; 2880string moduleType = (cBstrModuleType > 0) ? StringUtil.StringFromWCharPtr(pBstrModuleType, cBstrModuleType) : null; 2881string modulePrecondition = (cBstrModulePrecondition > 0) ? StringUtil.StringFromWCharPtr(pBstrModulePrecondition, cBstrModulePrecondition) : String.Empty;
HttpApplicationFactory.cs (6)
278if (StringUtil.EqualsIgnoreCase(name, "Application_OnStart") || 279StringUtil.EqualsIgnoreCase(name, "Application_Start")) { 283else if (StringUtil.EqualsIgnoreCase(name, "Application_OnEnd") || 284StringUtil.EqualsIgnoreCase(name, "Application_End")) { 288else if (StringUtil.EqualsIgnoreCase(name, "Session_OnEnd") || 289StringUtil.EqualsIgnoreCase(name, "Session_End")) {
HttpClientCertificate.cs (4)
239if (StringUtil.StringStartsWith(field, "issuer")) 242if (StringUtil.StringStartsWith(field, "subject")) { 249if (StringUtil.StringStartsWith(field, "serversubject")) 252if (StringUtil.StringStartsWith(field, "serverissuer"))
HttpContext.cs (4)
502&& StringUtil.Equals(path, idxStartEurl, eurl, 0, eurl.Length)) { 535eurl = StringUtil.StringFromWCharPtr(pBuffer, UnsafeNativeMethods.lstrlenW(pBuffer)); 2262if(StringUtil.EqualsIgnoreCase(configString, HttpApplication.AutoCulture)) { 2276else if(StringUtil.StringStartsWithIgnoreCase(configString, "auto:")) {
HttpCookie.cs (6)
400if (StringUtil.EqualsIgnoreCase(attributeName, "Expires")) { 408else if (attributeValue != null && StringUtil.EqualsIgnoreCase(attributeName, "Domain")) { 413else if (attributeValue != null && StringUtil.EqualsIgnoreCase(attributeName, "Path")) { 418else if (StringUtil.EqualsIgnoreCase(attributeName, "Secure")) { 423else if (StringUtil.EqualsIgnoreCase(attributeName, "HttpOnly")) { 428else if(StringUtil.EqualsIgnoreCase(attributeName, "SameSite")) {
HttpDebugHandler.cs (4)
170if (StringUtil.EqualsIgnoreCase(command, "stop-debug")) { 175if (!StringUtil.EqualsIgnoreCase(command, "start-debug")) { 188if (String.IsNullOrEmpty(logonUser) || String.IsNullOrEmpty(authType) || StringUtil.EqualsIgnoreCase(authType, "basic")) 216if (StringUtil.EqualsIgnoreCase(clsId, validClsIds[i])) {
HttpException.cs (1)
434!StringUtil.StringStartsWith(error.FileName, HttpRuntime.CodegenDirInternal)) {
HttpHeaderCollection.cs (1)
131if (_response.HasCachePolicy && StringUtil.EqualsIgnoreCase("Set-Cookie", name)) {
HttpRequest.cs (5)
383if (StringUtil.StringStartsWithIgnoreCase(contentType, "application/x-www-form-urlencoded")) { 402else if (StringUtil.StringStartsWithIgnoreCase(contentType, "multipart/form-data")) { 746if (StringUtil.EqualsIgnoreCase(name, "$Path")) 748else if (StringUtil.EqualsIgnoreCase(name, "$Domain")) 809if (!StringUtil.StringStartsWithIgnoreCase(ContentType, "multipart/form-data"))
HttpResponse.cs (6)
215if (_cachePolicy != null && StringUtil.EqualsIgnoreCase("Set-Cookie", h.Name)) { 1016if (StringUtil.StringStartsWith(path, "\\\\") || path.IndexOf(':') >= 0 || !UrlPath.IsRooted(path)) 3184else if (StringUtil.EqualsIgnoreCase(value, "private")) { 3188else if (StringUtil.EqualsIgnoreCase(value, "public")) { 3192else if (StringUtil.EqualsIgnoreCase(value, "no-cache")) { 3259if (!StringUtil.EqualsIgnoreCase(virtualPath, 0, appPath, 0, compareLength)) {
HttpRuntime.cs (8)
327_isOnUNCShare = StringUtil.StringStartsWith(_appDomainAppPath, "\\\\"); 454UnsafeNativeMethods.StartPrefetchActivity((uint)StringUtil.GetStringHashCode(_appDomainAppId)); 1330!StringUtil.StringStartsWithIgnoreCase(globConfig.Culture, "auto")) 1334!StringUtil.StringStartsWithIgnoreCase(globConfig.UICulture, "auto")) 2135if (StringUtil.EqualsIgnoreCase(directoryName, CodeDirectoryName)) { 2138else if (StringUtil.EqualsIgnoreCase(directoryName, ResourcesDirectoryName)) { 2141else if (StringUtil.EqualsIgnoreCase(directoryName, BrowsersDirectoryName)) { 2144else if (StringUtil.EqualsIgnoreCase(directoryName, BinDirectoryName)) {
httpserverutility.cs (1)
354if (StringUtil.StringEndsWith(virtualPath.VirtualPathString, '.'))
HttpServerVarsCollection.cs (12)
112if (StringUtil.EqualsIgnoreCase(name, "AUTH_TYPE")) 114else if (StringUtil.EqualsIgnoreCase(name, "AUTH_USER")) 119if (StringUtil.EqualsIgnoreCase(name, "HTTP_USER_AGENT")) 124if (StringUtil.EqualsIgnoreCase(name, "QUERY_STRING")) 129if (StringUtil.EqualsIgnoreCase(name, "PATH_INFO")) 131else if (StringUtil.EqualsIgnoreCase(name, "PATH_TRANSLATED")) 136if (StringUtil.EqualsIgnoreCase(name, "REQUEST_METHOD")) 138else if (StringUtil.EqualsIgnoreCase(name, "REMOTE_USER")) 140else if (StringUtil.EqualsIgnoreCase(name, "REMOTE_HOST")) 142else if (StringUtil.EqualsIgnoreCase(name, "REMOTE_ADDRESS")) 147if (StringUtil.EqualsIgnoreCase(name, "SCRIPT_NAME")) 240if (StringUtil.StringStartsWith(name, "HTTP_"))
HttpWriter.cs (4)
1674StringUtil.UnsafeStringCopy(s, 0, buffer, _charBufferLength - _charBufferFree, s.Length); 1690StringUtil.UnsafeStringCopy(s, index, buffer, _charBufferLength - _charBufferFree, n); 1735StringUtil.UnsafeStringCopy(s, index, buffer, _charBufferLength - _charBufferFree, count); 1749StringUtil.UnsafeStringCopy(s, index, buffer, _charBufferLength - _charBufferFree, n);
ImplicitAsyncPreloadModule.cs (2)
61|| ((isForm = StringUtil.StringStartsWithIgnoreCase(request.ContentType, "application/x-www-form-urlencoded")) 63|| ((isFormMultiPart = StringUtil.StringStartsWithIgnoreCase(request.ContentType, "multipart/form-data"))
Management\SqlServices.cs (3)
426if (StringUtil.EqualsIgnoreCase(cur.Trim(), "GO")) 548if (database != null && StringUtil.StringStartsWith(database, '[') && StringUtil.StringEndsWith(database, ']'))
MimeMapping.cs (2)
477string fileExtension = (cBstrFileExtension > 0) ? StringUtil.StringFromWCharPtr(bstrFileExtension, cBstrFileExtension) : null; 478string mimeType = (cBstrMimeType > 0) ? StringUtil.StringFromWCharPtr(bstrMimeType, cBstrMimeType) : null;
MultipartContentParser.cs (2)
201if (StringUtil.EqualsIgnoreCase(header, "Content-Disposition")) { 206else if (StringUtil.EqualsIgnoreCase(header, "Content-Type")) {
OutputCacheModule.cs (7)
58&& StringUtil.StringArrayEquals(_contentEncodings, cv._contentEncodings) 59&& StringUtil.StringArrayEquals(_headers, cv._headers) 60&& StringUtil.StringArrayEquals(_params, cv._params); 355if (StringUtil.EqualsIgnoreCase(contentEncodings[i], acceptEncodingWithoutWeight)) { 722if (StringUtil.StringStartsWithIgnoreCase(rangeHeader, "bytes")) { 756if (StringUtil.StringStartsWith(directive, "max-age=")) { 776else if (StringUtil.StringStartsWith(directive, "min-fresh=")) {
Security\ADMembershipProvider.cs (10)
472if (StringUtil.EqualsIgnoreCase(attributeMapUsername, "sAMAccountName")) 1451if (!StringUtil.EqualsIgnoreCase(passwordAnswer, storedPasswordAnswer)) 3170if ((!StringUtil.EqualsIgnoreCase(attributeName, "sAMAccountName")) 3171&& (!StringUtil.EqualsIgnoreCase(attributeName, "userPrincipalName"))) 3179if (!StringUtil.EqualsIgnoreCase(attributeName, "userPrincipalName")) 3214if (!StringUtil.EqualsIgnoreCase(syntax, (string) syntaxes[valueName])) 3221if (StringUtil.EqualsIgnoreCase(syntax, "DirectoryString")) 4152if (StringUtil.EqualsIgnoreCase(supportedExtension, LDAP_SERVER_FAST_BIND_OID)) 4293if (StringUtil.EqualsIgnoreCase(supportedCapability, LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID)) 4298else if (StringUtil.EqualsIgnoreCase(supportedCapability, LDAP_CAP_ACTIVE_DIRECTORY_OID))
Security\AuthStoreRoleProvider.cs (3)
651StringUtil.EqualsIgnoreCase(userName, context.User.Identity.Name)) 658StringUtil.EqualsIgnoreCase(userName, user.Identity.Name)) 744if (strRoleName != null && StringUtil.EqualsIgnoreCase(strRoleName, roleName))
Security\FileAuthorizationModule.cs (1)
177if (!StringUtil.EqualsIgnoreCase(fileName, pathData.PhysicalPath)) {
Security\FormsAuthentication.cs (5)
62if (StringUtil.EqualsIgnoreCase(passwordFormat, "sha1")) 64else if (StringUtil.EqualsIgnoreCase(passwordFormat, "md5")) 66else if (StringUtil.EqualsIgnoreCase(passwordFormat, "sha256")) 68else if (StringUtil.EqualsIgnoreCase(passwordFormat, "sha384")) 70else if (StringUtil.EqualsIgnoreCase(passwordFormat, "sha512"))
Security\Membership.cs (2)
433if(StringUtil.EqualsIgnoreCase(passwordFormat, "Clear") || StringUtil.EqualsIgnoreCase(passwordFormat, "Encrypted")) {
Security\PassportIdentity.cs (1)
893if (strRet != null && !StringUtil.StringStartsWith(strRet, "WWW-Authenticate"))
Security\RolePrincipal.cs (2)
122if (!StringUtil.EqualsIgnoreCase(rp._Username, _Identity.Name)) 124if (!StringUtil.EqualsIgnoreCase(rp._ProviderName, _ProviderName))
Security\Roles.cs (10)
108if (user != null && user is RolePrincipal && ((RolePrincipal)user).ProviderName == Provider.Name && StringUtil.EqualsIgnoreCase(username, user.Identity.Name)) 145if (user != null && user is RolePrincipal && ((RolePrincipal)user).ProviderName == Provider.Name && StringUtil.EqualsIgnoreCase(username, user.Identity.Name)) { 228if (user != null && user.ProviderName == Provider.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 251if (user != null && user.ProviderName == Provider.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 276if (StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 309if (StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 327if (user != null && user.ProviderName == Provider.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 350if (user != null && user.ProviderName == Provider.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 375if (StringUtil.EqualsIgnoreCase(user.Identity.Name, username)) 408if (StringUtil.EqualsIgnoreCase(user.Identity.Name, username))
Security\WindowsAuthenticationModule.cs (1)
148StringUtil.EqualsIgnoreCase(strAuthType, "basic")))
Security\WindowsTokenRoleProvider.cs (2)
198if (!StringUtil.EqualsIgnoreCase(userName, context.User.Identity.Name)) 205if (!StringUtil.EqualsIgnoreCase(userName, user.Identity.Name))
StaticFileHandler.cs (3)
126if (StringUtil.StringEndsWith(virtualPathWithPathInfo, '/')) { 405StringUtil.memcpyimpl((byte*)src, (byte*)dst, byteCount); 536if (StringUtil.StringStartsWithIgnoreCase(rangeHeader, "bytes")
UI\AttributeCollection.cs (3)
58if (_styleColl != null && StringUtil.EqualsIgnoreCase(key, "style")) 115if (_styleColl != null && StringUtil.EqualsIgnoreCase(key, "style")) 158if (_styleColl != null && StringUtil.EqualsIgnoreCase(key, "style"))
UI\BaseTemplateParser.cs (1)
181if (StringUtil.EqualsIgnoreCase(directiveName, "register")) {
UI\BatchParser.cs (9)
193if (StringUtil.EqualsIgnoreCase(pathType, "file")) { 208else if (StringUtil.EqualsIgnoreCase(pathType, "virtual")) { 236StringUtil.EqualsIgnoreCase(directiveName, DefaultDirectiveName) ) { 239else if (StringUtil.EqualsIgnoreCase(directiveName, "register")) { 247else if (StringUtil.EqualsIgnoreCase(directiveName, "reference")) { 261else if (StringUtil.EqualsIgnoreCase(directiveName, "assembly")) { 364if (StringUtil.EqualsIgnoreCase(directiveName, "previousPageType") || 365StringUtil.EqualsIgnoreCase(directiveName, "masterType")) { 388if (StringUtil.EqualsIgnoreCase(directiveName, "masterType")) {
UI\ChtmlTextWriter.cs (1)
99if (StringUtil.EqualsIgnoreCase("line-through", value)) {
UI\ClientScriptManager.cs (7)
685WebUtil.StringUtil.CheckAndTrimString(controlId, "controlId"); 686WebUtil.StringUtil.CheckAndTrimString(attributeName, "attributeName"); 1324return StringUtil.GetStringHashCode(uniqueId); 1327return StringUtil.GetStringHashCode(uniqueId) ^ StringUtil.GetStringHashCode(argument); 1376StringUtil.GetStringHashCode(stateString)); 1398if (viewStateHashCode != StringUtil.GetStringHashCode(viewStateString)) {
UI\Control.cs (1)
3041if (StringUtil.EqualsIgnoreCase(baseRequestDir, tplSourceDir))
UI\ControlBuilder.cs (1)
1068if (StringUtil.StringStartsWithIgnoreCase(name, "on")) {
UI\CssTextWriter.cs (4)
437if (StringUtil.StringStartsWith(url, "url(")) { 440if (StringUtil.StringEndsWith(url, ')')) { 452if (StringUtil.StringStartsWith(urlValue, quote) && StringUtil.StringEndsWith(urlValue, quote)) {
UI\DataBinding.cs (1)
97return StringUtil.EqualsIgnoreCase(propertyName, binding.PropertyName);
UI\DesignTimeTemplateParser.cs (1)
168if (StringUtil.EqualsIgnoreCase(((_currentFilter == null) ? String.Empty : _currentFilter), filterName)) {
UI\ExpressionBinding.cs (1)
111return StringUtil.EqualsIgnoreCase(_propertyName, binding.PropertyName);
UI\Html32TextWriter.cs (6)
312if (StringUtil.EqualsIgnoreCase(value, "bold") && SupportsBold) { 317if (!StringUtil.EqualsIgnoreCase(value, "normal") && SupportsItalic) { 346if (StringUtil.EqualsIgnoreCase(value, "bold")) { 351if (!StringUtil.EqualsIgnoreCase(value, "normal")) { 428if (StringUtil.StringStartsWith(value, "url(")) 435if (StringUtil.StringStartsWith(value, "url("))
UI\HtmlControls\HtmlSelect.cs (1)
27if (StringUtil.EqualsIgnoreCase(tagName, "option"))
UI\HtmlForm.cs (1)
404if (!StringUtil.StringEndsWith(formOnSubmit, ';')) {
UI\HTMLTagNameToTypeMapper.cs (1)
74if (StringUtil.EqualsIgnoreCase("input", tagName)) {
UI\MasterPageParser.cs (2)
67if (StringUtil.EqualsIgnoreCase(directiveName, "masterType")) { 77else if (StringUtil.EqualsIgnoreCase(directiveName, "outputcache")) {
UI\ObjectTag.cs (4)
70else if (StringUtil.EqualsIgnoreCase(scope, "page")) 72else if (StringUtil.EqualsIgnoreCase(scope, "session")) 74else if (StringUtil.EqualsIgnoreCase(scope, "application")) 76else if (StringUtil.EqualsIgnoreCase(scope, "appinstance"))
UI\Page.cs (9)
1498if (StringUtil.EqualsIgnoreCase(id, PageID)) { 1539int pageHashCode = StringUtil.GetNonRandomizedHashCode(TemplateSourceDirectory, ignoreCase:true); 1540pageHashCode += StringUtil.GetNonRandomizedHashCode(GetType().Name, ignoreCase:true); 3599if (StringUtil.EqualsIgnoreCase(varyByParam, "none")) { 3603if (StringUtil.EqualsIgnoreCase(varyByControl, "none")) { 3850if(StringUtil.EqualsIgnoreCase(value, HttpApplication.AutoCulture)) { 3856else if(StringUtil.StringStartsWithIgnoreCase(value, HttpApplication.AutoCulture)) { 3920if(StringUtil.EqualsIgnoreCase(value, HttpApplication.AutoCulture)) { 3926else if(StringUtil.StringStartsWithIgnoreCase(value, HttpApplication.AutoCulture)) {
UI\PageParser.cs (5)
272if (StringUtil.EqualsIgnoreCase(directiveName, "previousPageType")) { 282else if (StringUtil.EqualsIgnoreCase(directiveName, "masterType")) { 350else if (StringUtil.EqualsIgnoreCase(value, "readonly")) { 372if(StringUtil.EqualsIgnoreCase(value, HttpApplication.AutoCulture)) { 381if(StringUtil.StringStartsWithIgnoreCase(value, HttpApplication.AutoCulture)) {
UI\PageThemeParser.cs (2)
89StringUtil.EqualsIgnoreCase(directiveName, DefaultDirectiveName)) { 100else if (StringUtil.EqualsIgnoreCase(directiveName, "register")) {
UI\ParsedAttributeCollection.cs (1)
114if (StringUtil.EqualsIgnoreCase(currentFilter, filter)) {
UI\PartialCachingControl.cs (3)
840StringUtil.StringArrayEquals(_varyByParams, cv._varyByParams) && 841StringUtil.StringArrayEquals(_varyByControls, cv._varyByControls); 848hashCodeCombiner.AddInt(StringUtil.GetNonRandomizedHashCode(_varyByCustom));
UI\SimpleWebHandlerParser.cs (1)
372else if (StringUtil.EqualsIgnoreCase(directiveName, "assembly")) {
UI\TemplateControlParser.cs (4)
76if (StringUtil.EqualsIgnoreCase(directiveName, "outputcache")) { 96else if (StringUtil.EqualsIgnoreCase(directiveName, "reference")) { 362if (StringUtil.EqualsIgnoreCase(varyByParams, "none")) 365if (StringUtil.EqualsIgnoreCase(varyByControls, "none"))
UI\TemplateParser.cs (16)
1184if (StringUtil.EqualsIgnoreCase(attribName, "codefile")) continue; 1185if (StringUtil.EqualsIgnoreCase(attribName, CodeFileBaseClassAttributeName)) continue; 1190if (StringUtil.EqualsIgnoreCase(attribName, "inherits")) { 1469if (StringUtil.EqualsIgnoreCase(tagName, "script") && flags[isServerTag]) { 1513if (StringUtil.EqualsIgnoreCase(tagName, stackEntry._tagName)) 1699if (!StringUtil.EqualsIgnoreCase(tagName, "script")) 1773else if (StringUtil.EqualsIgnoreCase(directiveName, "assembly")) { 1801else if (StringUtil.EqualsIgnoreCase(directiveName, "import")) { 1807else if (StringUtil.EqualsIgnoreCase(directiveName, "implements")) { 2423if (StringUtil.EqualsIgnoreCase(pathType, "file")) { 2456else if (StringUtil.EqualsIgnoreCase(pathType, "virtual")) { 2707if (StringUtil.EqualsIgnoreCase(realAttributeName, "id")) { 2710else if (StringUtil.EqualsIgnoreCase(realAttributeName, "runat")) { 2715if (!StringUtil.EqualsIgnoreCase(attribValue, "server")) { 2723else if (FInDesigner && StringUtil.EqualsIgnoreCase(realAttributeName, "ignoreParentFrozen")) { 2791if (stackEntry._tagName == null || !StringUtil.EqualsIgnoreCase(stackEntry._tagName, tagName)) {
UI\ToolboxDataAttribute.cs (1)
65return(StringUtil.EqualsIgnoreCase(((ToolboxDataAttribute)obj).Data, data));
UI\Util.cs (6)
717else if (StringUtil.StringStartsWithIgnoreCase(input, XmlnsAttribute)) { 1021return s != null && (StringUtil.EqualsIgnoreCase(s, "true")); 1029return s != null && (StringUtil.EqualsIgnoreCase(s, "false")); 1135if (StringUtil.EqualsIgnoreCase(name, s)) { 1360if (StringUtil.EqualsIgnoreCase(Path.GetExtension(fileName), ".dll")) 1553if (StringUtil.StringStartsWith(cultures[i].Name, shortName))
UI\WebControls\CompareValidator.cs (1)
133if (StringUtil.EqualsIgnoreCase(ControlToValidate, ControlToCompare)) {
UI\WebControls\Content.cs (1)
89if (StringUtil.EqualsIgnoreCase(key, _contentPlaceHolderIDPropName)) {
UI\WebControls\DataGrid.cs (9)
1494if (StringUtil.EqualsIgnoreCase(command, DataGrid.SelectCommandName)) { 1498else if (StringUtil.EqualsIgnoreCase(command, DataGrid.PageCommandName)) { 1503if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataGrid.NextPageCommandArgument)) { 1506else if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataGrid.PrevPageCommandArgument)) { 1517else if (StringUtil.EqualsIgnoreCase(command, DataGrid.SortCommandName)) { 1521else if (StringUtil.EqualsIgnoreCase(command, DataGrid.EditCommandName)) { 1524else if (StringUtil.EqualsIgnoreCase(command, DataGrid.UpdateCommandName)) { 1527else if (StringUtil.EqualsIgnoreCase(command, DataGrid.CancelCommandName)) { 1530else if (StringUtil.EqualsIgnoreCase(command, DataGrid.DeleteCommandName)) {
UI\WebControls\DataList.cs (5)
1106if (StringUtil.EqualsIgnoreCase(command, DataList.SelectCommandName)) { 1110else if (StringUtil.EqualsIgnoreCase(command, DataList.EditCommandName)) { 1113else if (StringUtil.EqualsIgnoreCase(command, DataList.DeleteCommandName)) { 1116else if (StringUtil.EqualsIgnoreCase(command, DataList.UpdateCommandName)) { 1119else if (StringUtil.EqualsIgnoreCase(command, DataList.CancelCommandName)) {
UI\WebControls\DetailsView.cs (12)
2167bool isHtml4 = (!StringUtil.EqualsIgnoreCase(browserCaps["tagwriter"], typeof(Html32TextWriter).FullName)); 2407if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.PageCommandName)) { 2410if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.NextPageCommandArgument)) { 2412} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.PreviousPageCommandArgument)) { 2414} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.FirstPageCommandArgument)) { 2416} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.LastPageCommandArgument)) { 2423} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.EditCommandName)) { 2425} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.UpdateCommandName)) { 2427} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.CancelCommandName)) { 2429} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.DeleteCommandName)) { 2431} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.InsertCommandName)) { 2434else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.NewCommandName)) {
UI\WebControls\FormView.cs (11)
2037if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.PageCommandName)) { 2040if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.NextPageCommandArgument)) { 2042} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.PreviousPageCommandArgument)) { 2044} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.FirstPageCommandArgument)) { 2046} else if (StringUtil.EqualsIgnoreCase(itemIndexArg, DataControlCommands.LastPageCommandArgument)) { 2053} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.EditCommandName)) { 2055} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.UpdateCommandName)) { 2057} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.CancelCommandName)) { 2059} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.DeleteCommandName)) { 2061} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.InsertCommandName)) { 2063} else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.NewCommandName)) {
UI\WebControls\GridView.cs (12)
2733bool isHtml4 = !StringUtil.EqualsIgnoreCase(browserCaps["tagwriter"], typeof(Html32TextWriter).FullName); 2989if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.SelectCommandName)) { 2992else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.PageCommandName)) { 2997if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataControlCommands.NextPageCommandArgument)) { 3000else if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataControlCommands.PreviousPageCommandArgument)) { 3003else if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataControlCommands.FirstPageCommandArgument)) { 3006else if (StringUtil.EqualsIgnoreCase(pageNumberArg, DataControlCommands.LastPageCommandArgument)) { 3015else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.SortCommandName)) { 3018else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.EditCommandName)) { 3021else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.UpdateCommandName)) { 3024else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.CancelCommandName)) { 3027else if (StringUtil.EqualsIgnoreCase(command, DataControlCommands.DeleteCommandName)) {
UI\WebControls\Menu.cs (1)
2166if (me != null && StringUtil.EqualsIgnoreCase(me.CommandName, MenuItemClickCommandName)) {
UI\WebControls\TreeView.cs (1)
2262!StringUtil.EqualsIgnoreCase(caps["tagwriter"], typeof(Html32TextWriter).FullName));
UI\WebControls\WebColorConverter.cs (1)
44if (StringUtil.EqualsIgnoreCase(colorText, "LightGrey")) {
UI\WebParts\PersonalizationAdministration.cs (13)
118path = StringUtil.CheckAndTrimString(path, "path"); 134path = StringUtil.CheckAndTrimString(path, "path"); 145path = StringUtil.CheckAndTrimString(path, "path"); 158path = StringUtil.CheckAndTrimString(path, "path"); 178path = StringUtil.CheckAndTrimString(path, "path"); 196pathToMatch = StringUtil.CheckAndTrimString(pathToMatch, "pathToMatch", false); 212usernameToMatch = StringUtil.CheckAndTrimString(usernameToMatch, "usernameToMatch", false); 224pathToMatch = StringUtil.CheckAndTrimString(pathToMatch, "pathToMatch", false); 277pathToMatch = StringUtil.CheckAndTrimString(pathToMatch, "pathToMatch", false); 295pathToMatch = StringUtil.CheckAndTrimString(pathToMatch, "pathToMatch", false); 296usernameToMatch = StringUtil.CheckAndTrimString(usernameToMatch, "usernameToMatch", false); 318pathToMatch = StringUtil.CheckAndTrimString(pathToMatch, "pathToMatch", false); 319usernameToMatch = StringUtil.CheckAndTrimString(usernameToMatch, "usernameToMatch", false);
UI\WebParts\PersonalizationDictionary.cs (5)
70key = StringUtil.CheckAndTrimString(key, "key"); 74key = StringUtil.CheckAndTrimString(key, "key"); 83key = StringUtil.CheckAndTrimString(key, "key"); 95key = StringUtil.CheckAndTrimString(key, "key"); 108key = StringUtil.CheckAndTrimString(key, "key");
UI\WebParts\PersonalizationProviderHelper.cs (1)
60string trimmedValue = StringUtil.CheckAndTrimString(paramValue, paramName);
UI\WebParts\PersonalizationStateInfo.cs (1)
21_path = StringUtil.CheckAndTrimString(path, "path");
UI\WebParts\PersonalizationStateQuery.cs (2)
71queryKey = StringUtil.CheckAndTrimString(queryKey, "queryKey"); 75queryKey = StringUtil.CheckAndTrimString(queryKey, "queryKey");
UI\WebParts\SqlPersonalizationProvider.cs (7)
169pathToMatch = StringUtil.CheckAndTrimString(query.PathToMatch, "query.PathToMatch", false, maxStringLength); 178pathToMatch = StringUtil.CheckAndTrimString(query.PathToMatch, "query.PathToMatch", false, maxStringLength); 180usernameToMatch = StringUtil.CheckAndTrimString(query.UsernameToMatch, "query.UsernameToMatch", false, maxStringLength); 359pathToMatch = StringUtil.CheckAndTrimString(query.PathToMatch, "query.PathToMatch", false, maxStringLength); 368pathToMatch = StringUtil.CheckAndTrimString(query.PathToMatch, "query.PathToMatch", false, maxStringLength); 370usernameToMatch = StringUtil.CheckAndTrimString(query.UsernameToMatch, "query.UsernameToMatch", false, maxStringLength); 748path = StringUtil.CheckAndTrimString(path, "path", false, maxStringLength);
UI\WebParts\UserPersonalizationStateInfo.cs (1)
24_username = StringUtil.CheckAndTrimString(username, "username");
Util\AspCompat.cs (1)
327if (StringUtil.EqualsIgnoreCase(threadingModel, "Apartment")) {
Util\FileUtil.cs (3)
154if (!StringUtil.StringEndsWith(dir, @"\")) 545&& !StringUtil.EqualsIgnoreCase(wfd.cFileName, wfd.cAlternateFileName)) { 558if (StringUtil.EqualsIgnoreCase(_fileNameShort, _fileNameLong)) {
Util\HashCodeCombiner.cs (5)
91AddInt(StringUtil.GetStringHashCode(s)); 106AddInt(StringUtil.GetNonRandomizedHashCode(s, ignoreCase:true)); 134AddInt(StringUtil.GetNonRandomizedHashCode(fileContentHashKey)); 173AddInt(StringUtil.GetStringHashCode(fileName)); 186AddInt(StringUtil.GetStringHashCode(fileName));
Util\Misc.cs (1)
103StringUtil.memcpyimpl(s, d, size);
Util\UrlPath.cs (3)
510if (!StringUtil.StringStartsWithIgnoreCase(virtualPath1, virtualPath2)) { 578if (StringUtil.StringStartsWithIgnoreCase(applicationPath, virtualPath)) 706if (!StringUtil.EqualsIgnoreCase(path, 0, subpath, 0, lPath))
Util\versioninfo.cs (1)
64if (StringUtil.StringStartsWith(fileName, "\\\\?\\")) // on Whistler GetModuleFileName migth return this
WorkerRequest.cs (1)
602bool isAuthenticated = (!string.IsNullOrEmpty(logonUser) || (!string.IsNullOrEmpty(authType) && !StringUtil.EqualsIgnoreCase(authType, "basic")));