163 instantiations of String
mscorlib (64)
microsoft\win32\registrykey.cs (8)
1027names[i] = new String(namePtr); 1107names[i] = new String(namePtr); 1280data = new String(blob, 0, blob.Length - 1); 1285data = new String(blob); 1306data = new String(blob, 0, blob.Length - 1); 1311data = new String(blob); 1363strings.Add(new String(blob, cur, nextNull-cur)); 1373strings.Add(new String(blob, cur, len-cur));
system\bitconverter.cs (1)
401return new String(chArray, 0, chArray.Length - 1);
system\char.cs (2)
172return new String(c, 1); 939return (new String(surrogate));
system\environment.cs (3)
810String key = new String(block, startKey, i-startKey); 818String value = new String(block, startValue, i-startValue); 1052result[count++] = new String(root);
system\globalization\compareinfo.cs (2)
801source, count, startIndex, new String(value, 1), 1); 1002source, count, startIndex, new String(value, 1), 1);
system\globalization\datetimeformat.cs (1)
1113results = new String[] {Format(dateTime, new String(new char[] {format}), dtfi)};
system\globalization\encodingdataitem.cs (2)
53return new String(pStrings, start, i - start); 70return new String(pStrings);
system\globalization\idnmapping.cs (2)
210return new String(output, 0, length); 299return new String(output, 0, length);
system\guid.cs (1)
879return new String(chArr, 0, newLength);
system\io\binaryreader.cs (1)
287return new String(m_charBuffer, 0, charsRead);
system\io\directory.cs (1)
1037result[count++] = new String(root);
system\io\path.cs (1)
1102return new String(rndCharArray, 0, 12);
system\io\pathhelper.cs (2)
358String s = new String(m_arrayPtr, 0, compareTo.Length); 383return new String(m_arrayPtr, 0, Length);
system\io\streamreader.cs (2)
765s = new String(charBuffer, charPos, i - charPos); 837s = new String(tmpCharBuffer, tmpCharPos, i - tmpCharPos);
system\io\textwriter.cs (1)
167get { return new String(CoreNewLine); }
system\reflection\emit\symboltype.cs (6)
291return SymbolType.FormCompoundType((new String(m_bFormat) + "*").ToCharArray(), m_baseType, 0); 296return SymbolType.FormCompoundType((new String(m_bFormat) + "&").ToCharArray(), m_baseType, 0); 301return SymbolType.FormCompoundType((new String(m_bFormat) + "[]").ToCharArray(), m_baseType, 0); 322SymbolType st = SymbolType.FormCompoundType((new String(m_bFormat) + s).ToCharArray(), m_baseType, 0) as SymbolType; 379String sFormat = new String(m_bFormat); 382sFormat = new String(((SymbolType)baseType).m_bFormat) + sFormat;
system\reflection\mdimport.cs (1)
442return new String(c);
system\reflection\module.cs (1)
1208return new String(s.ToCharArray(), i + 1, s.Length - i - 1);
system\resources\resourcereader.cs (1)
471s = new String(charPtr, 0, byteLen/2);
system\runtime\interopservices\marshal.cs (4)
138return new String((sbyte *)ptr); 151return new String((sbyte *)ptr, 0, len); 162return new String((char *)ptr, 0, len); 182return new String((char *)ptr);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1066return new String(rawBuffer, 0, checked((int)length));
system\runtime\remoting\soapinteroptypes.cs (8)
332year = new String(c,beginField, i-beginField); 337minute = new String(c, beginField, i-beginField); 339month = new String(c, beginField, i-beginField); 343day = new String(c, beginField, i-beginField); 351hour = new String(c, beginField, i-beginField); 356second = new String(c, beginField, i-beginField); 361second = new String(c, beginField, i-beginField); 363fraction = new String(c, beginField, i-beginField);
system\security\cryptography\utils.cs (1)
640return new String(output);
system\security\util\hex.cs (2)
41result = new String(hexOrder); 59result = new String(hexOrder);
system\security\util\tokenizer.cs (2)
285String fakeReadString = new String(' ', reader.NumCharEncountered); 755str = new String(a,0,l);
system\string.cs (1)
1373return new String(value, startIndex, length); // default to ANSI
system\stubhelpers.cs (4)
119return new String((sbyte*)cstr); 340ret = new String((char*)bstr, 0, (int)(length / 2)); 416return new String((sbyte*)pNative, 0, cch); 467return new String((sbyte*)bstr);
system\text\encoding.cs (1)
1501return new String(GetChars(bytes, index, count));
system\text\normalization.cs (1)
303return new String(cBuffer, 0, iLength);
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (3)
294pszVal = Marshal.StringToCoTaskMemAnsi(new String(value as char[])); 304strArray[i] = new String(charArray[i] as char[]); 393pszVal = Marshal.StringToCoTaskMemAnsi(new String(new char[] { (char)value }));
PresentationFramework (3)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1146string indent = new String(' ', level);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
441unicodeStr = new String(chars);
src\Framework\System\windows\Documents\TextSelection.cs (1)
2507fontSignature = new String(new Char[FONTSIGNATURE_SIZE]);
System (18)
net\System\Net\HttpListenerRequest.cs (1)
1451return new String(_charBuffer, 0, _numChars);
net\System\Net\WebHeaderCollection.cs (1)
1071string s = new String('\0', byteCount);
net\System\Net\WebUtility.cs (1)
781return new String(_charBuffer, 0, _numChars);
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
748String msgStr = new String((SByte*) zStreamPtr->msg);
regex\system\text\regularexpressions\RegexCharClass.cs (8)
388tempCategories["C"] = new String(groups, 0, 7); 403tempCategories["L"] = new String(groups, 0, 7); 404word.Append(new String(groups, 1, 5)); 419tempCategories["M"] = new String(groups, 0, 5); 432tempCategories["N"] = new String(groups, 0, 5); 453tempCategories["P"] = new String(groups, 0, 9); 467tempCategories["S"] = new String(groups, 0, 6); 478tempCategories["Z"] = new String(groups, 0, 5);
security\system\security\cryptography\bigint.cs (1)
492return new String(dec, 0, index);
security\system\security\cryptography\x509\x509utils.cs (3)
192result = new String(hexOrder); 209result = new String(hexOrder); 243return new String(rgbOut);
services\io\system\io\FileSystemWatcher.cs (1)
537name = new String( (char *) (buffPtr + offset + 12), 0, nameLength / 2);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
658string counter = new String((sbyte*)counterNamesPtr, start, i-start, Encoding.Unicode);
System.Configuration (3)
System\Configuration\XmlUtilWriter.cs (3)
53SPACES_8 = new String(SPACE, 8); 54SPACES_4 = new String(SPACE, 4); 55SPACES_2 = new String(SPACE, 2);
System.Core (1)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
185Write(new String(' ', Depth));
System.Data (15)
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (5)
756string indentStr = new String(' ', indent); 974new String(' ', indent), 1141new String(' ', indent), 1426new String(' ', indent), 1703new String(' ', indent),
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
230return new String((char[])_object, 0, (int)CharsLength);
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
885value = new String((char[])value);
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
5012s = new String(cc, 0, length); 8336s = new String(((SqlChars)value).Value); 10027String sch = new String(((SqlChars)value).Value); 10982String sch = new String(((SqlChars)value).Value);
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
263_stateObj.Parser.WriteSqlVariantValue(new String(buffer, bufferOffset, length), length, 0, _stateObj);
fx\src\data\System\Data\SQLTypes\SQLChars.cs (2)
440 return IsNull ? SqlString.Null : new String(Value); 544 writer.WriteString(new String(value, 0, (int)(this.Length)));
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
985return new String(szResult);
System.Data.Entity (3)
System\Data\Common\EntitySql\AST\Literal.cs (2)
423result = result.Replace(new String(delimiter, 2), new String(delimiter, 1));
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1392var escapeExpression = DbExpressionBuilder.Constant(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.String), new String(new char[] { escapeChar }));
System.Data.Linq (1)
DbConvert.cs (1)
151return new String((char[])value);
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
309return new String((char[])propertyValue);
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
458return new String(text);
System\Xml\Xsl\XPath\XPathScanner.cs (1)
500return new String((char)t, 1);
System.Management (9)
Instrumentation\CodeSpit.cs (1)
32string prefix = new String(' ', depth*4);
managementpath.cs (8)
327pathStr = new String ('0', (int) bufLen-1); 514pathStr = new String ('0', (int) bufLen-1); 613pathStr = new String ('0', (int) uLen-1); 712string nSpace = new String('0', (int) uLen-1); 744string serverNew = new String ('0', (int) uLen-1); 756string serverOrg = new String('0', (int)uLen-1); 815pathStr = new String ('0', (int) bufLen-1); 912pathStr = new String ('0', (int) bufLen-1);
System.Messaging (3)
System\Messaging\ActiveXMessageFormatter.cs (2)
134return new String(this.internalCharBuffer, 0, size); 147return new String(this.internalCharBuffer, 0, size);
System\Messaging\Message.cs (1)
2414return new String(charBuffer, 0, len);
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
653return new String(rgch, ichDst, cchMax - ichDst);
System.Runtime.Remoting (1)
metadata\wsdlparser.cs (1)
6423return new String(outChar);
System.Security (4)
system\security\cryptography\bigint.cs (1)
495return new String(dec, 0, index);
system\security\cryptography\x509\x509utils.cs (2)
64result = new String(hexOrder); 85result = new String(hexOrder);
system\security\cryptography\xml\utils.cs (1)
141return new String(rgbOut);
System.ServiceModel (2)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (2)
71return new String(buffer, 0, size); 90return new String(buffer, 0, size);
System.ServiceModel.Internals (1)
System\Runtime\UrlUtility.cs (1)
467return new String(_charBuffer, 0, _numChars);
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (3)
404sample.Insert(i + 1, "\n" + new String('\t', ++depth)); 409sample.Insert(i + 1, "\n" + new String('\t', depth)); 413sample.Insert(i, "\n" + new String('\t', --depth));
System.Web (12)
Hosting\IIS7WorkerRequest.cs (1)
156unsafe { _httpVerb = new String((sbyte*)httpMethodPtr); } // don't use the Marshal class since we want to fail if we're given a bad value
Hosting\ISAPIWorkerRequest.cs (2)
185return (_charBuffer != null && _freePos > 0) ? new String(_charBuffer, 0, _freePos) : null; 326ss[iString] = new String(s, iStart, iEnd-iStart);
Management\EventlogProvider.cs (1)
293return new String(newChars);
Security\ADMembershipProvider.cs (1)
3002return new String(accountName);
Security\FormsAuthenticationTicketSerializer.cs (1)
241return new String(chars);
State\SessionIDManager.cs (1)
496return new String(chars);
StringResourceManager.cs (1)
28return new String((sbyte *)pv, offset, size, Encoding.UTF8);
UI\LOSFormatter.cs (1)
93return Deserialize(new String(data, 0, current));
Util\HttpEncoder.cs (1)
989return new String(_charBuffer, 0, _numChars);
Util\Utf16StringValidator.cs (1)
72return new String(chars);
WebSockets\WebSocketPipe.cs (1)
210closeStatusDescription = new String((char*)reasonPtr, 0, reasonLength);
System.Web.Mobile (4)
UI\MobileControls\Adapters\ChtmlTextBoxAdapter.cs (1)
73return new String(randomChars);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
1549return new String(randomChars);
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
448return new String(viewstate);
UI\MobileControls\Adapters\WmlPhoneCallAdapter.cs (1)
68phoneNumber = new String(plainNumber, 0, sizeOfPlainNumber);
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
1128result = new String(hexOrder);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1984result = new String(hexOrder);
System.Xml (5)
System\Xml\BinaryXml\SqlUtils.cs (1)
515return new String(szResult);
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
2061return new String(p, 0, cch);
System\Xml\BinHexEncoder.cs (1)
56return new String(outArray, 0, lenOut);
System\Xml\Serialization\XmlSerializationReader.cs (2)
985string lengthString = new String(chars, pos + 1, len); 1018soapArrayInfo.qname = new String(chars, 0, pos + 1);
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (1)
233inString = new String(reader.ReadChars(bytesRead / 2));
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
748String msgStr = new String((SByte*) zStreamPtr->msg);
30556 references to String
ComSvcConfig (157)
ComAdminInterfaces.cs (124)
81String bstrCollName); 85Object Connect([In, MarshalAs(UnmanagedType.BStr)] String connectStr); 99void InstallComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrDLLFile, 100[In, MarshalAs(UnmanagedType.BStr)] String bstrTypelibFile, 101[In, MarshalAs(UnmanagedType.BStr)] String bstrProxyStubDLLFile); 103void ImportComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrCLSID); 106void ImportComponentByName([In, MarshalAs(UnmanagedType.BStr)] String bstrProgID); 108void GetCLSIDs([In, MarshalAs(UnmanagedType.BStr)] String bstrDLLFile, 109[In, MarshalAs(UnmanagedType.BStr)] String bstrTypelibFile, 118void AssociateRole([In, MarshalAs(UnmanagedType.BStr)] String bstrRoleID); 120void AssociateRoleByName([In, MarshalAs(UnmanagedType.BStr)] String bstrRoleName); 131String bstrCollName); 135Object Connect([In, MarshalAs(UnmanagedType.BStr)] String connectStr); 146String collName, 151void ImportComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 152[In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgId); 155void InstallComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 156[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 157[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 158[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 161void ShutdownApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 164void ExportApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 165[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 169void InstallApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 170[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationDirectory, 172[In, MarshalAs(UnmanagedType.BStr)] String bstrUserId, 173[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 174[In, MarshalAs(UnmanagedType.BStr)] String bstrRSN); 192void InstallMultipleComponents([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 197void GetMultipleComponentsInfo([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 208void BackupREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 211void RestoreREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 214void QueryApplicationFile([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 215[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationName, 216[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationDescription, 222void StartApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 228void InstallMultipleEventClasses([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 233void InstallEventClass([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 234[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 235[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 236[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 238void GetEventClassesForIID([In] String bstrIID, 254String bstrCollName); 258Object Connect([In, MarshalAs(UnmanagedType.BStr)] String connectStr); 269String collName, 274void ImportComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 275[In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgId); 278void InstallComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 279[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 280[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 281[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 284void ShutdownApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 287void ExportApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 288[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 292void InstallApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 293[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationDirectory, 295[In, MarshalAs(UnmanagedType.BStr)] String bstrUserId, 296[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 297[In, MarshalAs(UnmanagedType.BStr)] String bstrRSN); 315void InstallMultipleComponents([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 320void GetMultipleComponentsInfo([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 331void BackupREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 334void RestoreREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 337void QueryApplicationFile([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 338[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationName, 339[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationDescription, 345void StartApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 351void InstallMultipleEventClasses([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 356void InstallEventClass([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 357[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 358[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 359[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 362void GetEventClassesForIID([In] String bstrIID, 370[In, MarshalAs(UnmanagedType.BStr)] String bstrCollectionName, 375String GetApplicationInstanceIDFromProcessID([In, MarshalAs(UnmanagedType.I4)] int lProcessID); 397String DumpApplicationInstance( 398[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationInstanceID, 399[In, MarshalAs(UnmanagedType.BStr)] String bstrDirectory, 408[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 409[In, MarshalAs(UnmanagedType.BStr)] String bstrServiceName, 410[In, MarshalAs(UnmanagedType.BStr)] String bstrStartType, 411[In, MarshalAs(UnmanagedType.BStr)] String bstrErrorControl, 412[In, MarshalAs(UnmanagedType.BStr)] String bstrDependencies, 413[In, MarshalAs(UnmanagedType.BStr)] String bstrRunAs, 414[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 418void DeleteServiceForApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 422String GetPartitionID([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 426String GetPartitionName([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 429void CurrentPartition([In, MarshalAs(UnmanagedType.BStr)]String bstrPartitionIDOrName); 433String CurrentPartitionID(); 437String CurrentPartitionName(); 441String GlobalPartitionID(); 448[In, MarshalAs(UnmanagedType.BStr)] String bstrSourcePartitionIDOrName, 450[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationPartitionIDOrName); 454[In, MarshalAs(UnmanagedType.BStr)] String bstrSourceApplicationIDOrName, 456[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationApplicationIDOrName); 460[In, MarshalAs(UnmanagedType.BStr)] String bstrSourceApplicationIDOrName, 462[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationApplicationIDOrName); 466[In, MarshalAs(UnmanagedType.BStr)] String bstrSrcApplicationIDOrName, 467[In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgID, 468[In, MarshalAs(UnmanagedType.BStr)] String bstrDestApplicationIDOrName, 469[In, MarshalAs(UnmanagedType.BStr)] String bstrNewProgId, 470[In, MarshalAs(UnmanagedType.BStr)] String bstrNewClsid); 474Object IsSafeToDelete([In, MarshalAs(UnmanagedType.BStr)] String bstrDllName); 478[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 484[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 490[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 500[In, MarshalAs(UnmanagedType.BStr)] String bstrPartitionIDOrName, 501[In, MarshalAs(UnmanagedType.BStr)] String bstrPartitionFileName, 506[In, MarshalAs(UnmanagedType.BStr)] String bstrFileName, 507[In, MarshalAs(UnmanagedType.BStr)] String bstrDestDirectory, 509[In, MarshalAs(UnmanagedType.BStr)] String bstrUserID, 510[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 511[In, MarshalAs(UnmanagedType.BStr)] String bstrRSN); 515Object QueryApplicationFile2([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile); 519int GetComponentVersionCount([In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgID); 529Object GetValue([In, MarshalAs(UnmanagedType.BStr)] String propName); 532void SetValue([In, MarshalAs(UnmanagedType.BStr)] String propName, 543bool IsPropertyReadOnly([In, MarshalAs(UnmanagedType.BStr)] String bstrPropName); 554bool IsPropertyWriteOnly([In, MarshalAs(UnmanagedType.BStr)] String bstrPropName); 588Object GetCollection([In, MarshalAs(UnmanagedType.BStr)] String bstrCollName, 628void PopulateByQuery([In, MarshalAs(UnmanagedType.BStr)] String bstrQueryString,
ComAdminWrapper.cs (1)
300public static void CreateTypeLib(String fileName, Guid clsid)
ComplusEndpointConfigContainer.cs (1)
347if ((!String.IsNullOrEmpty(partitionId)) && partitionId != ComAdminWrapper.GetGlobalPartitionID())
EndpointConfigContainer.cs (3)
281if (!String.IsNullOrEmpty(baseServiceAddress)) 743if (String.IsNullOrEmpty(version)) 754if (String.IsNullOrEmpty(fileName))
Options.cs (2)
160string mexOnlyComponent = String.Empty; 354if (String.Empty == mexOnlyComponent)
parent\svcutil\CommandLineParser.cs (2)
172arguments.Add(String.Empty, arg); 190argValue = String.Empty;
SafeNativeMethods.cs (20)
285internal const String KERNEL32 = "kernel32.dll"; 286internal const String USER32 = "user32.dll"; 287internal const String ADVAPI32 = "advapi32.dll"; 288internal const String OLE32 = "ole32.dll"; 289internal const String OLEAUT32 = "oleaut32.dll"; 290internal const String SHFOLDER = "shfolder.dll"; 291internal const String SHIM = "mscoree.dll"; 292internal const String CRYPT32 = "crypt32.dll"; 293internal const String SECUR32 = "secur32.dll"; 294internal const String MSCORWKS = "mscorwks.dll"; 305internal static extern int RegOpenKeyEx(RegistryHandle hKey, String lpSubKey, 309internal static extern int RegSetValueEx(RegistryHandle hKey, String lpValueName, 310int Reserved, int dwType, String val, int cbData); 315internal static extern int RegCreateKeyEx(RegistryHandle hKey, String lpSubKey, 316int Reserved, String lpClass, int dwOptions, 324internal static extern int RegQueryValueEx(RegistryHandle hKey, String lpValueName, 329internal static extern int RegDeleteKey(RegistryHandle hKey, String lpValueName); 374ICreateTypeInfo CreateTypeInfo([In, MarshalAs(UnmanagedType.LPStr)] String szName, 379void SetDocString([In, MarshalAs(UnmanagedType.LPStr)] String szDoc); 380void SetHelpFileName([In, MarshalAs(UnmanagedType.LPStr)] String szHelpFileName);
Tool.cs (3)
187if (String.Empty != options.MexOnlyComponent) 702string missingInterface = String.Empty; 797if (outComps.Count == 0 && (!String.IsNullOrEmpty(missingInterface)))
WasEndpointConfigContainer.cs (1)
246return String.Empty;
Microsoft.Activities.Build (5)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (5)
87string fileName = inputTaskItem != null ? inputTaskItem.ItemSpec : String.Empty; 237string symbolString = DebugSymbol.GetSymbol(implementationRoot) as String; 269if (String.IsNullOrEmpty(skipWorkflowValidationValue) || String.Equals(skipWorkflowValidationValue, "false", StringComparison.OrdinalIgnoreCase)) 273else if (String.Equals(skipWorkflowValidationValue, "true", StringComparison.OrdinalIgnoreCase))
mscorlib (8566)
microsoft\win32\fusionwrap.cs (7)
40void Set([MarshalAs(UnmanagedType.LPWStr)] String szName, int pvValue, uint cbValue, uint dwFlags); 41void Get([MarshalAs(UnmanagedType.LPWStr)] String szName, out int pvValue, ref uint pcbValue, uint dwFlags); 61[MarshalAs(UnmanagedType.LPWStr)] String szCodeBase, 118public static void ReadCache(ArrayList alAssems, String name, uint nFlag) 147String sDisplayName = GetDisplayName(aName, 0); 156static unsafe String GetDisplayName(IAssemblyName aName, uint dwDisplayFlags) 159String sDisplayName = null;
microsoft\win32\oavariantlib.cs (1)
52typeof(String),
microsoft\win32\registrykey.cs (55)
137private static readonly String[] hkeyNames = new String[] { 157private volatile String keyName; 288public RegistryKey CreateSubKey(String subkey) { 295public RegistryKey CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck) 303public RegistryKey CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions options) 309public RegistryKey CreateSubKey(String subkey, bool writable) 315public RegistryKey CreateSubKey(String subkey, bool writable, RegistryOptions options) 325public unsafe RegistryKey CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) 333public unsafe RegistryKey CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity) 343private unsafe RegistryKey CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, object registrySecurityObj, RegistryOptions registryOptions) 422public void DeleteSubKey(String subkey) { 429public void DeleteSubKey(String subkey, bool throwOnMissingSubKey) { 481public void DeleteSubKeyTree(String subkey) { 489public void DeleteSubKeyTree(String subkey, Boolean throwOnMissingSubKey) { 507String[] keys = key.InternalGetSubKeyNames(); 544String[] keys = key.InternalGetSubKeyNames(); 577public void DeleteValue(String name) { 584public void DeleteValue(String name, bool throwOnMissingValue) { 674public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, String machineName) { 682public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, String machineName, RegistryView view) { 765public RegistryKey OpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck) { 772public RegistryKey OpenSubKey(String name, RegistryRights rights) 781public RegistryKey OpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights) { 788private RegistryKey InternalOpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck, int rights) { 824internal RegistryKey InternalOpenSubKey(String name, bool writable) { 855public RegistryKey OpenSubKey(String name) { 997public String[] GetSubKeyNames() { 1003internal unsafe String[] InternalGetSubKeyNames() { 1006String[] names = new String[subkeys]; // Returns 0-length array if empty. 1076public unsafe String[] GetValueNames() { 1081String[] names = new String[values]; 1127public Object GetValue(String name) { 1152public Object GetValue(String name, Object defaultValue) { 1163public Object GetValue(String name, Object defaultValue, RegistryValueOptions options) { 1173internal Object InternalGetValue(String name, Object defaultValue, bool doNotExpand, bool checkSecurity) { 1315data = Environment.ExpandEnvironmentVariables((String)data); 1350IList<String> strings = new List<String>(); 1369strings.Add(String.Empty); 1378data = new String[strings.Count]; 1379strings.CopyTo((String[])data, 0); 1434public String Name { 1452public void SetValue(String name, Object value) { 1458public unsafe void SetValue(String name, Object value, RegistryValueKind valueKind) { 1490String data = value.ToString(); 1525String.InternalCopy(dataStrings[i],currentPtr,(checked(dataStrings[i].Length*2))); 1614else if (value is String[]) 1629public override String ToString() { 1663internal void Win32Error(int errorCode, String str) { 1702internal static void Win32ErrorStatic(int errorCode, String str) { 1715internal static String FixupName(String name)
microsoft\win32\unsafenativemethods.cs (1)
54String filePath,
microsoft\win32\win32native.cs (74)
411internal String CSDVersion = null; 712internal const String KERNEL32 = "kernel32.dll"; 713internal const String USER32 = "user32.dll"; 714internal const String ADVAPI32 = "advapi32.dll"; 715internal const String OLE32 = "ole32.dll"; 716internal const String OLEAUT32 = "oleaut32.dll"; 717internal const String SHELL32 = "shell32.dll"; 718internal const String SHIM = "mscoree.dll"; 719internal const String CRYPT32 = "crypt32.dll"; 720internal const String SECUR32 = "secur32.dll"; 721internal const String NTDLL = "ntdll.dll"; 725internal const String MSCORWKS = "clr.dll"; 742internal static String GetMessage(int errorCode) { 822private static extern IntPtr GetProcAddress(IntPtr hModule, String methodName); 827private static extern IntPtr GetModuleHandle(String moduleName); 830internal static bool DoesWin32MethodExist(String moduleName, String methodName) 869internal static extern IntPtr SysAllocStringLen(String src, int len); // BSTR 913internal static extern SafeWaitHandle CreateEvent(SECURITY_ATTRIBUTES lpSecurityAttributes, bool isManualReset, bool initialState, String name); 917internal static extern SafeWaitHandle OpenEvent(/* DWORD */ int desiredAccess, bool inheritHandle, String name); 922internal static extern SafeWaitHandle CreateMutex(SECURITY_ATTRIBUTES lpSecurityAttributes, bool initialOwner, String name); 926internal static extern SafeWaitHandle OpenMutex(/* DWORD */ int desiredAccess, bool inheritHandle, String name); 943internal unsafe static extern int GetFullPathName(String path, int numBufferChars, [Out]StringBuilder buffer, IntPtr mustBeZero); 951internal static extern int GetLongPathName(String path, [Out]StringBuilder longPathBuffer, int bufferLength); 969internal static SafeFileHandle SafeCreateFile(String lpFileName, 993internal static SafeFileHandle UnsafeCreateFile(String lpFileName, 1011private static extern SafeFileHandle CreateFile(String lpFileName, 1018internal static extern SafeFileMappingHandle CreateFileMapping(SafeFileHandle hFile, IntPtr lpAttributes, uint fProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, String lpName); 1106internal static extern bool GetDiskFreeSpaceEx(String drive, out long freeBytesForUser, out long totalBytes, out long freeBytes); 1110internal static extern int GetDriveType(String drive); 1114internal static extern bool GetVolumeInformation(String drive, [Out]StringBuilder volumeName, int volumeNameBufLen, out int volSerialNumber, out int maxFileNameLen, out int fileSystemFlags, [Out]StringBuilder fileSystemName, int fileSystemNameBufLen); 1118internal static extern bool SetVolumeLabel(String driveLetter, String volumeName); 1133internal static extern SafeWaitHandle CreateSemaphore(SECURITY_ATTRIBUTES lpSecurityAttributes, int initialCount, int maximumCount, String name); 1391String src, String dst, bool failIfExists); 1397String path, SECURITY_ATTRIBUTES lpSecurityAttributes); 1401internal static extern bool DeleteFile(String path); 1405internal static extern bool ReplaceFile(String replacedFileName, String replacementFileName, String backupFileName, int dwReplaceFlags, IntPtr lpExclude, IntPtr lpReserved); 1409internal static extern bool DecryptFile(String path, int reservedMustBeZero); 1413internal static extern bool EncryptFile(String path); 1442internal static extern bool GetFileAttributesEx(String name, int fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation); 1446internal static extern bool SetFileAttributes(String name, int attr); 1454internal static extern uint GetTempFileName(String tmpPath, String prefix, uint uniqueIdOrZero, [Out]StringBuilder tmpFileName); 1468internal static extern bool MoveFile(String src, String dst); 1473internal static extern bool DeleteVolumeMountPoint(String mountPoint); 1477internal static extern bool RemoveDirectory(String path); 1481internal static extern bool SetCurrentDirectory(String path); 1717internal static extern bool SetConsoleTitle(String title); 1769internal static extern int RegConnectRegistry(String machineName, 1776internal static extern int RegCreateKeyEx(SafeRegistryHandle hKey, String lpSubKey, 1777int Reserved, String lpClass, int dwOptions, 1783internal static extern int RegDeleteKey(SafeRegistryHandle hKey, String lpSubKey); 1787internal static extern int RegDeleteKeyEx(SafeRegistryHandle hKey, String lpSubKey, 1792internal static extern int RegDeleteValue(SafeRegistryHandle hKey, String lpValueName); 1815internal static extern int RegOpenKeyEx(SafeRegistryHandle hKey, String lpSubKey, 1820internal static extern int RegOpenKeyEx(IntPtr hKey, String lpSubKey, 1834internal static extern int RegQueryValueEx(SafeRegistryHandle hKey, String lpValueName, 1840internal static extern int RegQueryValueEx(SafeRegistryHandle hKey, String lpValueName, 1846internal static extern int RegQueryValueEx(SafeRegistryHandle hKey, String lpValueName, 1852internal static extern int RegQueryValueEx(SafeRegistryHandle hKey, String lpValueName, 1858internal static extern int RegQueryValueEx(SafeRegistryHandle hKey, String lpValueName, 1864internal static extern int RegSetValueEx(SafeRegistryHandle hKey, String lpValueName, 1869internal static extern int RegSetValueEx(SafeRegistryHandle hKey, String lpValueName, 1874internal static extern int RegSetValueEx(SafeRegistryHandle hKey, String lpValueName, 1879internal static extern int RegSetValueEx(SafeRegistryHandle hKey, String lpValueName, 1880int Reserved, RegistryValueKind dwType, String lpData, int cbData); 1884internal static extern int ExpandEnvironmentStrings(String lpSrc, [Out]StringBuilder lpDst, int nSize); 2011internal static extern IntPtr SendMessageTimeout(IntPtr hWnd, int Msg, IntPtr wParam, String lParam, uint fuFlags, uint uTimeout, IntPtr lpdwResult); 2762internal static extern int CreateAssemblyNameObject(out IAssemblyName ppEnum, String szAssemblyName, uint dwFlags, IntPtr pvReserved);
system\__filters.cs (10)
112if(filterCriteria == null || !(filterCriteria is String)) 116String str = ((String) filterCriteria); 119String name = m.Name; 138if(filterCriteria == null || !(filterCriteria is String)) 141String str = (String) filterCriteria; 144String name = m.Name; 151return (String.Compare(name,0,str,0,str.Length,StringComparison.OrdinalIgnoreCase)==0); 154return (String.Compare(str,name, StringComparison.OrdinalIgnoreCase) == 0);
system\_localdatastoremgr.cs (5)
214public LocalDataStoreSlot AllocateNamedDataSlot(String name) 241public LocalDataStoreSlot GetNamedDataSlot(String name) 270public void FreeNamedDataSlot(String name) 338private Dictionary<String, LocalDataStoreSlot> m_KeyToSlotMap = new Dictionary<String, LocalDataStoreSlot>();
system\accessviolationexception.cs (2)
31public AccessViolationException(String message) 37public AccessViolationException(String message, Exception innerException)
system\activationcontext.cs (7)
135_manifestPaths = new String[manifestPaths.Length]; 470info.AddValue("FullName", _applicationIdentity.FullName, typeof(String)); 472info.AddValue("ManifestPaths", _manifestPaths, typeof(String[])); 492public ApplicationIdentity(String applicationIdentityFullName) 507public String FullName 516public String CodeBase 545info.AddValue("FullName", FullName, typeof(String));
system\activator.cs (22)
144static public ObjectHandle CreateInstance(String assemblyName, 145String typeName) 162static public ObjectHandle CreateInstance(String assemblyName, 163String typeName, 228static public ObjectHandle CreateInstanceFrom(String assemblyFile, 229String typeName) 237static public ObjectHandle CreateInstanceFrom(String assemblyFile, 238String typeName, 255static public ObjectHandle CreateInstance(String assemblyName, 256String typeName, 303static internal ObjectHandle CreateInstance(String assemblyString, 304String typeName, 369static public ObjectHandle CreateInstanceFrom(String assemblyFile, 370String typeName, 422private static ObjectHandle CreateInstanceFromInternal(String assemblyFile, 423String typeName, 620public static ObjectHandle CreateComInstanceFrom(String assemblyName, 621String typeName) 632public static ObjectHandle CreateComInstanceFrom(String assemblyName, 633String typeName, 674static public Object GetObject(Type type, String url) 682static public Object GetObject(Type type, String url, Object state)
system\AggregateException.cs (1)
448text = String.Format(
system\AppContext\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
system\appdomain.cs (135)
66private String _Name; 69public String Name { 83public ResolveEventArgs(String name) 88public ResolveEventArgs(String name, Assembly requestingAssembly) 221private Dictionary<String, Object[]> _LocalStore; 338private String[] _aptcaVisibleAssemblies; 344private Dictionary<String, object> _compatFlags; 360internal const String TargetFrameworkNameAppCompatSetting = "TargetFrameworkName"; 604_compatFlags = new Dictionary<String, object>(adSetup.GetCompatibilityFlags(), StringComparer.OrdinalIgnoreCase); 621internal String GetTargetFrameworkName() 623String targetFrameworkName = _FusionStore.TargetFrameworkName; 831internal String[] PartialTrustVisibleAssemblies 1062if (!String.IsNullOrEmpty(entryPointPath)) 1265String dir) 1329String dir, 1347String dir, 1398String dir, 1426String dir, 1454String dir, 1482String dir, 1506String dir, 1530private extern String nApplyPolicy(AssemblyName an); 1534public String ApplyPolicy(String assemblyName) 1551public ObjectHandle CreateInstance(String assemblyName, 1552String typeName) 1575public ObjectHandle CreateInstanceFrom(String assemblyFile, 1576String typeName) 1601public ObjectHandle CreateComInstanceFrom(String assemblyName, 1602String typeName) 1615public ObjectHandle CreateComInstanceFrom(String assemblyFile, 1616String typeName, 1633public ObjectHandle CreateInstance(String assemblyName, 1634String typeName, 1653public ObjectHandle CreateInstanceFrom(String assemblyFile, 1654String typeName, 1669public ObjectHandle CreateInstance(String assemblyName, 1670String typeName, 1758public ObjectHandle CreateInstanceFrom(String assemblyFile, 1759String typeName, 1851public Assembly Load(String assemblyString) 1927public Assembly Load(String assemblyString, 1936public int ExecuteAssembly(String assemblyFile) 1944public int ExecuteAssembly(String assemblyFile, 1953public int ExecuteAssembly(String assemblyFile, 1955String[] args) 1967args = new String[0]; 1979args = new String[0]; 1987public int ExecuteAssembly(String assemblyFile, 1989String[] args, 2005args = new String[0]; 2021args = new String[0]; 2029public int ExecuteAssemblyByName(String assemblyName) 2035public int ExecuteAssemblyByName(String assemblyName, 2044public int ExecuteAssemblyByName(String assemblyName, 2046params String[] args) 2058args = new String[0]; 2068args = new String[0]; 2076params String[] args) 2088args = new String[0]; 2098args = new String[0]; 2173public String FriendlyName 2179public String BaseDirectory 2192public String RelativeSearchPath 2202String s = FusionStore.ShadowCopyFiles; 2204(String.Compare(s, "true", StringComparison.OrdinalIgnoreCase) == 0)) 2213public override String ToString() 2217String fn = nGetFriendlyName(); 2278public void AppendPrivatePath(String path) 2283String current = FusionStore.Value[(int) AppDomainSetup.LoaderInformation.PrivateBinPathValue]; 2295String result = StringBuilderCache.GetStringAndRelease(appendPath); 2306InternalSetPrivateBinPath(String.Empty); 2315InternalSetShadowCopyPath(String.Empty); 2322public void SetCachePath(String path) 2379_FusionStore.TargetFrameworkName = (String) data; 2555public Nullable<bool> IsCompatibilitySwitchSet(String value) 2720public String DynamicDirectory 2726String dyndir = GetDynamicDir(); 2737public static AppDomain CreateDomain(String friendlyName, 2747public static AppDomain CreateDomain(String friendlyName, 2749String appBasePath, 2750String appRelativeSearchPath, 2769extern private String GetDynamicDir(); 2777public static AppDomain CreateDomain(String friendlyName) 2959private extern int _nExecuteAssembly(RuntimeAssembly assembly, String[] args); 2960internal int nExecuteAssembly(RuntimeAssembly assembly, String[] args) 3008private extern String nGetFriendlyName(); 3120private RuntimeAssembly OnResourceResolveEvent(RuntimeAssembly assembly, String resourceName) 3140private RuntimeAssembly OnTypeResolveEvent(RuntimeAssembly assembly, String typeName) 3160private RuntimeAssembly OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) 3183private RuntimeAssembly OnReflectionOnlyAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) 3245private Dictionary<String, Object[]> LocalStore 3251_LocalStore = new Dictionary<String, Object[]>(); 3311new String[] {""}); 3396public static AppDomain CreateDomain(String friendlyName, 3412internal static AppDomain InternalCreateDomain(String friendlyName, 3482public static AppDomain CreateDomain(String friendlyName, 3484String appBasePath, 3485String appRelativeSearchPath, 3613private static object PrepareDataForSetup(String friendlyName, 3733String friendlyName = (String)args[0]; 4035String name = assemblyName.GetNameWithPublicKey(); 4138private void SetupDomain(bool allowRedirects, String path, String configFile, String[] propertyNames, String[] propertyValues) 4168if (String.Equals(propertyNames[i], "PARTIAL_TRUST_VISIBLE_ASSEMBLIES", StringComparison.Ordinal)) { 4235internal static extern AppDomain nCreateDomain(String friendlyName, 4244internal static extern ObjRef nCreateInstance(String friendlyName, 4301public void SetShadowCopyPath(String path) 4317public void SetDynamicBase(String path) 4334internal void InternalSetShadowCopyPath(String path) 4355internal void InternalSetCachePath(String path) 4369internal void InternalSetPrivateBinPath(String path) 4379internal void InternalSetDynamicBase(String path) 4394internal extern String IsStringInterned(String str); 4399internal extern String GetOrInternString(String str); 4519public Object CreateInstanceAndUnwrap(String assemblyName, 4520String typeName) 4530public Object CreateInstanceAndUnwrap(String assemblyName, 4531String typeName, 4543public Object CreateInstanceAndUnwrap(String assemblyName, 4544String typeName, 4594public Object CreateInstanceFromAndUnwrap(String assemblyName, 4595String typeName) 4609public Object CreateInstanceFromAndUnwrap(String assemblyName, 4610String typeName, 4626public Object CreateInstanceFromAndUnwrap(String assemblyName, 4627String typeName, 4699private static AppDomainSetup InternalCreateDomainSetup(String imageLocation) 4720private static AppDomain InternalCreateDomain(String imageLocation) 4858private void InternalSetDomainContext(String imageLocation)
system\AppDomainSetup.cs (67)
81private String _AppBase; // for compat with v1.1 119private String _TargetFrameworkName; 223if (!String.IsNullOrEmpty(entryPointPath)) 259_Entries = new String[LOADER_MAXIMUM]; 264internal String GetUnsecureApplicationBase() 297public String ApplicationBase 346(String.Compare( path, 0, "file:", 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) { 429String appBase = Value[(int)LoaderInformation.ApplicationBaseValue]; 491private bool IsFilePath(String path) 496internal static String ApplicationBaseKey 503public String ConfigurationFile 521internal String ConfigurationFileInternal 530internal static String ConfigurationFileKey 550private static String ConfigurationBytesKey 563public void SetCompatibilitySwitches(IEnumerable<String> switches) 580foreach (String str in switches) 617public String TargetFrameworkName { 646if(String.IsNullOrWhiteSpace(functionName)) 663if(String.Equals(functionName, "IsNLSDefinedString", StringComparison.OrdinalIgnoreCase)) 668if (String.Equals(functionName, "CompareStringEx", StringComparison.OrdinalIgnoreCase)) 673if (String.Equals(functionName, "LCMapStringEx", StringComparison.OrdinalIgnoreCase)) 678if (String.Equals(functionName, "FindNLSStringEx", StringComparison.OrdinalIgnoreCase)) 683if (String.Equals(functionName, "CompareStringOrdinal", StringComparison.OrdinalIgnoreCase)) 688if (String.Equals(functionName, "GetNLSVersionEx", StringComparison.OrdinalIgnoreCase)) 693if (String.Equals(functionName, "FindStringOrdinal", StringComparison.OrdinalIgnoreCase)) 700public String DynamicBase 730internal static String DynamicBaseKey 803private String VerifyDir(String dir, bool normalize) 841private void VerifyDirList(String dirs) 844String[] dirArray = dirs.Split(';'); 852internal String DeveloperPath 858String dirs = Value[(int) LoaderInformation.DevPathValue]; 869String[] directories = value.Split(';'); 885String newString = StringBuilderCache.GetStringAndRelease(newPath); 894internal static String DisallowPublisherPolicyKey 902internal static String DisallowCodeDownloadKey 910internal static String DisallowBindingRedirectsKey 918internal static String DeveloperPathKey 925internal static String DisallowAppBaseProbingKey 933public String ApplicationName 944internal static String ApplicationNameKey 1047public String PrivateBinPath 1053String dirs = Value[(int) LoaderInformation.PrivateBinPathValue]; 1065internal static String PrivateBinPathKey 1073public String PrivateBinPathProbe 1084internal static String PrivateBinPathProbeKey 1091public String ShadowCopyDirectories 1097String dirs = Value[(int) LoaderInformation.ShadowCopyDirectoriesValue]; 1109internal static String ShadowCopyDirectoriesKey 1116public String ShadowCopyFiles 1124(String.Compare(value, "true", StringComparison.OrdinalIgnoreCase) == 0)) 1131internal static String ShadowCopyFilesKey 1138public String CachePath 1154internal static String CachePathKey 1161public String LicenseFile 1202internal static String PrivateBinPathEnvironmentVariable 1234internal bool UpdateContextPropertyIfNeeded(LoaderInformation FieldValue, String FieldKey, String UpdatedField, IntPtr fusionContext, AppDomainSetup oldADS) 1236String FieldString = Value[(int) FieldValue], 1249internal void UpdateBooleanContextPropertyIfNeeded(LoaderInformation FieldValue, String FieldKey, IntPtr fusionContext, AppDomainSetup oldADS) 1277internal static void UpdateByteArrayContextPropertyIfNeeded(Byte[] NewArray, Byte[] OldArray, String FieldKey, IntPtr fusionContext) 1321String hostBindingFile = RuntimeEnvironment.GetHostBindingFile(); 1332static internal int Locate(String s) 1334if(String.IsNullOrEmpty(s)) 1403String binPath = Value[(int) LoaderInformation.PrivateBinPathValue]; 1408String appBase = Value[(int) LoaderInformation.ApplicationBaseValue];
system\appdomainunloadedexception.cs (2)
30public AppDomainUnloadedException(String message) 35public AppDomainUnloadedException(String message, Exception innerException)
system\applicationactivator.cs (2)
51if (String.IsNullOrEmpty(file)) 54if (String.IsNullOrEmpty(parameters))
system\applicationexception.cs (2)
43public ApplicationException(String message) 48public ApplicationException(String message, Exception innerException)
system\argumentexception.cs (13)
31private String m_paramName; 43public ArgumentException(String message) 48public ArgumentException(String message, Exception innerException) 53public ArgumentException(String message, String paramName, Exception innerException) 59public ArgumentException (String message, String paramName) 70public override String Message 73String s = base.Message; 74if (!String.IsNullOrEmpty(m_paramName)) { 75String resourceString = Environment.GetResourceString("Arg_ParamName_Name", m_paramName); 83public virtual String ParamName { 94info.AddValue("ParamName", m_paramName, typeof(String));
system\argumentnullexception.cs (4)
37public ArgumentNullException(String paramName) 42public ArgumentNullException(String message, Exception innerException) 47public ArgumentNullException(String paramName, String message)
system\argumentoutofrangeexception.cs (11)
31private static volatile String _rangeMessage; 34private static String RangeMessage { 49public ArgumentOutOfRangeException(String paramName) 54public ArgumentOutOfRangeException(String paramName, String message) 59public ArgumentOutOfRangeException(String message, Exception innerException) 67public ArgumentOutOfRangeException(String paramName, Object actualValue, String message) 73public override String Message { 75String s = base.Message; 77String valueMessage = Environment.GetResourceString("ArgumentOutOfRange_ActualValue", m_actualValue.ToString());
system\arithmeticexception.cs (2)
38public ArithmeticException(String message) 43public ArithmeticException(String message, Exception innerException)
system\arraytypemismatchexception.cs (2)
39public ArrayTypeMismatchException(String message) 44public ArrayTypeMismatchException(String message, Exception innerException)
system\badimageformatexception.cs (17)
30private String _fileName; // The name of the corrupt PE file. 31private String _fusionLog; // fusion log (when applicable) 38public BadImageFormatException(String message) 43public BadImageFormatException(String message, Exception inner) 48public BadImageFormatException(String message, String fileName) : base(message) 54public BadImageFormatException(String message, String fileName, Exception inner) 60public override String Message 80public String FileName { 84public override String ToString() 86String s = GetType().FullName + ": " + Message; 130private BadImageFormatException(String fileName, String fusionLog, int hResult) 140public String FusionLog { 154info.AddValue("BadImageFormat_FileName", _fileName, typeof(String)); 157info.AddValue("BadImageFormat_FusionLog", FusionLog, typeof(String));
system\bcldebug.cs (18)
39internal String name; 42internal SwitchStructure (String n, int v) { 108static public void Assert(bool condition, String message) { 121static public void Log(String message) { 135static public void Log(String switchName, String message) { 211internal static bool CheckEnabled(String switchName) { 224private static bool CheckEnabled(String switchName, LogLevel level, out LogSwitch logSwitch) { 241public static void Log(String switchName, LogLevel level, params Object[]messages) { 258String s; 278public static void Trace(String switchName, params Object[]messages) { 291String s; 311public static void Trace(String switchName, String format, params Object[] messages) { 330public static void DumpStack(String switchName) { 351internal static void ConsoleError(String msg) 375internal static void Perf(bool expr, String msg) 397internal static void Correctness(bool expr, String msg)
system\bitconverter.cs (5)
361public static String ToString (byte[] value, int startIndex, int length) { 405public static String ToString(byte [] value) { 408Contract.Ensures(Contract.Result<String>() != null); 414public static String ToString (byte [] value, int startIndex) { 417Contract.Ensures(Contract.Result<String>() != null);
system\boolean.cs (10)
51internal const String TrueLiteral = "True"; 55internal const String FalseLiteral = "False"; 64public static readonly String TrueString = TrueLiteral; 68public static readonly String FalseString = FalseLiteral; 90public override String ToString() { 97public String ToString(IFormatProvider provider) { 158public static Boolean Parse (String value) { 172public static Boolean TryParse (String value, out Boolean result) { 204private static String TrimWhiteSpaceAndNull(String value) {
system\byte.cs (18)
91public static byte Parse(String s) { 96public static byte Parse(String s, NumberStyles style) { 102public static byte Parse(String s, IFormatProvider provider) { 111public static byte Parse(String s, NumberStyles style, IFormatProvider provider) { 116private static byte Parse(String s, NumberStyles style, NumberFormatInfo info) { 129public static bool TryParse(String s, out Byte result) { 133public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out Byte result) { 138private static bool TryParse(String s, NumberStyles style, NumberFormatInfo info, out Byte result) { 153public override String ToString() { 154Contract.Ensures(Contract.Result<String>() != null); 160public String ToString(String format) { 161Contract.Ensures(Contract.Result<String>() != null); 167public String ToString(IFormatProvider provider) { 168Contract.Ensures(Contract.Result<String>() != null); 174public String ToString(String format, IFormatProvider provider) { 175Contract.Ensures(Contract.Result<String>() != null);
system\cannotunloadappdomainexception.cs (2)
30public CannotUnloadAppDomainException(String message) 35public CannotUnloadAppDomainException(String message, Exception innerException)
system\cfgparser.cs (42)
145[MarshalAs(UnmanagedType.LPWStr)] String text, 152[MarshalAs(UnmanagedType.LPWStr)] String text, 161[MarshalAs(UnmanagedType.LPWStr)] String text, 169[MarshalAs(UnmanagedType.LPWStr)] String text, 177[MarshalAs(UnmanagedType.LPWStr)]String text, 184[MarshalAs(UnmanagedType.LPWStr)]String text, 192[MarshalAs(UnmanagedType.LPWStr)]String text, 199[MarshalAs(UnmanagedType.LPWStr)]String text, 207[MarshalAs(UnmanagedType.LPWStr)]String text, 214[MarshalAs(UnmanagedType.LPWStr)]String text, 221internal extern void RunParser(String fileName); 229String fileName = null; 231String key = null; 232String [] treeRootPath = null; // element to start tree 240String lastProcessed = null; 248internal ConfigNode Parse(String fileName, String configPath) 256internal ConfigNode Parse(String fileName, String configPath, bool skipSecurityStuff) 268treeRootPath = new String[1]; 297String message = GetInvalidSyntaxMessage(); 319[MarshalAs(UnmanagedType.LPWStr)] String text, 327&& String.Compare(text, treeRootPath[searchDepth], StringComparison.Ordinal) == 0)) 338[MarshalAs(UnmanagedType.LPWStr)] String text, 357if(depth == searchDepth && String.Compare(text, treeRootPath[searchDepth - 1], StringComparison.Ordinal) == 0) 371[MarshalAs(UnmanagedType.LPWStr)]String text, 382[MarshalAs(UnmanagedType.LPWStr)]String text, 396String.Compare(text, treeRootPath[0], StringComparison.OrdinalIgnoreCase) == 0) 398String.Compare(text, treeRootPath[pathDepth], StringComparison.OrdinalIgnoreCase) == 0 )) 426[MarshalAs(UnmanagedType.LPWStr)]String text, 446String message = GetInvalidSyntaxMessage(); 483private String GetInvalidSyntaxMessage() 485String lastProcessedTag = null; 497String m_name = null; 498String m_value = null; 503internal ConfigNode(String name, ConfigNode parent) 509internal String Name 514internal String Value 541internal int AddAttribute(String key, String value) 547internal void ReplaceAttribute(int index, String key, String value)
system\char.cs (27)
150public override String ToString() { 151Contract.Ensures(Contract.Result<String>() != null); 156public String ToString(IFormatProvider provider) { 157Contract.Ensures(Contract.Result<String>() != null); 170public static String ToString(char c) { 171Contract.Ensures(Contract.Result<String>() != null); 175public static char Parse(String s) { 187public static bool TryParse(String s, out Char result) { 516public static bool IsControl(String s, int index) { 531public static bool IsDigit(String s, int index) 546public static bool IsLetter(String s, int index) 565public static bool IsLetterOrDigit(String s, int index) 580public static bool IsLower(String s, int index) 624public static bool IsNumber(String s, int index) 650public static bool IsPunctuation (String s, int index) 695public static bool IsSeparator(String s, int index) 717public static bool IsSurrogate(String s, int index) 752public static bool IsSymbol(String s, int index) 767public static bool IsUpper(String s, int index) 786public static bool IsWhiteSpace(String s, int index) 810public static UnicodeCategory GetUnicodeCategory(String s, int index) 829public static double GetNumericValue(String s, int index) 850public static bool IsHighSurrogate(String s, int index) { 870public static bool IsLowSurrogate(String s, int index) { 885public static bool IsSurrogatePair(String s, int index) { 921public static String ConvertFromUtf32(int utf32) 966public static int ConvertToUtf32(String s, int index) {
system\charenumerator.cs (2)
25private String str; 29internal CharEnumerator(String str) {
system\collections\caseinsensitivecomparer.cs (4)
72String sa = a as String; 73String sb = b as String;
system\collections\caseinsensitivehashcodeprovider.cs (2)
75String s = obj as String;
system\collections\comparer.cs (5)
33private const String CompareInfoName = "CompareInfo"; 71String sa = a as String; 72String sb = b as String;
system\collections\generic\dictionary.cs (4)
80private const String VersionName = "Version"; 81private const String HashSizeName = "HashSize"; // Must save buckets.Length 82private const String KeyValuePairsName = "KeyValuePairs"; 83private const String ComparerName = "Comparer";
system\collections\generic\equalitycomparer.cs (5)
496internal sealed class RandomizedStringEqualityComparer : IEqualityComparer<String>, IEqualityComparer, IWellKnownStringEqualityComparer 524public int GetHashCode(String obj) { 526return String.InternalMarvin32HashString(obj, obj.Length, _entropy); 535if(sObj != null) return String.InternalMarvin32HashString(sObj, sObj.Length, _entropy); 587if(sObj != null) return String.InternalMarvin32HashString(sObj, sObj.Length, _entropy);
system\collections\generic\keynotfoundexception.cs (2)
33public KeyNotFoundException(String message) 38public KeyNotFoundException(String message, Exception innerException)
system\collections\hashtable.cs (9)
132private const String LoadFactorName = "LoadFactor"; 133private const String VersionName = "Version"; 134private const String ComparerName = "Comparer"; 135private const String HashCodeProviderName = "HashCodeProvider"; 136private const String HashSizeName = "HashSize"; // Must save buckets.Length 137private const String KeysName = "Keys"; 138private const String ValuesName = "Values"; 139private const String KeyComparerName = "KeyComparer"; 1660public static bool s_UseRandomizedStringHashing = String.UseRandomizedHashing();
system\console.cs (17)
1150__Error.WinIOError(errorCode, String.Empty); 1299__Error.WinIOError(errorCode, String.Empty); 1380public static String Title { 1390__Error.WinIOError(r, String.Empty); 1982public static String ReadLine() 2082public static void WriteLine(String value) 2090public static void WriteLine(String format, Object arg0) 2097public static void WriteLine(String format, Object arg0, Object arg1) 2104public static void WriteLine(String format, Object arg0, Object arg1, Object arg2) 2112public static void WriteLine(String format, Object arg0, Object arg1, Object arg2,Object arg3, __arglist) 2141public static void WriteLine(String format, params Object[] arg) 2151public static void Write(String format, Object arg0) 2158public static void Write(String format, Object arg0, Object arg1) 2165public static void Write(String format, Object arg0, Object arg1, Object arg2) 2173public static void Write(String format, Object arg0, Object arg1, Object arg2, Object arg3, __arglist) 2202public static void Write(String format, params Object[] arg) 2298public static void Write(String value)
system\contextmarshalexception.cs (2)
32public ContextMarshalException(String message) 37public ContextMarshalException(String message, Exception inner)
system\convert.cs (51)
134(RuntimeType)typeof(String) 441public static bool ToBoolean(String value) { 447public static bool ToBoolean(String value, IFormatProvider provider) { 547public static char ToChar(String value) { 551public static char ToChar(String value, IFormatProvider provider) { 686public static sbyte ToSByte(String value) { 693public static sbyte ToSByte(String value, IFormatProvider provider) { 788public static byte ToByte(String value) { 794public static byte ToByte(String value, IFormatProvider provider) { 887public static short ToInt16(String value) { 893public static short ToInt16(String value, IFormatProvider provider) { 1000public static ushort ToUInt16(String value) { 1007public static ushort ToUInt16(String value, IFormatProvider provider) { 1112public static int ToInt32(String value) { 1118public static int ToInt32(String value, IFormatProvider provider) { 1228public static uint ToUInt32(String value) { 1235public static uint ToUInt32(String value, IFormatProvider provider) { 1326public static long ToInt64(String value, IFormatProvider provider) { 1427public static ulong ToUInt64(String value) { 1434public static ulong ToUInt64(String value, IFormatProvider provider) { 1511public static float ToSingle(String value) { 1517public static float ToSingle(String value, IFormatProvider provider) { 1600public static double ToDouble(String value) { 1606public static double ToDouble(String value, IFormatProvider provider) { 1682public static decimal ToDecimal(String value) { 1688public static Decimal ToDecimal(String value, IFormatProvider provider) { 1724public static DateTime ToDateTime(String value) { 1730public static DateTime ToDateTime(String value, IFormatProvider provider) { 1808return value == null? String.Empty: value.ToString(); 1959public static String ToString(String value) { 1964public static String ToString(String value,IFormatProvider provider) { 1977public static byte ToByte (String value, int fromBase) { 1993public static sbyte ToSByte (String value, int fromBase) { 2011public static short ToInt16 (String value, int fromBase) { 2030public static ushort ToUInt16 (String value, int fromBase) { 2045public static int ToInt32 (String value, int fromBase) { 2058public static uint ToUInt32 (String value, int fromBase) { 2070public static long ToInt64 (String value, int fromBase) { 2083public static ulong ToUInt64 (String value, int fromBase) { 2093public static String ToString (byte value, int toBase) { 2103public static String ToString (short value, int toBase) { 2113public static String ToString (int value, int toBase) { 2123public static String ToString (long value, int toBase) { 2131public static String ToBase64String(byte[] inArray) { 2141public static String ToBase64String(byte[] inArray, Base64FormattingOptions options) { 2150public static String ToBase64String(byte[] inArray, int offset, int length) { 2156public static unsafe String ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options) { 2177return String.Empty; 2345public static Byte[] FromBase64String(String s) {
system\currenttimezone.cs (6)
62private String m_standardName; 63private String m_daylightName; 72public override String StandardName { 82public override String DaylightName { 306internal extern static String nativeGetDaylightName(); 310internal extern static String nativeGetStandardName();
system\datamisalignedexception.cs (2)
29public DataMisalignedException(String message) 35public DataMisalignedException(String message, Exception innerException)
system\datetime.cs (43)
129private const String TicksField = "ticks"; 130private const String DateDataField = "dateData"; 1293public static DateTime Parse(String s) { 1301public static DateTime Parse(String s, IFormatProvider provider) { 1305public static DateTime Parse(String s, IFormatProvider provider, DateTimeStyles styles) { 1314public static DateTime ParseExact(String s, String format, IFormatProvider provider) { 1322public static DateTime ParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style) { 1327public static DateTime ParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style) { 1422public String ToLongDateString() { 1423Contract.Ensures(Contract.Result<String>() != null); 1427public String ToLongTimeString() { 1428Contract.Ensures(Contract.Result<String>() != null); 1432public String ToShortDateString() { 1433Contract.Ensures(Contract.Result<String>() != null); 1437public String ToShortTimeString() { 1438Contract.Ensures(Contract.Result<String>() != null); 1442public override String ToString() { 1443Contract.Ensures(Contract.Result<String>() != null); 1447public String ToString(String format) { 1448Contract.Ensures(Contract.Result<String>() != null); 1452public String ToString(IFormatProvider provider) { 1453Contract.Ensures(Contract.Result<String>() != null); 1457public String ToString(String format, IFormatProvider provider) { 1458Contract.Ensures(Contract.Result<String>() != null); 1466public static Boolean TryParse(String s, out DateTime result) { 1470public static Boolean TryParse(String s, IFormatProvider provider, DateTimeStyles styles, out DateTime result) { 1475public static Boolean TryParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style, out DateTime result) { 1480public static Boolean TryParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style, out DateTime result) { 1535public String[] GetDateTimeFormats() 1537Contract.Ensures(Contract.Result<String[]>() != null); 1544public String[] GetDateTimeFormats(IFormatProvider provider) 1546Contract.Ensures(Contract.Result<String[]>() != null); 1554public String[] GetDateTimeFormats(char format) 1556Contract.Ensures(Contract.Result<String[]>() != null); 1563public String[] GetDateTimeFormats(char format, IFormatProvider provider) 1565Contract.Ensures(Contract.Result<String[]>() != null);
system\datetimeoffset.cs (26)
592public static DateTimeOffset Parse(String input) { 605public static DateTimeOffset Parse(String input, IFormatProvider formatProvider) { 609public static DateTimeOffset Parse(String input, IFormatProvider formatProvider, DateTimeStyles styles) { 623public static DateTimeOffset ParseExact(String input, String format, IFormatProvider formatProvider) { 631public static DateTimeOffset ParseExact(String input, String format, IFormatProvider formatProvider, DateTimeStyles styles) { 642public static DateTimeOffset ParseExact(String input, String[] formats, IFormatProvider formatProvider, DateTimeStyles styles) { 703public override String ToString() { 704Contract.Ensures(Contract.Result<String>() != null); 708public String ToString(String format) { 709Contract.Ensures(Contract.Result<String>() != null); 713public String ToString(IFormatProvider formatProvider) { 714Contract.Ensures(Contract.Result<String>() != null); 718public String ToString(String format, IFormatProvider formatProvider) { 719Contract.Ensures(Contract.Result<String>() != null); 727public static Boolean TryParse(String input, out DateTimeOffset result) { 739public static Boolean TryParse(String input, IFormatProvider formatProvider, DateTimeStyles styles, out DateTimeOffset result) { 752public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, DateTimeStyles styles, 767public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, DateTimeStyles styles, 810private static DateTimeStyles ValidateStyles(DateTimeStyles style, String parameterName) {
system\dbnull.cs (4)
35public override String ToString() { 36return String.Empty; 39public String ToString(IFormatProvider provider) { 40return String.Empty;
system\decimal.cs (16)
499public override String ToString() { 500Contract.Ensures(Contract.Result<String>() != null); 505public String ToString(String format) { 506Contract.Ensures(Contract.Result<String>() != null); 511public String ToString(IFormatProvider provider) { 512Contract.Ensures(Contract.Result<String>() != null); 517public String ToString(String format, IFormatProvider provider) { 518Contract.Ensures(Contract.Result<String>() != null); 530public static Decimal Parse(String s) { 534public static Decimal Parse(String s, NumberStyles style) { 539public static Decimal Parse(String s, IFormatProvider provider) { 543public static Decimal Parse(String s, NumberStyles style, IFormatProvider provider) { 548public static Boolean TryParse(String s, out Decimal result) { 552public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Decimal result) {
system\defaultbinder.cs (2)
40ParameterModifier[] modifiers, CultureInfo cultureInfo, String[] names, out Object state) 1125private static bool CreateParamOrder(int[] paramOrder,ParameterInfo[] pars,String[] names)
system\delegate.cs (9)
47protected Delegate(Object target,String method) 72protected unsafe Delegate(Type target,String method) 342public static Delegate CreateDelegate(Type type, Object target, String method) 348public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase) 372public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase, bool throwOnBindFailure) 420public static Delegate CreateDelegate(Type type, Type target, String method) 426public static Delegate CreateDelegate(Type type, Type target, String method, bool ignoreCase) 433public static Delegate CreateDelegate(Type type, Type target, String method, bool ignoreCase, bool throwOnBindFailure) 728private extern bool BindToMethodName(Object target, RuntimeType methodType, String method, DelegateBindingFlags flags);
system\delegateserializationholder.cs (18)
58String targetName = "target" + targetIndex; 69String methodInfoName = "method" + targetIndex; 81internal String type; 82internal String assembly; 84internal String targetTypeAssembly; 85internal String targetTypeName; 86internal String methodName; 92String type, String assembly, Object target, String targetTypeAssembly, String targetTypeName, String methodName) 163String methodInfoName = "method" + i; 189String delegateType = info.GetString("DelegateType"); 190String delegateAssembly = info.GetString("DelegateAssembly"); 192String targetTypeAssembly = info.GetString("TargetTypeAssembly"); 193String targetTypeName = info.GetString("TargetTypeName"); 194String methodName = info.GetString("MethodName");
system\deployment\cmsutils.cs (2)
129string friendlyName = String.Empty; 132friendlyName = (entry.Publisher != null ? String.Format("{0} {1}", entry.Publisher, entry.Product) : entry.Product);
system\deployment\isolationinterop.cs (1)
2601public const String IsolationDllName = "clr.dll";
system\diagnostics\assert.cs (18)
34internal static void Check(bool condition, String conditionString, String message) 43internal static void Check(bool condition, String conditionString, String message, int exitCode) 53internal static void Fail(String conditionString, String message) 60internal static void Fail(String conditionString, String message, String windowTitle, int exitCode) 67internal static void Fail(String conditionString, String message, int exitCode, StackTrace.TraceFormat stackTraceFormat) 75internal static void Fail(String conditionString, String message, String windowTitle, int exitCode, StackTrace.TraceFormat stackTraceFormat, int numStackFramesToSkip) 125internal extern static int ShowDefaultAssertDialog(String conditionString, String message, String stackTrace, String windowTitle);
system\diagnostics\assertfilter.cs (6)
26abstract public AssertFilters AssertFailure(String condition, String message, 27StackTrace location, StackTrace.TraceFormat stackTraceFormat, String windowTitle); 40public override AssertFilters AssertFailure(String condition, String message, 42String windowTitle)
system\diagnostics\conditionalattribute.cs (3)
14public ConditionalAttribute(String conditionString) 19public String ConditionString { 25private String m_conditionString;
system\diagnostics\contracts\contracts.cs (40)
198private String _publicName; 200public ContractPublicPropertyNameAttribute(String name) 205public String Name { 236private String _category; 237private String _setting; 239private String _value; 241public ContractOptionAttribute(String category, String setting, bool enabled) 248public ContractOptionAttribute(String category, String setting, String value) 255public String Category { 259public String Setting { 267public String Value { 324public static void Assume(bool condition, String userMessage) 362public static void Assert(bool condition, String userMessage) 406public static void Requires(bool condition, String userMessage) 448public static void Requires<TException>(bool condition, String userMessage) where TException : Exception 491public static void Ensures(bool condition, String userMessage) 534public static void EnsuresOnThrow<TException>(bool condition, String userMessage) where TException : Exception 628public static void Invariant(bool condition, String userMessage) 893static partial void ReportFailure(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException); 899static partial void AssertMustUseRewriter(ContractFailureKind kind, String contractKind); 940public static string RaiseContractFailedEvent(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException) 952public static void TriggerFailure(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException) 979public static string RaiseContractFailedEvent(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException) 981var resultFailureMessage = "Contract failed"; // default in case implementation does not assign anything. 994public static void TriggerFailure(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException) 1014static partial void RaiseContractFailedEventImplementation(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException, ref string resultFailureMessage); 1019static partial void TriggerFailureImplementation(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException);
system\diagnostics\contracts\contractsbcl.cs (30)
58static partial void AssertMustUseRewriter(ContractFailureKind kind, String contractKind) 81String simpleName = probablyNotRewritten.GetName().Name; 102static partial void ReportFailure(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException) 109var displayMessage = System.Runtime.CompilerServices.ContractHelper.RaiseContractFailedEvent(failureKind, userMessage, conditionText, innerException); 151private String _message; 152private String _condition; 162public ContractFailedEventArgs(ContractFailureKind failureKind, String message, String condition, Exception originalException) 171public String Message { get { return _message; } } 172public String Condition { get { return _condition; } } 340static partial void RaiseContractFailedEventImplementation(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException, ref string resultFailureMessage) 347String displayMessage = "contract failed."; // Incomplete, but in case of OOM during resource lookup... 408static partial void TriggerFailureImplementation(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException) 432String windowTitle = Environment.GetResourceString(GetResourceNameForFailure(kind)); 438private static String GetResourceNameForFailure(ContractFailureKind failureKind) 440String resourceName = null; 478private static String GetDisplayMessage(ContractFailureKind failureKind, String userMessage, String conditionText) 480String resourceName = GetResourceNameForFailure(failureKind); 487String failureMessage; 488if (!String.IsNullOrEmpty(conditionText)) { 497if (!String.IsNullOrEmpty(userMessage)) 520private static void TriggerCodeContractEscalationPolicy(ContractFailureKind failureKind, String message, String conditionText, Exception innerException) 522String exceptionAsString = null;
system\diagnostics\debugger.cs (3)
211public static readonly String DefaultCategory = null; 219public static extern void Log(int level, String category, String message);
system\diagnostics\eventing\activitytracker.cs (2)
79var fullActivityName = NormalizeActivityName(providerName, activityName, task); 147var fullActivityName = NormalizeActivityName(providerName, activityName, task);
system\diagnostics\eventing\eventsource.cs (8)
3328foreach (var providerEnumKind in new string[] { "Keywords", "Tasks", "Opcodes" }) 3559string msg = String.Empty; 4680public IDictionary<String, String> Arguments { get; internal set; } 6055var symbolsName = providerName.Replace("-", "").Replace(".", "_"); // Period and - are illegal replace them. 6527foreach (var stringKey in sortedStrings) 6581var evtName = key.Substring("event_".Length); 6729var typeName = GetTypeName(fields[0].FieldType);
system\diagnostics\eventing\frameworkeventsource.cs (122)
202public void ResourceManagerLookupStarted(String baseName, String mainAssemblyName, String cultureName) { 207public void ResourceManagerLookingForResourceSet(String baseName, String mainAssemblyName, String cultureName) { 213public void ResourceManagerFoundResourceSetInCache(String baseName, String mainAssemblyName, String cultureName) { 222public void ResourceManagerFoundResourceSetInCacheUnexpected(String baseName, String mainAssemblyName, String cultureName) { 229public void ResourceManagerStreamFound(String baseName, String mainAssemblyName, String cultureName, String loadedAssemblyName, String resourceFileName) { 236public void ResourceManagerStreamNotFound(String baseName, String mainAssemblyName, String cultureName, String loadedAssemblyName, String resourceFileName) { 242public void ResourceManagerGetSatelliteAssemblySucceeded(String baseName, String mainAssemblyName, String cultureName, String assemblyName) { 248public void ResourceManagerGetSatelliteAssemblyFailed(String baseName, String mainAssemblyName, String cultureName, String assemblyName) { 254public void ResourceManagerCaseInsensitiveResourceStreamLookupSucceeded(String baseName, String mainAssemblyName, String assemblyName, String resourceFileName) { 260public void ResourceManagerCaseInsensitiveResourceStreamLookupFailed(String baseName, String mainAssemblyName, String assemblyName, String resourceFileName) { 267public void ResourceManagerManifestResourceAccessDenied(String baseName, String mainAssemblyName, String assemblyName, String canonicalName) { 274public void ResourceManagerNeutralResourcesSufficient(String baseName, String mainAssemblyName, String cultureName) { 280public void ResourceManagerNeutralResourceAttributeMissing(String mainAssemblyName) { 286public void ResourceManagerCreatingResourceSet(String baseName, String mainAssemblyName, String cultureName, String fileName) { 292public void ResourceManagerNotCreatingResourceSet(String baseName, String mainAssemblyName, String cultureName) { 298public void ResourceManagerLookupFailed(String baseName, String mainAssemblyName, String cultureName) { 304public void ResourceManagerReleasingResources(String baseName, String mainAssemblyName) { 310public void ResourceManagerNeutralResourcesNotFound(String baseName, String mainAssemblyName, String resName) { 316public void ResourceManagerNeutralResourcesFound(String baseName, String mainAssemblyName, String resName) { 322public void ResourceManagerAddingCultureFromConfigFile(String baseName, String mainAssemblyName, String cultureName) { 328public void ResourceManagerCultureNotFoundInConfigFile(String baseName, String mainAssemblyName, String cultureName) { 334public void ResourceManagerCultureFoundInConfigFile(String baseName, String mainAssemblyName, String cultureName) { 343public void ResourceManagerLookupStarted(String baseName, Assembly mainAssembly, String cultureName) { 349public void ResourceManagerLookingForResourceSet(String baseName, Assembly mainAssembly, String cultureName) { 355public void ResourceManagerFoundResourceSetInCache(String baseName, Assembly mainAssembly, String cultureName) { 361public void ResourceManagerFoundResourceSetInCacheUnexpected(String baseName, Assembly mainAssembly, String cultureName) { 367public void ResourceManagerStreamFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) { 373public void ResourceManagerStreamNotFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) { 379public void ResourceManagerGetSatelliteAssemblySucceeded(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) { 385public void ResourceManagerGetSatelliteAssemblyFailed(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) { 391public void ResourceManagerCaseInsensitiveResourceStreamLookupSucceeded(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) { 397public void ResourceManagerCaseInsensitiveResourceStreamLookupFailed(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) { 403public void ResourceManagerManifestResourceAccessDenied(String baseName, Assembly mainAssembly, String assemblyName, String canonicalName) { 409public void ResourceManagerNeutralResourcesSufficient(String baseName, Assembly mainAssembly, String cultureName) { 421public void ResourceManagerCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName, String fileName) { 427public void ResourceManagerNotCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName) { 433public void ResourceManagerLookupFailed(String baseName, Assembly mainAssembly, String cultureName) { 439public void ResourceManagerReleasingResources(String baseName, Assembly mainAssembly) { 445public void ResourceManagerNeutralResourcesNotFound(String baseName, Assembly mainAssembly, String resName) { 451public void ResourceManagerNeutralResourcesFound(String baseName, Assembly mainAssembly, String resName) { 457public void ResourceManagerAddingCultureFromConfigFile(String baseName, Assembly mainAssembly, String cultureName) { 463public void ResourceManagerCultureNotFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) { 469public void ResourceManagerCultureFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) {
system\diagnostics\eventing\StubEnvironment.cs (2)
30string sargs = String.Empty; 33if (sargs != String.Empty)
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (3)
42foreach(var name in m_names) 84foreach (var item in m_names) 131foreach (var name in m_names)
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (2)
822: TraceLoggingTypeInfo<String> 832public override void WriteData(TraceLoggingDataCollector collector, ref String value)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (3)
562else if (dataType == typeof(String)) 564result = TraceLoggingTypeInfo<String>.Instance; 709else if (dataType == typeof(String))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (1)
110var paramName = paramInfos[i].Name;
system\diagnostics\log.cs (22)
28String message, 129public static void LogMessage(LoggingLevels level, String message) 140public static void LogMessage(LoggingLevels level, LogSwitch logswitch, String message) 170public static void Trace(LogSwitch logswitch, String message) 175public static void Trace(String switchname, String message) 182public static void Trace(String message) 187public static void Status(LogSwitch logswitch, String message) 192public static void Status(String switchname, String message) 199public static void Status(String message) 204public static void Warning(LogSwitch logswitch, String message) 209public static void Warning(String switchname, String message) 216public static void Warning(String message) 221public static void Error(LogSwitch logswitch, String message) 226public static void Error(String switchname, String message) 234public static void Error(String message) 239public static void Panic(String message) 253internal static extern void ModifyLogSwitch (int iNewLevel, String strSwitchName, String strParentName);
system\diagnostics\logswitch.cs (10)
20internal String strName; 21internal String strDescription; 38public LogSwitch(String name, String description, LogSwitch parent) 63internal LogSwitch(String name, String description) 80public virtual String Name 86public virtual String Description 111String strParentName = ParentSwitch!=null ? ParentSwitch.Name : ""; 139public static LogSwitch GetSwitch(String name)
system\diagnostics\stackframe.cs (6)
29private String strFileName; 103public StackFrame(String fileName, int lineNumber) 117public StackFrame(String fileName, int lineNumber, int colNumber) 146internal virtual void SetFileName (String strFName) 209public virtual String GetFileName() 247public override String ToString()
system\diagnostics\stacktrace.cs (13)
42private String[] rgAssemblyPath; 49private String[] rgFilename; 239public virtual String GetFilename(int i) { return rgFilename == null ? null : rgFilename[i];} 489String PackageName = "System.Diagnostics"; 502String ns = t.Namespace; 505if (String.Compare(ns, PackageName, StringComparison.Ordinal) != 0) 618public override String ToString() 638internal String ToString(TraceFormat traceFormat) 641String word_At = "at"; 642String inFileLineNum = "in {0}:line {1}"; 706String typeName = "<UnknownType>"; 718String fileName = null; 772private static String GetManagedStackTraceStringHelper(bool fNeedFileInfo)
system\diagnostics\symbolstore\isymbinder.cs (4)
29ISymbolReader GetReader(int importer, String filename, 30String searchPath); 40ISymbolReader GetReader(IntPtr importer, String filename, 41String searchPath);
system\diagnostics\symbolstore\isymdocument.cs (1)
29String URL { get; }
system\diagnostics\symbolstore\isymnamespace.cs (1)
24String Name { get; }
system\diagnostics\symbolstore\isymreader.cs (2)
27ISymbolDocument GetDocument(String url, 64byte[] GetSymAttribute(SymbolToken parent, String name);
system\diagnostics\symbolstore\isymvariable.cs (1)
24String Name { get; }
system\diagnostics\symbolstore\isymwriter.cs (9)
32void Initialize(IntPtr emitter, String filename, bool fFullBuild); 40ISymbolDocumentWriter DefineDocument(String url, 130void DefineLocalVariable(String name, 149void DefineParameter(String name, 160String name, 169void DefineGlobalVariable(String name, 188void SetSymAttribute(SymbolToken parent, String name, byte[] data); 192void OpenNamespace(String name); 205void UsingNamespace(String fullName);
system\dividebyzeroexception.cs (2)
28public DivideByZeroException(String message) 33public DivideByZeroException(String message, Exception innerException)
system\dllnotfoundexception.cs (2)
28public DllNotFoundException(String message) 33public DllNotFoundException(String message, Exception inner)
system\double.cs (19)
212public override String ToString() { 213Contract.Ensures(Contract.Result<String>() != null); 218public String ToString(String format) { 219Contract.Ensures(Contract.Result<String>() != null); 224public String ToString(IFormatProvider provider) { 225Contract.Ensures(Contract.Result<String>() != null); 230public String ToString(String format, IFormatProvider provider) { 231Contract.Ensures(Contract.Result<String>() != null); 235public static double Parse(String s) { 239public static double Parse(String s, NumberStyles style) { 244public static double Parse(String s, IFormatProvider provider) { 248public static double Parse(String s, NumberStyles style, IFormatProvider provider) { 261private static double Parse(String s, NumberStyles style, NumberFormatInfo info) { 265public static bool TryParse(String s, out double result) { 269public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out double result) { 274private static bool TryParse(String s, NumberStyles style, NumberFormatInfo info, out double result) { 281String sTrim = s.Trim();
system\duplicatewaitobjectexception.cs (6)
29private static volatile String _duplicateWaitObjectMessage = null; 31private static String DuplicateWaitObjectMessage { 46public DuplicateWaitObjectException(String parameterName) 51public DuplicateWaitObjectException(String parameterName, String message) 56public DuplicateWaitObjectException(String message, Exception innerException)
system\empty.cs (2)
26public override String ToString() 28return String.Empty;
system\entrypointnotfoundexception.cs (2)
27public EntryPointNotFoundException(String message) 32public EntryPointNotFoundException(String message, Exception inner)
system\enum.cs (33)
23private const String enumSeperator = ", "; 35String[] names = null; 50private static String InternalFormattedHexString(Object value) 134private static String InternalFormat(RuntimeType eT, Object value) 141String retval = GetName(eT, value); 154private static String InternalFlagsFormat(RuntimeType eT, Object value) 163String[] names = entry.Names; 333public static bool TryParse<TEnum>(String value, out TEnum result) where TEnum : struct 338public static bool TryParse<TEnum>(String value, bool ignoreCase, out TEnum result) where TEnum : struct 351public static Object Parse(Type enumType, String value) 357public static Object Parse(Type enumType, String value, bool ignoreCase) 367private static bool TryParseEnum(Type enumType, String value, bool ignoreCase, ref EnumResult parseResult) 423String[] values = value.Split(enumSeperatorCharArray); 429String[] enumNames = entry.Names; 442if (String.Compare(enumNames[j], values[i], StringComparison.OrdinalIgnoreCase) != 0) 512public static String GetName(Type enumType, Object value) 522public static String[] GetNames(Type enumType) 526Contract.Ensures(Contract.Result<String[]>() != null); 532internal static String[] InternalGetNames(RuntimeType enumType) 606public static String Format(Type enumType, Object value, String format) 678public ValuesAndNames(ulong[] values, String[] names) 685public String[] Names; 795public override String ToString() 808public String ToString(String format, IFormatProvider provider) 851public String ToString(String format) { 855if (String.Compare(format, "G", StringComparison.OrdinalIgnoreCase) == 0) 858if (String.Compare(format, "D", StringComparison.OrdinalIgnoreCase) == 0) 861if (String.Compare(format, "X", StringComparison.OrdinalIgnoreCase) == 0) 864if (String.Compare(format, "F", StringComparison.OrdinalIgnoreCase) == 0) 871public String ToString(IFormatProvider provider)
system\environment.cs (67)
61internal ResourceHelper(String name) { 65private String m_name; 84public String m_key; 86public String m_retVal; 89public GetResourceStringUserData(ResourceHelper resourceHelper, String key, CultureInfo culture) 98internal String GetResourceString(String key) { 108internal String GetResourceString(String key, CultureInfo culture) { 151String key = userData.m_key; 176String message = "Infinite recursion during resource lookup within mscorlib. This may be a bug in mscorlib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: " + key; 210String s = rh.SystemResMgr.GetString(key, null); 314public static extern void FailFast(String message); 319internal static extern void FailFast(String message, uint exitCode); 337public static extern void FailFast(String message, Exception exception); 345internal static extern void TriggerCodeContractFailure(ContractFailureKind failureKind, String message, String condition, String exceptionAsString); 359public static String CommandLine { 364String commandLine = null; 383public static String CurrentDirectory 402public static String SystemDirectory { 415String path = sb.ToString(); 429internal static String InternalWindowsDirectory { 438String path = sb.ToString(); 445public static String ExpandEnvironmentVariables(String name) 470String[] varArray = name.Split(new char[] {'%'}); 492String envVar = "%" + varArray[i] + "%"; 508String temp = blob.ToString(); 541public static String MachineName { 586public static String[] GetCommandLineArgs() { 594private static extern String[] GetCommandLineArgsNative(); 603internal static extern String nativeGetEnvironmentVariable(String variable); 615public static String GetEnvironmentVariable(String variable) 743String.wstrcpy(pBlock, pStrings, len); 810String key = new String(block, startKey, i-startKey); 818String value = new String(block, startValue, i-startValue); 898if (String.IsNullOrEmpty(value) || value[0] == '\0') { 977if (String.IsNullOrEmpty(value) || value[0] == '\0') { 1034public static String[] GetLogicalDrives() { 1046String[] result = new String[count]; 1067public static String NewLine { 1069Contract.Ensures(Contract.Result<String>() != null); 1230public static String StackTrace { 1233Contract.Ensures(Contract.Result<String>() != null); 1243internal static String GetStackTrace(Exception e, bool needFileInfo) 1288internal extern static String GetResourceFromDefault(String key); 1299internal static String GetResourceStringLocal(String key) { 1321internal static String GetResourceString(String key) { 1331internal static String GetResourceString(String key, params Object[] values) { 1332String s = GetResourceString(key); 1333return String.Format(CultureInfo.CurrentCulture, s, values); 1340internal static String GetRuntimeResourceString(String key) { 1345internal static String GetRuntimeResourceString(String key, params Object[] values) { 1403return String.Empty; 1511String s; 1530s = String.Empty;
system\exception.cs (35)
65public Exception(String message) { 75public Exception (String message, Exception innerException) { 97_exceptionMethodString = (String)(info.GetValue("ExceptionMethod",typeof(String))); 136public virtual String Message { 314public virtual String StackTrace 363String tempStackTraceString = Environment.GetStackTrace(this, needFileInfo); 377public virtual String HelpLink 389public virtual String Source { 430public override String ToString() 438private String ToString(bool needFileLineInfo, bool needMessage) { 439String message = (needMessage ? Message : null); 440String s; 465private String GetExceptionMethodString() { 520String[] args = _exceptionMethodString.Split(new char[]{'\0', '\n'}); 526si.AddValue("Name", args[1], typeof(String)); 527si.AddValue("AssemblyName", args[2], typeof(String)); 557String tempStackTraceString = _stackTraceString; 576info.AddValue("ClassName", GetClassName(), typeof(String)); 577info.AddValue("Message", _message, typeof(String)); 580info.AddValue("HelpURL", _helpURL, typeof(String)); 581info.AddValue("StackTraceString", tempStackTraceString, typeof(String)); 582info.AddValue("RemoteStackTraceString", _remoteStackTraceString, typeof(String)); 584info.AddValue("ExceptionMethod", GetExceptionMethodString(), typeof(String)); 586info.AddValue("Source", _source, typeof(String)); 615String tmp = null; 854private String _className; //Needed for serialization. 856private String _exceptionMethodString; //Needed for serialization. 857internal String _message; 860private String _helpURL; 864private String _stackTraceString; //Needed for serialization. 865private String _remoteStackTraceString; 890private String _source; // Mainly used by VB. 911internal virtual String InternalToString() 982internal static String GetMessageFromNativeResources(ExceptionMessageKind kind)
system\executionengineexception.cs (2)
34public ExecutionEngineException(String message) 39public ExecutionEngineException(String message, Exception innerException)
system\fieldaccessexception.cs (2)
25public FieldAccessException(String message) 30public FieldAccessException(String message, Exception inner)
system\formatexception.cs (2)
27public FormatException(String message) 32public FormatException(String message, Exception innerException)
system\gc.cs (2)
436String.Format( 446String.Format(
system\globalization\calendar.cs (2)
249String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Argument_ResultCalendarRange"), 840String.Format(
system\globalization\calendardata.cs (62)
41internal String sNativeName ; // Calendar Name for the locale 44internal String[] saShortDates ; // Short Data format, default first 45internal String[] saYearMonths ; // Year/Month Data format, default first 46internal String[] saLongDates ; // Long Data format, default first 47internal String sMonthDay ; // Month/Day format 50internal String[] saEraNames ; // Names of Eras 51internal String[] saAbbrevEraNames ; // Abbreviated Era Names 52internal String[] saAbbrevEnglishEraNames ; // Abbreviated Era Names in English 53internal String[] saDayNames ; // Day Names, null to use locale data, starts on Sunday 54internal String[] saAbbrevDayNames ; // Abbrev Day Names, null to use locale data, starts on Sunday 55internal String[] saSuperShortDayNames ; // Super short Day of week names 56internal String[] saMonthNames ; // Month Names (13) 57internal String[] saAbbrevMonthNames ; // Abbrev Month Names (13) 58internal String[] saMonthGenitiveNames ; // Genitive Month Names (13) 59internal String[] saAbbrevMonthGenitiveNames; // Genitive Abbrev Month Names (13) 60internal String[] saLeapYearMonthNames ; // Multiple strings for the month names in a leap year. 92invariant.saShortDates = new String[] { "MM/dd/yyyy", "yyyy-MM-dd" }; // short date format 93invariant.saLongDates = new String[] { "dddd, dd MMMM yyyy"}; // long date format 94invariant.saYearMonths = new String[] { "yyyy MMMM" }; // year month format 98invariant.saEraNames = new String[] { "A.D." }; // Era names 99invariant.saAbbrevEraNames = new String[] { "AD" }; // Abbreviated Era names 100invariant.saAbbrevEnglishEraNames=new String[] { "AD" }; // Abbreviated era names in English 101invariant.saDayNames = new String[] { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };// day names 102invariant.saAbbrevDayNames = new String[] { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; // abbreviated day names 103invariant.saSuperShortDayNames = new String[] { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" }; // The super short day names 104invariant.saMonthNames = new String[] { "January", "February", "March", "April", "May", "June", 105"July", "August", "September", "October", "November", "December", String.Empty}; // month names 106invariant.saAbbrevMonthNames = new String[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", 107"Jul", "Aug", "Sep", "Oct", "Nov", "Dec", String.Empty}; // abbreviated month names 123internal CalendarData(String localeName, int calendarId, bool bUseUserOverrides) 133if (this.sNativeName == null) this.sNativeName = String.Empty; // Calendar Name for the locale. 170this.sNativeName = String.Empty; 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])) 194this.saAbbrevEnglishEraNames = new String[] { "" }; 210if (this.saEraNames == null || this.saEraNames.Length == 0 || String.IsNullOrEmpty(this.saEraNames[0])) 212this.saEraNames = new String[] { "A.D." }; 219this.saEraNames = new String[] { "A.D." }; 222this.saEraNames = new String[] { "C.E." }; 229this.saEraNames = new String[] { "\x0780\x07a8\x0796\x07b0\x0783\x07a9" }; 233this.saEraNames = new String[] { "\x0628\x0639\x062F \x0627\x0644\x0647\x062C\x0631\x0629" }; 240this.saEraNames = new String[] { "\x0645" }; 244this.saEraNames = new String[] { "ap. J.-C." }; 253this.saEraNames = new String[] { "\x4e2d\x83ef\x6c11\x570b" }; 257this.saEraNames = new String[] { String.Empty }; 262this.saEraNames = new String[] { "\xb2e8\xae30" }; 266this.saEraNames = new String[] { "\x0e1e\x002e\x0e28\x002e" }; 275if (this.saEraNames == null || this.saEraNames.Length == 0 || String.IsNullOrEmpty(this.saEraNames[0])) 277this.saEraNames = new String[] { "\x0647\x002e\x0634" }; 296if (this.saAbbrevEraNames == null || this.saAbbrevEraNames.Length == 0 || String.IsNullOrEmpty(this.saAbbrevEraNames[0])) 298this.saAbbrevEraNames = new String[] { "AD" }; 305this.saAbbrevEraNames = new String[] { "AD" }; 316this.saAbbrevEraNames = new String[] { "\x0780\x002e" }; 320this.saAbbrevEraNames = new String[] { "\x0647\x0640" }; 325this.saAbbrevEraNames = new String[1]; 337if (this.saAbbrevEraNames == null || this.saAbbrevEraNames.Length == 0 || String.IsNullOrEmpty(this.saAbbrevEraNames[0])) 361String culture = CalendarIdToCultureName(calendarId); 370private static String CalendarIdToCultureName(int calendarId) 458private static extern bool nativeGetCalendarData(CalendarData data, String localeName, int calendar); 464internal static extern int nativeGetCalendars(String localeName, bool useUserOverride, [In, Out] int[] calendars);
system\globalization\charunicodeinfo.cs (11)
75internal const String UNICODE_INFO_FILE_NAME = "charinfo.nlp"; 150internal static int InternalConvertToUtf32(String s, int index) { 188internal static int InternalConvertToUtf32(String s, int index, out int charLength) { 215internal static bool IsWhiteSpace(String s, int index) 332public static double GetNumericValue(String s, int index) { 367public static int GetDecimalDigitValue(String s, int index) { 404public static int GetDigitValue(String s, int index) { 420public static UnicodeCategory GetUnicodeCategory(String s, int index) 473internal static BidiCategory GetBidiCategory(String s, int index) { 496internal static UnicodeCategory InternalGetUnicodeCategory(String value, int index) { 510internal static UnicodeCategory InternalGetUnicodeCategory(String str, int index, out int charLength) {
system\globalization\chineselunisolarcalendar.cs (2)
320String.Format( 341String.Format(
system\globalization\compareinfo.cs (84)
101private String m_name; // The name used to construct this CompareInfo 104private String m_sortName; // The name that defines our behavior 170public static CompareInfo GetCompareInfo(String name, Assembly assembly){ 216public static CompareInfo GetCompareInfo(String name) 234public static bool IsSortable(String text) { 325public virtual String Name 402public virtual int Compare(String string1, String string2) 408public unsafe virtual int Compare(String string1, String string2, CompareOptions options){ 412return String.Compare(string1, string2, StringComparison.OrdinalIgnoreCase); 422return String.CompareOrdinal(string1, string2); 459public unsafe virtual int Compare(String string1, int offset1, int length1, String string2, int offset2, int length2) 465public unsafe virtual int Compare(String string1, int offset1, String string2, int offset2, CompareOptions options) 472public unsafe virtual int Compare(String string1, int offset1, String string2, int offset2) 479public unsafe virtual int Compare(String string1, int offset1, int length1, String string2, int offset2, int length2, CompareOptions options) 483int result = String.Compare(string1, offset1, string2, offset2, length1<length2 ? length1 : length2, StringComparison.OrdinalIgnoreCase); 549int result = String.nativeCompareOrdinalEx(string1, offset1, string2, offset2, 569public unsafe virtual bool IsPrefix(String source, String prefix, CompareOptions options) 607public virtual bool IsPrefix(String source, String prefix) 624public unsafe virtual bool IsSuffix(String source, String suffix, CompareOptions options) 659public virtual bool IsSuffix(String source, String suffix) 678public unsafe virtual int IndexOf(String source, char value) 688public unsafe virtual int IndexOf(String source, String value) 698public unsafe virtual int IndexOf(String source, char value, CompareOptions options) 708public unsafe virtual int IndexOf(String source, String value, CompareOptions options) 718public unsafe virtual int IndexOf(String source, char value, int startIndex) 728public unsafe virtual int IndexOf(String source, String value, int startIndex) 738public unsafe virtual int IndexOf(String source, char value, int startIndex, CompareOptions options) 748public unsafe virtual int IndexOf(String source, String value, int startIndex, CompareOptions options) 758public unsafe virtual int IndexOf(String source, char value, int startIndex, int count) 764public unsafe virtual int IndexOf(String source, String value, int startIndex, int count) 772public unsafe virtual int IndexOf(String source, char value, int startIndex, int count, CompareOptions options) 806public unsafe virtual int IndexOf(String source, String value, int startIndex, int count, CompareOptions options) 871public unsafe virtual int LastIndexOf(String source, char value) 883public virtual int LastIndexOf(String source, String value) 895public virtual int LastIndexOf(String source, char value, CompareOptions options) 906public unsafe virtual int LastIndexOf(String source, String value, CompareOptions options) 918public unsafe virtual int LastIndexOf(String source, char value, int startIndex) 924public unsafe virtual int LastIndexOf(String source, String value, int startIndex) 930public unsafe virtual int LastIndexOf(String source, char value, int startIndex, CompareOptions options) 936public unsafe virtual int LastIndexOf(String source, String value, int startIndex, CompareOptions options) 942public unsafe virtual int LastIndexOf(String source, char value, int startIndex, int count) 948public unsafe virtual int LastIndexOf(String source, String value, int startIndex, int count) 957public unsafe virtual int LastIndexOf(String source, char value, int startIndex, int count, CompareOptions options) 1007public unsafe virtual int LastIndexOf(String source, String value, int startIndex, int count, CompareOptions options) 1069public unsafe virtual SortKey GetSortKey(String source, CompareOptions options) 1075public unsafe virtual SortKey GetSortKey(String source) 1081private SortKey CreateSortKey(String source, CompareOptions options) 1100if (String.IsNullOrEmpty(source)) 1131source = String.Empty; // back to original 1275public override String ToString() 1291internal static IntPtr InternalInitSortHandle(String localeName, out IntPtr handleOrigin) 1342private static extern bool InternalGetNlsVersionEx(IntPtr handle, IntPtr handleOrigin, String localeName, ref Win32Native.NlsVersionInfoEx lpNlsVersionInformation); 1355private static extern IntPtr NativeInternalInitSortHandle(String localeName, out IntPtr handleOrigin); 1370private static extern bool InternalIsSortable(IntPtr handle, IntPtr handleOrigin, String localeName, String source, int length); 1377private static extern int InternalCompareString(IntPtr handle, IntPtr handleOrigin, String localeName, String string1, int offset1, int length1, 1378String string2, int offset2, int length2, int flags); 1386private static extern int InternalFindNLSStringEx(IntPtr handle, IntPtr handleOrigin, String localeName, int flags, String source, int sourceCount, int startIndex, string target, int targetCount); 1393private static extern int InternalGetSortKey(IntPtr handle, IntPtr handleOrigin, String localeName, int flags, String source, int sourceCount, byte[] target, int targetCount);
system\globalization\culturedata.cs (166)
72private String sRealName; // Name you passed in (ie: en-US, en, or de-DE_phoneb) 73private String sWindowsName; // Name OS thinks the object is (ie: de-DE_phoneb, or en-US (even if en was passed in)) 76private String sName; // locale name (ie: en-us, NO sort info, but could be neutral) 77private String sParent; // Parent name (which may be a custom locale/culture) 78private String sLocalizedDisplayName; // Localized pretty name for this locale 79private String sEnglishDisplayName; // English pretty name for this locale 80private String sNativeDisplayName; // Native pretty name for this locale 81private String sSpecificCulture; // The culture name to be used in CultureInfo.CreateSpecificCulture(), en-US form if neutral, sort name if sort 84private String sISO639Language; // ISO 639 Language Name 85private String sLocalizedLanguage; // Localized name for this language 86private String sEnglishLanguage; // English name for this language 87private String sNativeLanguage; // Native name of this language 90private String sRegionName; // (RegionInfo) 93private String sLocalizedCountry; // localized country name 94private String sEnglishCountry; // english country name (RegionInfo) 95private String sNativeCountry; // native country name 96private String sISO3166CountryName; // ISO 3166 (RegionInfo), ie: US 99private String sPositiveSign; // (user can override) positive sign 100private String sNegativeSign; // (user can override) negative sign 101private String[] saNativeDigits; // (user can override) native characters for digits 0-9 108private String sDecimalSeparator; // (user can override) decimal separator 109private String sThousandSeparator; // (user can override) thousands separator 110private String sNaN; // Not a Number 111private String sPositiveInfinity; // + Infinity 112private String sNegativeInfinity; // - Infinity 117private String sPercent; // Percent (%) symbol 118private String sPerMille; // PerMille (‰) symbol 121private String sCurrency; // (user can override) local monetary symbol 122private String sIntlMonetarySymbol; // international monetary symbol (RegionInfo) 123private String sEnglishCurrency; // English name for this currency 124private String sNativeCurrency; // Native name for this currency 130private String sMonetaryDecimal; // (user can override) monetary decimal separator 131private String sMonetaryThousand; // (user can override) monetary thousands separator 135private String sListSeparator; // (user can override) list separator 139private String sAM1159; // (user can override) AM designator 140private String sPM2359; // (user can override) PM designator 141private String sTimeSeparator; 142private volatile String[] saLongTimes; // (user can override) time format 143private volatile String[] saShortTimes; // short time format 144private volatile String[] saDurationFormats; // time duration format 161private String sTextInfo; // Text info name to use for custom 162private String sCompareInfo; // Compare info name (including sorting key) to use if custom 163private String sScripts; // Typical Scripts for this locale (latn;cyrl; etc) 174private String sAbbrevLang; // abbreviated language name (Windows Language Name) ex: ENU 175private String sAbbrevCountry; // abbreviated country name (RegionInfo) (Windows Region Name) ex: USA 176private String sISO639Language2; // 3 char ISO 639 lang name 2 ex: eng 177private String sISO3166CountryName2; // 3 char ISO 3166 country name 2 2(RegionInfo) ex: USA (ISO) 179private String sConsoleFallbackName; // The culture name for the console fallback UI culture 180private String sKeyboardsToInstall; // Keyboard installation string. 181private String fontSignature; // Font signature (16 WORDS) 404 invariant.saNativeDigits = new String[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" }; // native characters for digits 0-9 444 invariant.saLongTimes = new String[] { "HH:mm:ss" }; // time format 445 invariant.saShortTimes = new String[] { "HH:mm", "hh:mm tt", "H:mm", "h:mm tt" }; // short time format 446 invariant.saDurationFormats = new String[] { "HH:mm:ss" }; // time duration format 494private static bool IsResourcePresent(String resourceKey) 508private static volatile Dictionary<String, CultureData> s_cachedCultures; 511internal static CultureData GetCultureData(String cultureName, bool useUserOverride) 514if (String.IsNullOrEmpty(cultureName)) 537String hashName = AnsiToLower(useUserOverride ? cultureName : cultureName + '*'); 538Dictionary<String, CultureData> tempHashTable = s_cachedCultures; 542tempHashTable = new Dictionary<String, CultureData>(); 735private static String s_RegionKey = @"System\CurrentControlSet\Control\Nls\RegionMapping"; 740private static volatile Dictionary<String, CultureData> s_cachedRegions; 743internal static CultureData GetCultureDataForRegion(String cultureName, bool useUserOverride) 746if (String.IsNullOrEmpty(cultureName)) 766String hashName = AnsiToLower(useUserOverride ? cultureName : cultureName + '*'); 767Dictionary<String, CultureData> tempHashTable = s_cachedRegions; 771tempHashTable = new Dictionary<String, CultureData>(); 807String specificForRegion = value.ToString(); 844if (String.Compare(specifics[i].m_cultureData.SREGIONNAME, cultureName, StringComparison.OrdinalIgnoreCase) == 0) 883internal static extern String LCIDToLocaleName(int lcid); 888String localeName = null; 918if (String.IsNullOrEmpty(localeName)) 976String.Format( 996String[] cultureNames = null; 1060internal static volatile String[] s_replacementCultureNames; 1072private static bool IsReplacementCultureName(String name) 1075String[] replacementCultureNames = s_replacementCultureNames; 1105internal String CultureName 1133internal String SNAME 1141this.sName = String.Empty; 1148internal String SPARENT 1181internal String SLOCALIZEDDISPLAYNAME 1189String resourceKey = "Globalization.ci_" + this.sName; 1196if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 1218if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 1230internal String SENGDISPLAYNAME 1258if (String.IsNullOrEmpty(this.sEnglishDisplayName)) 1283internal String SNATIVEDISPLAYNAME 1322if (String.IsNullOrEmpty(this.sNativeDisplayName)) 1334internal String SSPECIFICCULTURE 1349internal String SISO639LANGNAME 1364internal String SISO639LANGNAME2 1378internal String SABBREVLANGNAME 1394internal String SLOCALIZEDLANGUAGE 1406if (String.IsNullOrEmpty(this.sLocalizedLanguage)) 1417internal String SENGLISHLANGUAGE 1431internal String SNATIVELANGUAGE 1468internal String SREGIONNAME 1514String resourceKey = "Globalization.ri_" + this.SREGIONNAME; 1521if (String.IsNullOrEmpty(this.sLocalizedCountry)) 1528if (String.IsNullOrEmpty(this.sLocalizedDisplayName)) 1539internal String SENGCOUNTRY 1553internal String SNATIVECOUNTRY 1567internal String SISO3166CTRYNAME 1582internal String SISO3166CTRYNAME2 1596internal String SABBREVCTRYNAME 1643internal String SCONSOLEFALLBACKNAME 1708internal String SNAN 1722internal String SPOSINFINITY 1736internal String SNEGINFINITY 1783internal String SPERCENT 1798internal String SPERMILLE 1817internal String SCURRENCY 1835internal String SINTLSYMBOL 1849internal String SENGLISHCURRENCY 1863internal String SNATIVECURRENCY 1923internal String SLIST 1956internal String SAM1159 1974internal String SPM2359 1992internal String[] LongTimes 2002String[] longTimes = DoEnumTimeFormats(); 2019internal String[] ShortTimes 2030String[] shortTimes = DoEnumShortTimeFormats(); 2168internal String[] SADURATION 2176String durationFormat = DoGetLocaleInfo(LOCALE_SDURATION); 2177this.saDurationFormats = new String[] { ReescapeWin32String(durationFormat) }; 2219internal String[] ShortDates(int calendarId) 2225internal String[] LongDates(int calendarId) 2231internal String[] YearMonths(int calendarId) 2288internal String MonthDay(int calendarId) 2378internal String CalendarName(int calendarId) 2477internal String STEXTINFO // Text info name to use for text information 2512internal String SCOMPAREINFO 2563private String SSCRIPTS 2576private String SOPENTYPELANGUAGETAG 2585private String FONTSIGNATURE 2598private String SKEYBOARDSTOINSTALL 2663internal static extern int LocaleNameToLCID(String localeName); 2708return String.IsNullOrEmpty(this.SNAME); 2728internal String[] EraNames(int calendarId) 2735internal String[] AbbrevEraNames(int calendarId) 2742internal String[] AbbreviatedEnglishEraNames(int calendarId) 2754internal String TimeSeparator 2766if (String.IsNullOrEmpty(longTimeFormat)) 2779internal String DateSeparator(int calendarId) 2818static private String UnescapeNlsString(String str, int start, int end) 2875static internal String ReescapeWin32String(String str) 2941static internal String[] ReescapeWin32Strings(String[] array) 2956static private String GetTimeSeparator(String format) 2971static private String GetDateSeparator(String format) 3012return String.Empty; 3077result = String.Empty; 3099String[] DoEnumTimeFormats() 3103String[] result = ReescapeWin32Strings(nativeEnumTimeFormats(this.sWindowsName, 0, UseUserOverride)); 3108String[] DoEnumShortTimeFormats() 3112String[] result = ReescapeWin32Strings(nativeEnumTimeFormats(this.sWindowsName, TIME_NOSECONDS, UseUserOverride)); 3263static private int[] ConvertWin32GroupString(String win32Str) 3506internal static extern bool nativeGetNumberFormatInfoValues(String localeName, NumberFormatInfo nfi, bool useUserOverride); 3511private static extern String[] nativeEnumTimeFormats(String localeName, uint dwFlags, bool useUserOverride);
system\globalization\cultureinfo.cs (44)
208String strDefault = GetDefaultLocaleName(LOCALE_USER_DEFAULT); 228String strDefault = GetUserDefaultUILanguage(); 325public CultureInfo(String name) : this(name, true) { 329public CultureInfo(String name, bool useUserOverride) { 430String.Format( 579internal CultureInfo(String cultureName, String textAndCompareCultureName) 601private static CultureInfo GetCultureByName(String name, bool userOverride) 624public static CultureInfo CreateSpecificCulture(String name) { 666internal static bool VerifyCultureName(String cultureName, bool throwException) 869String strDefault = GetSystemDefaultUILanguage(); 986if (String.IsNullOrEmpty(parentName)) 1068public virtual String Name { 1070Contract.Ensures(Contract.Result<String>() != null); 1076this.m_nonSortName = String.Empty; 1084internal String SortName 1100public String IetfLanguageTag 1104Contract.Ensures(Contract.Result<String>() != null); 1129public virtual String DisplayName 1134Contract.Ensures(Contract.Result<String>() != null); 1150public virtual String NativeName { 1153Contract.Ensures(Contract.Result<String>() != null); 1167public virtual String EnglishName { 1170Contract.Ensures(Contract.Result<String>() != null); 1176public virtual String TwoLetterISOLanguageName { 1179Contract.Ensures(Contract.Result<String>() != null); 1186public virtual String ThreeLetterISOLanguageName { 1189Contract.Ensures(Contract.Result<String>() != null); 1202public virtual String ThreeLetterWindowsLanguageName { 1205Contract.Ensures(Contract.Result<String>() != null); 1356public override String ToString() 1358Contract.Ensures(Contract.Result<String>() != null); 1951String.Format( 1972String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 1983String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 2013internal static extern String nativeGetLocaleInfoEx(String localeName, uint field); 2018internal static extern int nativeGetLocaleInfoExInt(String localeName, uint field); 2023internal static extern bool nativeSetThreadLocale(String localeName); 2026private static String GetDefaultLocaleName(int localeType) 2047private static String GetUserDefaultUILanguage() 2054return String.Empty; 2066private static String GetSystemDefaultUILanguage() 2073return String.Empty;
system\globalization\culturenotfoundexception.cs (16)
28public CultureNotFoundException(String message) 33public CultureNotFoundException(String paramName, String message) 38public CultureNotFoundException(String message, Exception innerException) 43public CultureNotFoundException(String paramName, int invalidCultureId, String message) 49public CultureNotFoundException(String message, int invalidCultureId, Exception innerException) 56public CultureNotFoundException(String paramName, string invalidCultureName, String message) 62public CultureNotFoundException(String message, string invalidCultureName, Exception innerException) 101private static String DefaultMessage 109private String FormatedInvalidCultureId 116return String.Format(CultureInfo.InvariantCulture, 124public override String Message 128String s = base.Message; 135String valueMessage = Environment.GetResourceString("Argument_CultureInvalidIdentifier", FormatedInvalidCultureId);
system\globalization\datetimeformat.cs (39)
140internal const String RoundtripFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK"; 141internal const String RoundtripDateTimeUnfixed = "yyyy'-'MM'-'ddTHH':'mm':'ss zzz"; 150internal static String[] fixedNumberFormats = new String[] { 214internal static int ParseRepeatPattern(String format, int pos, char patternChar) 225private static String FormatDayOfWeek(int dayOfWeek, int repeat, DateTimeFormatInfo dtfi) 237private static String FormatMonth(int month, int repeatCount, DateTimeFormatInfo dtfi) 278private static String FormatHebrewMonthName(DateTime time, int month, int repeatCount, DateTimeFormatInfo dtfi) 299internal static int ParseQuoteString(String format, int pos, StringBuilder result) 340String.Format( 356internal static int ParseNextChar(String format, int pos) 378private static bool IsUseGenitiveForm(String format, int index, int tokenLen, char patternToMatch) { 434private static String FormatCustomized(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset) { 629String fmtPattern = "D" + tokenLen; 717private static void FormatCustomizedTimeZone(DateTime dateTime, TimeSpan offset, String format, Int32 tokenLen, Boolean timeOnly, StringBuilder result) { 804internal static String GetRealFormat(String format, DateTimeFormatInfo dtfi) 806String realFormat = null; 871private static String ExpandPredefinedFormat(String format, ref DateTime dateTime, ref DateTimeFormatInfo dtfi, ref TimeSpan offset) { 907internal static String Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi) { 912internal static String Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset) 1067internal static String[] GetAllDateTimes(DateTime dateTime, char format, DateTimeFormatInfo dtfi) 1070String [] allFormats = null; 1071String [] results = null; 1088results = new String[allFormats.Length]; 1097results = new String[allFormats.Length]; 1113results = new String[] {Format(dateTime, new String(new char[] {format}), dtfi)}; 1122internal static String[] GetAllDateTimes(DateTime dateTime, DateTimeFormatInfo dtfi) 1124List<String> results = new List<String>(DEFAULT_ALL_DATETIMES_SIZE); 1128String[] strings = GetAllDateTimes(dateTime, allStandardFormats[i], dtfi); 1134String[] value = new String[results.Count]; 1141internal static void InvalidFormatForLocal(String format, DateTime dateTime) { 1147internal static void InvalidFormatForUtc(String format, DateTime dateTime) {
system\globalization\datetimeformatinfo.cs (167)
78internal String m_name = null; 81[NonSerialized]private String m_langName = null; 95internal String amDesignator = null; 96internal String pmDesignator = null; 98internal String dateSeparator = null; // derived from short date (whidbey expects, arrowhead doesn't) 100internal String generalShortTimePattern = null; // short date + short time (whidbey expects, arrowhead doesn't) 102internal String generalLongTimePattern = null; // short date + long time (whidbey expects, arrowhead doesn't) 104internal String timeSeparator = null; // derived from long time (whidbey expects, arrowhead doesn't) 105internal String monthDayPattern = null; 107internal String dateTimeOffsetPattern = null; 112internal const String rfc1123Pattern = "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'"; 115internal const String sortableDateTimePattern = "yyyy'-'MM'-'dd'T'HH':'mm':'ss"; 116internal const String universalSortableDateTimePattern = "yyyy'-'MM'-'dd HH':'mm':'ss'Z'"; 127internal String fullDateTimePattern = null; // long date + long time (whidbey expects, arrowhead doesn't) 129internal String[] abbreviatedDayNames = null; 132internal String[] m_superShortDayNames = null; 134internal String[] dayNames = null; 135internal String[] abbreviatedMonthNames = null; 136internal String[] monthNames = null; 139internal String[] genitiveMonthNames = null; 143internal String[] m_genitiveAbbreviatedMonthNames = null; 147internal String[] leapYearMonthNames = null; 156internal String longDatePattern = null; 157internal String shortDatePattern = null; 158internal String yearMonthPattern = null; 159internal String longTimePattern = null; 160internal String shortTimePattern = null; 166private String[] allYearMonthPatterns = null; // This was wasn't serialized in Whidbey 167internal String[] allShortDatePatterns = null; 168internal String[] allLongDatePatterns = null; 169internal String[] allShortTimePatterns = null; 170internal String[] allLongTimePatterns = null; 173internal String[] m_eraNames = null; 174internal String[] m_abbrevEraNames = null; 175internal String[] m_abbrevEnglishEraNames = null; 203private String CultureName 228private String LanguageName 247private String[] internalGetAbbreviatedDayOfWeekNames() 270private String[] internalGetSuperShortDayNames() 287private String[] internalGetDayOfWeekNames() 304private String[] internalGetAbbreviatedMonthNames() 323private String[] internalGetMonthNames() 414internal String[] m_dateWords = null; // calculated, no need to serialze (whidbey expects, arrowhead doesn't) 573public String AMDesignator 730public int GetEra(String eraName) { 755if (String.Compare(eraName, m_eraNames[i], this.Culture, CompareOptions.IgnoreCase)==0) { 762if (String.Compare(eraName, m_abbrevEraNames[i], this.Culture, CompareOptions.IgnoreCase)==0) { 769if (String.Compare(eraName, m_abbrevEnglishEraNames[i], StringComparison.InvariantCultureIgnoreCase)==0) { 776internal String[] EraNames 798public String GetEraName(int era) { 812internal String[] AbbreviatedEraNames 825public String GetAbbreviatedEraName(int era) { 840internal String[] AbbreviatedEnglishEraNames 856public String DateSeparator 944public String FullDateTimePattern 973public String LongDatePattern 1012public String LongTimePattern 1050public String MonthDayPattern 1077public String PMDesignator 1110public String RFC1123Pattern 1123public String ShortDatePattern 1165public String ShortTimePattern 1199public String SortableDateTimePattern { 1212internal String GeneralShortTimePattern { 1228internal String GeneralLongTimePattern { 1251internal String DateTimeOffsetPattern { 1301public String TimeSeparator 1332public String UniversalSortableDateTimePattern 1345public String YearMonthPattern 1378static private void CheckNullValue(String[] values, int length) { 1390public String[] AbbreviatedDayNames 1394return ((String[])internalGetAbbreviatedDayOfWeekNames().Clone()); 1418public String[] ShortestDayNames 1422return ((String[])internalGetSuperShortDayNames().Clone()); 1443public String[] DayNames 1447return ((String[])internalGetDayOfWeekNames().Clone()); 1470public String[] AbbreviatedMonthNames { 1472return ((String[])internalGetAbbreviatedMonthNames().Clone()); 1494public String[] MonthNames 1498return ((String[])internalGetMonthNames().Clone()); 1548internal String internalGetMonthName(int month, MonthNameStyles style, bool abbreviated) { 1553String[] monthNamesArray = null; 1583private String[] internalGetGenitiveMonthNames(bool abbreviated) { 1610internal String[] internalGetLeapYearMonthNames(/*bool abbreviated*/) { 1622public String GetAbbreviatedDayName(DayOfWeek dayofweek) 1641public String GetShortestDayName(DayOfWeek dayOfWeek) 1658static private String[] GetCombinedPatterns(String[] patterns1, String[] patterns2, String connectString) 1664String[] result = new String[patterns1.Length * patterns2.Length]; 1682public String[] GetAllDateTimePatterns() 1684List<String> results = new List<String>(DEFAULT_ALL_DATETIMES_SIZE); 1688String[] strings = GetAllDateTimePatterns(DateTimeFormat.allStandardFormats[i]); 1698public String[] GetAllDateTimePatterns(char format) 1700Contract.Ensures(Contract.Result<String[]>() != null); 1701String [] result = null; 1726result = new String[] {MonthDayPattern}; 1730result = new String[] {DateTimeFormat.RoundtripFormat}; 1734result = new String[] {rfc1123Pattern}; 1737result = new String[] {sortableDateTimePattern}; 1746result = new String[] {UniversalSortableDateTimePattern}; 1759public String GetDayName(DayOfWeek dayofweek) 1774public String GetAbbreviatedMonthName(int month) 1787public String GetMonthName(int month) 1844newPatterns = new String[patterns.Length + 1]; 1859private String[] AllYearMonthPatterns 1867private String[] AllShortDatePatterns 1875private String[] AllShortTimePatterns 1883private String[] AllLongDatePatterns 1891private String[] AllLongTimePatterns 1901private String[] UnclonedYearMonthPatterns 1920private String [] UnclonedShortDatePatterns 1938private String[] UnclonedLongDatePatterns 1956private String[] UnclonedShortTimePatterns 1973private String[] UnclonedLongTimePatterns 2019public String NativeCalendarName 2046public void SetAllDateTimePatterns(String[] patterns, char format) 2109public String[] AbbreviatedMonthGenitiveNames 2113return ((String[])internalGetGenitiveMonthNames(true).Clone()); 2137public String[] MonthGenitiveNames 2141return ((String[])internalGetGenitiveMonthNames(false).Clone()); 2169internal String FullTimeSpanPositivePattern 2180String decimalSeparator = new NumberFormatInfo(cultureDataWithoutUserOverrides).NumberDecimalSeparator; 2193internal String FullTimeSpanNegativePattern 2227internal static void ValidateStyles(DateTimeStyles style, String parameterName) { 2337private const String dateSeparatorOrTimeZoneOffset = "-"; 2338private const String invariantDateSeparator = "/"; 2339private const String invariantTimeSeparator = ":"; 2344internal const String IgnorablePeriod = "."; 2345internal const String IgnorableComma = ","; 2350internal const String CJKYearSuff = "\u5e74"; 2351internal const String CJKMonthSuff = "\u6708"; 2352internal const String CJKDaySuff = "\u65e5"; 2354internal const String KoreanYearSuff = "\ub144"; 2355internal const String KoreanMonthSuff = "\uc6d4"; 2356internal const String KoreanDaySuff = "\uc77c"; 2358internal const String KoreanHourSuff = "\uc2dc"; 2359internal const String KoreanMinuteSuff = "\ubd84"; 2360internal const String KoreanSecondSuff = "\ucd08"; 2362internal const String CJKHourSuff = "\u6642"; 2363internal const String ChineseHourSuff = "\u65f6"; 2365internal const String CJKMinuteSuff = "\u5206"; 2366internal const String CJKSecondSuff = "\u79d2"; 2370internal const String LocalTimeMark = "T"; 2372internal const String KoreanLangName = "ko"; 2373internal const String JapaneseLangName = "ja"; 2374internal const String EnglishLangName = "en"; 2490String[] dateWords = null; 2506String monthPostfix = null; 2523String symbol = dateWords[i].Substring(1); 2559String str; 2567String str; 2576String str = GetDayName((DayOfWeek)i); 2594String specialDayOfWeek = "(" + GetAbbreviatedDayName((DayOfWeek)i) + ")"; 2624String str; 2636String str = InvariantInfo.GetDayName((DayOfWeek)i); 2661private void AddMonthNames(TokenHashValue[] temp, String monthPostfix) 2664String str; 2813if (String.Compare(str.Value, str.Index, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.IgnoreCase)==0) { 2858void InsertAtCurrentHashNode(TokenHashValue[] hashTable, String str, char ch, TokenType tokenType, int tokenValue, int pos, int hashcode, int hashProbe) { 2887void InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, int tokenValue) { 2916if (String.Compare(str, 0, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.IgnoreCase) == 0) { 2982internal String tokenString; 2986internal TokenHashValue(String tokenString, TokenType tokenType, int tokenValue) {
system\globalization\datetimeformatinfoscanner.cs (67)
98internal const String CJKYearSuff = "\u5e74"; 99internal const String CJKMonthSuff = "\u6708"; 100internal const String CJKDaySuff = "\u65e5"; 102internal const String KoreanYearSuff = "\ub144"; 103internal const String KoreanMonthSuff = "\uc6d4"; 104internal const String KoreanDaySuff = "\uc77c"; 106internal const String KoreanHourSuff = "\uc2dc"; 107internal const String KoreanMinuteSuff = "\ubd84"; 108internal const String KoreanSecondSuff = "\ucd08"; 110internal const String CJKHourSuff = "\u6642"; 111internal const String ChineseHourSuff = "\u65f6"; 113internal const String CJKMinuteSuff = "\u5206"; 114internal const String CJKSecondSuff = "\u79d2"; 117internal List<String> m_dateWords = new List<String>(); 119private static volatile Dictionary<String, String> s_knownWords; 121static Dictionary<String, String> KnownWords 127Dictionary<String, String> temp = new Dictionary<String, String>(); 131temp.Add("/", String.Empty); 132temp.Add("-", String.Empty); 133temp.Add(".", String.Empty); 135temp.Add(CJKYearSuff, String.Empty); 136temp.Add(CJKMonthSuff, String.Empty); 137temp.Add(CJKDaySuff, String.Empty); 138temp.Add(KoreanYearSuff, String.Empty); 139temp.Add(KoreanMonthSuff, String.Empty); 140temp.Add(KoreanDaySuff, String.Empty); 141temp.Add(KoreanHourSuff, String.Empty); 142temp.Add(KoreanMinuteSuff, String.Empty); 143temp.Add(KoreanSecondSuff, String.Empty); 144temp.Add(CJKHourSuff, String.Empty); 145temp.Add(ChineseHourSuff, String.Empty); 146temp.Add(CJKMinuteSuff, String.Empty); 147temp.Add(CJKSecondSuff, String.Empty); 167internal static int SkipWhiteSpacesAndNonLetter(String pattern, int currentIndex) 214internal void AddDateWordOrPostfix(String formatPostfix, String str) 224String words; 229m_dateWords = new List<String>(); 234String temp = MonthPostfixChar + str; 248String strWithoutDot = str.Substring(0, str.Length - 1); 276internal int AddDateWords(String pattern, int index, String formatPostfix) 342internal static int ScanRepeatChar(String pattern, char ch, int index, out int count) 367internal void AddIgnorableSymbols(String text) 372m_dateWords = new List<String>(); 375String temp = IgnorableSymbolChar + text; 421internal void ScanDateWord(String pattern) 501internal String[] GetDateWordsOfDTFI(DateTimeFormatInfo dtfi) { 503String[] datePatterns = dtfi.GetAllDateTimePatterns('D'); 542String[] result = null; 545result = new String[m_dateWords.Count]; 573internal static FORMATFLAGS GetFormatFlagGenitiveMonth(String[] monthNames, String[] genitveMonthNames, String[] abbrevMonthNames, String[] genetiveAbbrevMonthNames) 585internal static FORMATFLAGS GetFormatFlagUseSpaceInMonthNames(String[] monthNames, String[] genitveMonthNames, String[] abbrevMonthNames, String[] genetiveAbbrevMonthNames) 607internal static FORMATFLAGS GetFormatFlagUseSpaceInDayNames(String[] dayNames, String[] abbrevDayNames)
system\globalization\datetimeparse.cs (55)
50internal static DateTime ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style) { 61internal static DateTime ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style, out TimeSpan offset) { 75internal static bool TryParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style, out DateTime result) { 86internal static bool TryParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style, out DateTime result, out TimeSpan offset) { 100internal static bool TryParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style, ref DateTimeResult result) { 124internal static DateTime ParseExactMultiple(String s, String[] formats, 137internal static DateTime ParseExactMultiple(String s, String[] formats, 152internal static bool TryParseExactMultiple(String s, String[] formats, 168internal static bool TryParseExactMultiple(String s, String[] formats, 180internal static bool TryParseExactMultiple(String s, String[] formats, 409internal const String GMTName = "GMT"; 410internal const String ZuluName = "Z"; 415private static bool MatchWord(ref __DTString str, String target) 1200private static Boolean GetYearMonthDayOrder(String datePattern, DateTimeFormatInfo dtfi, out int order) 1299private static Boolean GetYearMonthOrder(String pattern, DateTimeFormatInfo dtfi, out int order) 1365private static Boolean GetMonthDayOrder(String pattern, DateTimeFormatInfo dtfi, out int order) 1781String pattern = dtfi.ShortDatePattern; 2275internal static DateTime Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) { 2286internal static DateTime Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, out TimeSpan offset) { 2300internal static bool TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, out DateTime result) { 2311internal static bool TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, out DateTime result, out TimeSpan offset) { 2330internal static bool TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, ref DateTimeResult result) { 3056String searchStr = dtfi.GetAbbreviatedMonthName(i); 3108String searchStr = dtfi.GetMonthName(i); 3165String searchStr = dtfi.GetAbbreviatedDayName(i); 3198String searchStr = dtfi.GetDayName(i); 3231String searchStr = dtfi.GetEraName(eras[i]); 3268String searchStr = dtfi.AMDesignator; 3447private static String ExpandPredefinedFormat(String format, ref DateTimeFormatInfo dtfi, ref ParsingInfo parseInfo, ref DateTimeResult result) { 3820String quotedStr = enquotedString.ToString(); 3941internal static bool TryParseQuoteString(String format, int pos, StringBuilder result, out int returnValue) { 4008String s, 4009String formatParam, 4024String originalFormat = formatParam; 4347internal String Value; 4365internal __DTString(String str, DateTimeFormatInfo dtfi, bool checkDigitToken) : this (str, dtfi) 4370internal __DTString(String str, DateTimeFormatInfo dtfi) 4532internal bool MatchSpecifiedWord(String target) { 4536internal bool MatchSpecifiedWord(String target, int endIndex) { 4552internal bool MatchSpecifiedWords(String target, bool checkWordBoundary, ref int matchLength) { 4623internal bool Match(String str) { 4665internal int MatchLongestWords(String[] words, ref int maxMatchStrLen) { 4668String word = words[i]; 4891internal String s;
system\globalization\eastasianlunisolarcalendar.cs (1)
160String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"),
system\globalization\encodingdataitem.cs (7)
26internal String m_webName; 27internal String m_headerName; 28internal String m_bodyName; 39unsafe internal static String CreateString(sbyte* pStrings, uint index) 74unsafe public String WebName { 90unsafe public String HeaderName { 100unsafe public String BodyName {
system\globalization\encodingtable.cs (6)
63unsafe private static int internalGetCodePageFromName(String name) { 74result = String.nativeCompareOrdinalIgnoreCaseWC(name, encodingDataPtr[index].webName); 90if (String.nativeCompareOrdinalIgnoreCaseWC(name, encodingDataPtr[left].webName) == 0) { 96String.Format( 137internal static int GetCodePageFromName(String name) 224String inSectionName, int inBytesToAllocate, out IntPtr mappedFileHandle);
system\globalization\globalizationassembly.cs (2)
40internal unsafe static byte* GetGlobalizationResourceBytePtr(Assembly assembly, String tableName) { 55String.Format(
system\globalization\gregoriancalendar.cs (9)
71String.Format( 290String.Format( 399String.Format( 443String.Format( 510String.Format( 531String.Format( 557String.Format( 600String.Format( 622String.Format(
system\globalization\gregoriancalendarhelper.cs (13)
29internal String eraName; // The era name 31internal String abbrevEraName; // Abbreviated Era Name 33internal String englishEraName; // English era name 45String eraName, String abbrevEraName, String englishEraName) 205throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 341String.Format( 357String.Format( 388String.Format( 570String.Format( 607String.Format( 656String.Format(
system\globalization\hebrewcalendar.cs (7)
374static private void CheckHebrewYearValue(int y, int era, String varName) { 379String.Format( 402String.Format( 426String.Format( 445String.Format( 708String.Format( 1065String.Format(
system\globalization\hebrewnumber.cs (1)
88internal static String ToString(int Number) {
system\globalization\hijricalendar.cs (13)
72private const String InternationalRegKey = "Control Panel\\International"; 75private const String HijriAdvanceRegKeyEntry = "AddHijriDate"; 229String.Format( 282String str = value.ToString(); 283if (String.Compare(str, 0, HijriAdvanceRegKeyEntry, 0, HijriAdvanceRegKeyEntry.Length, StringComparison.OrdinalIgnoreCase) == 0) { 348String.Format( 367String.Format( 381String.Format( 504String.Format( 641String.Format( 689String.Format( 722String.Format( 748String.Format(
system\globalization\idnmapping.cs (22)
49const String M_strAcePrefix = "xn--"; 91public String GetAscii(String unicode) 96public String GetAscii(String unicode, int index) 103public String GetAscii(String unicode, int index, int count) 165private String GetAsciiUsingOS(String unicode) 214public String GetUnicode(String ascii) 219public String GetUnicode(String ascii, int index) 226public String GetUnicode(String ascii, int index, int count) 256String strUnicode = punycode_decode(ascii); 559static String punycode_encode(String unicode) 807static String punycode_decode( String ascii ) 992String strTemp = Char.ConvertFromUtf32(n); 1137String lpUnicodeCharStr,
system\globalization\japanesecalendar.cs (15)
180String[] valueNames = key.GetValueNames(); 280private static EraInfo GetEraFromValue(String value, String data) 308String[] names = data.Split(new char[] {'_'}); 495String.Format( 515internal static String[] EraNames() 518String[] eraNames = new String[eras.Length]; 529internal static String[] AbbrevEraNames() 532String[] erasAbbrev = new String[eras.Length]; 543internal static String[] EnglishEraNames() 546String[] erasEnglish = new String[eras.Length]; 577String.Format(
system\globalization\japaneselunisolarcalendar.cs (1)
207String.Format(
system\globalization\juliancalendar.cs (6)
125String.Format( 164String.Format( 235String.Format( 382String.Format( 410String.Format( 432String.Format(
system\globalization\koreancalendar.cs (1)
244String.Format(
system\globalization\koreanlunisolarcalendar.cs (2)
1253String.Format( 1277String.Format(
system\globalization\numberformatinfo.cs (48)
59internal String positiveSign = "+"; 60internal String negativeSign = "-"; 61internal String numberDecimalSeparator = "."; 62internal String numberGroupSeparator = ","; 63internal String currencyGroupSeparator = ","; 64internal String currencyDecimalSeparator = "."; 65internal String currencySymbol = "\x00a4"; // U+00a4 is the symbol for International Monetary Fund. 69internal String ansiCurrencySymbol = null; 70internal String nanSymbol = "NaN"; 71internal String positiveInfinitySymbol = "Infinity"; 72internal String negativeInfinitySymbol = "-Infinity"; 73internal String percentDecimalSeparator = "."; 74internal String percentGroupSeparator = ","; 75internal String percentSymbol = "%"; 76internal String perMilleSymbol = "\u2030"; 79internal String[] nativeDigits = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}; 162static private void VerifyDecimalSeparator(String decSep, String propertyName) { 175static private void VerifyGroupSeparator(String groupSep, String propertyName) { 183static private void VerifyNativeDigits(String [] nativeDig, String propertyName) { 224static private void VerifyDigitSubstitution(DigitShapes digitSub, String propertyName) { 327String.Format( 340public String CurrencyDecimalSeparator { 362static internal void CheckGroupSize(String propName, int[] groupSize) 439public String CurrencyGroupSeparator { 449public String CurrencySymbol { 479public String NaNSymbol { 502String.Format( 524String.Format( 546String.Format( 568String.Format( 581public String NegativeInfinitySymbol { 597public String NegativeSign { 617String.Format( 630public String NumberDecimalSeparator { 640public String NumberGroupSeparator { 656String.Format( 669public String PositiveInfinitySymbol { 685public String PositiveSign { 705String.Format( 718public String PercentDecimalSeparator { 728public String PercentGroupSeparator { 738public String PercentSymbol { 754public String PerMilleSymbol { 769public String[] NativeDigits 771get { return (String[])nativeDigits.Clone(); }
system\globalization\Persiancalendar.cs (8)
141String.Format( 160String.Format( 174String.Format( 295String.Format( 455String.Format( 511String.Format( 543String.Format( 569String.Format(
system\globalization\regioninfo.cs (16)
42internal String m_name; 66public RegionInfo(String name) { 87String.Format( 336String.Format( 389public virtual String Name { 403public virtual String EnglishName 421public virtual String DisplayName 440public virtual String NativeName 456public virtual String TwoLetterISORegionName 474public virtual String ThreeLetterISORegionName 490public virtual String ThreeLetterWindowsRegionName 532public virtual String CurrencyEnglishName 550public virtual String CurrencyNativeName 566public virtual String CurrencySymbol { 580public virtual String ISOCurrencySymbol { 631public override String ToString()
system\globalization\sortkey.cs (7)
37internal String localeName; // locale identifier 44internal String m_String; // original string 52internal SortKey(String localeName, String str, CompareOptions options, byte[] keyData) 85if (String.IsNullOrEmpty(localeName) && win32LCID != 0) 100public virtual String OriginalString 217public override String ToString()
system\globalization\stringinfo.cs (15)
32private String m_str; 42public StringInfo(String value) { 50m_str = String.Empty; 93public String String { 120public String SubstringByTextElements(int startingTextElement) { 136public String SubstringByTextElements(int startingTextElement, int lengthInTextElements) { 173public static String GetNextTextElement(String str) 211internal static int GetCurrentTextElementLen(String str, int index, int len, ref UnicodeCategory ucCurrent, ref int currentCharCount) 270public static String GetNextTextElement(String str, int index) { 282return (String.Empty); 292public static TextElementEnumerator GetTextElementEnumerator(String str) 297public static TextElementEnumerator GetTextElementEnumerator(String str, int index) 329public static int[] ParseCombiningCharacters(String str)
system\globalization\taiwancalendar.cs (2)
229String.Format( 253String.Format(
system\globalization\taiwanlunisolarcalendar.cs (1)
263String.Format(
system\globalization\textelementenumerator.cs (3)
31private String str; 47internal TextElementEnumerator(String str, int startIndex, int strLen) 120public String GetTextElement()
system\globalization\textinfo.cs (38)
53private String m_listSeparator; 79private String m_cultureName; // Name of the culture that created this text info 81[NonSerialized]private String m_textInfoName; // Name of the text info we're using (ie: m_cultureData.STEXTINFO) 227internal static int GetHashCodeOrdinalIgnoreCase(String s) 234internal static int GetHashCodeOrdinalIgnoreCase(String s, bool forceRandomizedHashing, long additionalEntropy) 244internal static unsafe bool TryFastFindStringOrdinalIgnoreCase(int searchFlags, String source, int startIndex, String value, int count, ref int foundIndex) 254internal static unsafe int CompareOrdinalIgnoreCase(String str1, String str2) 265internal static unsafe int CompareOrdinalIgnoreCaseEx(String strA, int indexA, String strB, int indexB, int lengthA, int lengthB ) 274internal static int IndexOfStringOrdinalIgnoreCase(String source, String value, int startIndex, int count) 319internal static int LastIndexOfStringOrdinalIgnoreCase(String source, String value, int startIndex, int count) 513public virtual String ListSeparator 557public unsafe virtual String ToLower(String str) 596public unsafe virtual String ToUpper(String str) 682public override String ToString() 712public unsafe String ToTitleCase(String str) { 722String lowercaseData = null; 802private static int AddNonLetter(ref StringBuilder result, ref String input, int inputIndex, int charLen) { 816private int AddTitlecaseLetter(ref StringBuilder result, ref String input, int inputIndex, int charLen) { 940internal unsafe int GetCaseInsensitiveHashCode(String str) 946internal unsafe int GetCaseInsensitiveHashCode(String str, bool forceRandomizedHashing, long additionalEntropy) 963private static unsafe extern char InternalChangeCaseChar(IntPtr handle, IntPtr handleOrigin, String localeName, char ch, bool isToUpper); 969private static unsafe extern String InternalChangeCaseString(IntPtr handle, IntPtr handleOrigin, String localeName, String str, bool isToUpper); 975private static unsafe extern int InternalGetCaseInsHash(IntPtr handle, IntPtr handleOrigin, String localeName, String str, bool forceRandomizedHashing, long additionalEntropy); 983private static unsafe extern int InternalCompareStringOrdinalIgnoreCase(String string1, int index1, String string2, int index2, int length1, int length2); 993private static unsafe extern bool InternalTryFindStringOrdinalIgnoreCase(int searchFlags, String source, int sourceCount, int startIndex, String target, int targetCount, ref int foundIndex);
system\globalization\thaibuddhistcalendar.cs (1)
203String.Format(
system\globalization\timespanformat.cs (21)
17private static String IntToString(int n, int digits) { 35internal static String Format(TimeSpan value, String format, IFormatProvider formatProvider) { 71private static String FormatStandard(TimeSpan value, bool isInvariant, String format, Pattern pattern) { 146internal static String FormatCustomized(TimeSpan value, String format, DateTimeFormatInfo dtfi) { 292internal String Start { 297internal String DayHourSep { 302internal String HourMinuteSep { 307internal String MinuteSecondSep { 312internal String SecondFractionSep { 317internal String End { 322internal String AppCompatLiteral; 329private String[] literals; 335x.literals = new String[6]; 336x.literals[0] = isNegative ? "-" : String.Empty; 341x.literals[5] = String.Empty; 355internal void Init(String format, bool useInvariantFieldLengths) { 356literals = new String[6]; 358literals[i] = String.Empty;
system\globalization\timespanparse.cs (33)
71internal static void ValidateStyles(TimeSpanStyles style, String parameterName) { 122internal String sep; // Store the literal that we are parsing (if any) 165private String m_value; 167internal void Init(String input) { 170internal void Init(String input, int startPosition) { 372internal String[] literals; 379private String m_fullPosPattern; 380private String m_fullNegPattern; 394literals = new String[MaxLiteralTokens]; 420if (!AddSep(String.Empty, ref result)) return false; 433private bool AddSep(String sep, ref TimeSpanResult result) { 556internal static TimeSpan Parse(String input, IFormatProvider formatProvider) { 567internal static Boolean TryParse(String input, IFormatProvider formatProvider, out TimeSpan result) { 580internal static TimeSpan ParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles) { 591internal static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 604internal static TimeSpan ParseExactMultiple(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles) { 615internal static Boolean TryParseExactMultiple(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 638private static Boolean TryParseTimeSpan(String input, TimeSpanStandardStyles style, IFormatProvider formatProvider, ref TimeSpanResult result) { 645if (input == String.Empty) { 701tok.sep = String.Empty; 1128private static Boolean TryParseExactTimeSpan(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, ref TimeSpanResult result) { 1170private static Boolean TryParseByFormat(String input, String format, TimeSpanStyles styles, ref TimeSpanResult result) { 1360private static Boolean TryParseTimeSpanConstant(String input, ref TimeSpanResult result) { 1365private String str; 1385internal bool TryParse(String input, ref TimeSpanResult result) { 1522private static Boolean TryParseExactMultipleTimeSpan(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, ref TimeSpanResult result) {
system\globalization\umalquracalendar.cs (7)
384String.Format( 403String.Format( 531String.Format( 715String.Format( 777String.Format( 809String.Format( 838String.Format(
system\guid.cs (30)
234public Guid(String g) 253public static Guid Parse(String input) 270public static bool TryParse(String input, out Guid result) 284public static Guid ParseExact(String input, String format) 328public static bool TryParseExact(String input, String format, out Guid result) 372private static bool TryParseGuid(String g, GuidStyles flags, ref GuidResult result) 378String guidString = g.Trim(); //Remove Whitespace 466private static bool TryParseGuidWithHexPrefix(String guidString, ref GuidResult result) { 474if(String.IsNullOrEmpty(guidString) || guidString[0] != '{') { 604private static bool TryParseGuidWithNoStyle(String guidString, ref GuidResult result) { 673private static bool TryParseGuidWithDashes(String guidString, ref GuidResult result) { 755private static unsafe bool StringToShort(String str, int requiredLength, int flags, out short result, ref GuidResult parseResult) { 759private static unsafe bool StringToShort(String str, ref int parsePos, int requiredLength, int flags, out short result, ref GuidResult parseResult) { 765private static unsafe bool StringToShort(String str, int* parsePos, int requiredLength, int flags, out short result, ref GuidResult parseResult) { 774private static unsafe bool StringToInt(String str, int requiredLength, int flags, out int result, ref GuidResult parseResult) { 778private static unsafe bool StringToInt(String str, ref int parsePos, int requiredLength, int flags, out int result, ref GuidResult parseResult) { 784private static unsafe bool StringToInt(String str, int* parsePos, int requiredLength, int flags, out int result, ref GuidResult parseResult) { 821private static unsafe bool StringToLong(String str, int flags, out long result, ref GuidResult parseResult) { 825private static unsafe bool StringToLong(String str, ref int parsePos, int flags, out long result, ref GuidResult parseResult) { 831private static unsafe bool StringToLong(String str, int* parsePos, int flags, out long result, ref GuidResult parseResult) { 862private static String EatAllWhitespace(String str) 882private static bool IsHexPrefix(String str, int i) 918public override String ToString() 1156public String ToString(String format) { 1194public String ToString(String format, IFormatProvider provider)
system\iappdomain.cs (32)
53String ToString(); 96String dir); 110String dir, 115String dir, 129String dir, 137String dir, 144ObjectHandle CreateInstance(String assemblyName, 145String typeName); 148ObjectHandle CreateInstanceFrom(String assemblyFile, 149String typeName); 152ObjectHandle CreateInstance(String assemblyName, 153String typeName, 156ObjectHandle CreateInstanceFrom(String assemblyFile, 157String typeName, 160ObjectHandle CreateInstance(String assemblyName, 161String typeName, 170ObjectHandle CreateInstanceFrom(String assemblyFile, 171String typeName, 182Assembly Load(String assemblyString); 196Assembly Load(String assemblyString, 200int ExecuteAssembly(String assemblyFile, 204int ExecuteAssembly(String assemblyFile); 207int ExecuteAssembly(String assemblyFile, 209String[] args); 211String FriendlyName 214String BaseDirectory 220String RelativeSearchPath 229void AppendPrivatePath(String path); 235void SetShadowCopyPath (String s); 241void SetCachePath (String s); 244void SetData(String name, Object data); 266String DynamicDirectory
system\iappdomainsetup.cs (10)
26String ApplicationBase { 31String ApplicationName 37String CachePath 43String ConfigurationFile { 48String DynamicBase 54String LicenseFile 60String PrivateBinPath 66String PrivateBinPathProbe 72String ShadowCopyDirectories 78String ShadowCopyFiles
system\iconvertible.cs (1)
67String ToString(IFormatProvider provider);
system\icustomformatter.cs (2)
24String Format (String format, Object arg, IFormatProvider formatProvider);
system\iformattable.cs (2)
18String ToString(String format, IFormatProvider formatProvider);
system\indexoutofrangeexception.cs (2)
28public IndexOutOfRangeException(String message) 33public IndexOutOfRangeException(String message, Exception innerException)
system\insufficientexecutionstackexception.cs (2)
31public InsufficientExecutionStackException(String message) 37public InsufficientExecutionStackException(String message, Exception innerException)
system\insufficientmemoryexception.cs (2)
34public InsufficientMemoryException(String message) 39public InsufficientMemoryException(String message, Exception innerException)
system\int16.cs (21)
85public override String ToString() { 86Contract.Ensures(Contract.Result<String>() != null); 91public String ToString(IFormatProvider provider) { 92Contract.Ensures(Contract.Result<String>() != null); 96public String ToString(String format) { 97Contract.Ensures(Contract.Result<String>() != null); 101public String ToString(String format, IFormatProvider provider) { 102Contract.Ensures(Contract.Result<String>() != null); 107private String ToString(String format, NumberFormatInfo info) { 108Contract.Ensures(Contract.Result<String>() != null); 117public static short Parse(String s) { 121public static short Parse(String s, NumberStyles style) { 126public static short Parse(String s, IFormatProvider provider) { 130public static short Parse(String s, NumberStyles style, IFormatProvider provider) { 135private static short Parse(String s, NumberStyles style, NumberFormatInfo info) { 158public static bool TryParse(String s, out Int16 result) { 162public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out Int16 result) { 167private static bool TryParse(String s, NumberStyles style, NumberFormatInfo info, out Int16 result) {
system\int32.cs (16)
92public override String ToString() { 93Contract.Ensures(Contract.Result<String>() != null); 99public String ToString(String format) { 100Contract.Ensures(Contract.Result<String>() != null); 106public String ToString(IFormatProvider provider) { 107Contract.Ensures(Contract.Result<String>() != null); 113public String ToString(String format, IFormatProvider provider) { 114Contract.Ensures(Contract.Result<String>() != null); 119public static int Parse(String s) { 124public static int Parse(String s, NumberStyles style) { 134public static int Parse(String s, IFormatProvider provider) { 143public static int Parse(String s, NumberStyles style, IFormatProvider provider) { 152public static bool TryParse(String s, out Int32 result) { 160public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out Int32 result) {
system\int64.cs (16)
90public override String ToString() { 91Contract.Ensures(Contract.Result<String>() != null); 96public String ToString(IFormatProvider provider) { 97Contract.Ensures(Contract.Result<String>() != null); 102public String ToString(String format) { 103Contract.Ensures(Contract.Result<String>() != null); 108public String ToString(String format, IFormatProvider provider) { 109Contract.Ensures(Contract.Result<String>() != null); 113public static long Parse(String s) { 117public static long Parse(String s, NumberStyles style) { 122public static long Parse(String s, IFormatProvider provider) { 131public static long Parse(String s, NumberStyles style, IFormatProvider provider) { 136public static Boolean TryParse(String s, out Int64 result) { 140public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Int64 result) {
system\internal.cs (1)
133new KeyValuePair<Object, Int32>(String.Empty, Int32.MinValue);
system\intptr.cs (4)
141public unsafe override String ToString() { 150public unsafe String ToString(String format) 152Contract.Ensures(Contract.Result<String>() != null);
system\invalidcastexception.cs (3)
28public InvalidCastException(String message) 33public InvalidCastException(String message, Exception innerException) 41public InvalidCastException(String message, int errorCode)
system\invalidoperationexception.cs (2)
29public InvalidOperationException(String message) 34public InvalidOperationException(String message, Exception innerException)
system\invalidprogramexception.cs (2)
28public InvalidProgramException(String message) 33public InvalidProgramException(String message, Exception inner)
system\invalidtimezoneexception.cs (2)
15public InvalidTimeZoneException(String message) 18public InvalidTimeZoneException(String message, Exception innerException)
system\io\__consolestream.cs (2)
137__Error.WinIOError(errCode, String.Empty); 163__Error.WinIOError(errCode, String.Empty);
system\io\__error.cs (9)
80internal static String GetDisplayablePath(String path, bool isInvalidPath) 82if (String.IsNullOrEmpty(path)) 83return String.Empty; 126WinIOError(errorCode, String.Empty); 135internal static void WinIOError(int errorCode, String maybeFullPath) { 138String str = GetDisplayablePath(maybeFullPath, isInvalidPath); 194internal static void WinIODriveError(String driveName) { 200internal static void WinIODriveError(String driveName, int errorCode)
system\io\binaryreader.cs (3)
244public virtual String ReadString() { 245Contract.Ensures(Contract.Result<String>() != null); 263return String.Empty;
system\io\binarywriter.cs (1)
355public unsafe virtual void Write(String value)
system\io\directory.cs (185)
43public static DirectoryInfo GetParent(String path) 52String fullPath = Path.GetFullPathInternal(path); 54String s = Path.GetDirectoryName(fullPath); 63public static DirectoryInfo CreateDirectory(String path) { 91internal static DirectoryInfo UnsafeCreateDirectory(String path) 120String fullPath = Path.GetFullPathInternal(path); 160public static DirectoryInfo CreateDirectory(String path, DirectorySecurity directorySecurity) 182internal static String GetDemandDir(string fullPath, bool thisDirOnly) 184String demandPath; 205internal static void InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) 214internal unsafe static void InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, bool checkHost) 254String dir = fullPath.Substring(0, i+1); 278String[] securityList = new String[stackDir.Count]; 321String errorString = path; 324String name = stackDir[stackDir.Count - 1]; 363String root = InternalGetDirectoryRoot(fullPath); 387public static bool Exists(String path) 395internal static bool UnsafeExists(String path) 403internal static bool InternalExistsHelper(String path, bool checkHost) 433internal static bool InternalExists(String path) { 443internal static bool InternalExists(String path, out int lastError) { 453public static void SetCreationTime(String path,DateTime creationTime) 461public unsafe static void SetCreationTimeUtc(String path,DateTime creationTimeUtc) 476public static DateTime GetCreationTime(String path) 483public static DateTime GetCreationTimeUtc(String path) 490public static void SetLastWriteTime(String path,DateTime lastWriteTime) 498public unsafe static void SetLastWriteTimeUtc(String path,DateTime lastWriteTimeUtc) 513public static DateTime GetLastWriteTime(String path) 520public static DateTime GetLastWriteTimeUtc(String path) 527public static void SetLastAccessTime(String path,DateTime lastAccessTime) 535public unsafe static void SetLastAccessTimeUtc(String path,DateTime lastAccessTimeUtc) 550public static DateTime GetLastAccessTime(String path) 557public static DateTime GetLastAccessTimeUtc(String path) 565public static DirectorySecurity GetAccessControl(String path) 572public static DirectorySecurity GetAccessControl(String path, AccessControlSections includeSections) 580public static void SetAccessControl(String path, DirectorySecurity directorySecurity) 586String fullPath = Path.GetFullPathInternal(path); 594public static String[] GetFiles(String path) 598Contract.Ensures(Contract.Result<String[]>() != null); 608public static String[] GetFiles(String path, String searchPattern) 614Contract.Ensures(Contract.Result<String[]>() != null); 624public static String[] GetFiles(String path, String searchPattern, SearchOption searchOption) 632Contract.Ensures(Contract.Result<String[]>() != null); 642private static String[] InternalGetFiles(String path, String searchPattern, SearchOption searchOption) 654internal static String[] UnsafeGetFiles(String path, String searchPattern, SearchOption searchOption) 666public static String[] GetDirectories(String path) 670Contract.Ensures(Contract.Result<String[]>() != null); 680public static String[] GetDirectories(String path, String searchPattern) 686Contract.Ensures(Contract.Result<String[]>() != null); 696public static String[] GetDirectories(String path, String searchPattern, SearchOption searchOption) 704Contract.Ensures(Contract.Result<String[]>() != null); 714private static String[] InternalGetDirectories(String path, String searchPattern, SearchOption searchOption) 719Contract.Ensures(Contract.Result<String[]>() != null); 727internal static String[] UnsafeGetDirectories(String path, String searchPattern, SearchOption searchOption) 732Contract.Ensures(Contract.Result<String[]>() != null); 740public static String[] GetFileSystemEntries(String path) 744Contract.Ensures(Contract.Result<String[]>() != null); 754public static String[] GetFileSystemEntries(String path, String searchPattern) 760Contract.Ensures(Contract.Result<String[]>() != null); 770public static String[] GetFileSystemEntries(String path, String searchPattern, SearchOption searchOption) 778Contract.Ensures(Contract.Result<String[]>() != null); 786private static String[] InternalGetFileSystemEntries(String path, String searchPattern, SearchOption searchOption) 800public SearchData(String fullPath, String userPath, SearchOption searchOption) 824internal static String[] InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, bool includeFiles, bool includeDirs, SearchOption searchOption, bool checkHost) 831IEnumerable<String> enble = FileSystemEnumerableFactory.CreateFileNameIterator( 834List<String> fileList = new List<String>(enble); 840public static IEnumerable<String> EnumerateDirectories(String path) 851public static IEnumerable<String> EnumerateDirectories(String path, String searchPattern) 864public static IEnumerable<String> EnumerateDirectories(String path, String searchPattern, SearchOption searchOption) 879private static IEnumerable<String> InternalEnumerateDirectories(String path, String searchPattern, SearchOption searchOption) 890public static IEnumerable<String> EnumerateFiles(String path) 894Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 902public static IEnumerable<String> EnumerateFiles(String path, String searchPattern) 908Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 916public static IEnumerable<String> EnumerateFiles(String path, String searchPattern, SearchOption searchOption) 924Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 932private static IEnumerable<String> InternalEnumerateFiles(String path, String searchPattern, SearchOption searchOption) 937Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 944public static IEnumerable<String> EnumerateFileSystemEntries(String path) 948Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 956public static IEnumerable<String> EnumerateFileSystemEntries(String path, String searchPattern) 962Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 970public static IEnumerable<String> EnumerateFileSystemEntries(String path, String searchPattern, SearchOption searchOption) 978Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 986private static IEnumerable<String> InternalEnumerateFileSystemEntries(String path, String searchPattern, SearchOption searchOption) 991Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 996private static IEnumerable<String> EnumerateFileSystemNames(String path, String searchPattern, SearchOption searchOption, 1002Contract.Ensures(Contract.Result<IEnumerable<String>>() != null); 1014public static String[] GetLogicalDrives() 1016Contract.Ensures(Contract.Result<String[]>() != null); 1031String[] result = new String[count]; 1078public static String GetCurrentDirectory() 1086internal static String UnsafeGetCurrentDirectory() 1172public static void SetCurrentDirectory(String path) 1189String fulldestDirName = Path.GetFullPathInternal(path); 1205public static void Move(String sourceDirName,String destDirName) { 1212internal static void UnsafeMove(String sourceDirName, String destDirName) { 1219private static void InternalMove(String sourceDirName, String destDirName, bool checkHost) { 1231String fullsourceDirName = Path.GetFullPathInternal(sourceDirName); 1232String sourcePath = GetDemandDir(fullsourceDirName, false); 1237String fulldestDirName = Path.GetFullPathInternal(destDirName); 1238String destPath = GetDemandDir(fulldestDirName, false); 1255if (String.Compare(sourcePath, destPath, StringComparison.OrdinalIgnoreCase) == 0) 1258String sourceRoot = Path.GetPathRoot(sourcePath); 1259String destinationRoot = Path.GetPathRoot(destPath); 1260if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0) 1274__Error.WinIOError(hr, String.Empty); 1281public static void Delete(String path) 1283String fullPath = Path.GetFullPathInternal(path); 1290public static void Delete(String path, bool recursive) 1292String fullPath = Path.GetFullPathInternal(path); 1299internal static void UnsafeDelete(String path, bool recursive) 1301String fullPath = Path.GetFullPathInternal(path); 1310internal static void Delete(String fullPath, String userPath, bool recursive, bool checkHost) 1312String demandPath; 1355private static void DeleteHelper(String fullPath, String userPath, bool recursive, bool throwOnTopLevelDirectoryNotFound, ref Win32Native.WIN32_FIND_DATA data) 1394String newFullPath = Path.CombineNoChecks(fullPath, fileName); 1395String newUserPath = Path.CombineNoChecks(userPath, fileName); 1410String mountPoint = Path.CombineNoChecks(fullPath, fileName + Path.DirectorySeparatorChar); 1429String reparsePoint = Path.CombineNoChecks(fullPath, fileName); 1497private static SafeFileHandle OpenHandle(String path) 1499String fullPath = Path.GetFullPathInternal(path); 1500String root = Path.GetPathRoot(fullPath);
system\io\directoryinfo.cs (44)
75public DirectoryInfo(String path) 111internal DirectoryInfo(String fullPath, bool junk) 202public DirectoryInfo CreateSubdirectory(String path) { 214public DirectoryInfo CreateSubdirectory(String path, DirectorySecurity directorySecurity) 237private DirectoryInfo CreateSubdirectoryHelper(String path, Object directorySecurity) 241String newDirs = Path.InternalCombine(FullPath, path); 242String fullPath = Path.GetFullPathInternal(newDirs); 244if (0!=String.Compare(FullPath,0,fullPath,0, FullPath.Length,StringComparison.OrdinalIgnoreCase)) { 245String displayPath = __Error.GetDisplayablePath(DisplayPath, false); 250String demandDirForCreation = Directory.GetDemandDir(fullPath, true); 332public FileInfo[] GetFiles(String searchPattern) 345public FileInfo[] GetFiles(String searchPattern, SearchOption searchOption) 360private FileInfo[] InternalGetFiles(String searchPattern, SearchOption searchOption) 390public FileSystemInfo[] GetFileSystemInfos(String searchPattern) 403public FileSystemInfo[] GetFileSystemInfos(String searchPattern, SearchOption searchOption) 418private FileSystemInfo[] InternalGetFileSystemInfos(String searchPattern, SearchOption searchOption) 442public DirectoryInfo[] GetDirectories(String searchPattern) 456public DirectoryInfo[] GetDirectories(String searchPattern, SearchOption searchOption) 472private DirectoryInfo[] InternalGetDirectories(String searchPattern, SearchOption searchOption) 491public IEnumerable<DirectoryInfo> EnumerateDirectories(String searchPattern) 502public IEnumerable<DirectoryInfo> EnumerateDirectories(String searchPattern, SearchOption searchOption) 515private IEnumerable<DirectoryInfo> InternalEnumerateDirectories(String searchPattern, SearchOption searchOption) 532public IEnumerable<FileInfo> EnumerateFiles(String searchPattern) 543public IEnumerable<FileInfo> EnumerateFiles(String searchPattern, SearchOption searchOption) 556private IEnumerable<FileInfo> InternalEnumerateFiles(String searchPattern, SearchOption searchOption) 573public IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(String searchPattern) 584public IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption) 597private IEnumerable<FileSystemInfo> InternalEnumerateFileSystemInfos(String searchPattern, SearchOption searchOption) 621String demandPath; 623String rootPath = FullPath.Substring(0, rootLength); 662String fullSourcePath; 668if (String.Compare(fullSourcePath, fullDestDirName, StringComparison.OrdinalIgnoreCase) == 0) 671String sourceRoot = Path.GetPathRoot(fullSourcePath); 672String destinationRoot = Path.GetPathRoot(fullDestDirName); 674if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0) 716public override String ToString() 721private static String GetDisplayName(String originalPath, String fullPath) 726String displayName = ""; 744private static String GetDirName(String fullPath) 748String dirName = null; 751String s = fullPath;
system\io\directorynotfoundexception.cs (2)
35public DirectoryNotFoundException(String message) 40public DirectoryNotFoundException(String message, Exception innerException)
system\io\driveinfo.cs (14)
49private String _name; 51private const String NameField = "_name"; // For serialization 56public DriveInfo(String driveName) 86String demandPath = _name + '.'; 94_name = (String) info.GetValue(NameField, typeof(String)); 97String demandPath = _name + '.'; 101public String Name { 113public String DriveFormat { 212String[] drives = Directory.GetLogicalDrives(); 228public String VolumeLabel { 262String demandPath = _name + '.'; 282public override String ToString() 293info.AddValue(NameField, _name, typeof(String));
system\io\drivenotfoundexception.cs (2)
30public DriveNotFoundException(String message) 35public DriveNotFoundException(String message, Exception innerException)
system\io\endofstreamexception.cs (2)
31public EndOfStreamException(String message) 36public EndOfStreamException(String message, Exception innerException)
system\io\file.cs (144)
45public static StreamReader OpenText(String path) 55public static StreamWriter CreateText(String path) 65public static StreamWriter AppendText(String path) 85public static void Copy(String sourceFileName, String destFileName) { 110public static void Copy(String sourceFileName, String destFileName, bool overwrite) { 127internal static void UnsafeCopy(String sourceFileName, String destFileName, bool overwrite) { 147internal static String InternalCopy(String sourceFileName, String destFileName, bool overwrite, bool checkHost) { 153String fullSourceFileName = Path.GetFullPathInternal(sourceFileName); 154String fullDestFileName = Path.GetFullPathInternal(destFileName); 172String fileName = destFileName; 206public static FileStream Create(String path) { 220public static FileStream Create(String path, int bufferSize) { 226public static FileStream Create(String path, int bufferSize, FileOptions options) { 232public static FileStream Create(String path, int bufferSize, FileOptions options, FileSecurity fileSecurity) { 250public static void Delete(String path) { 276internal static void UnsafeDelete(String path) 288internal static void InternalDelete(String path, bool checkHost) 290String fullPath = Path.GetFullPathInternal(path); 317public static void Decrypt(String path) 327String fullPath = Path.GetFullPathInternal(path); 337if (!String.Equals("NTFS", di.DriveFormat)) 348public static void Encrypt(String path) 358String fullPath = Path.GetFullPathInternal(path); 368if (!String.Equals("NTFS", di.DriveFormat)) 386public static bool Exists(String path) 408internal static bool UnsafeExists(String path) 416private static bool InternalExistsHelper(String path, bool checkHost) 457internal static bool InternalExists(String path) { 467public static FileStream Open(String path, FileMode mode) { 473public static FileStream Open(String path, FileMode mode, FileAccess access) { 479public static FileStream Open(String path, FileMode mode, FileAccess access, FileShare share) { 485public static void SetCreationTime(String path, DateTime creationTime) 493public unsafe static void SetCreationTimeUtc(String path, DateTime creationTimeUtc) 510public static DateTime GetCreationTime(String path) 518public static DateTime GetCreationTimeUtc(String path) 526private static DateTime InternalGetCreationTimeUtc(String path, bool checkHost) 528String fullPath = Path.GetFullPathInternal(path); 549public static void SetLastAccessTime(String path, DateTime lastAccessTime) 557public unsafe static void SetLastAccessTimeUtc(String path, DateTime lastAccessTimeUtc) 574public static DateTime GetLastAccessTime(String path) 582public static DateTime GetLastAccessTimeUtc(String path) 590private static DateTime InternalGetLastAccessTimeUtc(String path, bool checkHost) 592String fullPath = Path.GetFullPathInternal(path); 613public static void SetLastWriteTime(String path, DateTime lastWriteTime) 621public unsafe static void SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc) 638public static DateTime GetLastWriteTime(String path) 646public static DateTime GetLastWriteTimeUtc(String path) 654private static DateTime InternalGetLastWriteTimeUtc(String path, bool checkHost) 656String fullPath = Path.GetFullPathInternal(path); 678public static FileAttributes GetAttributes(String path) 680String fullPath = Path.GetFullPathInternal(path); 703public static void SetAttributes(String path, FileAttributes fileAttributes) 705String fullPath = Path.GetFullPathInternal(path); 721public static FileSecurity GetAccessControl(String path) 728public static FileSecurity GetAccessControl(String path, AccessControlSections includeSections) 737public static void SetAccessControl(String path, FileSecurity fileSecurity) 743String fullPath = Path.GetFullPathInternal(path); 754public static FileStream OpenRead(String path) { 775public static FileStream OpenWrite(String path) { 783public static String ReadAllText(String path) 797public static String ReadAllText(String path, Encoding encoding) 813internal static String UnsafeReadAllText(String path) 827private static String InternalReadAllText(String path, Encoding encoding, bool checkHost) 840public static void WriteAllText(String path, String contents) 854public static void WriteAllText(String path, String contents, Encoding encoding) 870internal static void UnsafeWriteAllText(String path, String contents) 884private static void InternalWriteAllText(String path, String contents, Encoding encoding, bool checkHost) 897public static byte[] ReadAllBytes(String path) 905internal static byte[] UnsafeReadAllBytes(String path) 914private static byte[] InternalReadAllBytes(String path, bool checkHost) 940public static void WriteAllBytes(String path, byte[] bytes) 956internal static void UnsafeWriteAllBytes(String path, byte[] bytes) 972private static void InternalWriteAllBytes(String path, byte[] bytes, bool checkHost) 987public static String[] ReadAllLines(String path) 1000public static String[] ReadAllLines(String path, Encoding encoding) 1015private static String[] InternalReadAllLines(String path, Encoding encoding) 1021String line; 1022List<String> lines = new List<String>(); 1033public static IEnumerable<String> ReadLines(String path) 1046public static IEnumerable<String> ReadLines(String path, Encoding encoding) 1061public static void WriteAllLines(String path, String[] contents) 1076public static void WriteAllLines(String path, String[] contents, Encoding encoding) 1093public static void WriteAllLines(String path, IEnumerable<String> contents) 1108public static void WriteAllLines(String path, IEnumerable<String> contents, Encoding encoding) 1125private static void InternalWriteAllLines(TextWriter writer, IEnumerable<String> contents) 1132foreach (String line in contents) 1141public static void AppendAllText(String path, String contents) 1154public static void AppendAllText(String path, String contents, Encoding encoding) 1169private static void InternalAppendAllText(String path, String contents, Encoding encoding) 1181public static void AppendAllLines(String path, IEnumerable<String> contents) 1196public static void AppendAllLines(String path, IEnumerable<String> contents, Encoding encoding) 1222public static void Move(String sourceFileName, String destFileName) { 1229internal static void UnsafeMove(String sourceFileName, String destFileName) { 1236private static void InternalMove(String sourceFileName, String destFileName, bool checkHost) { 1247String fullSourceFileName = Path.GetFullPathInternal(sourceFileName); 1248String fullDestFileName = Path.GetFullPathInternal(destFileName); 1274public static void Replace(String sourceFileName, String destinationFileName, String destinationBackupFileName) 1287public static void Replace(String sourceFileName, String destinationFileName, String destinationBackupFileName, bool ignoreMetadataErrors) 1301private static void InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, bool ignoreMetadataErrors) 1308String fullSrcPath = Path.GetFullPathInternal(sourceFileName); 1309String fullDestPath = Path.GetFullPathInternal(destinationFileName); 1310String fullBackupPath = null; 1334FileIOPermission perm = new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, new String[] { fullSrcPath, fullDestPath }); 1356internal static int FillAttributeInfo(String path, ref Win32Native.WIN32_FILE_ATTRIBUTE_DATA data, bool tryagain, bool returnErrorOnNotFound) 1365String tempPath = path.TrimEnd(new char [] {Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar}); 1455private static FileStream OpenFile(String path, FileAccess access, out SafeFileHandle handle) 1468String FullPath = Path.GetFullPathInternal(path);
system\io\fileinfo.cs (20)
40private String _name; 69public FileInfo(String fileName) 98private void Init(String fileName, bool checkHost) 102String fullPath = Path.GetFullPathInternal(fileName); 118private String GetDisplayPath(String originalPath) 141internal FileInfo(String fullPath, bool ignoreThis) 161public override String Name { 182public String DirectoryName 187String directoryName = Path.GetDirectoryName(FullPath); 208String dirName = DirectoryName; 284public FileInfo CopyTo(String destFileName) { 307public FileInfo CopyTo(String destFileName, bool overwrite) { 457public void MoveTo(String destFileName) { 464String fullDestFileName = Path.GetFullPathInternal(destFileName); 488public FileInfo Replace(String destinationFileName, String destinationBackupFileName) 496public FileInfo Replace(String destinationFileName, String destinationBackupFileName, bool ignoreMetadataErrors) 503public override String ToString()
system\io\fileloadexception.cs (20)
35private String _fileName; // the name of the file we could not load. 36private String _fusionLog; // fusion log (when applicable) 43public FileLoadException(String message) 48public FileLoadException(String message, Exception inner) 53public FileLoadException(String message, String fileName) : base(message) 59public FileLoadException(String message, String fileName, Exception inner) 65public override String Message 79public String FileName { 98public override String ToString() 100String s = GetType().FullName + ": " + Message; 148private FileLoadException(String fileName, String fusionLog,int hResult) 158public String FusionLog { 172info.AddValue("FileLoad_FileName", _fileName, typeof(String)); 176info.AddValue("FileLoad_FusionLog", FusionLog, typeof(String)); 185internal static String FormatFileLoadExceptionMessage(String fileName, 194return String.Format(CultureInfo.CurrentCulture, format, fileName, message);
system\io\filenotfoundexception.cs (17)
31private String _fileName; // The name of the file that isn't found. 32private String _fusionLog; // fusion log (when applicable) 39public FileNotFoundException(String message) 44public FileNotFoundException(String message, Exception innerException) 49public FileNotFoundException(String message, String fileName) : base(message) 55public FileNotFoundException(String message, String fileName, Exception innerException) 61public override String Message 81public String FileName { 85public override String ToString() 87String s = GetType().FullName + ": " + Message; 134private FileNotFoundException(String fileName, String fusionLog,int hResult) 144public String FusionLog { 158info.AddValue("FileNotFound_FileName", _fileName, typeof(String)); 162info.AddValue("FileNotFound_FusionLog", FusionLog, typeof(String));
system\io\filestream.cs (33)
319BCLDebug.Log(String.Format("AsyncFSCallback called. errorCode: " + errorCode + " numBytes: " + numBytes)); 389__Error.WinIOError(errorCode, String.Empty); 409private String _fileName; // Fully qualified file name. 511public FileStream(String path, FileMode mode) 518public FileStream(String path, FileMode mode, FileAccess access) 525public FileStream(String path, FileMode mode, FileAccess access, FileShare share) 532public FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize) 541public FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options) 553public FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync) 564public FileStream(String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options, FileSecurity fileSecurity) 582public FileStream(String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options) 592internal FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, String msgPath, bool bFromProxy) 601internal FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, String msgPath, bool bFromProxy, bool useLongPath) 610internal FileStream(String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, String msgPath, bool bFromProxy, bool useLongPath, bool checkHost) 620private void Init(String path, FileMode mode, FileAccess access, int rights, bool useRights, FileShare share, int bufferSize, FileOptions options, Win32Native.SECURITY_ATTRIBUTES secAttrs, String msgPath, bool bFromProxy, bool useLongPath, bool checkHost) 642String badArg = null; 801FileIOPermission.QuickDemand(secAccess, control, new String[] { filePath }, false, false); 842String tempPath = filePath; 1186__Error.WinIOError(hr, String.Empty); 1198public String Name { 1213internal String NameInternal { 1485__Error.WinIOError(hr, String.Empty); 1599__Error.WinIOError(hr, String.Empty); 1718__Error.WinIOError(hr, String.Empty); 1859__Error.WinIOError(hr, String.Empty); 2097__Error.WinIOError(hr, String.Empty); 2149__Error.WinIOError(afsar.ErrorCode, String.Empty); 2354__Error.WinIOError(hr, String.Empty); 2404__Error.WinIOError(afsar.ErrorCode, String.Empty);
system\io\filesystemenumerable.cs (47)
40internal static IEnumerable<String> CreateFileNameIterator(String path, String originalUserPath, String searchPattern, 47SearchResultHandler<String> handler = new StringResultHandler(includeFiles, includeDirs); 48return new FileSystemEnumerableIterator<String>(path, originalUserPath, searchPattern, searchOption, handler, checkHost); 51internal static IEnumerable<FileInfo> CreateFileInfoIterator(String path, String originalUserPath, String searchPattern, SearchOption searchOption) 61internal static IEnumerable<DirectoryInfo> CreateDirectoryInfoIterator(String path, String originalUserPath, String searchPattern, SearchOption searchOption) 72internal static IEnumerable<FileSystemInfo> CreateFileSystemInfoIterator(String path, String originalUserPath, String searchPattern, SearchOption searchOption) 172private String searchCriteria; 185private String userPath; 187private String fullPath; 188private String normalizedSearchPath; 193internal FileSystemEnumerableIterator(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler<TSource> resultHandler, bool checkHost) 205String normalizedSearchPattern = NormalizeSearchPattern(searchPattern); 217String fullSearchString = GetFullSearchString(fullPath, normalizedSearchPattern); 247String searchPatternDirName = Path.GetDirectoryName(normalizedSearchPattern); 248String userPathTemp = originalUserPath; 268String searchPath = Path.InternalCombine(searchData.fullPath, searchCriteria); 315private FileSystemEnumerableIterator(String fullPath, String normalizedSearchPath, String searchCriteria, String userPath, SearchOption searchOption, SearchResultHandler<TSource> resultHandler, bool checkHost) 426String searchPath = Path.InternalCombine(searchData.fullPath, searchCriteria); 516private void HandleError(int hr, String path) 527String searchPath = Path.InternalCombine(localSearchData.fullPath, "*"); 581internal void DoDemand(String fullPathToDemand) 590String demandDir = Directory.GetDemandDir(fullPathToDemand, true); 595private static String NormalizeSearchPattern(String searchPattern) 600String tempSearchPattern = searchPattern.TrimEnd(Path.TrimEndChars); 612private static String GetNormalizedSearchCriteria(String fullSearchString, String fullPathMod) 618String searchCriteria = null; 633private static String GetFullSearchString(String fullPath, String searchPattern) 638String tempStr = Path.InternalCombine(fullPath, searchPattern);
system\io\filesysteminfo.cs (9)
53protected String FullPath; // fully qualified path of the directory 54protected String OriginalPath; // path passed in by the user 55private String _displayPath = ""; // path that can be displayed to the user 121public String Extension 134return String.Empty; 140public abstract String Name { 340info.AddValue("OriginalPath", OriginalPath, typeof(String)); 341info.AddValue("FullPath", FullPath, typeof(String)); 344internal String DisplayPath
system\io\ioexception.cs (6)
36private String _maybeFullPath; // For debuggers on partial trust code 43public IOException(String message) 48public IOException(String message, int hresult) 56internal IOException(String message, int hresult, String maybeFullPath) 62public IOException(String message, Exception innerException)
system\io\isolatedstorage\isolatedstorage.cs (27)
109private const String s_Publisher = "Publisher"; 111private const String s_StrongName = "StrongName"; 112private const String s_Site = "Site"; 113private const String s_Url = "Url"; 114private const String s_Zone = "Zone"; 123private String m_DomainName; 124private String m_AssemName; 125private String m_AppName; 201private String GetNameFromID(String typeID, String instanceID) 206private static String GetPredefinedTypeName(Object o) 228internal static String GetHash(Stream s) 321private static bool IsValidName(String s) 517internal String DomainName 530internal String AssemName 543internal String AppName 760Stream domain, Stream assem, Stream app, String domainName, String assemName, String appName) 840String typeHash = null, instanceHash = null; 870out String typeName, out String instanceName) 911else if (oNormalized is String) 913if (IsValidName((String)oNormalized)) 915instanceName = (String)oNormalized; 924bw.Write((String)oNormalized);
system\io\isolatedstorage\isolatedstorageexception.cs (2)
36public IsolatedStorageException(String message) 42public IsolatedStorageException(String message, Exception inner)
system\io\isolatedstorage\isolatedstoragefile.cs (125)
55private const String s_name = "file.store"; 56internal const String s_Files = "Files"; 57internal const String s_AssemFiles= "AssemFiles"; 58internal const String s_AppFiles= "AppFiles"; 59internal const String s_IDFile = "identity.dat"; 60internal const String s_InfoFile = "info.dat"; 61internal const String s_AppInfoFile = "appinfo.dat"; 63private static volatile String s_RootDirUser; 64private static volatile String s_RootDirMachine; 65private static volatile String s_RootDirRoaming; 66private static volatile String s_appDataDir; 74private String m_RootDir; 75private String m_InfoFile; 76private String m_SyncObjectName; 500public void DeleteFile(String file) 516String fullPath = GetFullPath(file); 559String isPath = GetFullPath(path); // Prepend IS root 560String fullPath = LongPath.NormalizePath(isPath); 573Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 603String isPath = GetFullPath(path); // Prepend IS root 604String fullPath = LongPath.NormalizePath(isPath); 617Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 632public void CreateDirectory(String dir) 641String isPath = GetFullPath(dir); // Prepend IS root 642String fullPath = LongPath.NormalizePath(isPath); 648Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 652String [] dirList = DirectoriesToCreate(fullPath); 711String isPath = GetFullPath(path); // Prepend IS root 712String fullPath = LongPath.NormalizePath(isPath); 717Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 752String isPath = GetFullPath(path); // Prepend IS root 753String fullPath = LongPath.NormalizePath(isPath); 758Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 793String isPath = GetFullPath(path); // Prepend IS root 794String fullPath = LongPath.NormalizePath(isPath); 799Demand(new FileIOPermission(FileIOPermissionAccess.Read, new String[] { fullPath }, false, false)); 861String sourceFileNameFullPath = LongPath.NormalizePath(GetFullPath(sourceFileName)); 862String destinationFileNameFullPath = LongPath.NormalizePath(GetFullPath(destinationFileName)); 867Demand(new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Read, new String[] { sourceFileNameFullPath }, false, false)); 868Demand(new FileIOPermission(FileIOPermissionAccess.Write, new String[] { destinationFileNameFullPath }, false, false)); 993String sourceFileNameFullPath = LongPath.NormalizePath(GetFullPath(sourceFileName)); 994String destinationFileNameFullPath = LongPath.NormalizePath(GetFullPath(destinationFileName)); 999Demand(new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Read, new String[] { sourceFileNameFullPath }, false, false)); 1000Demand(new FileIOPermission(FileIOPermissionAccess.Write, new String[] { destinationFileNameFullPath }, false, false)); 1059String sourceDirectoryNameFullPath = LongPath.NormalizePath(GetFullPath(sourceDirectoryName)); 1060String destinationDirectoryNameFullPath = LongPath.NormalizePath(GetFullPath(destinationDirectoryName)); 1065Demand(new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Read, new String[] { sourceDirectoryNameFullPath }, false, false)); 1066Demand(new FileIOPermission(FileIOPermissionAccess.Write, new String[] { destinationDirectoryNameFullPath }, false, false)); 1098private String[] DirectoriesToCreate(String fullPath) 1101List<String> list = new List<String>(); 1114String currDir = fullPath.Substring(0, i); 1132public void DeleteDirectory(String dir) 1146String normalizedDir = LongPath.NormalizePath(GetFullPath(dir)); 1184public String[] GetFileNames() { 1194public String[] GetFileNames(String searchPattern) 1210String[] retVal = GetFileDirectoryNames(GetFullPath(searchPattern), searchPattern, true); 1216public String[] GetDirectoryNames() { 1227public String[] GetDirectoryNames(String searchPattern) 1243String[] retVal = GetFileDirectoryNames(GetFullPath(searchPattern), searchPattern, false); 1248private static String NormalizeSearchPattern(String searchPattern) 1253String tempSearchPattern = searchPattern.TrimEnd(Path.TrimEndChars); 1288String rootDir, domainRoot = null; 1407private bool ContainsUnknownFiles(String rootDir) 1409String[] dirs, files; 1521private static bool NotIDFile(String file) 1523return (String.Compare( 1527private static bool NotInfoFile(String file) 1530String.Compare(file, IsolatedStorageFile.s_InfoFile, StringComparison.Ordinal) != 0 && 1531String.Compare(file, IsolatedStorageFile.s_AppInfoFile, StringComparison.Ordinal) != 0); 1534private static bool NotFilesDir(String dir) 1536return (String.Compare( 1539internal static bool NotAssemFilesDir(String dir) 1541return (String.Compare( 1545internal static bool NotAppFilesDir(String dir) 1547return (String.Compare( 1560String rootDir = GetRootDir(scope); 1592internal String RootDirectory 1598internal String GetFullPath(String path) 1602if (path == String.Empty) 1624private static String GetDataDirectoryFromActivationContext() 1633String dataDir = activationContext.DataDirectory; 1770String rootDir = sb.ToString(); 1955internal static String GetRootDir(IsolatedStorageScope scope) 1996String rndName = GetMachineRandomDirectory(rootDir); 2037String rootDir = null; 2055String rndName = GetRandomDirectory(rootDir, out bMigrateNeeded, out sOldStoreLocation); 2132internal static string CreateRandomDirectory(String rootDir) { 2163internal static string GetRandomDirectory(String rootDir, out bool bMigrateNeeded, out string sOldStoreLocation) 2167String[] nodes1 = GetFileDirectoryNames(rootDir + "*", "*", false); 2171String[] nodes2 = GetFileDirectoryNames(rootDir + nodes1[i] + "\\" + "*", "*", false); 2198String[] nodes1 = GetFileDirectoryNames(rootDir + "*", "*", false); 2202String[] nodes2 = GetFileDirectoryNames(rootDir + nodes1[i] + "\\" + "*", "*", false); 2223internal static String GetStrongHashSuitableForObjectName(string name) 2234private String GetSyncObjectName() 2381internal void CreateIDFile(String path, IsolatedStorageScope scope) 2408internal static String[] GetFileDirectoryNames(String path, String userSearchPattern, bool file) 2419return new String[0]; 2430String fullPath = LongPath.NormalizePath(path); 2440String dir = LongPath.GetDirectoryName(fullPath); 2447String[] demandPath = new String[1]; 2458String[] list = new String[10]; 2468return new String[0]; 2503String[] sa = new String[1]; 2525internal static extern SafeIsolatedStorageFileHandle Open(String infoFile, String syncName); 2583private String m_rootDir; 2612String domainName, assemName, appName; 2750private bool GetIDStream(String path, out Stream s) 2810public String Path1; 2811public String Path2; 2818private String m_Root; 2822private String[] m_RootDir; 2825private String[] m_SubDir; 2829public TwoLevelFileEnumerator(String root)
system\io\isolatedstorage\isolatedstoragefilestream.cs (12)
38private const String s_BackSlash = "\\"; 46private String m_GivenPath; 47private String m_FullPath; 55public IsolatedStorageFileStream(String path, FileMode mode) 61public IsolatedStorageFileStream(String path, FileMode mode, 70public IsolatedStorageFileStream(String path, FileMode mode, 79public IsolatedStorageFileStream(String path, FileMode mode, 88public IsolatedStorageFileStream(String path, FileMode mode, 96public IsolatedStorageFileStream(String path, FileMode mode, 104public IsolatedStorageFileStream(String path, FileMode mode, 115public IsolatedStorageFileStream(String path, FileMode mode, 753internal void NotPermittedError(String str) {
system\io\longpath.cs (105)
41internal unsafe static String NormalizePath(String path) 50internal unsafe static String NormalizePath(String path, bool fullCheck) 56internal static String InternalCombine(String path1, String path2) 64String tempPath1 = TryRemoveLongPathPrefix(path1, out removedPrefix); 66String tempResult = Path.InternalCombine(tempPath1, path2); 75internal static int GetRootLength(String path) 78String tempPath = TryRemoveLongPathPrefix(path, out removedPrefix); 92internal static bool IsPathRooted(String path) 95String tempPath = Path.RemoveLongPathPrefix(path); 111internal static String GetPathRoot(String path) 116String tempPath = TryRemoveLongPathPrefix(path, out removedPrefix); 119String result = path.Substring(0, GetRootLength(tempPath)); 137internal static String GetDirectoryName(String path) 142String tempPath = TryRemoveLongPathPrefix(path, out removedPrefix); 153String result = tempPath.Substring(0, i); 165internal static String TryRemoveLongPathPrefix(String path, out bool removed) 191internal static void Copy(String sourceFileName, String destFileName, bool overwrite) { 197String fullSourceFileName = LongPath.NormalizePath(sourceFileName); 199String fullDestFileName = LongPath.NormalizePath(destFileName); 208private static String InternalCopy(String fullSourceFileName, String fullDestFileName, String sourceFileName, String destFileName, bool overwrite) { 220String fileName = destFileName; 255internal static void Delete(String path) { 258String fullPath = LongPath.NormalizePath(path); 263String tempPath = Path.AddLongPathPrefix(fullPath); 284internal static bool Exists(String path) { 315internal static bool InternalExists(String path) { 317String tempPath = Path.AddLongPathPrefix(path); 324internal static DateTimeOffset GetCreationTime(String path) 328String fullPath = LongPath.NormalizePath(path); 331String tempPath = Path.AddLongPathPrefix(fullPath); 345internal static DateTimeOffset GetLastAccessTime(String path) 349String fullPath = LongPath.NormalizePath(path); 352String tempPath = Path.AddLongPathPrefix(fullPath); 365internal static DateTimeOffset GetLastWriteTime(String path) 369String fullPath = LongPath.NormalizePath(path); 372String tempPath = Path.AddLongPathPrefix(fullPath); 393internal static void Move(String sourceFileName, String destFileName) { 399String fullSourceFileName = LongPath.NormalizePath(sourceFileName); 401String fullDestFileName = LongPath.NormalizePath(destFileName); 407String tempSourceFileName = Path.AddLongPathPrefix(fullSourceFileName); 408String tempDestFileName = Path.AddLongPathPrefix(fullDestFileName); 418internal static long GetLength(String path) 422String fullPath = LongPath.NormalizePath(path); 425String tempPath = Path.AddLongPathPrefix(fullPath); 447internal static void CreateDirectory(String path) 452String fullPath = LongPath.NormalizePath(path); 458String demandDir = GetDemandDir(fullPath, true); 467private unsafe static void InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) 499String dir = fullPath.Substring(0, i + 1); 523String[] securityList = new String[stackDir.Count]; 555String errorString = path; 559String name = stackDir[stackDir.Count - 1]; 601String root = InternalGetDirectoryRoot(fullPath); 621internal static void Move(String sourceDirName, String destDirName) 628String fullsourceDirName = LongPath.NormalizePath(sourceDirName); 629String sourcePath = GetDemandDir(fullsourceDirName, false); 634String fulldestDirName = LongPath.NormalizePath(destDirName); 635String destPath = GetDemandDir(fulldestDirName, false); 643if (String.Compare(sourcePath, destPath, StringComparison.OrdinalIgnoreCase) == 0) 646String sourceRoot = LongPath.GetPathRoot(sourcePath); 647String destinationRoot = LongPath.GetPathRoot(destPath); 648if (String.Compare(sourceRoot, destinationRoot, StringComparison.OrdinalIgnoreCase) != 0) 652String tempSourceDirName = PathInternal.EnsureExtendedPrefix(sourceDirName); 653String tempDestDirName = PathInternal.EnsureExtendedPrefix(destDirName); 666__Error.WinIOError(hr, String.Empty); 673internal static void Delete(String path, bool recursive) 675String fullPath = LongPath.NormalizePath(path); 683private static void InternalDelete(String fullPath, String userPath, bool recursive) 685String demandPath; 694String longPath = Path.AddLongPathPrefix(fullPath); 721private static void DeleteHelper(String fullPath, String userPath, bool recursive, bool throwOnTopLevelDirectoryNotFound) 740String searchPath = null; 775String newFullPath = LongPath.InternalCombine(fullPath, data.cFileName); 776String newUserPath = LongPath.InternalCombine(userPath, data.cFileName); 796String mountPoint = LongPath.InternalCombine(fullPath, data.cFileName + Path.DirectorySeparatorChar); 820String reparsePoint = LongPath.InternalCombine(fullPath, data.cFileName); 844String fileName = LongPath.InternalCombine(fullPath, data.cFileName); 900internal static bool Exists(String path) 911String fullPath = LongPath.NormalizePath(path); 912String demandPath = GetDemandDir(fullPath, true); 934internal static bool InternalExists(String path) 944internal static bool InternalExists(String path, out int lastError) { 946String tempPath = Path.AddLongPathPrefix(path); 956private static String GetDemandDir(string fullPath, bool thisDirOnly) 958String demandPath; 979private static String InternalGetDirectoryRoot(String path)
system\io\path.cs (59)
114public static String ChangeExtension(String path, String extension) { 118String s = path; 228String dir = path.Substring(0, i); 300public static String GetExtension(String path) { 313return String.Empty; 318return String.Empty; 329public static String GetFullPath(String path) { 330String fullPath = GetFullPathInternal(path); 343internal static String UnsafeGetFullPath(String path) 345String fullPath = GetFullPathInternal(path); 361internal static String GetFullPathInternal(String path) { 374internal unsafe static String NormalizePath(String path, bool fullCheck) 382internal unsafe static String NormalizePath(String path, bool fullCheck, bool expandShortPaths) 390internal unsafe static String NormalizePath(String path, bool fullCheck, int maxPathLength) { 920String returnVal = newBuffer.ToString(); 921if (String.Equals(returnVal, path, StringComparison.Ordinal)) 1007public static String GetFileName(String path) { 1023public static String GetFileNameWithoutExtension(String path) { 1048public static String GetPathRoot(String path) { 1060public static String GetTempPath() 1067String path = sb.ToString(); 1085public static String GetRandomFileName() 1118public static String GetTempFileName() 1126internal static String UnsafeGetTempFileName() 1134private static String InternalGetTempFileName(bool checkHost) 1136String path = GetTempPath(); 1163public static bool HasExtension(String path) { 1186public static bool IsPathRooted(String path) { 1197public static String Combine(String path1, String path2) { 1207public static String Combine(String path1, String path2, String path3) { 1218public static String Combine(String path1, String path2, String path3, String path4) { 1230public static String Combine(params String[] paths) { 1310internal static String ToBase32StringSuitableForDirName(byte[] buff) 1372internal static void CheckSearchPattern(String searchPattern) 1397internal static String InternalCombine(String path1, String path2) {
system\io\pathhelper.cs (10)
188String.wstrcpy(m_arrayPtr, finalBuffer, result); 263String.wstrcpy(buffer, shortFileNameBuffer, r); 274String origName = sb.ToString(); 275String tempName = origName; 324String.wstrcpy(savedName, m_arrayPtr + lastSlash + 1, lenSavedName); 333String.wstrcpy(m_arrayPtr + Length, savedName, lenSavedName); 338String savedName = m_sb.ToString(lastSlash + 1, lenSavedName); 351internal unsafe bool OrdinalStartsWith(String compareTo, bool ignoreCase) { 358String s = new String(m_arrayPtr, 0, compareTo.Length); 381public override String ToString() {
system\io\pathtoolongexception.cs (2)
33public PathTooLongException(String message) 38public PathTooLongException(String message, Exception innerException)
system\io\streamreader.cs (19)
181public StreamReader(String path) 201public StreamReader(String path, bool detectEncodingFromByteOrderMarks) 207public StreamReader(String path, Encoding encoding) 213public StreamReader(String path, Encoding encoding, bool detectEncodingFromByteOrderMarks) 220public StreamReader(String path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize) 227internal StreamReader(String path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool checkHost) 426public override String ReadToEnd() 737public override String ReadLine() 759String s; 786public override Task<String> ReadLineAsync() 800Task<String> task = ReadLineAsyncInternal(); 806private async Task<String> ReadLineAsyncInternal() 828String s; 867public override Task<String> ReadToEndAsync() 881Task<String> task = ReadToEndAsyncInternal(); 887private async Task<String> ReadToEndAsyncInternal() 1287public override String ReadLine() { 1291public override String ReadToEnd() 1293return String.Empty;
system\io\streamwriter.cs (16)
155public StreamWriter(String path) 161public StreamWriter(String path, bool append) 167public StreamWriter(String path, bool append, Encoding encoding) 174public StreamWriter(String path, bool append, Encoding encoding, int bufferSize): this(path, append, encoding, bufferSize, true) { 180internal StreamWriter(String path, bool append, Encoding encoding, int bufferSize, bool checkHost) 213String callstack = null; 224private static Stream CreateFile(String path, bool append, bool checkHost) { 421public override void Write(String value) 512public override Task WriteAsync(String value) 542private static async Task WriteAsyncInternal(StreamWriter _this, String value, 732public override Task WriteLineAsync(String value) 871private String allocatedCallstack; // captures the callstack when this streamwriter was allocated 873internal MdaHelper(StreamWriter sw, String cs) 884String fileName = (streamWriter.stream is FileStream) ? ((FileStream)streamWriter.stream).NameInternal : "<unknown>"; 885String callStack = allocatedCallstack; 890String message = Environment.GetResourceString("IO_StreamWriterBufferedDataLost", streamWriter.stream.GetType().FullName, fileName, callStack);
system\io\stringreader.cs (9)
32private String _s; 36public StringReader(String s) { 107public override String ReadToEnd() 111String s; 126public override String ReadLine() { 133String result = _s.Substring(_pos, i - _pos); 141String result = _s.Substring(_pos, i - _pos); 151public override Task<String> ReadLineAsync() 157public override Task<String> ReadToEndAsync()
system\io\stringwriter.cs (4)
129public override void Write(String value) { 148public override Task WriteAsync(String value) 172public override Task WriteLineAsync(String value) 198public override String ToString() {
system\io\textreader.cs (11)
142public virtual String ReadToEnd() 144Contract.Ensures(Contract.Result<String>() != null); 177public virtual String ReadLine() 198public virtual Task<String> ReadLineAsync() 200return Task<String>.Factory.StartNew(_ReadLineDelegate, this, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 205public async virtual Task<String> ReadToEndAsync() 304public override String ReadLine() 361public override String ReadLine() 367public override String ReadToEnd() 379public override Task<String> ReadLineAsync() 386public override Task<String> ReadToEndAsync()
system\io\textwriter.cs (37)
99private const String InitialNewLine = "\r\n"; 166public virtual String NewLine { 286public virtual void Write(String value) { 326public virtual void Write(String format, Object arg0) 328Write(String.Format(FormatProvider, format, arg0)); 334public virtual void Write(String format, Object arg0, Object arg1) 336Write(String.Format(FormatProvider, format, arg0, arg1)); 342public virtual void Write(String format, Object arg0, Object arg1, Object arg2) 344Write(String.Format(FormatProvider, format, arg0, arg1, arg2)); 350public virtual void Write(String format, params Object[] arg) 352Write(String.Format(FormatProvider, format, arg)); 452public virtual void WriteLine(String value) { 508public virtual void WriteLine(String format, Object arg0) 510WriteLine(String.Format(FormatProvider, format, arg0)); 516public virtual void WriteLine (String format, Object arg0, Object arg1) 518WriteLine(String.Format(FormatProvider, format, arg0, arg1)); 524public virtual void WriteLine (String format, Object arg0, Object arg1, Object arg2) 526WriteLine(String.Format(FormatProvider, format, arg0, arg1, arg2)); 532public virtual void WriteLine (String format, params Object[] arg) 534WriteLine(String.Format(FormatProvider, format, arg)); 549public virtual Task WriteAsync(String value) 581public virtual Task WriteLineAsync(String value) 633public override void Write(String value) { 641public override void WriteLine(String value) { 665public override String NewLine { 747public override void Write(String value) { 757public override void Write(String format, Object arg0) { 762public override void Write(String format, Object arg0, Object arg1) { 767public override void Write(String format, Object arg0, Object arg1, Object arg2) { 772public override void Write(String format, Object[] arg) { 837public override void WriteLine(String value) { 847public override void WriteLine(String format, Object arg0) { 852public override void WriteLine(String format, Object arg0, Object arg1) { 857public override void WriteLine(String format, Object arg0, Object arg1, Object arg2) { 862public override void WriteLine(String format, Object[] arg) { 882public override Task WriteAsync(String value) 906public override Task WriteLineAsync(String value)
system\marshalbyrefobject.cs (9)
80internal Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, 81Object[] args,ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters) 200internal bool CanCastToXmlType(String xmlTypeName, String xmlTypeNamespace) 205String typeNamespace; 206String assemblyName; 211String typeName; 249String xmlTypeName = null; 250String xmlTypeNamespace = null;
system\mda.cs (2)
50internal static void ReportError(String text) { 59internal static extern void ReportStreamWriterBufferedDataLost(String text);
system\memberaccessexception.cs (2)
35public MemberAccessException(String message) 40public MemberAccessException(String message, Exception inner)
system\methodaccessexception.cs (2)
25public MethodAccessException(String message) 30public MethodAccessException(String message, Exception inner)
system\missingfieldexception.cs (7)
29public MissingFieldException(String message) 34public MissingFieldException(String message, Exception inner) 42public override String Message 58private MissingFieldException(String className, String fieldName, byte[] signature) 65public MissingFieldException(String className, String fieldName)
system\missingmemberexception.cs (14)
34public MissingMemberException(String message) 39public MissingMemberException(String message, Exception inner) 45ClassName = (String)info.GetString("MMClassName"); 46MemberName = (String)info.GetString("MMMemberName"); 50public override String Message 69internal static extern String FormatSignature(byte [] signature); 74private MissingMemberException(String className, String memberName, byte[] signature) 81public MissingMemberException(String className, String memberName) 94info.AddValue("MMClassName", ClassName, typeof(String)); 95info.AddValue("MMMemberName", MemberName, typeof(String)); 103protected String ClassName; 104protected String MemberName;
system\missingmethodexception.cs (7)
31public MissingMethodException(String message) 36public MissingMethodException(String message, Exception inner) 44public override String Message 60private MissingMethodException(String className, String methodName, byte[] signature) 67public MissingMethodException(String className, String methodName)
system\multicastdelegate.cs (2)
31protected MulticastDelegate(Object target, String method) : base(target, method) 38protected MulticastDelegate(Type target, String method) : base(target, method)
system\multicastnotsupportedexception.cs (2)
24public MulticastNotSupportedException(String message) 29public MulticastNotSupportedException(String message, Exception inner)
system\notfinitenumberexception.cs (4)
30public NotFiniteNumberException(String message) 36public NotFiniteNumberException(String message, double offendingNumber) 42public NotFiniteNumberException(String message, Exception innerException) 47public NotFiniteNumberException(String message, double offendingNumber, Exception innerException)
system\notimplementedexception.cs (2)
30public NotImplementedException(String message) 34public NotImplementedException(String message, Exception inner)
system\notsupportedexception.cs (2)
29public NotSupportedException(String message) 34public NotSupportedException(String message, Exception innerException)
system\nullreferenceexception.cs (2)
28public NullReferenceException(String message) 33public NullReferenceException(String message, Exception innerException)
system\number.cs (34)
296public static extern String FormatDecimal(Decimal value, String format, NumberFormatInfo info); 300public static extern String FormatDouble(double value, String format, NumberFormatInfo info); 304public static extern String FormatInt32(int value, String format, NumberFormatInfo info); 308public static extern String FormatUInt32(uint value, String format, NumberFormatInfo info); 312public static extern String FormatInt64(long value, String format, NumberFormatInfo info); 316public static extern String FormatUInt64(ulong value, String format, NumberFormatInfo info); 320public static extern String FormatSingle(float value, String format, NumberFormatInfo info); 649internal unsafe static Decimal ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) { 664internal unsafe static Double ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) { 677String sTrim = value.Trim(); 698internal unsafe static Int32 ParseInt32(String s, NumberStyles style, NumberFormatInfo info) { 720internal unsafe static Int64 ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) { 941internal unsafe static Single ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) { 954String sTrim = value.Trim(); 978internal unsafe static UInt32 ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt) { 1001internal unsafe static UInt64 ParseUInt64(String value, NumberStyles options, NumberFormatInfo numfmt) { 1021private unsafe static void StringToNumber(String str, NumberStyles options, ref NumberBuffer number, NumberFormatInfo info, Boolean parseDecimal) { 1037private static Boolean TrailingZeros(String s, Int32 index) { 1048internal unsafe static Boolean TryParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt, out Decimal result) { 1065internal unsafe static Boolean TryParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt, out Double result) { 1081internal unsafe static Boolean TryParseInt32(String s, NumberStyles style, NumberFormatInfo info, out Int32 result) { 1105internal unsafe static Boolean TryParseInt64(String s, NumberStyles style, NumberFormatInfo info, out Int64 result) { 1129internal unsafe static Boolean TryParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt, out Single result) { 1151internal unsafe static Boolean TryParseUInt32(String s, NumberStyles style, NumberFormatInfo info, out UInt32 result) { 1175internal unsafe static Boolean TryParseUInt64(String s, NumberStyles style, NumberFormatInfo info, out UInt64 result) { 1198internal static Boolean TryStringToNumber(String str, NumberStyles options, ref NumberBuffer number, NumberFormatInfo numfmt, Boolean parseDecimal) { 1204internal unsafe static Boolean TryStringToNumber(String str, NumberStyles options, ref NumberBuffer number, StringBuilder sb, NumberFormatInfo numfmt, Boolean parseDecimal) {
system\object.cs (9)
52public virtual String ToString() 129private void FieldSetter(String typeName, String fieldName, Object val) 164private void FieldGetter(String typeName, String fieldName, ref Object val) 178private FieldInfo GetFieldInfo(String typeName, String fieldName) 198throw new RemotingException(String.Format( 212throw new RemotingException(String.Format(
system\objectdisposedexception.cs (11)
19private String objectName; 26public ObjectDisposedException(String objectName) : 30public ObjectDisposedException(String objectName, String message) : base(message) { 35public ObjectDisposedException(String message, Exception innerException) 43public override String Message { 45String name = ObjectName; 49String objectDisposed = Environment.GetResourceString("ObjectDisposed_ObjectName_Name", name); 54public String ObjectName { 58return String.Empty; 71info.AddValue("ObjectName",ObjectName,typeof(String));
system\obsoleteattribute.cs (4)
32private String _message; 41public ObsoleteAttribute (String message) 47public ObsoleteAttribute (String message, bool error) 53public String Message {
system\operatingsystem.cs (4)
115public override String ToString() { 119public String VersionString { 125String os; 154if( String.IsNullOrEmpty(_servicePack)) {
system\operationcanceledexception.cs (4)
40public OperationCanceledException(String message) 45public OperationCanceledException(String message, Exception innerException) 57public OperationCanceledException(String message, CancellationToken token) 63public OperationCanceledException(String message, Exception innerException, CancellationToken token)
system\outofmemoryexception.cs (2)
29public OutOfMemoryException(String message) 34public OutOfMemoryException(String message, Exception innerException)
system\overflowexception.cs (2)
29public OverflowException(String message) 34public OverflowException(String message, Exception innerException)
system\parsenumbers.cs (8)
39public unsafe static long StringToLong(System.String s, int radix, int flags) { 45public unsafe extern static long StringToLong(System.String s, int radix, int flags, int* currPos); 48public unsafe static long StringToLong(System.String s, int radix, int flags, ref int currPos) { 55public unsafe static int StringToInt(System.String s, int radix, int flags) { 61public unsafe extern static int StringToInt(System.String s, int radix, int flags, int* currPos); 64public unsafe static int StringToInt(System.String s, int radix, int flags, ref int currPos) { 73public extern static String IntToString(int l, int radix, int width, char paddingChar, int flags); 78public extern static String LongToString(long l, int radix, int width, char paddingChar, int flags);
system\platformnotsupportedexception.cs (2)
30public PlatformNotSupportedException(String message) 35public PlatformNotSupportedException(String message, Exception inner)
system\rankexception.cs (2)
30public RankException(String message) 35public RankException(String message, Exception innerException)
system\reflection\__filters.cs (9)
34if (filterCriteria == null || !(filterCriteria is String)) 37String str = (String) filterCriteria; 54if(filterCriteria == null || !(filterCriteria is String)) 57String str = (String) filterCriteria; 63String name = cls.Name; 65return (String.Compare(name,0,str,0,str.Length, StringComparison.OrdinalIgnoreCase)==0); 69return (String.Compare(str,cls.Name, StringComparison.OrdinalIgnoreCase) == 0);
system\reflection\ambiguousmatchexception.cs (2)
32public AmbiguousMatchException(String message) : base(message) { 36public AmbiguousMatchException(String message, Exception inner) : base(message, inner) {
system\reflection\assembly.cs (98)
68public static String CreateQualifiedName(String assemblyName, String typeName) 125public static Assembly LoadFrom(String assemblyFile) 166public static Assembly ReflectionOnlyLoadFrom(String assemblyFile) 188public static Assembly LoadFrom(String assemblyFile, 211public static Assembly LoadFrom(String assemblyFile, 234public static Assembly LoadFrom(String assemblyFile, 278public static Assembly Load(String assemblyString) 293internal static Type GetType_Compat(String assemblyString, String typeName) 323public static Assembly ReflectionOnlyLoad(String assemblyString) 334public static Assembly Load(String assemblyString, Evidence assemblySecurity) 383public static Assembly LoadWithPartialName(String partialName) 392public static Assembly LoadWithPartialName(String partialName, Evidence securityEvidence) 579public static Assembly LoadFile(String path) 597public static Assembly LoadFile(String path, 685public virtual String CodeBase 698public virtual String EscapedCodeBase 725public virtual String FullName 748public virtual Type GetType(String name) 753public virtual Type GetType(String name, bool throwOnError) 758public virtual Type GetType(String name, bool throwOnError, bool ignoreCase) 827public virtual Stream GetManifestResourceStream(Type type, String name) 832public virtual Stream GetManifestResourceStream(String name) 964public Module LoadModule(String moduleName, 972public virtual Module LoadModule(String moduleName, 984public Object CreateInstance(String typeName) 995public Object CreateInstance(String typeName, 1007public virtual Object CreateInstance(String typeName, 1061public virtual Module GetModule(String name) 1073public virtual FileStream GetFile(String name) 1096public virtual String[] GetManifestResourceNames() 1108public virtual ManifestResourceInfo GetManifestResourceInfo(String resourceName) 1113public override String ToString() 1115String displayName = FullName; 1122public virtual String Location 1138public virtual String ImageRuntimeVersion 1275if (String.Compare(GetSimpleName(), name, StringComparison.OrdinalIgnoreCase) == 0) 1341private const String s_localFilePrefix = "file:"; 1352internal String GetCodeBase(bool copiedName) 1354String codeBase = null; 1359public override String CodeBase 1369String codeBase = GetCodeBase(false); 1394String codeBase = GetCodeBase(copiedName); 1442public override String FullName 1483String name, 1489public override Type GetType(String name, bool throwOnError, bool ignoreCase) 1541public override Stream GetManifestResourceStream(Type type, String name) 1549public override Stream GetManifestResourceStream(String name) 1688internal static RuntimeAssembly InternalLoadFrom(String assemblyFile, 1717internal static RuntimeAssembly InternalLoad(String assemblyString, 1727internal static RuntimeAssembly InternalLoad(String assemblyString, 1753String assemblyString, 1846String codeBase = VerifyCodeBase(assemblyRef.CodeBase); 1849if (String.Compare( codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) != 0) { 1912String codeBase, 1940String codeBase, 1962private static unsafe RuntimeAssembly LoadWithPartialNameHack(String partialName, bool cropPublicKey) 2002internal static RuntimeAssembly LoadWithPartialNameInternal(String partialName, Evidence securityEvidence, ref StackCrawlMark stackMark) 2101AssemblyName ainfo = new AssemblyName((String)myEnum.Current); 2211String moduleName, 2220public override Module LoadModule(String moduleName, byte[] rawModule, byte[] rawSymbolStore) 2241private static extern void GetModule(RuntimeAssembly assembly, String name, ObjectHandleOnStack retModule); 2244public override Module GetModule(String name) 2260public override FileStream GetFile(String name) 2297private static extern String[] GetManifestResourceNames(RuntimeAssembly assembly); 2301public override String[] GetManifestResourceNames() 2338String resourceName, 2347public override ManifestResourceInfo GetManifestResourceInfo(String resourceName) 2350String fileName = null; 2370public override String Location 2380String location = null; 2400public override String ImageRuntimeVersion 2404String s = null; 2442private static String VerifyCodeBase(String codebase) 2468String name, 2478String nameSpace = type.Namespace; 2511String resourceName, 2517internal unsafe Stream GetManifestResourceStream(String name, ref StackCrawlMark stackMark, bool skipSecurityCheck) 2571String locale = null; 2595private void VerifyCodeBaseDiscovery(String codeBase) 2604(String.Compare( codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) { 2617internal String GetSimpleName() 2775private static void DemandPermission(String codeBase, bool havePath, 2808private static IPermission CreateWebPermission( String codeBase ) 2844private RuntimeModule OnModuleResolveEvent(String moduleName) 2887String name = GetSimpleName() + ".resources"; 2902internal RuntimeAssembly InternalGetSatelliteAssembly(String name, 2992String codeBase = CodeBase; 2995(String.Compare(codeBase, 0, s_localFilePrefix, 0, 5, StringComparison.OrdinalIgnoreCase) == 0)) 3044throw new FileNotFoundException(String.Format(culture, Environment.GetResourceString("IO.FileNotFound_FileName"), an.Name)); 3054String name, 3055String codeBase, 3064String location = null; 3105dllNotFoundException = new FileNotFoundException(String.Format(culture, 3166static internal extern RuntimeAssembly nLoadFile(String path, Evidence evidence);
system\reflection\assemblyattributes.cs (50)
28private String m_copyright; 30public AssemblyCopyrightAttribute(String copyright) 35public String Copyright 46private String m_trademark; 48public AssemblyTrademarkAttribute(String trademark) 53public String Trademark 64private String m_product; 66public AssemblyProductAttribute(String product) 71public String Product 82private String m_company; 84public AssemblyCompanyAttribute(String company) 89public String Company 100private String m_description; 102public AssemblyDescriptionAttribute(String description) 107public String Description 118private String m_title; 120public AssemblyTitleAttribute(String title) 125public String Title 136private String m_configuration; 138public AssemblyConfigurationAttribute(String configuration) 143public String Configuration 154private String m_defaultAlias; 156public AssemblyDefaultAliasAttribute(String defaultAlias) 161public String DefaultAlias 172private String m_informationalVersion; 174public AssemblyInformationalVersionAttribute(String informationalVersion) 179public String InformationalVersion 190private String _version; 192public AssemblyFileVersionAttribute(String version) 200public String Version { 210private String m_culture; 212public AssemblyCultureAttribute(String culture) 217public String Culture 228private String m_version; 230public AssemblyVersionAttribute(String version) 235public String Version 246private String m_keyFile; 248public AssemblyKeyFileAttribute(String keyFile) 253public String KeyFile 345private String m_key; 346private String m_value; 369private String _publicKey; 370private String _countersignature; 372public AssemblySignatureKeyAttribute(String publicKey, String countersignature) 378public String PublicKey 383public String Countersignature 394private String m_keyName; 396public AssemblyKeyNameAttribute(String keyName) 401public String KeyName
system\reflection\assemblyname.cs (19)
41private String _Name; // Name 45private String _CodeBase; // Potential location to get the file 71public String Name 98public String CultureName 108public String CodeBase 122public String EscapedCodeBase 203static public AssemblyName GetAssemblyName(String assemblyFile) 211String fullPath = Path.GetFullPathInternal(assemblyFile); 295public String FullName 299String name = nToString(); 308public override String ToString() 310String s = FullName; 385public AssemblyName(String assemblyName) 479internal void Init(String name, 486String codeBase, 550static internal extern AssemblyName nGetFileInformation(String s); 555private extern String nToString(); 565static internal extern String EscapeCodeBase(String codeBase);
system\reflection\assemblynameproxy.cs (1)
27public AssemblyName GetAssemblyName(String assemblyFile)
system\reflection\binder.cs (1)
30ParameterModifier[] modifiers,CultureInfo culture,String[] names, out Object state);
system\reflection\cominterfaces.cs (66)
34String ToString(); 42String Name { get; } 55String FullName { get; } 56String Namespace { get; } 57String AssemblyQualifiedName { get; } 62Type GetInterface(String name, bool ignoreCase); 65EventInfo GetEvent(String name,BindingFlags bindingAttr); 69Type GetNestedType(String name, BindingFlags bindingAttr); 70MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr); 78MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers); 79MethodInfo GetMethod(String name, BindingFlags bindingAttr); 81FieldInfo GetField(String name, BindingFlags bindingAttr); 83PropertyInfo GetProperty(String name, BindingFlags bindingAttr); 84PropertyInfo GetProperty(String name,BindingFlags bindingAttr,Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers); 86MemberInfo[] GetMember(String name, BindingFlags bindingAttr); 88Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters); 94Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture); 95Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args); 105MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers); 106MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers); 107MethodInfo GetMethod(String name, Type[] types); 108MethodInfo GetMethod(String name); 110FieldInfo GetField(String name); 112Type GetInterface(String name); 113EventInfo GetEvent(String name); 114PropertyInfo GetProperty(String name, Type returnType, Type[] types,ParameterModifier[] modifiers); 115PropertyInfo GetProperty(String name, Type returnType, Type[] types); 116PropertyInfo GetProperty(String name, Type[] types); 117PropertyInfo GetProperty(String name, Type returnType); 118PropertyInfo GetProperty(String name); 121Type GetNestedType(String name); 122MemberInfo[] GetMember(String name); 170String ToString(); 177String CodeBase { 182String EscapedCodeBase { get; } 191String FullName { get; } 193Type GetType(String name); 194Type GetType(String name, bool throwOnError); 197Stream GetManifestResourceStream(Type type, String name); 198Stream GetManifestResourceStream(String name); 202FileStream GetFile(String name); 208String[] GetManifestResourceNames(); 209ManifestResourceInfo GetManifestResourceInfo(String resourceName); 210String Location { 227Type GetType(String name, bool throwOnError, bool ignoreCase); 231Module LoadModule(String moduleName, byte[] rawModule); 232Module LoadModule(String moduleName, byte[] rawModule, byte[] rawSymbolStore); 234Object CreateInstance(String typeName); 235Object CreateInstance(String typeName, bool ignoreCase); 236Object CreateInstance(String typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes); 241Module GetModule(String name); 265String ToString(); 273String Name { get; } 300String ToString(); 308String Name { get; } 358String ToString(); 366String Name { get; } 422String ToString(); 430String Name { get; } 485String ToString(); 493String Name { get; } 543String ToString(); 551String Name { get; } 597String ToString(); 605String Name { get; }
system\reflection\ConstructorInfo.cs (7)
41public readonly static String ConstructorName = ".ctor"; 44public readonly static String TypeConstructorName = ".cctor"; 385public override String ToString() 438public override String Name 549String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateInterfaceEx"), declaringType)); 554String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateAbstEx"), declaringType)); 574String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateGenericEx"), declaringType));
system\reflection\customattribute.cs (16)
506ctorArgs += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", ConstructorArguments[i]); 510namedArgs += String.Format(CultureInfo.CurrentCulture, i == 0 && ctorArgs.Length == 0 ? "{0}" : ", {0}", NamedArguments[i]); 512return String.Format(CultureInfo.CurrentCulture, "[{0}({1}{2})]", Constructor.DeclaringType.FullName, ctorArgs, namedArgs); 644return String.Format(CultureInfo.CurrentCulture, "{0} = {1}", MemberInfo.Name, TypedValue.ToString(ArgumentType != typeof(object))); 804String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_CATypeResolutionFailed"), typeName)); 919return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.FullName); 922return String.Format(CultureInfo.CurrentCulture, typed ? "null" : "({0})null", ArgumentType.Name); 925return String.Format(CultureInfo.CurrentCulture, "\"{0}\"", Value); 928return String.Format(CultureInfo.CurrentCulture, "'{0}'", Value); 931return String.Format(CultureInfo.CurrentCulture, "typeof({0})", ((Type)Value).FullName); 939result = String.Format(CultureInfo.CurrentCulture, @"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.FullName : elementType.Name, array.Count); 942result += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", array[i].ToString(elementType != typeof(object))); 947return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.Name); 1791String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 1822String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 2029throw new FormatException(String.Format(
system\reflection\customattributeformatexception.cs (2)
30public CustomAttributeFormatException(String message) : base(message) { 34public CustomAttributeFormatException(String message, Exception inner) : base(message, inner) {
system\reflection\defaultmemberattribute.cs (3)
28private String m_memberName; 31public DefaultMemberAttribute(String memberName) { 38public String MemberName {
system\reflection\emit\assemblybuilder.cs (96)
98public override String[] GetManifestResourceNames() 106public override FileStream GetFile(String name) 119public override Stream GetManifestResourceStream(Type type, String name) 124public override Stream GetManifestResourceStream(String name) 129public override ManifestResourceInfo GetManifestResourceInfo(String resourceName) 134public override String Location 145public override String CodeBase 161public override String ImageRuntimeVersion 299String dir, 550String dir, 595String name) 606String name, 617String name, 631String name, 786String name, 787String fileName) 809String name, // module name 810String fileName, // module file name 823String name, // module name 824String fileName, // module file name 847String name, // module name 848String fileName, // module file name 863if (!String.Equals(fileName, Path.GetFileName(fileName))) 1000String name, 1001String description, 1002String fileName) 1015String name, 1016String description, 1017String fileName, 1029String name, 1030String description, 1031String fileName, 1042if (!String.Equals(fileName, Path.GetFileName(fileName))) 1052String fullFileName; 1089String name, 1090String fileName) 1106String name, 1107String fileName, 1120String name, 1121String fileName, 1132if (!String.Equals(fileName, Path.GetFileName(fileName))) 1141String fullFileName; 1200public override String[] GetManifestResourceNames() 1208public override FileStream GetFile(String name) 1221public override Stream GetManifestResourceStream(Type type, String name) 1226public override Stream GetManifestResourceStream(String name) 1231public override ManifestResourceInfo GetManifestResourceInfo(String resourceName) 1236public override String Location 1247public override String ImageRuntimeVersion 1255public override String CodeBase 1292public override String FullName 1300public override Type GetType(String name, bool throwOnError, bool ignoreCase) 1348public override Module GetModule(String name) 1420String product, 1421String productVersion, 1422String company, 1423String copyright, 1424String trademark) 1438String product, 1439String productVersion, 1440String company, 1441String copyright, 1442String trademark) 1506public void DefineUnmanagedResource(String resourceFileName) 1521private void DefineUnmanagedResourceNoLock(String resourceFileName) 1559String name) // the name of module for the look up 1568String name) // the name of module for the look up 1735public void Save(String assemblyFileName) // assembly file name 1743public void Save(String assemblyFileName, 1765private void SaveNoLock(String assemblyFileName, 1772if (!String.Equals(assemblyFileName, Path.GetFileName(assemblyFileName))) 1781String strModFileName; 1790String tmpVersionFile = null; 1889String strFileVersion = m_assemblyData.m_nativeVersion.m_strFileVersion; 2193String name, 2194String filename, 2204String name, 2205String filename, 2238String strFileName, 2248static private extern int AddFile(RuntimeAssembly assembly, String strFileName); 2256String strFullFileName); 2263String strComTypeName, 2273String strComTypeName, 2284String strName, 2285String strFileName, 2286String strFullFileName, 2303static private extern void CreateVersionInfoResource(String filename, String title, String iconFilename, String description, 2304String copyright, String trademark, String company, String product, 2305String productVersion, String fileVersion, int lcid, bool isDll,
system\reflection\emit\assemblybuilderdata.cs (29)
39String strAssemblyName, 41String dir) 274internal void CheckResNameConflict(String strNewResName) 293internal void CheckNameConflict(String strNewModuleName) 318internal void CheckTypeNameConflict(String strTypeName, TypeBuilder enclosingType) 344internal void CheckFileNameConflict(String strFileName) 353if (String.Compare(moduleBuilder.m_moduleData.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 366if (String.Compare(resWriter.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 380internal ModuleBuilder FindModuleWithFileName(String strFileName) 389if (String.Compare(moduleBuilder.m_moduleData.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0) 402internal ModuleBuilder FindModuleWithName(String strName) 411if (String.Compare(moduleBuilder.m_moduleData.m_strModuleName, strName, StringComparison.OrdinalIgnoreCase) == 0) 468internal String m_strAssemblyName; 477internal String m_strDir; 503internal String m_strResourceFileName; 542String strName, 543String strFileName, 544String strFullFileName, 561internal String m_strName; 562internal String m_strFileName; 563internal String m_strFullFileName; 585internal String m_strDescription; 586internal String m_strCompany; 587internal String m_strTitle; 588internal String m_strCopyright; 589internal String m_strTrademark; 590internal String m_strProduct; 591internal String m_strProductVersion; 592internal String m_strFileVersion;
system\reflection\emit\constructorbuilder.cs (7)
37internal ConstructorBuilder(String name, MethodAttributes attributes, CallingConventions callingConvention, 55internal ConstructorBuilder(String name, MethodAttributes attributes, CallingConventions callingConvention, 81public override String ToString() 109public override String Name 178public ParameterBuilder DefineParameter(int iSequence, ParameterAttributes attributes, String strParamName) 189public void SetSymCustomAttribute(String name, byte[] data) 282public String Signature
system\reflection\emit\customattributebuilder.cs (7)
75if (t.IsPrimitive || t == typeof(String) || t == typeof(Type)) 341else if (type == typeof(String)) 361private void EmitString(BinaryWriter writer, String str) 420else if (type == typeof(String)) 425EmitString(writer, (String)value); 433String typeName = TypeNameBuilder.ToString((Type)value, TypeNameBuilder.Format.AssemblyQualifiedName); 504Type ot = value == null ? typeof(String) : value is Type ? typeof(Type) : value.GetType();
system\reflection\emit\dynamicilgenerator.cs (5)
216public override void Emit(OpCode opcode, String str) 462public override void UsingNamespace(String ns) 671private int GetTokenForString(String s) 918internal override String GetStringLiteral(int token) { return m_scope.GetString(token); } 1242throw new ArgumentException(String.Format(
system\reflection\emit\dynamicmethod.cs (8)
344private unsafe void Init(String name, 602public override String ToString() { return m_dynMethod.ToString(); } 604public override String Name { get { return m_dynMethod.Name; } } 777public ParameterBuilder DefineParameter(int position, ParameterAttributes attributes, String parameterName) { 857String m_name; 866internal RTDynamicMethod(DynamicMethod owner, String name, MethodAttributes attributes, CallingConventions callingConvention) { 876public override String ToString() { 880public override String Name {
system\reflection\emit\enumbuilder.cs (16)
41public FieldBuilder DefineLiteral(String literalName, Object literalValue) 78public override String Name { 94String name, 101String[] namedParameters) 118public override String FullName { 122public override String AssemblyQualifiedName { 128public override String Namespace { 149protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 163public override FieldInfo GetField(String name, BindingFlags bindingAttr) 173public override Type GetInterface(String name, bool ignoreCase) 183public override EventInfo GetEvent(String name, BindingFlags bindingAttr) 193protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, 209public override Type GetNestedType(String name, BindingFlags bindingAttr) 214public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) 396string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 405String name, // name of type
system\reflection\emit\eventbuilder.cs (2)
43String name, // Event name 166private String m_name; // The name of the event
system\reflection\emit\fieldbuilder.cs (3)
28private String m_fieldName; 35internal FieldBuilder(TypeBuilder typeBuilder, String fieldName, Type type, 94public override String Name
system\reflection\emit\generictypeparameterbuilder.cs (15)
38public override String ToString() 59public override String Name { get { return m_type.Name; } } 100string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 107public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { throw new NotSupportedException(); } 113public override String FullName { get { return null; } } 115public override String Namespace { get { return null; } } 117public override String AssemblyQualifiedName { get { return null; } } 126protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 130public override FieldInfo GetField(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 134public override Type GetInterface(String name, bool ignoreCase) { throw new NotSupportedException(); } 138public override EventInfo GetEvent(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 142protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 148public override Type GetNestedType(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 150public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\ilgenerator.cs (6)
848public virtual void Emit(OpCode opcode, String str) 1181public virtual void EmitWriteLine(String value) 1187parameterTypes[0] = typeof(String); 1300public virtual void UsingNamespace(String usingNamespace) 1688String strName, 1703String strNamespace)
system\reflection\emit\localbuilder.cs (2)
63public void SetLocalSymInfo(String name) 68public void SetLocalSymInfo(String name, int startOffset, int endOffset)
system\reflection\emit\methodbuilder.cs (21)
31internal String m_strName; // The name of the method 72internal MethodBuilder(String name, MethodAttributes attributes, CallingConventions callingConvention, 78internal MethodBuilder(String name, MethodAttributes attributes, CallingConventions callingConvention, 89private void Init(String name, MethodAttributes attributes, CallingConventions callingConvention, 511public override String ToString() 524public override String Name 847public ParameterBuilder DefineParameter(int position, ParameterAttributes attributes, String strParamName) 884public SymCustomAttr(String name, byte[] data) 889public String m_name; 893public void SetSymCustomAttribute(String name, byte[] data) 1161public String Signature 1275internal String[] m_strName; 1281internal String[] m_namespace; 1300m_namespace = new String[InitialSize]; 1304String [] strTemp = new String [checked(m_iNameSpaceCount * 2)]; 1315m_strName = new String[InitialSize]; 1338String [] strTemp = new String [newSize]; 1352internal void AddLocalSymInfo(String strName,byte[] signature,int slot,int startOffset,int endOffset) 1364internal void AddUsingNamespace(String strNamespace)
system\reflection\emit\methodbuilderinstantiation.cs (1)
51public override String Name { get { return m_method.Name; } }
system\reflection\emit\modulebuilder.cs (91)
65internal static extern IntPtr nCreateISymWriterForDynamicModule(Module module, String filename); 70static internal String UnmangleTypeName(String typeName) 127internal void CheckTypeNameConflict(String strTypeName, Type enclosingType) 138private Type GetType(String strFormat, Type baseType) 142if (strFormat == null || strFormat.Equals(String.Empty)) 168private extern static int GetTypeRef(RuntimeModule module, String strFullName, RuntimeModule refedModule, String strRefedModuleFileName, int tkResolution); 186private extern static int GetMemberRefFromSignature(RuntimeModule module, int tr, String methodName, byte[] signature, int length); 189private int GetMemberRefFromSignature(int tr, String methodName, byte[] signature, int length) 271private extern static int GetArrayMethodToken(RuntimeModule module, int tkTypeSpec, String methodName, byte[] signature, int sigLength); 277private extern static int GetStringConstant(RuntimeModule module, String str, int length); 289private extern static void SavePEFile(RuntimeModule module, String fileName, int entryPoint, int isExe, bool isManifestFile); 296RuntimeModule module, String strName, 304private extern static void SetModuleName(RuntimeModule module, String strModuleName); 318String strFilename, 358internal virtual Type FindTypeBuilderWithName(String strTypeName, bool ignoreCase) 364if (String.Compare(name, strTypeName, (StringComparison.OrdinalIgnoreCase)) == 0) 395internal void PreSave(String fileName, 401throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 425throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 438internal void Save(String fileName, bool isAssemblyFile, PortableExecutableKinds portableExecutableKind, 482private int GetTypeRefNested(Type type, Module refedModule, String strRefedModuleFileName) 488String typeName = type.FullName; 591internal void Init(String strModuleName, String strFileName, int tkFile) 865public override Type GetType(String className) 871public override Type GetType(String className, bool ignoreCase) 877public override Type GetType(String className, bool throwOnError, bool ignoreCase) 885private Type GetTypeNoLock(String className, bool throwOnError, bool ignoreCase) 902String baseName = null; 903String parameters = null; 983public override String FullyQualifiedName 994String fullyQualifiedName = m_moduleData.m_strFileName; 1081public override FieldInfo GetField(String name, BindingFlags bindingAttr) 1091protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 1098public override String ScopeName 1108public override String Name 1137public TypeBuilder DefineType(String name) 1148public TypeBuilder DefineType(String name, TypeAttributes attr) 1159public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent) 1177public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, int typesize) 1192public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) 1204public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, Type[] interfaces) 1215private TypeBuilder DefineTypeNoLock(String name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packingSize, int typesize) 1227public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, PackingSize packsize) 1238private TypeBuilder DefineTypeNoLock(String name, TypeAttributes attr, Type parent, PackingSize packsize) 1252public EnumBuilder DefineEnum(String name, TypeAttributes visibility, Type underlyingType) 1273private EnumBuilder DefineEnumNoLock(String name, TypeAttributes visibility, Type underlyingType) 1284public IResourceWriter DefineResource(String name, String description) 1292public IResourceWriter DefineResource(String name, String description, ResourceAttributes attribute) 1303private IResourceWriter DefineResourceNoLock(String name, String description, ResourceAttributes attribute) 1323ResWriterData resWriterData = new ResWriterData( resWriter, stream, name, String.Empty, String.Empty, attribute); 1340public void DefineManifestResource(String name, Stream stream, ResourceAttributes attribute) 1357private void DefineManifestResourceNoLock(String name, Stream stream, ResourceAttributes attribute) 1374ResWriterData resWriterData = new ResWriterData( null, stream, name, String.Empty, String.Empty, attribute); 1419public void DefineUnmanagedResource(String resourceFileName) 1430internal void DefineUnmanagedResourceFileInternalNoLock(String resourceFileName) 1462public MethodBuilder DefineGlobalMethod(String name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) 1469public MethodBuilder DefineGlobalMethod(String name, MethodAttributes attributes, CallingConventions callingConvention, 1477public MethodBuilder DefineGlobalMethod(String name, MethodAttributes attributes, CallingConventions callingConvention, 1489private MethodBuilder DefineGlobalMethodNoLock(String name, MethodAttributes attributes, CallingConventions callingConvention, 1522public MethodBuilder DefinePInvokeMethod(String name, String dllName, MethodAttributes attributes, 1534public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName, MethodAttributes attributes, 1550private MethodBuilder DefinePInvokeMethodNoLock(String name, String dllName, String entryName, MethodAttributes attributes, 1595public FieldBuilder DefineInitializedData(String name, byte[] data, FieldAttributes attributes) 1611private FieldBuilder DefineInitializedDataNoLock(String name, byte[] data, FieldAttributes attributes) 1630public FieldBuilder DefineUninitializedData(String name, int size, FieldAttributes attributes) 1643private FieldBuilder DefineUninitializedDataNoLock(String name, int size, FieldAttributes attributes) 1748return new TypeToken(GetTypeRefNested(type, this, String.Empty)); 1769String strRefedModuleFileName = String.Empty; 1788public TypeToken GetTypeToken(String name) 2036public MethodToken GetArrayMethodToken(Type arrayClass, String methodName, CallingConventions callingConvention, 2046private MethodToken GetArrayMethodTokenNoLock(Type arrayClass, String methodName, CallingConventions callingConvention, 2082public MethodInfo GetArrayMethod(Type arrayClass, String methodName, CallingConventions callingConvention, 2205public StringToken GetStringConstant(String str) 2325public ISymbolDocumentWriter DefineDocument(String url, Guid language, Guid languageVendor, Guid documentType) 2341private ISymbolDocumentWriter DefineDocumentNoLock(String url, Guid language, Guid languageVendor, Guid documentType) 2412public void SetSymCustomAttribute(String name, byte[] data) 2420private void SetSymCustomAttributeNoLock(String name, byte[] data)
system\reflection\emit\modulebuilderdata.cs (11)
29internal ModuleBuilderData(ModuleBuilder module, String strModuleName, String strFileName, int tkFile) 42private void InitNames(String strModuleName, String strFileName) 52String strExtension = Path.GetExtension(strFileName); 53if (strExtension == null || strExtension == String.Empty) 67internal virtual void ModifyModuleName(String strModuleName) 95internal String m_strModuleName; // scope name (can be different from file name) 96internal String m_strFileName; 108internal const String MULTI_BYTE_VALUE_CLASS = "$ArrayType$"; 109internal String m_strResourceFileName;
system\reflection\emit\opcode.cs (5)
126private String m_stringname; // not used - computed lazily 235public String Name 246nameCache = new String[0x11f]; 265String name = Volatile.Read(ref nameCache[idx]); 308public override String ToString()
system\reflection\emit\parameterbuilder.cs (3)
106String strParamName) // can be NULL string 150public virtual String Name { 173private String m_strParamName;
system\reflection\emit\propertybuilder.cs (3)
44String name, // property name 283public override String Name { 296private String m_name; // The name of the property
system\reflection\emit\signaturehelper.cs (1)
947public override String ToString()
system\reflection\emit\symbolmethod.cs (3)
22private String m_name; 32internal SymbolMethod(ModuleBuilder mod, MethodToken token, Type arrayClass, String methodName, 90public override String Name
system\reflection\emit\symboltype.cs (16)
321string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 340public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, 341Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) 374public override String Name 379String sFormat = new String(m_bFormat); 388public override String FullName 396public override String AssemblyQualifiedName 404public override String ToString() 409public override String Namespace 432protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 443public override FieldInfo GetField(String name, BindingFlags bindingAttr) 453public override Type GetInterface(String name,bool ignoreCase) 463public override EventInfo GetEvent(String name,BindingFlags bindingAttr) 473protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, 489public override Type GetNestedType(String name, BindingFlags bindingAttr) 494public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr)
system\reflection\emit\typebuilder.cs (76)
197internal static extern int DefineMethod(RuntimeModule module, int tkParent, String name, byte[] signature, int sigLength, 210internal static extern int DefineField(RuntimeModule module, int tkParent, String name, byte[] signature, int sigLength, 251internal static extern void SetPInvokeData(RuntimeModule module, String DllName, String name, int token, int linkFlags); 257internal static extern int DefineProperty(RuntimeModule module, int tkParent, String name, PropertyAttributes attributes, 264internal static extern int DefineEvent(RuntimeModule module, int tkParent, String name, EventAttributes attributes, int tkEventType); 290ParameterAttributes iParamAttributes, String strParamName); 497if (type == typeof(String)) 534private String m_strName; 535private String m_strNameSpace; 536private String m_strFullQualName; 603String name, 616private void Init(String fullname, TypeAttributes attr, Type parent, Type[] interfaces, ModuleBuilder module, 671m_strNameSpace = String.Empty; 737String name, String dllName, String importName, MethodAttributes attributes, CallingConventions callingConvention, 760String name, String dllName, String importName, MethodAttributes attributes, CallingConventions callingConvention, 857private FieldBuilder DefineDataHelper(String name, byte[] data, int size, FieldAttributes attributes) 859String strValueClassName; 946String fullname, int tkParent, TypeAttributes attributes, int tkEnclosingType, int[] interfaceTokens); 953String name, int tkParent, GenericParameterAttributes attributes, int position, int[] constraints); 1025public override String ToString() 1045public override String Name 1075public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, 1076Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) 1096public override String FullName 1107public override String Namespace 1112public override String AssemblyQualifiedName 1145protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 1171public override FieldInfo GetField(String name, BindingFlags bindingAttr) 1189public override Type GetInterface(String name,bool ignoreCase) 1213public override EventInfo GetEvent(String name,BindingFlags bindingAttr) 1231protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, 1255public override Type GetNestedType(String name, BindingFlags bindingAttr) 1264public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) 1500string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 1651public MethodBuilder DefineMethod(String name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) 1658public MethodBuilder DefineMethod(String name, MethodAttributes attributes) 1665public MethodBuilder DefineMethod(String name, MethodAttributes attributes, CallingConventions callingConvention) 1672public MethodBuilder DefineMethod(String name, MethodAttributes attributes, CallingConventions callingConvention, 1680public MethodBuilder DefineMethod(String name, MethodAttributes attributes, CallingConventions callingConvention, 1694private MethodBuilder DefineMethodNoLock(String name, MethodAttributes attributes, CallingConventions callingConvention, 1877String name; 1907public MethodBuilder DefinePInvokeMethod(String name, String dllName, MethodAttributes attributes, 1922public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName, MethodAttributes attributes, 1937public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName, MethodAttributes attributes, 1953public TypeBuilder DefineNestedType(String name) 1963public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, Type[] interfaces) 1976public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent) 1985public TypeBuilder DefineNestedType(String name, TypeAttributes attr) 1998public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, int typeSize) 2011public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, PackingSize packSize) 2024public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, PackingSize packSize, int typeSize) 2033private TypeBuilder DefineNestedTypeNoLock(String name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packSize, int typeSize) 2041public FieldBuilder DefineField(String fieldName, Type type, FieldAttributes attributes) 2047public FieldBuilder DefineField(String fieldName, Type type, Type[] requiredCustomModifiers, 2057private FieldBuilder DefineFieldNoLock(String fieldName, Type type, Type[] requiredCustomModifiers, 2081public FieldBuilder DefineInitializedData(String name, byte[] data, FieldAttributes attributes) 2090private FieldBuilder DefineInitializedDataNoLock(String name, byte[] data, FieldAttributes attributes) 2108public FieldBuilder DefineUninitializedData(String name, int size, FieldAttributes attributes) 2117private FieldBuilder DefineUninitializedDataNoLock(String name, int size, FieldAttributes attributes) 2128public PropertyBuilder DefineProperty(String name, PropertyAttributes attributes, Type returnType, Type[] parameterTypes) 2133public PropertyBuilder DefineProperty(String name, PropertyAttributes attributes, 2140public PropertyBuilder DefineProperty(String name, PropertyAttributes attributes, 2150public PropertyBuilder DefineProperty(String name, PropertyAttributes attributes, CallingConventions callingConvention, 2162private PropertyBuilder DefinePropertyNoLock(String name, PropertyAttributes attributes, CallingConventions callingConvention, 2212public EventBuilder DefineEvent(String name, EventAttributes attributes, Type eventtype) 2221private EventBuilder DefineEventNoLock(String name, EventAttributes attributes, Type eventtype)
system\reflection\emit\typebuilderinstantiation.cs (15)
65public override String ToString() 76public override String Name { get { return m_type.Name; } } 104string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", comma); 108public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { throw new NotSupportedException(); } 111public override String FullName 120public override String Namespace { get { return m_type.Namespace; } } 121public override String AssemblyQualifiedName { get { return TypeNameBuilder.ToString(this, TypeNameBuilder.Format.AssemblyQualifiedName); } } 175protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 177public override FieldInfo GetField(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 179public override Type GetInterface(String name, bool ignoreCase) { throw new NotSupportedException(); } 181public override EventInfo GetEvent(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 183protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 186public override Type GetNestedType(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 187public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (3)
49public override String Name { get { return m_method.Name; } } 146public override String Name { get { return m_ctor.Name; } } 247public override String Name { get { return m_field.Name; } }
system\reflection\eventinfo.cs (2)
294public override String ToString() 346public override String Name
system\reflection\fieldinfo.cs (7)
47throw new ArgumentException(String.Format( 317public unsafe override String ToString() 533String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_FieldDeclTarget"), 699public override String Name 711internal String FullName 715return String.Format("{0}.{1}", DeclaringType.FullName, Name); 871public override String Name
system\reflection\invalidfiltercriteriaexception.cs (2)
34public InvalidFilterCriteriaException(String message) : base(message) { 38public InvalidFilterCriteriaException(String message, Exception inner) : base(message, inner) {
system\reflection\ireflect.cs (8)
33MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 39MethodInfo GetMethod(String name,BindingFlags bindingAttr); 47String name, 57String name, 63String name, 77String name, 106String name, 113String[] namedParameters);
system\reflection\manifestresourceinfo.cs (3)
24private String _containingFileName; 28String containingFileName, 43public virtual String FileName
system\reflection\mdconstant.cs (2)
21String stringVal; 158return stringVal == null ? String.Empty : stringVal;
system\reflection\mdimport.cs (8)
253public override string ToString() { return String.Format(CultureInfo.InvariantCulture, "0x{0:x8}", Value); } 407private static extern String _GetDefaultValue(IntPtr scope, int mdToken, out long value, out int length, out int corElementType); 409public String GetDefaultValue(int mdToken, out long value, out int length, out CorElementType corElementType) 412String stringVal; 423public unsafe String GetUserString(int mdToken) 724out String importName, 725out String importDll) 756return String.Format(CultureInfo.CurrentCulture, "MetadataException HResult = {0:x}.", m_hr);
system\reflection\memberinfo.cs (1)
41public abstract String Name { get; }
system\reflection\memberinfoserializationholder.cs (17)
21public static void GetSerializationInfo(SerializationInfo info, String name, RuntimeType reflectedClass, String signature, MemberTypes type) 28String name, 30String signature, 31String signature2, 39String assemblyName = reflectedClass.Module.Assembly.FullName; 40String typeName = reflectedClass.FullName; 43info.AddValue("Name", name, typeof(String)); 44info.AddValue("AssemblyName", assemblyName, typeof(String)); 45info.AddValue("ClassName", typeName, typeof(String)); 46info.AddValue("Signature", signature, typeof(String)); 47info.AddValue("Signature2", signature2, typeof(String)); 54private String m_memberName; 60private String m_signature; 61private String m_signature2; 73String assemblyName = info.GetString("AssemblyName"); 74String typeName = info.GetString("ClassName");
system\reflection\methodbase.cs (2)
71throw new ArgumentException(String.Format( 306return String.Format("{0}.{1}", DeclaringType.FullName, FormatNameAndSig());
system\reflection\methodbody.cs (3)
91return String.Format(CultureInfo.CurrentUICulture, 98return String.Format(CultureInfo.CurrentUICulture, 103return String.Format(CultureInfo.CurrentUICulture,
system\reflection\methodinfo.cs (2)
414public override String ToString() 519public override String Name
system\reflection\module.cs (28)
127public override String ToString() 289public virtual Type GetType(String className, bool ignoreCase) 295public virtual Type GetType(String className) { 300public virtual Type GetType(String className, bool throwOnError, bool ignoreCase) 305public virtual String FullyQualifiedName 404public FieldInfo GetField(String name) 409public virtual FieldInfo GetField(String name, BindingFlags bindingAttr) 439String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 457public MethodInfo GetMethod(String name, Type[] types) 475public MethodInfo GetMethod(String name) 485protected virtual MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 491public virtual String ScopeName 506public virtual String Name 597private extern static void GetType(RuntimeModule module, String className, bool ignoreCase, bool throwOnError, ObjectHandleOnStack type); 750String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 914String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 918String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 924String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 957protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 963internal MethodInfo GetMethodInternal(String name, BindingFlags bindingAttr, Binder binder, 1066public override Type GetType(String className, bool throwOnError, bool ignoreCase) 1080String fullyQualifiedName = null; 1085public override String FullyQualifiedName 1096String fullyQualifiedName = GetFullyQualifiedName(); 1161public override FieldInfo GetField(String name, BindingFlags bindingAttr) 1180public override String ScopeName 1191public override String Name 1198String s = GetFullyQualifiedName();
system\reflection\parameterinfo.cs (6)
31protected String NameImpl; 63internal void SetName(String name) 83public virtual String Name 142public override String ToString() 492internal RuntimeParameterInfo(MethodInfo owner, String name, Type parameterType, int position) 529public override String Name
system\reflection\propertyinfo.cs (2)
348public override String ToString() 415public override String Name
system\reflection\reflectiontypeloadexception.cs (2)
39private ReflectionTypeLoadException(String message) : base(message) { 50public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, String message) : base(message)
system\reflection\strongnamekeypair.cs (2)
51private String _keyPairContainer; 94public StrongNameKeyPair(String keyPairContainer)
system\reflection\targetexception.cs (2)
33public TargetException(String message) : base(message) { 37public TargetException(String message, Exception inner) : base(message, inner) {
system\reflection\targetinvocationexception.cs (2)
37private TargetInvocationException(String message) : base(message) { 46public TargetInvocationException(String message, Exception inner) : base(message, inner) {
system\reflection\targetparametercountexception.cs (2)
34public TargetParameterCountException(String message) 39public TargetParameterCountException(String message, Exception inner)
system\reflection\typedelegator.cs (13)
48public override Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder,Object target, 49Object[] args,ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters) 66public override String Name { 70public override String FullName { 74public override String Namespace { 78public override String AssemblyQualifiedName { 100protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 116public override FieldInfo GetField(String name, BindingFlags bindingAttr) 126public override Type GetInterface(String name, bool ignoreCase) 136public override EventInfo GetEvent(String name,BindingFlags bindingAttr) 146protected override PropertyInfo GetPropertyImpl(String name,BindingFlags bindingAttr,Binder binder, 170public override Type GetNestedType(String name, BindingFlags bindingAttr) 175public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr)
system\reflection\typeinfo.cs (6)
85public virtual EventInfo GetDeclaredEvent(String name) 89public virtual FieldInfo GetDeclaredField(String name) 93public virtual MethodInfo GetDeclaredMethod(String name) 98public virtual IEnumerable<MethodInfo> GetDeclaredMethods(String name) 106public virtual System.Reflection.TypeInfo GetDeclaredNestedType(String name) 115public virtual PropertyInfo GetDeclaredProperty(String name)
system\resid.cs (63)
22internal const String Arg_ArrayLengthsDiffer="Arg_ArrayLengthsDiffer"; 23internal const String Argument_InvalidNumberOfMembers="Argument_InvalidNumberOfMembers"; 24internal const String Argument_UnequalMembers="Argument_UnequalMembers"; 25internal const String Argument_SpecifyValueSize="Argument_SpecifyValueSize"; 26internal const String Argument_UnmatchingSymScope="Argument_UnmatchingSymScope"; 27internal const String Argument_NotInExceptionBlock="Argument_NotInExceptionBlock"; 28internal const String Argument_NotExceptionType="Argument_NotExceptionType"; 29internal const String Argument_InvalidLabel="Argument_InvalidLabel"; 30internal const String Argument_UnclosedExceptionBlock="Argument_UnclosedExceptionBlock"; 31internal const String Argument_MissingDefaultConstructor="Argument_MissingDefaultConstructor"; 32internal const String Argument_TooManyFinallyClause="Argument_TooManyFinallyClause"; 33internal const String Argument_NotInTheSameModuleBuilder="Argument_NotInTheSameModuleBuilder"; 34internal const String Argument_BadCurrentLocalVariable="Argument_BadCurrentLocalVariable"; 35internal const String Argument_DuplicateModuleName="Argument_DuplicateModuleName"; 36internal const String Argument_BadPersistableModuleInTransientAssembly="Argument_BadPersistableModuleInTransientAssembly"; 37internal const String Argument_HasToBeArrayClass="Argument_HasToBeArrayClass"; 38internal const String Argument_InvalidDirectory="Argument_InvalidDirectory"; 40internal const String MissingType="MissingType"; 41internal const String MissingModule="MissingModule"; 43internal const String ArgumentOutOfRange_Index="ArgumentOutOfRange_Index"; 44internal const String ArgumentOutOfRange_Range="ArgumentOutOfRange_Range"; 46internal const String ExecutionEngine_YoureHosed="ExecutionEngine_YoureHosed"; 48internal const String Format_NeedSingleChar="Format_NeedSingleChar"; 49internal const String Format_StringZeroLength="Format_StringZeroLength"; 51internal const String InvalidOperation_EnumEnded="InvalidOperation_EnumEnded"; 52internal const String InvalidOperation_EnumFailedVersion="InvalidOperation_EnumFailedVersion"; 53internal const String InvalidOperation_EnumNotStarted="InvalidOperation_EnumNotStarted"; 54internal const String InvalidOperation_EnumOpCantHappen="InvalidOperation_EnumOpCantHappen"; 55internal const String InvalidOperation_InternalState="InvalidOperation_InternalState"; 56internal const String InvalidOperation_ModifyRONumFmtInfo="InvalidOperation_ModifyRONumFmtInfo"; 57internal const String InvalidOperation_MethodBaked="InvalidOperation_MethodBaked"; 58internal const String InvalidOperation_NotADebugModule="InvalidOperation_NotADebugModule"; 59internal const String InvalidOperation_MethodHasBody="InvalidOperation_MethodHasBody"; 60internal const String InvalidOperation_OpenLocalVariableScope="InvalidOperation_OpenLocalVariableScope"; 61internal const String InvalidOperation_TypeHasBeenCreated="InvalidOperation_TypeHasBeenCreated"; 62internal const String InvalidOperation_RefedAssemblyNotSaved="InvalidOperation_RefedAssemblyNotSaved"; 63internal const String InvalidOperation_AssemblyHasBeenSaved="InvalidOperation_AssemblyHasBeenSaved"; 64internal const String InvalidOperation_ModuleHasBeenSaved="InvalidOperation_ModuleHasBeenSaved"; 65internal const String InvalidOperation_CannotAlterAssembly="InvalidOperation_CannotAlterAssembly"; 67internal const String NotSupported_CannotSaveModuleIndividually="NotSupported_CannotSaveModuleIndividually"; 68internal const String NotSupported_Constructor="NotSupported_Constructor"; 69internal const String NotSupported_Method="NotSupported_Method"; 70internal const String NotSupported_NYI="NotSupported_NYI"; 71internal const String NotSupported_DynamicModule="NotSupported_DynamicModule"; 72internal const String NotSupported_NotDynamicModule="NotSupported_NotDynamicModule"; 73internal const String NotSupported_NotAllTypesAreBaked="NotSupported_NotAllTypesAreBaked"; 74internal const String NotSupported_SortedListNestedWrite="NotSupported_SortedListNestedWrite"; 77internal const String Serialization_ArrayInvalidLength="Serialization_ArrayInvalidLength"; 78internal const String Serialization_ArrayNoLength="Serialization_ArrayNoLength"; 79internal const String Serialization_CannotGetType="Serialization_CannotGetType"; 80internal const String Serialization_InsufficientState="Serialization_InsufficientState"; 81internal const String Serialization_InvalidID="Serialization_InvalidID"; 82internal const String Serialization_MalformedArray="Serialization_MalformedArray"; 83internal const String Serialization_MultipleMembers="Serialization_MultipleMembers"; 84internal const String Serialization_NoID="Serialization_NoID"; 85internal const String Serialization_NoType="Serialization_NoType"; 86internal const String Serialization_NoBaseType="Serialization_NoBaseType"; 87internal const String Serialization_NullSignature="Serialization_NullSignature"; 88internal const String Serialization_UnknownMember="Serialization_UnknownMember"; 89internal const String Serialization_BadParameterInfo="Serialization_BadParameterInfo"; 90internal const String Serialization_NoParameterInfo="Serialization_NoParameterInfo"; 92internal const String WeakReference_NoLongerValid="WeakReference_NoLongerValid"; 93internal const String Loader_InvalidPath="Loader_InvalidPath";
system\resources\__fastresourcecomparer.cs (25)
24internal sealed class FastResourceComparer : IComparer, IEqualityComparer, IComparer<String>, IEqualityComparer<String> 31String s = (String) key; 35public int GetHashCode(String key) 43internal static int HashFunction(String key) 58String sa = (String)a; 59String sb = (String)b; 60return String.CompareOrdinal(sa, sb); 63public int Compare(String a, String b) 65return String.CompareOrdinal(a, b); 68public bool Equals(String a, String b) 70return String.Equals(a, b); 76String sa = (String)a; 77String sb = (String)b; 78return String.Equals(sa,sb); 84public unsafe static int CompareOrdinal(String a, byte[] bytes, int bCharLength) 113public static int CompareOrdinal(byte[] bytes, int aCharLength, String b) 121internal unsafe static int CompareOrdinal(byte* a, int byteLen, String b)
system\resources\filebasedresourcegroveler.cs (10)
44public ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, bool createIfNotExists, ref StackCrawlMark stackMark) 48String fileName = null; 57String tempFileName = _mediator.GetResourceFileName(culture); 85public bool HasNeutralResources(CultureInfo culture, String defaultResName) 88String defaultResPath = FindResourceFile(culture, defaultResName); 91String dir = _mediator.ModuleDir; 112private String FindResourceFile(CultureInfo culture, String fileName) 126String path = Path.Combine(_mediator.ModuleDir, fileName); 155private ResourceSet CreateResourceSet(String file)
system\resources\iresourcegroveler.cs (2)
26ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, 31bool HasNeutralResources(CultureInfo culture, String defaultResName);
system\resources\iresourcewriter.cs (4)
28void AddResource(String name, String value); 33void AddResource(String name, Object value); 38void AddResource(String name, byte[] value);
system\resources\manifestbasedresourcegroveler.cs (23)
62public ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, bool createIfNotExists, ref StackCrawlMark stackMark) 104String fileName = _mediator.GetResourceFileName(lookForCulture); 181public bool HasNeutralResources(CultureInfo culture, String defaultResName) 183String resName = defaultResName; 186String[] resourceFiles = _mediator.MainAssembly.GetManifestResourceNames(); 187foreach(String s in resourceFiles) 301String readerTypeName = null, resSetTypeName = null; 430private Stream GetManifestResourceStream(RuntimeAssembly satellite, String fileName, ref StackCrawlMark stackMark) 455private Stream CaseInsensitiveManifestResourceStreamLookup(RuntimeAssembly satellite, String name) 463String nameSpace = _mediator.LocationInfo.Namespace; 473String givenName = sb.ToString(); 475String canonicalName = null; 476foreach (String existingName in satellite.GetManifestResourceNames()) 547String satAssemblyName = GetSatelliteAssemblyName(); 603private bool CanUseDefaultResourceClasses(String readerTypeName, String resSetTypeName) 632private String GetSatelliteAssemblyName() 634String satAssemblyName = _mediator.MainAssembly.GetSimpleName(); 642String satAssemName = _mediator.MainAssembly.GetSimpleName() + ".resources.dll"; 660String missingCultureName = _mediator.NeutralResourcesCulture.Name; 669private void HandleResourceStreamMissing(String fileName) 683String resName = String.Empty;
system\resources\missingmanifestresourceexception.cs (2)
31public MissingManifestResourceException(String message) 36public MissingManifestResourceException(String message, Exception inner)
system\resources\missingsatelliteassemblyexception.cs (6)
28private String _cultureName; 35public MissingSatelliteAssemblyException(String message) 40public MissingSatelliteAssemblyException(String message, String cultureName) 46public MissingSatelliteAssemblyException(String message, Exception inner) 56public String CultureName {
system\resources\neutralresourceslanguageattribute.cs (4)
34private String _culture; 37public NeutralResourcesLanguageAttribute(String cultureName) 47public NeutralResourcesLanguageAttribute(String cultureName, UltimateResourceFallbackLocation location) 59public String CultureName {
system\resources\resourcemanager.cs (75)
57public virtual String GetString(String stringName, String startingCulture, String neutralResourcesCulture){return null;} 178public String lastCultureName; 182protected String BaseNameField; 191private Dictionary <String,ResourceSet> _resourceSets; 192private String moduleDir; // For assembly-ignorant directory location 263internal static readonly String ResReaderTypeName = typeof(ResourceReader).FullName; 264internal static readonly String ResSetTypeName = typeof(RuntimeResourceSet).FullName; 265internal static readonly String MscorlibName = typeof(ResourceReader).Assembly.FullName; 266internal const String ResFileExtension = ".resources"; 309private ResourceManager(String baseName, String resourceDir, Type usingResourceSet) { 330_resourceSets = new Dictionary<String, ResourceSet>(); 340String defaultResName = GetResourceFileName(culture); 353public ResourceManager(String baseName, Assembly assembly) 384public ResourceManager(String baseName, Assembly assembly, Type usingResourceSet) 457_resourceSets = new Dictionary<String, ResourceSet>(); 505_resourceSets = new Dictionary<String,ResourceSet>(); 521String defaultResName = GetResourceFileName(culture); 527String outputResName = defaultResName; 542public virtual String BaseName { 582Dictionary<String, ResourceSet> localResourceSets = _resourceSets; 586_resourceSets = new Dictionary<String,ResourceSet>(); 618public static ResourceManager CreateFileBasedResourceManager(String baseName, String resourceDir, Type usingResourceSet) 633protected virtual String GetResourceFileName(CultureInfo culture) { 665Dictionary<String,ResourceSet> localResourceSets = _resourceSets; 705Dictionary<String,ResourceSet> localResourceSets = _resourceSets; 764Dictionary<String, ResourceSet> localResourceSets = _resourceSets; 843private static void AddResourceSet(Dictionary<String,ResourceSet> localResourceSets, String cultureName, ref ResourceSet rs) 877String v = null; 881v = (String)data.ConstructorArguments[0].Value; 931internal static bool CompareNames(String asmTypeName1, 932String typeName2, 943if (String.Compare(asmTypeName1, 0, typeName2, 0, typeName2.Length, StringComparison.Ordinal) != 0) 954if (String.Compare(an1.Name, asmName2.Name, StringComparison.OrdinalIgnoreCase) != 0) 958if (String.Compare(an1.Name, "mscorlib", StringComparison.OrdinalIgnoreCase) == 0) 989private string GetStringFromPRI(String stringName, String startingCulture, String neutralResourcesCulture) { 1004String.IsNullOrEmpty(startingCulture) ? null : startingCulture, 1005String.IsNullOrEmpty(neutralResourcesCulture) ? null : neutralResourcesCulture); 1117String reswFilename = _locationInfo == null ? BaseNameField : _locationInfo.FullName; 1129reswFilename = String.Empty; 1241public virtual String GetString(String name) { 1249public virtual String GetString(String name, CultureInfo culture) { 1304String value = last.GetString(name, _ignoreCase); 1321String value = rs.GetString(name, _ignoreCase); 1354public virtual Object GetObject(String name) { 1361public virtual Object GetObject(String name, CultureInfo culture) { 1365private Object GetObject(String name, CultureInfo culture, bool wrapUnmanagedMemStream) 1458public UnmanagedMemoryStream GetStream(String name) { 1463public UnmanagedMemoryStream GetStream(String name, CultureInfo culture) { 1489String[] installedSatellites = (String[]) _installedSatelliteInfo[MainAssembly.FullName]; 1519String fileName = AppDomain.CurrentDomain.FusionStore.ConfigurationFileInternal; 1538String queryPath = "/configuration/satelliteassemblies"; 1567if (!String.Equals(assemblyNode.Name, "assembly")) 1574String assemblyName = (String) de.Value; 1575if (!String.Equals(de.Key, "name") || String.IsNullOrEmpty(assemblyName) || assemblyNode.Attributes.Count > 1) 1583String[] satellites = new String[list.Count]; 1585String cultureName = (String)list[i]; 1620internal String ModuleDir 1636internal String BaseNameField 1647internal String GetResourceFileName(CultureInfo culture) 1688internal String BaseName
system\resources\resourcereader.cs (28)
89internal Dictionary<String, ResourceLocator> _resCache; 132private static readonly String[] TypesSafeForDeserialization = { 164public ResourceReader(String fileName) 166_resCache = new Dictionary<String, ResourceLocator>(FastResourceComparer.Default); 188_resCache = new Dictionary<String, ResourceLocator>(FastResourceComparer.Default); 202internal ResourceReader(Stream stream, Dictionary<String, ResourceLocator> resCache) 321internal int FindPosForResource(String name) 403private unsafe bool CompareStringEqualsName(String name) 441private unsafe String AllocateStringForNameIndex(int index, out int dataOffset) 459String s = null; 530internal String LoadString(int pos) 534String s = null; 539if (FindType(typeIndex) != typeof(String)) 546String typeString; 573typeCode = (o is String) ? ResourceTypeCode.String : ResourceTypeCode.StartOfUserTypes; 615if (type == typeof(String)) 909String readerType = _store.ReadString(); 1072BCLDebug.Log("RESMGRFILEFORMAT", String.Format(CultureInfo.InvariantCulture, "ReadResources: _nameOffset = 0x{0:x} _dataOffset = 0x{1:x}", _nameSectionOffset, _dataSectionOffset)); 1087String typeName = _store.ReadString(); 1121String typeName; 1131String typePart; 1164foreach(String safeType in TypesSafeForDeserialization) { 1184public void GetResourceData(String resourceName, out String resourceType, out byte[] resourceData) 1245private String TypeNameFromTypeCode(ResourceTypeCode typeCode) 1249Contract.Assert(!String.Equals(typeCode.ToString(), "LastPrimitive"), "Change ResourceTypeCode metadata order so LastPrimitive isn't what Enum.ToString prefers."); 1307foreach(String safeType in TypesSafeForDeserialization) { 1395String key;
system\resources\resourceset.cs (13)
75public ResourceSet(String fileName) 221public virtual String GetString(String name) 225return (String)obj; 232public virtual String GetString(String name, bool ignoreCase) 235String s; 240s = (String)obj; 254return (String)obj; 263public virtual Object GetObject(String name) 268public virtual Object GetObject(String name, bool ignoreCase) 295private Object GetObjectInternal(String name) 309private Object GetCaseInsensitiveObjectInternal(String name)
system\resources\resourcewriter.cs (33)
49private Func<Type, String> typeConverter; 52public Func<Type, String> TypeNameConverter 69internal String TypeName; 72internal PrecannedResource(String typeName, byte[] data) 96private Dictionary<String, Object> _resourceList; 98private Dictionary<String, Object> _caseInsensitiveDups; 99private Dictionary<String, PrecannedResource> _preserializedData; 104public ResourceWriter(String fileName) 110_resourceList = new Dictionary<String, Object>(_ExpectedNumberOfResources, FastResourceComparer.Default); 111_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase); 122_resourceList = new Dictionary<String, Object>(_ExpectedNumberOfResources, FastResourceComparer.Default); 123_caseInsensitiveDups = new Dictionary<String, Object>(StringComparer.OrdinalIgnoreCase); 129public void AddResource(String name, String value) 145public void AddResource(String name, Object value) 170public void AddResource(String name, Stream value) 185public void AddResource(String name, Stream value, bool closeAfterWrite) 196private void AddResourceInternal(String name, Stream value, bool closeAfterWrite) 219public void AddResource(String name, byte[] value) 232public void AddResourceData(String name, String typeName, byte[] serializedData) 247_preserializedData = new Dictionary<String, PrecannedResource>(FastResourceComparer.Default); 291List<String> typeNames = new List<String>(); 352String tempFile = null; 402foreach (KeyValuePair<String, PrecannedResource> entry in _preserializedData) 410nameHashes[curNameNumber] = FastResourceComparer.HashFunction((String)items.Key); 412names.Write((String)items.Key); // key 525private ResourceTypeCode FindTypeCode(Object value, List<String> types) 531if (type == typeof(String)) 571String typeName; 607writer.Write((String) value); 719Contract.Assert(typeCode >= ResourceTypeCode.StartOfUserTypes, String.Format(CultureInfo.InvariantCulture, "ResourceReader: Unsupported ResourceTypeCode in .resources file! {0}", typeCode));
system\resources\runtimeresourceset.cs (21)
171private Dictionary<String, ResourceLocator> _resCache; 183private Dictionary<String, ResourceLocator> _caseInsensitiveTable; 192internal RuntimeResourceSet(String fileName) : base(false) 195_resCache = new Dictionary<String, ResourceLocator>(FastResourceComparer.Default); 215_resCache = new Dictionary<String, ResourceLocator>(FastResourceComparer.Default); 267public override String GetString(String key) 270return (String) o; 273public override String GetString(String key, bool ignoreCase) 276return (String) o; 279public override Object GetObject(String key) 284public override Object GetObject(String key, bool ignoreCase) 289private Object GetObject(String key, bool ignoreCase, bool isString) 358_caseInsensitiveTable = new Dictionary<String, ResourceLocator>(StringComparer.OrdinalIgnoreCase); 368String readKey = (String) entry.Key; 384String currentKey = (String) en.Key; 415private Object ResolveResourceLocator(ResourceLocator resLocation, String key, Dictionary<String, ResourceLocator> copyOfCache, bool keyInWrongCase)
system\resources\satellitecontractversionattribute.cs (3)
27private String _version; 29public SatelliteContractVersionAttribute(String version) 37public String Version {
system\rttype.cs (47)
1231Dictionary<String, RuntimeEventInfo> csEventInfos = filter.CaseSensitive() ? null : 1232new Dictionary<String, RuntimeEventInfo>(); 1260Filter filter, RuntimeType declaringType, Dictionary<String, RuntimeEventInfo> csEventInfos, ref ListBuilder<RuntimeEventInfo> list) 1338Dictionary<String, List<RuntimePropertyInfo>> csPropertyInfos = filter.CaseSensitive() ? null : 1339new Dictionary<String, List<RuntimePropertyInfo>>(); 1364Dictionary<String, List<RuntimePropertyInfo>> csPropertyInfos, 1966internal static RuntimeType GetType(String typeName, bool throwOnError, bool ignoreCase, bool reflectionOnly, 2049throw new ArgumentException(String.Format( 2077throw new ArgumentException(String.Format( 2099throw new ArgumentException(String.Format( 2169throw new ArgumentException(String.Format( 2716private static readonly RuntimeType StringType = (RuntimeType)typeof(System.String); 2804String name, BindingFlags bindingAttr, CallingConventions callConv, 2853String name, BindingFlags bindingAttr, Type[] types, bool allowPrefixLookup) 2968private ListBuilder<EventInfo> GetEventCandidates(String name, BindingFlags bindingAttr, bool allowPrefixLookup) 2992private ListBuilder<FieldInfo> GetFieldCandidates(String name, BindingFlags bindingAttr, bool allowPrefixLookup) 3016private ListBuilder<Type> GetNestedTypeCandidates(String fullname, BindingFlags bindingAttr, bool allowPrefixLookup) 3211String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, 3281String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) 3321public override EventInfo GetEvent(String name, BindingFlags bindingAttr) 3350public override FieldInfo GetField(String name, BindingFlags bindingAttr) 3390public override Type GetInterface(String fullname, bool ignoreCase) 3426public override Type GetNestedType(String fullname, BindingFlags bindingAttr) 3457public override MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) 3833public override String FullName 3841public override String AssemblyQualifiedName 3855public override String Namespace 4065String[] ret = Enum.InternalGetNames(this); 4068String[] retVal = new String[ret.Length]; 4443throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4485throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4495String defaultMemberName = GetDefaultMemberName(); 4513String name, BindingFlags bindingFlags, Binder binder, Object target, 4514Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 5001public override String ToString() 5070public override String Name 5316throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture, 5577String name, BindingFlags invokeAttr, Object target, Object[] args, 5578bool[] byrefModifiers, int culture, String[] namedParameters); 5584internal static extern Type GetTypeFromProgIDImpl(String progID, String server, bool throwOnError); 5589internal static extern Type GetTypeFromCLSIDImpl(Guid clsid, String server, bool throwOnError); 5608private Object ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, int[] aWrapperTypes, ref MessageData msgData) 5735wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(String)}); 5747newArray[currElem] = wrapperCons.Invoke(new Object[] {(String)oldArray.GetValue(currElem)}); 5776aArgs[i] = new BStrWrapper((String)aArgs[i]);
system\runtime\compilerservices\assemblysettingattributes.cs (3)
66private String dependentAssembly; 70String dependentAssemblyArgument, 78public String DependentAssembly
system\runtime\compilerservices\indexernameattribute.cs (1)
15public IndexerNameAttribute(String indexerName)
system\runtime\compilerservices\ReferenceAssemblyAttribute.cs (3)
24private String _description; // Maybe ".NET FX v4.0 SP1, partial trust"? 30public ReferenceAssemblyAttribute(String description) 35public String Description
system\runtime\compilerservices\TypeForwardedFromAttribute.cs (1)
22if (String.IsNullOrEmpty(assemblyFullName))
system\runtime\designerservices\windowsruntimedesignercontext.cs (2)
143public Assembly GetAssembly(String assemblyName) 154public Type GetType(String typeName)
system\runtime\interopservices\attributes.cs (30)
42public String Scope { get { return Scope_; } } 43public String Identifier { get { return Identifier_; } } 45internal String Scope_; 46internal String Identifier_; 155internal String _importClassName; 160public String Value { get { return _importClassName; } } 197internal String _val; 198public ProgIdAttribute(String progId) 202public String Value { get {return _val;} } 209internal String _val; 210public ImportedFromTypeLibAttribute(String tlbFile) 214public String Value { get {return _val;} } 248internal String _val; 249public ComSourceInterfacesAttribute(String sourceInterfaces) 269public String Value { get {return _val;} } 631public String MarshalType; // Name of marshaler class 634public String MarshalCookie; // cookie to pass to marshaler 663internal String _val; 664public GuidAttribute(String guid) 668public String Value { get { return _val; } } 848internal String _val; 850public DllImportAttribute(String dllName) 854public String Value { get { return _val; } } 856public String EntryPoint; 974internal String _val; 975public ComAliasNameAttribute(String alias) 979public String Value { get {return _val;} } 1126internal String _methodName; 1128public ManagedToNativeComInteropStubAttribute(Type classType, String methodName) 1135public String MethodName { get { return _methodName; } }
system\runtime\interopservices\bstrwrapper.cs (4)
30public BStrWrapper(String value) 41m_WrappedObject = (String)value; 44public String WrappedObject 52private String m_WrappedObject;
system\runtime\interopservices\comexception.cs (8)
35public COMException(String message) 41public COMException(String message, Exception inner) 46public COMException(String message,int errorCode) 58internal COMException(String message, int hresult, Exception inner) 67public override String ToString() { 68String message = Message; 69String s; 70String _className = GetType().ToString();
system\runtime\interopservices\ComTypes\ibindctx.cs (3)
41void RegisterObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] Object punk); 42void GetObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] out Object ppunk); 45int RevokeObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey);
system\runtime\interopservices\ComTypes\ienumstring.cs (1)
26int Next(int celt, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 0), Out] String[] rgelt, IntPtr pceltFetched);
system\runtime\interopservices\ComTypes\iexpando.cs (3)
27FieldInfo AddField(String name); 28PropertyInfo AddProperty(String name); 29MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\ComTypes\imoniker.cs (2)
58void GetDisplayName(IBindCtx pbc, IMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] out String ppszDisplayName); 59void ParseDisplayName(IBindCtx pbc, IMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] String pszDisplayName, out int pchEaten, out IMoniker ppmkOut);
system\runtime\interopservices\ComTypes\ipersistfile.cs (4)
31void Load([MarshalAs(UnmanagedType.LPWStr)] String pszFileName, int dwMode); 32void Save([MarshalAs(UnmanagedType.LPWStr)] String pszFileName, [MarshalAs(UnmanagedType.Bool)] bool fRemember); 33void SaveCompleted([MarshalAs(UnmanagedType.LPWStr)] String pszFileName); 34void GetCurFile([MarshalAs(UnmanagedType.LPWStr)] out String ppszFileName);
system\runtime\interopservices\ComTypes\ireflect.cs (8)
28MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 31MethodInfo GetMethod(String name,BindingFlags bindingAttr); 37String name, 44String name, 48String name, 59String name, 66String name, 73String[] namedParameters);
system\runtime\interopservices\ComTypes\istream.cs (1)
24public String pwcsName;
system\runtime\interopservices\ComTypes\itypecomp.cs (2)
48void Bind([MarshalAs(UnmanagedType.LPWStr)] String szName, int lHashVal, Int16 wFlags, out ITypeInfo ppTInfo, out DESCKIND pDescKind, out BINDPTR pBindPtr); 49void BindType([MarshalAs(UnmanagedType.LPWStr)] String szName, int lHashVal, out ITypeInfo ppTInfo, out ITypeComp ppTComp);
system\runtime\interopservices\ComTypes\itypeinfo.cs (10)
192public String lpstrSchema; 227[MarshalAs(UnmanagedType.BStr)] public String bstrSource; 228[MarshalAs(UnmanagedType.BStr)] public String bstrDescription; 229[MarshalAs(UnmanagedType.BStr)] public String bstrHelpFile; 318void GetNames(int memid, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2), Out] String[] rgBstrNames, int cMaxNames, out int pcNames); 321void GetIDsOfNames([MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 1), In] String[] rgszNames, int cNames, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1), Out] int[] pMemId); 323void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 328void GetMops(int memid, out String pBstrMops);
system\runtime\interopservices\ComTypes\itypeinfo2.cs (8)
29new void GetNames(int memid, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2), Out] String[] rgBstrNames, int cMaxNames, out int pcNames); 32new void GetIDsOfNames([MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 1), In] String[] rgszNames, int cNames, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1), Out] int[] pMemId); 34new void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 39new void GetMops(int memid, out String pBstrMops); 57void GetDocumentation2(int memid, out String pbstrHelpString, out int pdwHelpStringContext, out String pbstrHelpStringDll);
system\runtime\interopservices\ComTypes\itypelib.cs (5)
63void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 65bool IsName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal); 66void FindName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal, [MarshalAs(UnmanagedType.LPArray), Out] ITypeInfo[] ppTInfo, [MarshalAs(UnmanagedType.LPArray), Out] int[] rgMemId, ref Int16 pcFound);
system\runtime\interopservices\ComTypes\itypelib2.cs (7)
32new void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 34new bool IsName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal); 35new void FindName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal, [MarshalAs(UnmanagedType.LPArray), Out] ITypeInfo[] ppTInfo, [MarshalAs(UnmanagedType.LPArray), Out] int[] rgMemId, ref Int16 pcFound); 40void GetDocumentation2(int index, out String pbstrHelpString, out int pdwHelpStringContext, out String pbstrHelpStringDll);
system\runtime\interopservices\expando\iexpando.cs (3)
28FieldInfo AddField(String name); 32PropertyInfo AddProperty(String name); 37MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\externalexception.cs (8)
33public ExternalException(String message) 38public ExternalException(String message, Exception inner) 43public ExternalException(String message,int errorCode) 58public override String ToString() { 59String message = Message; 60String s; 61String _className = GetType().ToString(); 64if (!(String.IsNullOrEmpty(message))) {
system\runtime\interopservices\iexception.cs (5)
33String ToString(); 39String Message { 45String StackTrace { 49String HelpLink { 54String Source {
system\runtime\interopservices\invalidcomobjectexception.cs (2)
29public InvalidComObjectException(String message) 34public InvalidComObjectException(String message, Exception inner)
system\runtime\interopservices\invalidolevarianttypeexception.cs (2)
27public InvalidOleVariantTypeException(String message) 32public InvalidOleVariantTypeException(String message, Exception inner)
system\runtime\interopservices\iregistrationservices.cs (1)
46String GetProgIdForType(Type type);
system\runtime\interopservices\itypelibconverter.cs (9)
87String eventMsg); 100String eventMsg); 114String asmFileName, 119String asmNamespace, 125String typeLibName, 129bool GetPrimaryInteropAssembly(Guid g, Int32 major, Int32 minor, Int32 lcid, out String asmName, out String asmCodeBase); 132String asmFileName, 146String[] GetNames();
system\runtime\interopservices\marshal.cs (47)
110private const String s_strConvertedTypeInfoAssemblyName = "InteropDynamicTypes"; 111private const String s_strConvertedTypeInfoAssemblyTitle = "Interop Dynamic Types"; 112private const String s_strConvertedTypeInfoAssemblyDesc = "Type dynamically generated from ITypeInfo's"; 113private const String s_strConvertedTypeInfoNameSpace = "InteropDynamicTypes"; 124unsafe public static String PtrToStringAnsi(IntPtr ptr) 144unsafe public static String PtrToStringAnsi(IntPtr ptr, int len) 155unsafe public static String PtrToStringUni(IntPtr ptr, int len) 166public static String PtrToStringAuto(IntPtr ptr, int len) 173unsafe public static String PtrToStringUni(IntPtr ptr) 187public static String PtrToStringAuto(IntPtr ptr) 279public static IntPtr OffsetOf(Type t, String fieldName) 1234unsafe public static IntPtr StringToHGlobalAnsi(String s) 1265unsafe public static IntPtr StringToHGlobalUni(String s) 1290String.wstrcpy((char*)hglobal, firstChar, s.Length + 1); 1299public static IntPtr StringToHGlobalAuto(String s) 1315public static String GetTypeLibName(UCOMITypeLib pTLB) 1325public static String GetTypeLibName(ITypeLib typelib) 1331String strTypeLibName = null; 1332String strDocString = null; 1334String strHelpFile = null; 1346internal static String GetTypeLibNameInternal(ITypeLib typelib) 1502public static String GetTypeInfoName(UCOMITypeInfo pTI) 1511public static String GetTypeInfoName(ITypeInfo typeInfo) 1517String strTypeLibName = null; 1518String strDocString = null; 1520String strHelpFile = null; 1532internal static String GetTypeInfoNameInternal(ITypeInfo typeInfo, out bool hasManagedName) 1570internal static String GetManagedTypeInfoNameInternal(ITypeLib typeLib, ITypeInfo typeInfo) 1636String AsmNameString = AsmName.FullName; 1643if (String.Compare(aAssemblies[i].FullName, 1865unsafe public static IntPtr StringToCoTaskMemUni(String s) 1889String.wstrcpy((char *)hglobal, firstChar, s.Length + 1); 1897public static IntPtr StringToCoTaskMemAuto(String s) 1904unsafe public static IntPtr StringToCoTaskMemAnsi(String s) 2197public static IntPtr StringToBSTR(String s) 2214public static String PtrToStringBSTR(IntPtr ptr) 2342public static String GenerateProgIdForType(Type type) 2365Contract.Assert(progIdConstructorArg.ArgumentType == typeof(String), "progIdConstructorArg.ArgumentType == typeof(String)"); 2367String strProgId = (String)progIdConstructorArg.Value; 2370strProgId = String.Empty; 2386public static Object BindToMoniker(String monikerName) 2404public static Object GetActiveObject(String progID) 2429private static extern void CLSIDFromProgIDEx([MarshalAs(UnmanagedType.LPWStr)] String progId, out Guid clsid); 2435private static extern void CLSIDFromProgID([MarshalAs(UnmanagedType.LPWStr)] String progId, out Guid clsid); 2447private static extern void MkParseDisplayName(IBindCtx pbc, [MarshalAs(UnmanagedType.LPWStr)] String szUserName, out UInt32 pchEaten, out IMoniker ppmk); 2753public void ReportEvent(ImporterEventKind EventKind, int EventCode, String EventMsg)
system\runtime\interopservices\marshaldirectiveexception.cs (2)
29public MarshalDirectiveException(String message) 34public MarshalDirectiveException(String message, Exception inner)
system\runtime\interopservices\registrationservices.cs (51)
79private const String strManagedCategoryGuid = "{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}"; 80private const String strDocStringPrefix = ""; 81private const String strManagedTypeThreadingModel = "Both"; 82private const String strComponentCategorySubKey = "Component Categories"; 83private const String strManagedCategoryDescription = ".NET Category"; 84private const String strImplementedCategoriesSubKey = "Implemented Categories"; 85private const String strMsCorEEFileName = "mscoree.dll"; 86private const String strRecordRootName = "Record"; 87private const String strClsIdRootName = "CLSID"; 88private const String strTlbRootName = "TypeLib"; 114String strAsmName = assembly.FullName; 119String strAsmCodeBase = null; 131String strAsmVersion = rtAssembly.GetVersion().ToString(); 134String strRuntimeVersion = assembly.ImageRuntimeVersion; 183String strAsmVersion = rtAssembly.GetVersion().ToString(); 254public virtual String GetProgIdForType(Type type) 375private void RegisterValueType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 378String strRecordId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 409private void RegisterManagedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 415String strDocString = strDocStringPrefix + type.FullName; 416String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 417String strProgId = GetProgIdForType(type); 424if (strProgId != String.Empty) 468if (strProgId != String.Empty) 497private void RegisterComImportedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 500String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 541private bool UnregisterValueType(Type type, String strAsmVersion) 546String strRecordId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 600private bool UnregisterManagedType(Type type,String strAsmVersion) 608String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 609String strProgId = GetProgIdForType(type); 686if (strProgId != String.Empty) 750if (strProgId != String.Empty) 796private bool UnregisterComImportedType(Type type, String strAsmVersion) 800String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 868private void RegisterPrimaryInteropAssembly(RuntimeAssembly assembly, String strAsmCodeBase, PrimaryInteropAssemblyAttribute attr) 874String strTlbId = "{" + Marshal.GetTypeLibGuidForAssembly(assembly).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 875String strVersion = attr.MajorVersion.ToString("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.ToString("x", CultureInfo.InvariantCulture); 900String strTlbId = "{" + Marshal.GetTypeLibGuidForAssembly(assembly).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 901String strVersion = attr.MajorVersion.ToString("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.ToString("x", CultureInfo.InvariantCulture); 1034(aParams[0].ParameterType != typeof(String) && aParams[0].ParameterType != typeof(Type))) 1053if(aParams[0].ParameterType == typeof(String))
system\runtime\interopservices\runtimeenvironment.cs (10)
50internal static extern String GetModuleFileName(); 55internal static extern String GetDeveloperPath(); 60internal static extern String GetHostBindingFile(); 79public static String GetSystemVersion() 87String ver = null; 98public static String GetRuntimeDirectory() 100String dir = GetRuntimeDirectoryImpl(); 108internal static extern String GetRuntimeDirectoryImpl(); 111public static String SystemConfigurationFile { 119String path = sb.ToString();
system\runtime\interopservices\safearrayrankmismatchexception.cs (2)
27public SafeArrayRankMismatchException(String message) 32public SafeArrayRankMismatchException(String message, Exception inner)
system\runtime\interopservices\safearraytypemismatchexception.cs (2)
28public SafeArrayTypeMismatchException(String message) 33public SafeArrayTypeMismatchException(String message, Exception inner)
system\runtime\interopservices\sehexception.cs (2)
30public SEHException(String message) 35public SEHException(String message, Exception inner)
system\runtime\interopservices\tceadaptergen\eventitfinfo.cs (7)
14public EventItfInfo(String strEventItfName, 15String strSrcItfName, 16String strEventProviderName, 43public String GetEventProviderName() 48private String m_strEventItfName; 49private String m_strSrcItfName; 50private String m_strEventProviderName;
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (2)
22public EventProviderWriter( ModuleBuilder OutputModule, String strDestTypeName, Type EventItfType, Type SrcItfType, Type SinkHelperType ) 769private String m_strDestTypeName;
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (3)
15public static readonly String GeneratedTypeNamePostfix = "_SinkHelper"; 29String strFullName = null; 30String strNameSpace = NameSpaceExtractor.ExtractNameSpace( m_EventItfType.FullName );
system\runtime\interopservices\tceadaptergen\namespaceextractor.cs (2)
13public static String ExtractNameSpace(String FullyQualifiedTypeName)
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (3)
31String EventProviderName = CurrEventItf.GetEventProviderName(); 59internal static TypeBuilder DefineUniqueType(String strInitFullName, TypeAttributes attrs, Type BaseType, Type[] aInterfaceTypes, ModuleBuilder mb) 61String strFullName = strInitFullName;
system\runtime\interopservices\typelibconverter.cs (37)
46private const String s_strTypeLibAssemblyTitlePrefix = "TypeLib "; 47private const String s_strTypeLibAssemblyDescPrefix = "Assembly generated from typelib "; 60String asmFileName, 87String asmFileName, 92String asmNamespace, 102if (String.Empty.Equals(asmFileName)) 125String strNonQualifiedAsmFileName = Path.GetFileName(asmFileName); 169public Object ConvertAssemblyToTypeLib(Assembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink) 183public bool GetPrimaryInteropAssembly(Guid g, Int32 major, Int32 minor, Int32 lcid, out String asmName, out String asmCodeBase) 185String strTlbId = "{" + g.ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 186String strVersion = major.ToString("x", CultureInfo.InvariantCulture) + "." + minor.ToString("x", CultureInfo.InvariantCulture); 208asmName = (String)VersionKey.GetValue("PrimaryInteropAssemblyName"); 209asmCodeBase = (String)VersionKey.GetValue("PrimaryInteropAssemblyCodeBase"); 230private static AssemblyBuilder CreateAssemblyForTypeLib(Object typeLib, String asmFileName, AssemblyName asmName, bool bPrimaryInteropAssembly, bool bReflectionOnly, bool bNoDefineVersionResource) 236String dir = null; 240if (String.IsNullOrEmpty(dir)) 294internal static AssemblyName GetAssemblyNameFromTypelib(Object typeLib, String asmFileName, byte[] publicKey, StrongNameKeyPair keyPair, Version asmVersion, AssemblyNameFlags asmNameFlags) 297String strTypeLibName = null; 298String strDocString = null; 300String strHelpFile = null; 313String strFileNameNoPath = Path.GetFileName(asmFileName); 314String strExtension = Path.GetExtension(asmFileName); 370Type []aConsParams = new Type[1] {typeof(String)}; 385Type []aConsParams = new Type[1] {typeof(String)}; 389String strTypeLibName = Marshal.GetTypeLibName((ITypeLib)typeLib); 422String strTypeLibName = null; 423String strDocString = null; 425String strHelpFile = null; 430String strProductName = String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("TypeLibConverter_ImportedTypeLibProductName"), strTypeLibName); 483private static extern void nConvertTypeLibToMetadata(Object typeLib, RuntimeAssembly asmBldr, RuntimeModule modBldr, String nameSpace, TypeLibImporterFlags flags, ITypeLibImporterNotifySink notifySink, out ArrayList eventItfInfoList); 489private static extern Object nConvertAssemblyToTypeLib(RuntimeAssembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink); 494internal extern static void LoadInMemoryTypeByName(RuntimeModule module, String className); 508public void ReportEvent(ImporterEventKind eventKind, int eventCode, String eventMsg) 583if (String.Compare(asm.FullName, args.Name, StringComparison.OrdinalIgnoreCase) == 0) 594if (String.Compare(asm.FullName, args.Name, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\interopservices\ucomibindctx.cs (3)
43void RegisterObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] Object punk); 44void GetObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] out Object ppunk); 46void RevokeObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey);
system\runtime\interopservices\ucomienumstring.cs (1)
27int Next(int celt, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 0), Out] String[] rgelt, out int pceltFetched);
system\runtime\interopservices\ucomiexpando.cs (3)
29FieldInfo AddField(String name); 30PropertyInfo AddProperty(String name); 31MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\ucomimoniker.cs (2)
58void GetDisplayName(UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] out String ppszDisplayName); 59void ParseDisplayName(UCOMIBindCtx pbc, UCOMIMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] String pszDisplayName, out int pchEaten, out UCOMIMoniker ppmkOut);
system\runtime\interopservices\ucomipersistfile.cs (4)
33void Load([MarshalAs(UnmanagedType.LPWStr)] String pszFileName, int dwMode); 34void Save([MarshalAs(UnmanagedType.LPWStr)] String pszFileName, [MarshalAs(UnmanagedType.Bool)] bool fRemember); 35void SaveCompleted([MarshalAs(UnmanagedType.LPWStr)] String pszFileName); 36void GetCurFile([MarshalAs(UnmanagedType.LPWStr)] out String ppszFileName);
system\runtime\interopservices\ucomireflect.cs (8)
29MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 32MethodInfo GetMethod(String name,BindingFlags bindingAttr); 38String name, 45String name, 49String name, 60String name, 67String name, 74String[] namedParameters);
system\runtime\interopservices\ucomistream.cs (1)
25public String pwcsName;
system\runtime\interopservices\ucomitypecomp.cs (2)
51void Bind([MarshalAs(UnmanagedType.LPWStr)] String szName, int lHashVal, Int16 wFlags, out UCOMITypeInfo ppTInfo, out DESCKIND pDescKind, out BINDPTR pBindPtr); 52void BindType([MarshalAs(UnmanagedType.LPWStr)] String szName, int lHashVal, out UCOMITypeInfo ppTInfo, out UCOMITypeComp ppTComp);
system\runtime\interopservices\ucomitypeinfo.cs (12)
188public String lpstrSchema; 221[MarshalAs(UnmanagedType.BStr)] public String bstrSource; 222[MarshalAs(UnmanagedType.BStr)] public String bstrDescription; 223[MarshalAs(UnmanagedType.BStr)] public String bstrHelpFile; 316void GetNames(int memid, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2), Out] String[] rgBstrNames, int cMaxNames, out int pcNames); 319void GetIDsOfNames([MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 1), In] String[] rgszNames, int cNames, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1), Out] int[] pMemId); 321void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 322void GetDllEntry(int memid, INVOKEKIND invKind, out String pBstrDllName, out String pBstrName, out Int16 pwOrdinal); 326void GetMops(int memid, out String pBstrMops);
system\runtime\interopservices\ucomitypelib.cs (5)
66void GetDocumentation(int index, out String strName, out String strDocString, out int dwHelpContext, out String strHelpFile); 68bool IsName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal); 69void FindName([MarshalAs(UnmanagedType.LPWStr)] String szNameBuf, int lHashVal, [MarshalAs(UnmanagedType.LPArray), Out] UCOMITypeInfo[] ppTInfo, [MarshalAs(UnmanagedType.LPArray), Out] int[] rgMemId, ref Int16 pcFound);
system\Runtime\InteropServices\Variant.cs (1)
617public String AsBstr {
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (5)
150public String GetString() 152return CoerceScalarValue<String>(PropertyType.String); 296public String[] GetStringArray() 298return CoerceArrayValue<String>(PropertyType.StringArray); 424else if (type == PropertyType.Guid && typeof(T) == typeof(String)) {
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (6)
303if (type == typeof(String)) 304return new CLRIReferenceImpl<String>(PropertyType.String, (String)obj); 380if (type == typeof(String)) 381return new CLRIReferenceArrayImpl<String>(PropertyType.StringArray, (String[])obj);
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (1)
116String.Format(
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (1)
167stringItems[i] = String.Empty;
system\runtime\interopservices\windowsruntime\ipropertyvalue.cs (2)
67String GetString(); 121String[] GetStringArray();
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
122stringItems[i] = String.Empty;
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (1)
252stringItems[i] = String.Empty;
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (3)
1059return String.Empty; 1299public static IntPtr StringToHString(String s) 1317public static String PtrToStringHString(IntPtr ptr)
system\runtime\interopservices\windowsruntime\windowsruntimemetadata.cs (1)
132if (String.IsNullOrEmpty(assemblyFile))
system\runtime\NgenServicingAttributes.cs (6)
8private String m_targetedPatchBand; 10public AssemblyTargetedPatchBandAttribute(String targetedPatchBand) 15public String TargetedPatchBand 30private String m_reason; 32public TargetedPatchingOptOutAttribute(String reason) 37public String Reason
system\runtime\remoting\activationservices.cs (24)
50internal const String ActivationServiceURI = "RemoteActivationService.rem"; 52internal const String RemoteActivateKey = "Remote"; 53internal const String PermissionKey = "Permission"; 54internal const String ConnectKey = "Connect"; 148String.Format( 190String.Format( 1041String objURL = (String) ctorMsg.Properties[ConnectKey]; 1066String objURL = (String) 1147String typeURL = (wkte == null ? null : wkte.ObjectUrl); 1161String appURL = null; 1192String activatorURL = null; 1218String remActivatorURL = (String) 1286String.Format( 1406String remActivatorURL = (String) 1419String.Format( 1479String activationTypeName = ctorMsg.ActivationTypeName; 1483String.Format( 1493String.Format( 1518String m_RemActivatorURL; 1520internal AppDomainLevelActivator(String remActivatorURL)
system\runtime\remoting\callcontext.cs (28)
54public static void FreeNamedDataSlot(String name) 65public static Object LogicalGetData(String name) 73private static Object IllogicalGetData(String name) 127public static Object GetData(String name) 141public static void SetData(String name, Object data) 155public static void LogicalSetData(String name, Object data) 199public Object GetData(String name) { return IsNull ? null : m_ctx.GetData(name); } 237public void FreeNamedDataSlot(String name) 242public Object GetData(String name) 247public void SetData(String name, Object data) 262ilcc.Datastore[(String)de.Key] = de.Value; 320public Object GetData(String name) { return IsNull ? null : m_ctx.GetData(name); } 393info.AddValue((String)de.Key, de.Value); 427lc.Datastore[(String)de.Key] = de.Value; 434String key = (String)de.Key; 467Datastore[(String)de.Key] = de.Value; 571public void FreeNamedDataSlot(String name) 577public Object GetData(String name) 583public void SetData(String name, Object data) 661String name = GetPropertyKeyForHeader(header); 670internal static String GetPropertyKeyForHeader(Header header) 708String key = (String)e.Key; 729String key = (String)e.Key; 783String _logicalCallID; 785internal String LogicalCallID
system\runtime\remoting\channelservices.cs (21)
131String chnlName = chnl.ChannelName; 331internal static IMessageSink CreateMessageSink(String url, Object data, out String objectURI) 365String objectUri; 371public static IChannel GetChannel(String name) 392public static String[] GetUrlsForObject(MarshalByRefObject obj) 408String uri = id.ObjURI; 418String[] urls = ((IChannelReceiver)regChnlList.GetChannel(i)).GetUrlsForUri(uri); 437String[] urlList = new String[keys.Count]; 439foreach (String key in keys) 976String uri = InternalSink.GetURI(msg); 994String uri = InternalSink.GetURI(msg); 1086internal static String FindFirstHttpUrlForObject(String objectUri) 1099String chnlType = chnl.GetType().FullName; 1100if ((String.CompareOrdinal(chnlType, "System.Runtime.Remoting.Channels.Http.HttpChannel") == 0) || 1101(String.CompareOrdinal(chnlType, "System.Runtime.Remoting.Channels.Http.HttpServerChannel") == 0)) 1103String[] urls = chnl.GetUrlsForUri(objectUri); 1274internal int FindChannelIndex(String name) 1278if(String.Compare(name, GetChannel(i).ChannelName, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\configuration.cs (93)
196static volatile String _applicationName; 209private const String _machineConfigFilename = "machine.config"; 212internal static String ApplicationName 230String.Format( 274String url, Object data, out String objectURI) 318String machineDirectory = System.Security.Util.Config.MachineDirectory; 319String longFileName = machineDirectory 338internal static void DoConfiguration(String filename, bool ensureSecurity) 354private static RemotingXmlConfigFileData LoadConfigurationFromXmlFile(String filename) 372String.Format( 386String appName = configData.ApplicationName; 424String.Format( 496String.Format( 515String ctor = null; 527String.Format( 601String.Format( 613String.Format( 627String.Format( 650String.Format( 667String assemblyName = cache.SimpleAssemblyName; 673String fullAssemblyName = cache.AssemblyName; 686internal static ActivatedClientTypeEntry IsRemotelyActivatedClientType(String typeName, String assemblyName) 700String assemblyName = cache.SimpleAssemblyName; 711internal static WellKnownClientTypeEntry IsWellKnownClientType(String typeName, 712String assemblyName) 720private static void ParseGenericType(String typeAssem, int indexStart, out String typeName, out String assemName) 756internal static void ParseType(String typeAssem, out String typeName, out String assemName) 758String value = typeAssem; 793String assemblyName = cache.SimpleAssemblyName; 802internal static bool IsActivationAllowed(String TypeName) 804String svrTypeName = RemotingServices.InternalGetTypeNameFromQualifiedTypeName(TypeName); 809String typeName; 810String asmName; 839String serverType = entry.TypeName; 840String asmName = entry.AssemblyName; 841String URI = entry.ObjectUri; 867internal static Type GetServerTypeForUri(String URI) 900internal static ServerIdentity CreateWellKnownObject(String uri) 938private String EncodeTypeAndAssemblyNames(String typeName, String assemblyName) 1013String appUri = remApp.AppUri; 1113internal bool ActivationAllowed(String typeName, String assemblyName) 1119internal ActivatedClientTypeEntry QueryRemoteActivate(String typeName, String assemblyName) 1121String index = EncodeTypeAndAssemblyNames(typeName, assemblyName); 1134String.Format( 1144internal WellKnownClientTypeEntry QueryConnect(String typeName, String assemblyName) 1146String index = EncodeTypeAndAssemblyNames(typeName, assemblyName); 1221String appUrl = null; 1285internal void AddActivatedType(String typeName, String assemblyName, 1297String.Format( 1308String key = EncodeTypeAndAssemblyNames(typeName, assemblyName); 1315private bool CheckForServiceEntryWithType(String typeName, String asmName) 1322private bool CheckForWellKnownServiceEntryWithType(String typeName, String asmName) 1338if (String.Compare(svc.AssemblyName, 0, asmName, 0, asmName.Length, StringComparison.OrdinalIgnoreCase) == 0) 1361private bool CheckForRedirectedClientType(String typeName, String asmName) 1379String.Format( 1388String.Format( 1394String appUrl = entry.ApplicationUrl; 1407String index = EncodeTypeAndAssemblyNames(entry.TypeName, entry.AssemblyName); 1417String.Format( 1426String.Format( 1433String appUrl = entry.ApplicationUrl; 1449String index = EncodeTypeAndAssemblyNames(entry.TypeName, entry.AssemblyName); 1469String.Format( 1475String key = entry.ObjectUri.ToLower(CultureInfo.InvariantCulture); 1496internal Type GetServerTypeForUri(String URI) 1501String uriLower = URI.ToLower(CultureInfo.InvariantCulture); 1515internal ServerIdentity StartupWellKnownObject(String URI) 1519String uriLower = URI.ToLower(CultureInfo.InvariantCulture); 1539String asmName, String svrTypeName, String URI, 1547String asmName, String svrTypeName, String URI, 1628String tempUri = RemotingServices.GetObjectUri(obj); 1632String.Format( 1692internal static Type LoadType(String typeName, String assemblyName)
system\runtime\remoting\context.cs (11)
213public virtual IContextProperty GetProperty(String name) 333internal static void CheckPropertyNameClash(String name, IContextProperty[] props, int count) 613public override String ToString() 770public static LocalDataStoreSlot AllocateNamedDataSlot(String name) 776public static LocalDataStoreSlot GetNamedDataSlot(String name) 782public static void FreeNamedDataSlot(String name) 897public static bool UnregisterDynamicProperty(String name, ContextBoundObject obj, Context ctx) 970internal static bool RemoveDynamicProperty(Context ctx, String name) 984private bool RemovePerContextDynamicProperty(String name) 990String.Format( 999private static bool RemoveGlobalDynamicProperty(String name)
system\runtime\remoting\contextproperty.cs (7)
34internal String _name; // property name 38public virtual String Name { 52internal ContextProperty(String name, Object prop) 84String Name 141protected String AttributeName; 145public ContextAttribute(String name) 153public virtual String Name
system\runtime\remoting\crossappdomainchannel.cs (14)
33private const String _channelName = "XAPPDMN"; 34private const String _channelURI = "XAPPDMN_URI"; 76public virtual String ChannelName 82public virtual String ChannelURI 94public String Parse(String url, out String objectURI) 114public virtual IMessageSink CreateMessageSink(String url, Object data, 115out String objectURI) 149public virtual String[] GetUrlsForUri(String objectURI) 177String _processGuid; // idGuid for the process (shared static) 193internal virtual String ProcessGuid { get {return _processGuid;}} 195internal CrossAppDomainData(IntPtr ctxId, int domainID, String processGuid)
system\runtime\remoting\crosscontextchannel.cs (2)
24private const String _channelName = "XCTX"; 26private const String _channelURI = "XCTX_URI";
system\runtime\remoting\dynamicpropertyholder.cs (3)
77internal virtual bool RemoveDynamicProperty(String name) 93String.Format( 180internal static void CheckPropertyNameClash(String name, IDynamicProperty[] props, int count)
system\runtime\remoting\header.cs (6)
23public Header (String _Name, Object _Value) 27public Header (String _Name, Object _Value, bool _MustUnderstand) 34public Header (String _Name, Object _Value, bool _MustUnderstand, String _HeaderNamespace) 42public String Name; 46public String HeaderNamespace;
system\runtime\remoting\iactivator.cs (1)
74String ActivationTypeName
system\runtime\remoting\ichannel.cs (33)
33String ChannelName 39String Parse(String url, out String objectURI); 46IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI); 58String[] GetUrlsForUri(String objectURI); 69String ChannelScheme 88void AddHookChannelUri(String channelUri); 96IClientChannelSink CreateSink(IChannelSender channel, String url, Object remoteChannelData); 283String[] ChannelUris 306String[] _channelURIs; // list of channel uri's that map to this channel 311private ChannelDataStore(String[] channelUrls, DictionaryEntry[] extraData) 317public ChannelDataStore(String[] channelURIs) 330public String[] ChannelUris 426String strKey = (String)key; 431if (String.Compare((String)entry.Key, strKey, StringComparison.OrdinalIgnoreCase) == 0) 445String strKey = (String)key; 451String headerKey = (String)((DictionaryEntry)_headerList[co]).Key; 452if (String.Compare(headerKey, strKey, StringComparison.OrdinalIgnoreCase) == 0) 483private String _name; 487public SinkProviderData(String name) 492public String Name { get { return _name; } } 654String keyStr = key as String; 660String someKeyStr = someKey as String; 664if (String.Compare(keyStr, someKeyStr, StringComparison.OrdinalIgnoreCase) == 0)
system\runtime\remoting\identity.cs (29)
27internal static String ProcessIDGuid 38private static String s_originalAppDomainGuid = Guid.NewGuid().ToString().Replace('-', '_'); 39private static String s_configuredAppDomainGuid = null; 41internal static String AppDomainUniqueId 53private static String s_originalAppDomainGuidString = "/" + s_originalAppDomainGuid.ToLower(CultureInfo.InvariantCulture) + "/"; 54private static String s_configuredAppDomainGuidString = null; 56private static String s_IDGuidString = "/" + s_originalAppDomainGuid.ToLower(CultureInfo.InvariantCulture) + "/"; 61internal static String IDGuidString 67internal static String RemoveAppNameOrAppGuidIfNecessary(String uri) 79String guidStr; 106String appName = RemotingConfiguration.ApplicationName; 112if (String.Compare(uri, 1, appName, 0, appName.Length, true, CultureInfo.InvariantCulture) == 0) 131private static bool StringStartsWith(String s1, String prefix) 139return (String.CompareOrdinal(s1, 0, prefix, 0, prefix.Length) == 0); 161protected String _ObjURI; 162protected String _URL; 181internal static String ProcessGuid {get {return ProcessIDGuid;}} 207internal Identity(String objURI, String URL) 329internal String URI 344internal String ObjURI 455internal void SetOrCreateURI(String uri) 460internal void SetOrCreateURI(String uri, bool bIdCtor) 477String random = System.Convert.ToBase64String(GetRandomBytes()); 492internal static String GetNewLogicalCallID() 531internal bool RemoveProxySideDynamicProperty(String name) 538String.Format(
system\runtime\remoting\identityholder.cs (18)
90private static String MakeURIKey(String uri) 96private static String MakeURIKeyNoLower(String uri) 128foreach (String key in removeList) 163internal static Identity ResolveIdentity(String URI) 202internal static Identity CasualResolveIdentity(String uri) 265MarshalByRefObject obj, String objURI, int flags) 400String objURI, String URL, ObjRef objectRef) 418String.Format( 485Identity idObj, String URI, DuplicateIdentityOption duplicateOption) 528String uriKey = MakeURIKey(idObj.URI); 583String tempURI = idObj.URI; 713internal static void RemoveIdentity(String uri) 719internal static void RemoveIdentity(String uri, bool bResetURI) 726String uriKey = MakeURIKey(uri); 802internal static bool RemoveDynamicProperty(MarshalByRefObject obj, String name)
system\runtime\remoting\idynamicmessagesink.cs (1)
24String Name
system\runtime\remoting\iinternalmessage.cs (1)
41void SetURI(String uri);
system\runtime\remoting\imethodmessage.cs (6)
24String Uri 29String MethodName 34String TypeName 51String GetArgName(int index); 90String GetInArgName(int index); 109String GetOutArgName(int index);
system\runtime\remoting\lifetimeservices.cs (1)
232public String Name
system\runtime\remoting\message.cs (169)
69private String _MethodName; // Method name 73private String _URI; // target object URI 74private String _typeName; 93internal static String CallContextKey = "__CallContext"; 94internal static String UriKey = "__Uri"; 213void IInternalMessage.SetURI(String URI) 252public String Uri 297public String GetArgName(int index) 347public String GetInArgName(int index) 372public String MethodName 383public String TypeName 521String.Format( 555String.Format( 571String.Format( 622String valueName = null; 633String.Format( 662String strValue = value as String; 720soapQName.Namespace = (String)keyToNamespaceTable["xmlns"]; 722soapQName.Namespace = (String)keyToNamespaceTable["xmlns"+":"+soapQName.Key]; 760String.Format( 794String valueName = null; 805String.Format( 850public static void DebugOut(String s) 865internal extern static void OutToUnmanagedDebugger(String s); 978private String _activationTypeName; 1053public String ActivationTypeName 1075public String Uri 1108public String MethodName 1126public String TypeName 1203public String GetInArgName(int index) 1254public String GetArgName(int index) 1396public static String[] CCMkeys = { 1481((ConstructorCallMessage)_ccmsg).Uri = (String)value; 1505public static String[] CRMkeysFault = { 1511public static String[] CRMkeysNoFault = { 1591rm.Uri = (String)value; 1598mr.Uri = (String)value; 1644public static String[] MCMkeys = { 1720msg.Uri = (String)value; 1724mc.Uri = (String)value; 1762public static String[] MCMkeysFault = {"__CallContext"}; 1763public static String[] MCMkeysNoFault = { 1865rm.Uri = (String)value; 1871mr.Uri = (String)value; 1918internal String[] _keys; 1921internal MessageDictionary(String[] keys, IDictionary idict) 1972if (!(key is System.String)) 1976String skey = (String) key; 2004System.String skey = key as System.String; 2353public String Uri 2359public String MethodName 2365public String TypeName 2398public String GetArgName(int index) {return _m.GetArgName(index);} 2436public String GetOutArgName(int index) 2504void IInternalMessage.SetURI(String val) 2535internal String _URI; 2539internal String _methodName; 2540internal String _typeName; 2587public String Uri 2593public String MethodName 2598public String TypeName 2670public String GetArgName(int index) 2728public String GetOutArgName(int index) 2822private String uri; 2823private String methodName; 2825private String typeName; 2922uri = handlerObject as String; 3004private static Type ResolveTypeRelativeTo(String typeName, int offset, int count, Type serverType) 3014String ifaceTypeName = iface.FullName; 3017if (String.CompareOrdinal(typeName, offset, ifaceTypeName, 0, count) == 0) 3029private static Type ResolveTypeRelativeToBaseTypes(String typeName, int offset, int count, Type serverType) 3039String serverTypeName = serverType.FullName; 3042if (String.CompareOrdinal(typeName, offset, serverTypeName, 0, count) == 0) 3068if (String.CompareOrdinal(typeName, 0, "clr:", 0, 4) == 0) 3118String.Format( 3274String.Format( 3329void ResolveOverloadedMethod(RuntimeType t, String methodName, ArrayList argNames, ArrayList argValues) 3419argValues.Add(info.GetValue((String)argNames[i], typeof(Object))); 3427String.Format( 3438String.Format( 3468String memberName; 3472memberName = (String)paramNames[i]; 3511String memberName = (String)paramNames[i]; 3568public String GetArgName(int index) 3608public String GetInArgName(int index) 3625public String MethodName 3631public String TypeName 3664public String Uri 3744void IInternalMessage.SetURI(String val) 3796String name = LogicalCallContext.GetPropertyKeyForHeader(header); 3812internal virtual bool FillSpecialHeader(String key, Object value) 3820uri = (String) value; 3824methodName = (String) value; 3832typeName = (String) value; 3841if (value is String) 3844callContext.RemotingData.LogicalCallID = (String) value; 3856internal void FillHeader(String key, Object value) 3879methodName = (String)h[0].Value; 3923internal String _activationTypeName; 3965internal override bool FillSpecialHeader(String key, Object value) 3990_activationTypeName = (String) value; 4030public String ActivationTypeName 4100private String methodName; 4102private String uri; 4103private String typeName; 4141String.Format( 4270String[] paramNames = new String[outParamsCount]; 4410else if ((soapFault.Detail != null) && (soapFault.Detail.GetType() == typeof(String)) && (!(((String)soapFault.Detail).Length == 0))) 4412fault = new ServerException((String)soapFault.Detail); 4430Object returnValue = info.GetValue((String)paramNames[0], typeof(Object)); 4431if (returnValue is String) 4449String memberName = (String)paramNames[i]; 4499String memberName = (String)paramNames[j]; 4533public String Uri 4540public String MethodName 4546public String TypeName 4593public String GetArgName(int index) 4635public String GetOutArgName(int index) 4726String name = LogicalCallContext.GetPropertyKeyForHeader(header); 4742internal void FillHeader(String name, Object value) 4750methodName = (String) value; 4754uri = (String) value; 4762typeName = (String) value; 4771if (value is String) 4774callContext.RemotingData.LogicalCallID = (String) value; 4817void IInternalMessage.SetURI(String val) 4849internal String[] fieldNames = null; 4867public String[] FieldNames 5008String unUsed; 5125void IInternalMessage.SetURI(String uri) 5294internal String GetArgName(int argNum) 5347internal String[] ArgNames 5351String[] ret = null; 5355ret = new String[_map.Length]; 5539public String Uri 5545public String MethodName 5551public String TypeName 5576public String GetArgName(int index) { return m_ArgName; } 5599public String GetInArgName(int index) { return null; } 5613String m_URI = "Exception"; 5614String m_MethodName = "Unknown"; 5615String m_TypeName = "Unknown"; 5618String m_ArgName = "Unknown"; 5719System.String strKey = key as System.String; 5736System.String strKey = key as System.String; 5772public virtual String Uri 5786public virtual String MethodName 5792public virtual String TypeName 5830public virtual String GetArgName(int index) { return _msg.GetArgName(index); } 5877public virtual String GetInArgName(int index) 5941System.String strKey = key as System.String; 5959System.String strKey = key as System.String; 6001public String Uri 6016public virtual String MethodName 6022public virtual String TypeName 6061public virtual String GetArgName(int index) { return _msg.GetArgName(index); } 6108public virtual String GetOutArgName(int index)
system\runtime\remoting\messagesmuggler.cs (12)
30if ((obj is String) || 118if (elementType.IsPrimitive || (elementType == typeof(String))) 262private String _uri; 263private String _methodName; 264private String _typeName; 385internal String Uri { get { return _uri; } } 386internal String MethodName { get { return _methodName; } } 387internal String TypeName { get { return _typeName; } } 418if (_callContext is String) 421callContext.RemotingData.LogicalCallID = (String)_callContext; 582if (_callContext is String) 585callContext.RemotingData.LogicalCallID = (String)_callContext;
system\runtime\remoting\objref.cs (38)
43String TypeName 94private String serverType; 95private String[] serverHierarchy; 96private String[] interfacesImplemented; 99public virtual String TypeName 144internal static String GetQualifiedTypeName(RuntimeType type) 152internal static bool ParseTypeAndAssembly(String typeAndAssembly, out String typeName, out String assemName) 198String[] serverHierarchy = null; 201serverHierarchy = new String[hierarchyLen]; 216String[] interfaceNames = null; 222interfaceNames = new String[interfaces.Length + (isInterface ? 1 : 0)]; 234internal String ServerType 240private String[] ServerHierarchy 246private String[] InterfacesImplemented 253private bool CompareTypes(Type type1, String type2) 261private bool CanCastTo(Type castType, String[] types) 401internal String uri; 468String url = null; // an objref lite url 476uri = (String) e.Value; 493if(o.GetType() == typeof(String)) 506if(o.GetType() == typeof(String)) 516url = (String)e.Value; 608info.AddValue("uri", uri, typeof(String)); 616info.AddValue("url", uri, typeof(String)); 638String[] bashInfo = (String[])CallContext.GetData("__bashChannelUrl"); 642String urlToBash = bashInfo[0]; 643String replacementUrl = bashInfo[1]; 656String[] urls = channelDataStore.ChannelUris; 662newChannelDataStore.ChannelUris = new String[1]; 679public virtual String URI 785String srvTypeName = TypeInfo.TypeName; 786String typeName = null; 787String assemName = null; 992String.Format( 1058String httpUri = ChannelServices.FindFirstHttpUrlForObject(URI);
system\runtime\remoting\realproxy.cs (1)
186String.Format(
system\runtime\remoting\remotingattributes.cs (35)
117public String methodName; 123private String _qualifiedTypeName; 124private String _assemblyName; 125private String _simpleAssemblyName; // (no strong name, version, etc.) 150internal MethodBase GetLastCalledMethod(String newMeth) 156String methodName = lastMeth.methodName; 168internal void SetLastCalledMethod(String newMethName, MethodBase newMB) 192internal String QualifiedTypeName 205internal String AssemblyName 217internal String SimpleAssemblyName 254private String _typeAndAssemblyName = null; 255private String _methodName = null; 297internal String TypeAndAssemblyName 308internal String MethodName 559private String _XmlElementName = null; 560private String _XmlTypeName = null; 561private String _XmlTypeNamespace = null; 584public String XmlElementName 601public override String XmlNamespace 620public String XmlTypeName // value for xml type name (this should always be valid) 637public String XmlTypeNamespace // value for xml type namespace (this should always be valid) 694private String _SoapAction = null; 696private String _responseXmlElementName = null; 697private String _responseXmlNamespace = null; 698private String _returnXmlElementName = null; 707public String SoapAction // SoapAction value to place in protocol headers. 735public override String XmlNamespace 752public String ResponseXmlElementName 766public String ResponseXmlNamespace 780public String ReturnXmlElementName 794private String XmlTypeNamespaceOfDeclaringType 829private String _xmlElementName = null; 841public String XmlElementName 882protected String ProtXmlNamespace = null; 897public virtual String XmlNamespace // If this returns null, then this shouldn't be namespace qualified.
system\runtime\remoting\remotingconfigparser.cs (180)
40internal String TypeName; 41internal String AssemblyName; 47internal ChannelEntry(String typeName, String assemblyName, Hashtable properties) 58internal String TypeName; 59internal String AssemblyName; 60internal String Url; 62internal ClientWellKnownEntry(String typeName, String assemName, String url) 73internal String TypeName; 74internal String AssemblyName; 77internal ContextAttributeEntry(String typeName, String assemName, Hashtable properties) 88internal String XmlElementName; 89internal String XmlElementNamespace; 90internal String UrtTypeName; 91internal String UrtAssemblyName; 93internal InteropXmlElementEntry(String xmlElementName, String xmlElementNamespace, 94String urtTypeName, String urtAssemblyName) 113internal String XmlTypeName; 114internal String XmlTypeNamespace; 115internal String UrtTypeName; 116internal String UrtAssemblyName; 118internal InteropXmlTypeEntry(String xmlTypeName, String xmlTypeNamespace, 119String urtTypeName, String urtAssemblyName) 203internal String TypeName; 204internal String AssemblyName; 206public PreLoadEntry(String typeName, String assemblyName) 216internal String AppUri; 221internal RemoteAppEntry(String appUri) 226internal void AddWellKnownEntry(String typeName, String assemName, String url) 232internal void AddActivatedEntry(String typeName, String assemName, 244internal String ObjectURI; 248String typeName, String assemName, ArrayList contextAttributes, 249String objURI, WellKnownObjectMode objMode) : 260internal String TypeName; 261internal String AssemblyName; 266internal SinkProviderEntry(String typeName, String assemName, Hashtable properties, 279internal String TypeName; 280internal String AssemblyName; 283internal TypeEntry(String typeName, String assemName, 302internal String ApplicationName = null; // application name 325internal void AddInteropXmlElementEntry(String xmlElementName, String xmlElementNamespace, 326String urtTypeName, String urtAssemblyName) 334internal void AddInteropXmlTypeEntry(String xmlTypeName, String xmlTypeNamespace, 335String urtTypeName, String urtAssemblyName) 343internal void AddPreLoadEntry(String typeName, String assemblyName) 350internal RemoteAppEntry AddRemoteAppEntry(String appUri) 357internal void AddServerActivatedEntry(String typeName, String assemName, 365internal ServerWellKnownEntry AddServerWellKnownEntry(String typeName, String assemName, 366ArrayList contextAttributes, String objURI, WellKnownObjectMode objMode) 377private void TryToLoadTypeIfApplicable(String typeName, String assemblyName) 576public static RemotingXmlConfigFileData ParseConfigFile(String filename) 595String key = entry.Key.ToString(); 690private static void ReportError(String errorStr, RemotingXmlConfigFileData configData) 703String.Format( 709private static void ReportUnknownValueError(ConfigNode node, String value, 713String.Format( 719private static void ReportMissingAttributeError(ConfigNode node, String attributeName, 725private static void ReportMissingAttributeError(String nodeDescription, String attributeName, 729String.Format( 735private static void ReportMissingTypeAttributeError(ConfigNode node, String attributeName, 739String.Format( 745private static void ReportMissingXmlTypeAttributeError(ConfigNode node, String attributeName, 749String.Format( 755private static void ReportInvalidTimeFormatError(String time, 759String.Format( 771String.Format( 782String.Format( 789ConfigNode node, String referenceName, 793String.Format( 800String assemName, String entryDescription, 805String.Format( 816String key = entry.Key.ToString(); 821Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 835String key = entry.Key.ToString(); 837configData.ApplicationName = (String)entry.Value; 858String key = entry.Key.ToString(); 863if (String.Compare(value, "on", StringComparison.OrdinalIgnoreCase) == 0) 865else if (String.Compare(value, "off", StringComparison.OrdinalIgnoreCase) == 0) 867else if (String.Compare(value, "remoteonly", StringComparison.OrdinalIgnoreCase) == 0) 887String key = entry.Key.ToString(); 892configData.Lifetime.LeaseTime = ParseTime((String)entry.Value, configData); 896configData.Lifetime.SponsorshipTimeout = ParseTime((String)entry.Value, configData); 900configData.Lifetime.RenewOnCallTime = ParseTime((String)entry.Value, configData); 904configData.Lifetime.LeaseManagerPollTime = ParseTime((String)entry.Value, configData); 934String remoteAppUri = null; 939String key = entry.Key.ToString(); 942case "url": remoteAppUri = (String)entry.Value; break; 978String key = entry.Key.ToString(); 1023String typeName = null; 1024String assemName = null; 1027String objectURI = null; 1035String key = entry.Key.ToString(); 1042String value = (String)entry.Value; 1044if (String.CompareOrdinal(value, "Singleton") == 0) 1047if (String.CompareOrdinal(value, "SingleCall") == 0) 1054case "objectUri": objectURI = (String)entry.Value; break; 1058RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1115String typeName = null; 1116String assemName = null; 1121String key = entry.Key.ToString(); 1126RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1171String typeName = null; 1172String assemName = null; 1173String url = null; 1177String key = entry.Key.ToString(); 1184RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1188case "url": url = (String)entry.Value; break; 1212String typeName = null; 1213String assemName = null; 1218String key = entry.Key.ToString(); 1223RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1255String xmlElementName = null; 1256String xmlElementNamespace = null; 1257String urtTypeName = null; 1258String urtAssemName = null; 1262String key = entry.Key.ToString(); 1267RemotingConfigHandler.ParseType((String)entry.Value, out xmlElementName, out xmlElementNamespace); 1273RemotingConfigHandler.ParseType((String)entry.Value, out urtTypeName, out urtAssemName); 1295String xmlTypeName = null; 1296String xmlTypeNamespace = null; 1297String urtTypeName = null; 1298String urtAssemName = null; 1302String key = entry.Key.ToString(); 1307RemotingConfigHandler.ParseType((String)entry.Value, out xmlTypeName, out xmlTypeNamespace); 1313RemotingConfigHandler.ParseType((String)entry.Value, out urtTypeName, out urtAssemName); 1335String typeName = null; 1336String assemblyName = null; 1340String key = entry.Key.ToString(); 1345RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemblyName); 1351assemblyName = (String)entry.Value; 1375String typeName = null; 1376String assemName = null; 1382String lowercaseKey = ((String)entry.Key).ToLower(CultureInfo.InvariantCulture); 1388RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1415String id = null; 1416String typeName = null; 1417String assemName = null; 1427String keyStr = (String)entry.Key; 1439id = ((String)entry.Value).ToLower(CultureInfo.InvariantCulture); 1477RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1483delayLoad = Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 1580String nodeName = node.Name; 1593String id = null; 1594String typeName = null; 1595String assemName = null; 1603String keyStr = (String)entry.Key; 1614id = (String)entry.Value; 1661RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1785private static bool CheckAssemblyNameForVersionInfo(String assemName) 1796private static TimeSpan ParseTime(String time, RemotingXmlConfigFileData configData) 1806String specifiedTime = time; 1808String metric = "s"; // default is seconds
system\runtime\remoting\remotingconfiguration.cs (48)
40public static void Configure(String filename) 48public static void Configure(String filename, bool ensureSecurity) 59public static String ApplicationName 79public static String ApplicationId 85public static String ProcessId 150Type type, String objectUri, WellKnownObjectMode mode) 169public static void RegisterActivatedClientType(Type type, String appUrl) 193public static void RegisterWellKnownClientType(Type type, String objectUrl) 263public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(String typeName, String assemblyName) 289public static WellKnownClientTypeEntry IsWellKnownClientType(String typeName, 290String assemblyName) 320String _typeName; 321String _assemblyName; 329public String TypeName { get { return _typeName; } set {_typeName = value;} } 331public String AssemblyName { get { return _assemblyName; } set {_assemblyName = value;} } 341String _appUrl; // url of application to activate the type in 347public ActivatedClientTypeEntry(String typeName, String assemblyName, String appUrl) 362public ActivatedClientTypeEntry(Type type, String appUrl) 379public String ApplicationUrl { get { return _appUrl; } } 397public override String ToString() 412public ActivatedServiceTypeEntry(String typeName, String assemblyName) 453public override String ToString() 464String _objectUrl; 467String _appUrl = null; // url of application to associate this object with 470public WellKnownClientTypeEntry(String typeName, String assemblyName, String objectUrl) 485public WellKnownClientTypeEntry(Type type, String objectUrl) 502public String ObjectUrl { get { return _objectUrl; } } 513public String ApplicationUrl 519public override String ToString() 521String str = "type='" + TypeName + ", " + AssemblyName + "'; url=" + _objectUrl; 533String _objectUri; 539public WellKnownServiceTypeEntry(String typeName, String assemblyName, String objectUri, 556public WellKnownServiceTypeEntry(Type type, String objectUri, WellKnownObjectMode mode) 573public String ObjectUri { get { return _objectUri; } } 593public override String ToString() 603String _remoteAppName; 604String _remoteAppURI; 605internal RemoteAppEntry(String appName, String appURI) 611internal String GetAppURI() { return _remoteAppURI;}
system\runtime\remoting\remotingexception.cs (9)
28private static String _nullMessage = Environment.GetResourceString("Remoting_Default"); 37public RemotingException(String message) 43public RemotingException(String message, Exception InnerException) 61private static String _nullMessage = Environment.GetResourceString("Remoting_Default"); 69public ServerException(String message) 75public ServerException(String message, Exception InnerException) 88private static String _nullMessage = Environment.GetResourceString("Remoting_Default"); 96public RemotingTimeoutException(String message) : base(message) { 101public RemotingTimeoutException(String message, Exception InnerException)
system\runtime\remoting\remotingproxy.cs (1)
576public String TypeName
system\runtime\remoting\remotingservices.cs (75)
50private const String FieldGetterName = "FieldGetter"; 51private const String FieldSetterName = "FieldSetter"; 52private const String IsInstanceOfTypeName = "IsInstanceOfType"; 53private const String CanCastToXmlTypeName = "CanCastToXmlType"; 54private const String InvokeMemberName = "InvokeMember"; 214String.Format( 253String.Format( 281String.Format( 350public static String GetSessionIdForMethodMessage(IMethodMessage msg) 369public static String GetObjectUri(MarshalByRefObject obj) 387public static void SetObjectUriForMarshal( MarshalByRefObject obj, String uri) 470public static ObjRef Marshal(MarshalByRefObject Obj, String URI) 477public static ObjRef Marshal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 484internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 490internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData) 497internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData, bool isInitializing) 668String ObjURI, 846public static Object Connect(Type classToProxy, String url) 853public static Object Connect(Type classToProxy, String url, Object data) 957internal static Object Unmarshal(Type classToProxy, String url) 964internal static Object Unmarshal(Type classToProxy, String url, Object data) 992String objectURI = null; 1002String.Format( 1139internal static String GetObjectUriFromFullUri(String fullUri) 1185String.Format( 1256String.Format( 1367String typeName = serverTypeInfo.TypeName; 1370String typeNamespace = null; 1371String assemNamespace = null; 1389String.Format( 1460String.Format( 1619String objectURI; 1645internal static String CreateEnvoyAndChannelSinks(String url, 1651String objectURI = null; 1661private static String CreateChannelSink(String url, Object data, out IMessageSink chnlSink) 1664String objectURI = null; 1712String.Format( 1889String.Format( 2053String beginName = "Begin" + method.Name; 2054String endName = "End" + method.Name; 2153public static Type GetServerTypeForUri(String URI) 2359String typeName = serverTypeInfo.TypeName; 2507internal static String DetermineDefaultQualifiedTypeName(Type type) 2514String xmlTypeName = null; 2515String xmlTypeNamespace = null; 2529internal static String GetDefaultQualifiedTypeName(RuntimeType type) 2538internal static String InternalGetClrTypeNameFromQualifiedTypeName(String qualifiedTypeName) 2543if (String.CompareOrdinal(qualifiedTypeName, 0, "clr:", 0, 4) == 0) 2546String actualTypeName = qualifiedTypeName.Substring(4); 2553private static int IsSoapType(String qualifiedTypeName) 2558if (String.CompareOrdinal(qualifiedTypeName, 0, "soap:", 0, 5) == 0) 2568internal static String InternalGetSoapTypeNameFromQualifiedTypeName(String xmlTypeName, String xmlTypeNamespace) 2572String typeNamespace; 2573String assemblyName; 2581String typeName; 2589String fullTypeName = typeName + ", " + assemblyName; 2601internal static String InternalGetTypeNameFromQualifiedTypeName(String qualifiedTypeName) 2607String decodedName = InternalGetClrTypeNameFromQualifiedTypeName(qualifiedTypeName); 2618String xmlTypeName = qualifiedTypeName.Substring(5, index - 5); 2620String xmlTypeNamespace = 2638internal static RuntimeType InternalGetTypeFromQualifiedTypeName(String qualifiedTypeName, bool partialFallback) 2644String decodedName = InternalGetClrTypeNameFromQualifiedTypeName(qualifiedTypeName); 2656String xmlTypeName = qualifiedTypeName.Substring(5, index - 5); 2658String xmlTypeNamespace = 2678internal static Type InternalGetTypeFromQualifiedTypeName(String qualifiedTypeName) 2684private unsafe static RuntimeType LoadClrTypeWithPartialBindFallback(String typeName, bool partialFallback) 2762public static void DebugOutChnl(String s) 2778public static void RemotingAssert(bool condition, String message)
system\runtime\remoting\remotingsurrogateselector.cs (20)
26public delegate bool MessageSurrogateFilter(String key, Object value); 217String DefaultFakeRecordAssemblyName = "http://schemas.microsoft.com/urt/SystemRemotingSoapTopRecord"; 234internal virtual String[] GetInArgNames(IMethodCallMessage m, int c) 236String[] names = new String[c]; 239String name = m.GetInArgName(i); 250internal virtual String[] GetNames(IMethodCallMessage m, int c) 252String[] names = new String[c]; 255String name = m.GetArgName(i); 286String responseElementName; 287String responseElementNS; 288String returnElementName; 311String name; 354String faultType = "Server"; 369String methodElementNS = SoapServices.GetXmlNamespaceForMethodCall(mb); 372String[] names = GetInArgNames(mcm, args.Length); 386String paramName = null; 484if ((obj == _ss.GetRootObject()) && (_ss.Filter != null) && _ss.Filter((String)de.Key, de.Value)) 489String key = de.Key.ToString();
system\runtime\remoting\serveridentity.cs (8)
32public String typeName; 54internal Type GetLastCalledType(String newTypeName) 60String typeName = lastType.typeName; 72internal void SetLastCalledType(String newTypeName, Type newType) 153internal ServerIdentity(MarshalByRefObject obj, Context serverCtx, String uri) : 283String tempUri = RemotingServices.GetObjectUri(srvObj); 287String.Format( 411internal bool RemoveServerSideDynamicProperty(String name)
system\runtime\remoting\soap.cs (93)
55private static String CreateKey(String elementName, String elementNamespace) 66public String Name; 67public String Namespace; 69public XmlEntry(String name, String xmlNamespace) 83public String Name; 85public FieldEntry(Type type, String name) 98public void AddXmlElement(Type fieldType, String fieldName, 99String xmlElement, String xmlNamespace) 106public void AddXmlAttribute(Type fieldType, String fieldName, 107String xmlAttribute, String xmlNamespace) 114public void GetFieldTypeAndNameFromXmlElement(String xmlElement, String xmlNamespace, 115out Type type, out String name) 131public void GetFieldTypeAndNameFromXmlAttribute(String xmlAttribute, String xmlNamespace, 132out Type type, out String name) 151public static void RegisterInteropXmlElement(String xmlElement, String xmlNamespace, 160public static void RegisterInteropXmlType(String xmlType, String xmlTypeNamespace, 208String xmlName = fieldAttr.XmlElementName; 209String xmlNamespace = fieldAttr.XmlNamespace; 244public static Type GetInteropTypeFromXmlElement(String xmlElement, String xmlNamespace) 251public static Type GetInteropTypeFromXmlType(String xmlType, String xmlTypeNamespace) 258String xmlElement, String xmlNamespace, 259out Type type, out String name) 283String xmlAttribute, String xmlNamespace, 284out Type type, out String name) 309out String xmlElement, out String xmlNamespace) 341out String xmlType, out String xmlTypeNamespace) 372public static String GetXmlNamespaceForMethodCall(MethodBase mb) 381public static String GetXmlNamespaceForMethodResponse(MethodBase mb) 399public static void RegisterSoapActionForMethodBase(MethodBase mb, String soapAction) 422public static String GetSoapActionFromMethodBase(MethodBase mb) 424String soapAction = (String)_methodBaseToSoapAction[mb]; 438public static bool IsSoapActionValidForMethodBase(String soapAction, MethodBase mb) 450if (String.CompareOrdinal(attr.SoapAction, soapAction) == 0) 454String registeredSoapAction = (String)_methodBaseToSoapAction[mb]; 457if (String.CompareOrdinal(registeredSoapAction, soapAction) == 0) 462String typeName, methodName; 464String[] parts = soapAction.Split(new char[1]{'#'}); 487String actualTypeName = mb.DeclaringType.FullName; 499public static bool GetTypeAndMethodNameFromSoapAction(String soapAction, 500out String typeName, 501out String methodName) 540String[] parts = soapAction.Split(new char[1]{'#'}); 575internal static String startNS = "http://schemas.microsoft.com/clr/"; 576internal static String assemblyNS = "http://schemas.microsoft.com/clr/assem/"; 577internal static String namespaceNS = "http://schemas.microsoft.com/clr/ns/"; 578internal static String fullNS = "http://schemas.microsoft.com/clr/nsassem/"; 580public static String XmlNsForClrType 585public static String XmlNsForClrTypeWithAssembly 590public static String XmlNsForClrTypeWithNs 595public static String XmlNsForClrTypeWithNsAndAssembly 600public static bool IsClrTypeNamespace(String namespaceString) 609public static String CodeXmlNamespaceForClrTypeNamespace(String typeNamespace, String assemblyName) 641public static bool DecodeXmlNamespaceForClrTypeNamespace(String inNamespace, out String typeNamespace, out String assemblyName) 665internal static void UriEncode(String value, StringBuilder sb) 684internal static String UriDecode(String value) 722private static bool IsNameNull(String name) 738internal static String GetXmlNamespaceForType(RuntimeType type, String dynamicUrl) 740String typeName = type.FullName; 743Assembly systemAssembly = typeof(String).Module.Assembly; 765internal static String GetXmlNamespaceForTypeNamespace(RuntimeType type, String dynamicUrl) 767String typeNamespace = type.Namespace; 770Assembly systemAssembly = typeof(String).Module.Assembly; 790internal static String GetTypeNameForSoapActionNamespace(String uri, out bool assemblyIncluded) 793String urtNSprefix = SoapServices.fullNS; 794String systemNSprefix = SoapServices.namespaceNS; 800String[] parts = uri.Split(sep); 811String assemName = ((RuntimeAssembly)typeof(String).Module.Assembly).GetSimpleName();
system\runtime\remoting\soapinteroptypes.cs (224)
24internal static String FilterBin64(String value) 35internal static String LineFeedsBin64(String value) 48internal static String Escape(String value) 101String returnValue = null; 150String GetXsdType(); 161public static String XsdType 166private static String[] formats = 193public static String ToString(DateTime value) 199public static DateTime Parse(String value) 208String time = value; 218String.Format( 237public static String XsdType 257public static String ToString(TimeSpan timeSpan) 289String t2 = ParseNumbers.IntToString(t1, 10, 7, '0', 0); 298public static TimeSpan Parse(String value) 313String year = "0"; 314String month = "0"; 315String day = "0"; 316String hour = "0"; 317String minute = "0"; 318String second = "0"; 319String fraction = "0"; 385String.Format( 398public static String XsdType 404public String GetXsdType() 409private static String[] formats = 454public override String ToString() 460public static SoapTime Parse(String value) 462String time = value; 480public static String XsdType 487public String GetXsdType() 492private static String[] formats = 536public override String ToString() 545public static SoapDate Parse(String value) 564public static String XsdType 570public String GetXsdType() 575private static String[] formats = 620public override String ToString() 629public static SoapYearMonth Parse(String value) 648public static String XsdType 654public String GetXsdType() 659private static String[] formats = 704public override String ToString() 713public static SoapYear Parse(String value) 730public static String XsdType 736public String GetXsdType() 741private static String[] formats = 767public override String ToString() 773public static SoapMonthDay Parse(String value) 787public static String XsdType 793public String GetXsdType() 799private static String[] formats = 824public override String ToString() 830public static SoapDay Parse(String value) 844public static String XsdType 850public String GetXsdType() 855private static String[] formats = 881public override String ToString() 887public static SoapMonth Parse(String value) 900public static String XsdType 906public String GetXsdType() 931public override String ToString() 936String s = _value[i].ToString("X", CultureInfo.InvariantCulture); 945public static SoapHexBinary Parse(String value) 952private static Byte[] ToByteArray(String value) 958String.Format( 971private static Byte ToByte(Char c, String value) 974String s = c.ToString(); 997public static String XsdType 1003public String GetXsdType() 1027public override String ToString() 1036public static SoapBase64Binary Parse(String value) 1049String.Format( 1065public static String XsdType 1071public String GetXsdType() 1095public override String ToString() 1101public static SoapInteger Parse(String value) 1115public static String XsdType 1121public String GetXsdType() 1138String.Format( 1151String.Format( 1158public override String ToString() 1164public static SoapPositiveInteger Parse(String value) 1178public static String XsdType 1184public String GetXsdType() 1200String.Format( 1213String.Format( 1220public override String ToString() 1226public static SoapNonPositiveInteger Parse(String value) 1240public static String XsdType 1247public String GetXsdType() 1262String.Format( 1275String.Format( 1282public override String ToString() 1288public static SoapNonNegativeInteger Parse(String value) 1302public static String XsdType 1308public String GetXsdType() 1324String.Format( 1337String.Format( 1344public override String ToString() 1350public static SoapNegativeInteger Parse(String value) 1360String _value; 1363public static String XsdType 1369public String GetXsdType() 1380public SoapAnyUri (String value) 1386public String Value 1393public override String ToString() 1399public static SoapAnyUri Parse(String value) 1410String _name; 1411String _namespace; 1412String _key; 1415public static String XsdType 1421public String GetXsdType() 1432public SoapQName(String value) 1439public SoapQName (String key, String name) 1446public SoapQName (String key, String name, String namespaceValue) 1454public String Name 1461public String Namespace 1475public String Key 1483public override String ToString() 1492public static SoapQName Parse(String value) 1497String key = ""; 1498String name = value; 1516String _value; 1519public static String XsdType 1525public String GetXsdType() 1536public SoapNotation (String value) 1542public String Value 1549public override String ToString() 1555public static SoapNotation Parse(String value) 1568String _value; 1571public static String XsdType 1577public String GetXsdType() 1587public SoapNormalizedString (String value) 1592public String Value 1598public override String ToString() 1603public static SoapNormalizedString Parse(String value) 1608private String Validate(String value) 1629String _value; 1631public static String XsdType 1636public String GetXsdType() 1645public SoapToken (String value) 1650public String Value 1656public override String ToString() 1661public static SoapToken Parse(String value) 1666private String Validate(String value) 1697String _value; 1699public static String XsdType 1704public String GetXsdType() 1713public SoapLanguage (String value) 1718public String Value 1724public override String ToString() 1729public static SoapLanguage Parse(String value) 1739String _value; 1741public static String XsdType 1746public String GetXsdType() 1755public SoapName (String value) 1760public String Value 1766public override String ToString() 1771public static SoapName Parse(String value) 1781String _value; 1783public static String XsdType 1788public String GetXsdType() 1797public SoapIdrefs (String value) 1802public String Value 1808public override String ToString() 1813public static SoapIdrefs Parse(String value) 1823String _value; 1825public static String XsdType 1830public String GetXsdType() 1840public SoapEntities (String value) 1845public String Value 1851public override String ToString() 1856public static SoapEntities Parse(String value) 1866String _value; 1868public static String XsdType 1873public String GetXsdType() 1882public SoapNmtoken (String value) 1887public String Value 1893public override String ToString() 1898public static SoapNmtoken Parse(String value) 1908String _value; 1910public static String XsdType 1915public String GetXsdType() 1924public SoapNmtokens (String value) 1929public String Value 1935public override String ToString() 1940public static SoapNmtokens Parse(String value) 1950String _value; 1952public static String XsdType 1959public String GetXsdType() 1968public SoapNcName (String value) 1973public String Value 1979public override String ToString() 1984public static SoapNcName Parse(String value) 1994String _value; 1996public static String XsdType 2001public String GetXsdType() 2010public SoapId (String value) 2015public String Value 2021public override String ToString() 2026public static SoapId Parse(String value) 2036String _value; 2038public static String XsdType 2043public String GetXsdType() 2052public SoapIdref (String value) 2057public String Value 2063public override String ToString() 2068public static SoapIdref Parse(String value) 2078String _value; 2080public static String XsdType 2085public String GetXsdType() 2094public SoapEntity (String value) 2099public String Value 2105public override String ToString() 2110public static SoapEntity Parse(String value)
system\runtime\remoting\stackbuildersink.cs (3)
354String.Format( 390String.Format( 417String.Format(
system\runtime\remoting\synchronizeddispatch.cs (7)
52private const String PROPERTY_NAME = "Synchronization"; 76private String _syncLcid; 84internal String SyncCallOutLCID 118String msgLCID = 524String lcid = SyncCallOutLCID; 863String lcid = cctx.RemotingData.LogicalCallID; 949String lcid = Identity.GetNewLogicalCallID();
system\runtime\remoting\terminatorsinks.cs (5)
78String objURI = GetURI(reqMsg); 97String objURI = null; 136internal static String GetURI(IMessage msg) 138String uri = null; 150uri = (String)prop["__Uri"];
system\runtime\remoting\urlattribute.cs (4)
29private String url; 30private static String propertyName = "UrlAttribute"; 33public UrlAttribute(String callsiteURL) :base(propertyName) 79public String UrlValue
system\runtime\serialization\formatter.cs (19)
92protected abstract void WriteArray(Object obj, String name, Type memberType); 95protected abstract void WriteBoolean(bool val, String name); 98protected abstract void WriteByte(byte val, String name); 101protected abstract void WriteChar(char val, String name); 104protected abstract void WriteDateTime(DateTime val, String name); 107protected abstract void WriteDecimal(Decimal val, String name); 110protected abstract void WriteDouble(double val, String name); 113protected abstract void WriteInt16(short val, String name); 117protected abstract void WriteInt32(int val, String name); 120protected abstract void WriteInt64(long val, String name); 124protected abstract void WriteObjectRef(Object obj, String name, Type memberType); 128protected virtual void WriteMember(String memberName, Object data) { 182protected abstract void WriteSByte(sbyte val, String name); 185protected abstract void WriteSingle(float val, String name); 188protected abstract void WriteTimeSpan(TimeSpan val, String name); 193protected abstract void WriteUInt16(ushort val, String name); 197protected abstract void WriteUInt32(uint val, String name); 201protected abstract void WriteUInt64(ulong val, String name); 205protected abstract void WriteValueType(Object obj, String name, Type memberType);
system\runtime\serialization\formatterconverter.cs (1)
160public String ToString(Object value) {
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (59)
38internal static BinaryTypeEnum GetBinaryTypeInfo(Type type, WriteObjectInfo objectInfo, String typeName, ObjectWriter objectWriter, out Object typeInformation, out int assemId) 66String assembly = null; 217out String typeString, 306internal static void WriteStringWithCode(String value, __BinaryWriter sout) 322WriteStringWithCode((String)value, sout); 357public static void NVTraceI(String name, String value) 365public static void NVTraceI(String name, Object value) 387internal String assemblyString; 391internal BinaryAssemblyInfo(String assemblyString) 396internal BinaryAssemblyInfo(String assemblyString, Assembly assembly) 499internal String assemblyString; 506internal void Set(Int32 assemId, String assemblyString) 642String uri; 643String methodName; 644String typeName; 649String scallContext; 658internal Object[] WriteArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties) 716else if (callContext is String) 771IOUtil.WriteStringWithCode((String)callContext, sout); 789methodName = (String)IOUtil.ReadWithCode(input); 790typeName = (String)IOUtil.ReadWithCode(input); 795scallContext = (String)IOUtil.ReadWithCode(input); 879if (callContext is String) 880BinaryUtil.NVTraceI("callContext", (String)callContext); 905String scallContext; 994else if (callContext is String) 1052IOUtil.WriteStringWithCode((String)callContext, sout); 1081scallContext = (String)IOUtil.ReadWithCode(input); 1160if (callContext is String) 1161BinaryUtil.NVTraceI("callContext", (String)callContext); 1185internal String value; 1191internal void Set(Int32 objectId, String value) 1368internal String name; 1370internal String[] memberNames; 1382internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, Int32 assemId) 1419memberNames = new String[numMembers]; 1462internal String name; 1464internal String[] memberNames; 1499internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, Int32 assemId) 1545memberNames = new String[numMembers]; 1876String typeString = Converter.ToComType(typeInformation); 2071internal String objectName; 2077internal String[] memberNames; 2085internal ObjectMap(String objectName, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2111internal ObjectMap(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) 2132String typeString; 2167internal static ObjectMap Create(String name, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2174internal static ObjectMap Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) 2196internal String name; 2215internal String[] memberNames;
system\runtime\serialization\formatters\binary\binaryconverter.cs (9)
137internal static InternalNameSpaceE GetNameSpaceEnum(InternalPrimitiveTypeE code, Type type, WriteObjectInfo objectInfo, out String typeName) 366private static volatile String[] valueA; 370String[] valueATemp = new String[primitiveTypeEnumLength]; 392internal static String ToComType(InternalPrimitiveTypeE code) 475internal static Object FromString(String value, InternalPrimitiveTypeE code) 490internal static Type typeofString = typeof(String); 511internal static String urtAssemblyString = urtAssembly.FullName; 516internal static Type typeofStringArray = typeof(System.String[]);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (13)
133internal void WriteString(String value) 194internal Object[] WriteCallArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties) 222internal void WriteObject(NameInfo nameInfo, NameInfo typeNameInfo, int numMembers, String[] memberNames, Type[] memberTypes, WriteObjectInfo[] memberObjectInfos) 241String objectName = null; 324internal void WriteObjectString(int objectId, String value) 634internal void WriteMemberString(NameInfo memberNameInfo, NameInfo typeNameInfo, String value) 694internal void WriteAssembly(Type type, String assemblyString, int assemId, bool isNew) 702assemblyString=String.Empty; 778String[] memberNames; 781internal ObjectMapInfo(int objectId, int numMembers, String[] memberNames, Type[] memberTypes) 789internal bool isCompatible(int numMembers, String[] memberNames, Type[] memberTypes)
system\runtime\serialization\formatters\binary\binarymethodmessage.cs (7)
19String _methodName = null; 20String _typeName = null; 31internal BinaryMethodCallMessage(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, LogicalCallContext callContext, Object[] properties) 52public String MethodName 57public String TypeName
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (22)
284cache.memberNames = new String[count]; 348cache.memberNames = new String[count]; 376internal String GetTypeFullName() 382internal String GetAssemblyString() 421internal void GetMemberInfo(out String[] outMemberNames, out Type[] outMemberTypes, out Object[] outMemberData) 482internal String[] wireMemberNames; 544internal static ReadObjectInfo Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 553internal void Init(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 633cache.memberNames = new String[count]; 650internal MemberInfo GetMemberInfo(String name) 667internal Type GetType(String name) 689internal void AddValue(String name, Object value, ref SerializationInfo si, ref Object[] memberData) 723internal void RecordFixup(long objectId, String name, long idRef) 776private int Position(String name) 810internal Type[] GetMemberTypes(String[] inMemberNames, Type objectType) 913internal String fullTypeName = null; 914internal String assemblyString = null; 917internal String[] memberNames = null; 938private String fullTypeName = null; 939private String assemblyString = null; 942internal String FullTypeName 950internal String AssemblyString
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (14)
336throw new SerializationException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Serialization_NonSerType"), 369internal ReadObjectInfo CreateReadObjectInfo(Type objectType, String[] memberNames, Type[] memberTypes) 723pr.PRobjectA = new String[pr.PRlengthA[0]]; 1058String objName = null; 1272m_objectManager.RegisterString((String)obj, pr.PRobjectId, si, parentId, memberInfo); 1319private void IndexTraceMessage(String message, int[] index) 1334internal Type Bind(String assemblyString, String typeString) 1348public String assemblyName; 1353internal Type FastBindToType(String assemblyName, String typeName) 1454private String previousAssemblyString; 1455private String previousName; 1460internal Type GetType(BinaryAssemblyInfo assemblyInfo, String name)
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (12)
45private String topName = null; 209String uri = mcm.Uri; 210String methodName = mcm.MethodName; 211String typeName = mcm.TypeName; 379String[] memberNames; 462String[] memberNames, 535String memberName, 1032private void IndexTraceMessage(String message, int[] index) 1219serWriter.WriteMemberString(memberNameInfo, typeNameInfo, (String)stringObject); 1312private NameInfo MemberToNameInfo(String name) 1349String assemblyString = objectInfo.GetAssemblyString(); 1351String serializedAssemblyString = assemblyString;
system\runtime\serialization\formatters\binary\binaryparser.cs (3)
350internal String ReadString() 403record.assemblyString = objectReader.CrossAppDomainArray(crossAppDomainAssembly.assemblyIndex) as String; 758objectString.value = objectReader.CrossAppDomainArray(crossAppDomainString.value) as String;
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (13)
58internal String PRname; 61internal String PRvalue; 65internal String PRkeyDt; 83internal String PRarrayElementTypeString; 271internal String stackId; 283internal SerStack(String stackId) { 561String name = null; 563internal Object GetCachedValue(String name) 663internal String memberName; 675internal ValueFixup(Object memberObject, String memberName, ReadObjectInfo objectInfo) 754internal String NIFullName; // Name from SerObjectInfo.GetType 820public String NIname 896internal void SetValue(String value, int index)
system\runtime\serialization\formatters\ifieldinfo.cs (1)
27String[] FieldNames
system\runtime\serialization\formatters\isoapmessage.cs (3)
30String[] ParamNames {get; set;} 39String MethodName {get; set;} 42String XmlNameSpace {get; set;}
system\runtime\serialization\formatters\sertrace.cs (4)
89if (!(messages[0] is String)) 99public static void SoapAssert(bool condition, String message) 121public static Assembly LoadAssemblyFromString(String assemblyString) 138if (!(messages[0] is String))
system\runtime\serialization\formatters\soapfault.cs (28)
34String faultCode; 35String faultString; 36String faultActor; 43public SoapFault(String faultCode, String faultString, String faultActor, ServerFault serverFault) 57String name = siEnum.Name; 60if (String.Compare(name, "faultCode", true, CultureInfo.InvariantCulture) == 0) 62int index = ((String)value).IndexOf(':'); 64faultCode = ((String)value).Substring(++index); 66faultCode = (String)value; 68else if (String.Compare(name, "faultString", true, CultureInfo.InvariantCulture) == 0) 69faultString = (String)value; 70else if (String.Compare(name, "faultActor", true, CultureInfo.InvariantCulture) == 0) 71faultActor = (String)value; 72else if (String.Compare(name, "detail", true, CultureInfo.InvariantCulture) == 0) 87public String FaultCode 93public String FaultString 100public String FaultActor 119String exceptionType; 120String message; 121String stackTrace; 131public ServerFault(String exceptionType, String message, String stackTrace) 139public String ExceptionType 145public String ExceptionMessage 152public String StackTrace
system\runtime\serialization\formatters\soapmessage.cs (6)
28internal String[] paramNames; 31internal String methodName; 32internal String xmlNameSpace; 36public String[] ParamNames 56public String MethodName 63public String XmlNameSpace
system\runtime\serialization\formatterservices.cs (5)
121String typeName = classNamesUnique ? parentType.Name : parentType.FullName; 440public static Type GetTypeFromAssembly(Assembly assem, String name) { 458internal static Assembly LoadAssemblyFromString(String assemblyName) { 467internal static Assembly LoadAssemblyFromStringNoThrow(String assemblyName) { 507return String.Format(CultureInfo.InvariantCulture, "{0}{1}", GetClrTypeFullName(type.GetElementType()), "[]");
system\runtime\serialization\iformatterconverter.cs (1)
40String ToString(Object value);
system\runtime\serialization\objectmanager.cs (6)
262throw new SerializationException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Serialization_NotCyclicallyReferenceableSurrogate"), surrogate.GetType().FullName)); 531si.UpdateValue((String)fixupInfo, holderValue, holderValue.GetType()); 533si.UpdateValue((String)fixupInfo, holderValue, typeof(MarshalByRefObject)); 728internal void RegisterString(String obj, long objectID, SerializationInfo info, long idOfContainingObj, MemberInfo member) 1043public virtual void RecordDelayedFixup(long objectToBeFixed, String memberName, long objectRequired) { 1205internal ObjectHolder(String obj, long objID, SerializationInfo info,
system\runtime\serialization\serializationbinder.cs (4)
22public virtual void BindToName(Type serializedType, out String assemblyName, out String typeName) 28public abstract Type BindToType(String assemblyName, String typeName);
system\runtime\serialization\serializationexception.cs (3)
25private static String _nullMessage = Environment.GetResourceString("Arg_SerializationException"); 34public SerializationException(String message) 39public SerializationException(String message, Exception innerException) : base (message, innerException) {
system\runtime\serialization\serializationfieldinfo.cs (5)
34internal const String FakeNameSeparatorString = "+"; 37private String m_serializationName; 42internal SerializationFieldInfo(RuntimeFieldInfo field, String namePrefix) { 47m_serializationName = String.Concat(namePrefix, FakeNameSeparatorString, m_field.Name); 53public override String Name {
system\runtime\serialization\serializationinfo.cs (49)
42internal String[] m_members; 48private String m_fullTypeName; 49private String m_assemName; 83m_members = new String[defaultSize]; 96public String FullTypeName 115public String AssemblyName 273String[] newMembers = new String[newSize]; 289public void AddValue(String name, Object value, Type type) 305public void AddValue(String name, Object value) 317public void AddValue(String name, bool value) 322public void AddValue(String name, char value) 329public void AddValue(String name, sbyte value) 334public void AddValue(String name, byte value) 339public void AddValue(String name, short value) 345public void AddValue(String name, ushort value) 350public void AddValue(String name, int value) 356public void AddValue(String name, uint value) 361public void AddValue(String name, long value) 367public void AddValue(String name, ulong value) 372public void AddValue(String name, float value) 377public void AddValue(String name, double value) 382public void AddValue(String name, decimal value) 387public void AddValue(String name, DateTime value) 392internal void AddValueInternal(String name, Object value, Type type) 430internal void UpdateValue(String name, Object value, Type type) 449private int FindElement(String name) 475private Object GetElement(String name, out Type foundType) 493private Object GetElementNoThrow(String name, out Type foundType) 516public Object GetValue(String name, Type type) 555internal Object GetValueNoThrow(String name, Type type) 585public bool GetBoolean(String name) 598public char GetChar(String name) 612public sbyte GetSByte(String name) 625public byte GetByte(String name) 638public short GetInt16(String name) 652public ushort GetUInt16(String name) 665public int GetInt32(String name) 679public uint GetUInt32(String name) 692public long GetInt64(String name) 706public ulong GetUInt64(String name) 719public float GetSingle(String name) 733public double GetDouble(String name) 746public decimal GetDecimal(String name) 759public DateTime GetDateTime(String name) 772public String GetString(String name) 778if (Object.ReferenceEquals(foundType, typeof(String)) || value == null) 780return (String)value;
system\runtime\serialization\serializationinfoenumerator.cs (6)
29private String m_name; 37public String Name { 49internal SerializationEntry(String entryName, Object entryValue, Type entryType) { 63String[] m_members; 70internal SerializationInfoEnumerator(String[] members, Object[] info, Type[] types, int numItems) { 123public String Name {
system\runtime\versioning\binarycompatibility.cs (16)
154private const String c_versionKey = "Version"; 155private const String c_profileKey = "Profile"; 268private static bool ParseTargetFrameworkMonikerIntoEnum(String targetFrameworkMoniker, out TargetFrameworkId targetFramework, out int targetFrameworkVersion) 270Contract.Requires(!String.IsNullOrEmpty(targetFrameworkMoniker)); 275String identifier = null; 276String profile = null; 315if (!String.IsNullOrEmpty(profile)) 340Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Silverlight profile \"{0}\". What is this, an XBox app?", profile)); 347Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Target Framework Moniker in our Binary Compatibility class. Framework name: \"{0}\"", targetFrameworkMoniker)); 360private static void ParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 372String[] components = frameworkName.Split(c_componentSeparator); 436if (!String.IsNullOrEmpty(value)) 492String targetFrameworkName = AppDomain.CurrentDomain.GetTargetFrameworkName(); 494var overrideValue = System.Runtime.Versioning.CompatibilitySwitch.GetValueInternal("TargetFrameworkMoniker");
system\runtime\versioning\multitargetinghelpers.cs (2)
30private static Func<Type, String> defaultConverter = (t) => t.AssemblyQualifiedName; 34internal static string GetAssemblyQualifiedName(Type type, Func<Type, String> converter)
system\runtime\versioning\resourceattributes.cs (6)
106public static String MakeVersionSafeName(String name, ResourceScope from, ResourceScope to) 114public static String MakeVersionSafeName(String name, ResourceScope from, ResourceScope to, Type type) 137String clrID = GetCLRInstanceString(); 158private static String GetCLRInstanceString()
system\runtime\versioning\targetframeworkattribute.cs (5)
24private String _frameworkName; // A target framework moniker 25private String _frameworkDisplayName; 28public TargetFrameworkAttribute(String frameworkName) 38public String FrameworkName { 42public String FrameworkDisplayName {
system\runtimehandles.cs (2)
1678internal static extern String GetName(RtFieldInfo field); 2258internal abstract String GetStringLiteral(int token);
system\sbyte.cs (21)
87public override String ToString() { 88Contract.Ensures(Contract.Result<String>() != null); 93public String ToString(IFormatProvider provider) { 94Contract.Ensures(Contract.Result<String>() != null); 98public String ToString(String format) { 99Contract.Ensures(Contract.Result<String>() != null); 103public String ToString(String format, IFormatProvider provider) { 104Contract.Ensures(Contract.Result<String>() != null); 109private String ToString(String format, NumberFormatInfo info) { 110Contract.Ensures(Contract.Result<String>() != null); 120public static sbyte Parse(String s) { 125public static sbyte Parse(String s, NumberStyles style) { 131public static sbyte Parse(String s, IFormatProvider provider) { 140public static sbyte Parse(String s, NumberStyles style, IFormatProvider provider) { 145private static sbyte Parse(String s, NumberStyles style, NumberFormatInfo info) { 167public static bool TryParse(String s, out SByte result) { 172public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out SByte result) { 177private static bool TryParse(String s, NumberStyles style, NumberFormatInfo info, out SByte result) {
system\security\accesscontrol\eventwaithandlesecurity.cs (2)
57public EventWaitHandleAccessRule(String identity, EventWaitHandleRights eventRights, AccessControlType type) 122internal EventWaitHandleSecurity(String name, AccessControlSections includeSections)
system\security\accesscontrol\filesecurity.cs (5)
94String identity, 128String identity, 244String identity, 257String identity, 332internal FileSystemSecurity( bool isContainer, String name, AccessControlSections includeSections, bool isDirectory )
system\security\accesscontrol\mutexsecurity.cs (2)
57public MutexAccessRule(String identity, MutexRights eventRights, AccessControlType type) 122public MutexSecurity(String name, AccessControlSections includeSections)
system\security\accesscontrol\objectsecurityt.cs (5)
44String identity, 74String identity, 150String identity, 162String identity, 306protected internal void Persist(String name) {
system\security\accesscontrol\registrysecurity.cs (3)
66public RegistryAccessRule(String identity, RegistryRights registryRights, AccessControlType type) 152internal RegistrySecurity(SafeRegistryHandle hKey, String name, AccessControlSections includeSections) 238internal void Persist(SafeRegistryHandle hKey, String keyName)
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 (6)
213if (String.IsNullOrEmpty(valueType)) 222if (String.IsNullOrEmpty(issuer)) 232if (String.IsNullOrEmpty(originalIssuer)) 281foreach (var key in other.m_properties.Keys) 597foreach (var key in Properties.Keys) 622return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}: {1}", m_type, m_value);
system\security\claims\ClaimsIdentity.cs (1)
949if (!String.IsNullOrEmpty(m_serializedClaims))
system\security\codeaccesspermission.cs (3)
167static internal SecurityElement CreatePermissionElement( IPermission perm, String permname ) 188String version = elem.Attribute( "version" ); 202public override String ToString()
system\security\codeaccesssecurityengine.cs (3)
66private static void DEBUG_OUT( String str ) 130Contract.Assert((assemblyOrString == null || assemblyOrString is RuntimeAssembly || assemblyOrString is String), "Must pass in an Assembly object or String object here"); 136AssemblyName asmName = new AssemblyName((String)assemblyOrString);
system\security\cryptography\asymmetricalgorithm.cs (5)
76public virtual String SignatureAlgorithm { 83public virtual String KeyExchangeAlgorithm { 99static public AsymmetricAlgorithm Create(String algName) { 104public virtual void FromXmlString(String xmlString) { 109public virtual String ToXmlString(bool includePrivateParameters) {
system\security\cryptography\asymmetrickeyexchangedeformatter.cs (1)
29public abstract String Parameters {
system\security\cryptography\asymmetrickeyexchangeformatter.cs (1)
29public abstract String Parameters {
system\security\cryptography\asymmetricsignaturedeformatter.cs (1)
32abstract public void SetHashAlgorithm(String strName);
system\security\cryptography\asymmetricsignatureformatter.cs (1)
31abstract public void SetHashAlgorithm(String strName);
system\security\cryptography\crypto.cs (10)
92public CryptographicException(String message) 97public CryptographicException(String format, String insert) 98: base(String.Format(CultureInfo.CurrentCulture, format, insert)) { 102public CryptographicException(String message, Exception inner) 148public CryptographicUnexpectedOperationException(String message) 153public CryptographicUnexpectedOperationException(String format, String insert) 154: base(String.Format(CultureInfo.CurrentCulture, format, insert)) { 158public CryptographicUnexpectedOperationException(String message, Exception inner)
system\security\cryptography\cryptoconfig.cs (22)
503String.Compare(node.Name, "cryptoNameMapping", StringComparison.Ordinal) == 0) 508String.Compare(node.Name, "oidMap", StringComparison.Ordinal) == 0) 557if (String.IsNullOrEmpty(name)) { 590String retvalTypeString = machineNameHT.GetValueOrDefault(name); 607} else if (retvalObj is String) { 608retvalType = Type.GetType((String) retvalObj, false, false); 702if (String.IsNullOrEmpty(name)) { 758String[] oidString = str.Split(sepArray); 835Contract.Assert(String.Compare(nameMappingNode.Name, "cryptoNameMapping", StringComparison.Ordinal) == 0, "Invalid name mapping root"); 843if (String.Compare(node.Name, "cryptoClasses", StringComparison.Ordinal) == 0) 847if (String.Compare(cryptoClass.Name, "cryptoClass", StringComparison.Ordinal) == 0) 857else if(String.Compare(node.Name, "nameEntry", StringComparison.Ordinal) == 0) 864if(String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 866else if(String.Compare((string)attribute.Key, "class", StringComparison.Ordinal) == 0) 885Contract.Assert(String.Compare(oidMappingNode.Name, "oidMap", StringComparison.Ordinal) == 0, "Invalid OID mapping root"); 890if (String.Compare(node.Name, "oidEntry", StringComparison.Ordinal) == 0) 897if (String.Compare((string)attribute.Key, "OID", StringComparison.Ordinal) == 0) 899else if (String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 933if (String.Compare(node.Name, "mscorlib", StringComparison.Ordinal) == 0) 937if (String.Compare((string)attribute.Key, "version", StringComparison.Ordinal) == 0) 941if (String.Compare((string)attribute.Value, Version, StringComparison.Ordinal) == 0) 965if (String.Compare(node.Name, "cryptographySettings", StringComparison.Ordinal) == 0)
system\security\cryptography\des.cs (1)
78new static public DES Create(String algName) {
system\security\cryptography\dsa.cs (15)
59new static public DSA Create(String algName) { 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(); } 156public override void FromXmlString(String xmlString) { 164String pString = topElement.SearchForTextOfLocalName("P"); 171String qString = topElement.SearchForTextOfLocalName("Q"); 178String gString = topElement.SearchForTextOfLocalName("G"); 185String yString = topElement.SearchForTextOfLocalName("Y"); 192String jString = topElement.SearchForTextOfLocalName("J"); 196String xString = topElement.SearchForTextOfLocalName("X"); 200String seedString = topElement.SearchForTextOfLocalName("Seed"); 201String pgenCounterString = topElement.SearchForTextOfLocalName("PgenCounter"); 222public override String ToXmlString(bool includePrivateParameters) {
system\security\cryptography\dsacryptoserviceprovider.cs (2)
277Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name)); 291Contract.Assert(!String.IsNullOrEmpty(hashAlgorithm.Name));
system\security\cryptography\dsasignatureformatter.cs (2)
21String _oid; 50public override void SetHashAlgorithm(String strName) {
system\security\cryptography\hashalgorithm.cs (1)
53static public HashAlgorithm Create(String hashName) {
system\security\cryptography\HashAlgorithmName.cs (1)
80return _name ?? String.Empty;
system\security\cryptography\keyedhashalgorithm.cs (1)
52new static public KeyedHashAlgorithm Create(String algName) {
system\security\cryptography\mactripledes.cs (1)
54public MACTripleDES(String strTripleDES, byte[] rgbKey) {
system\security\cryptography\md5.cs (1)
29new static public MD5 Create(String algName) {
system\security\cryptography\passwordderivebytes.cs (4)
58public PasswordDeriveBytes (String strPassword, byte[] rgbSalt) : this (strPassword, rgbSalt, new CspParameters()) {} 74public PasswordDeriveBytes (string strPassword, byte[] rgbSalt, String strHashName, int iterations, CspParameters cspParams) : 81public PasswordDeriveBytes (byte[] password, byte[] salt, String hashName, int iterations, CspParameters cspParams) { 93public String HashName {
system\security\cryptography\pkcs1maskgenerationmethod.cs (2)
13private String HashNameValue; 27public String HashName {
system\security\cryptography\randomnumbergenerator.cs (1)
37static public RandomNumberGenerator Create(String rngName) {
system\security\cryptography\rc2.cs (1)
78new static public RC2 Create(String AlgName) {
system\security\cryptography\rijndael.cs (1)
47new static public Rijndael Create(String algName) {
system\security\cryptography\ripemd160.cs (1)
35new static public RIPEMD160 Create(String hashName) {
system\security\cryptography\rsa.cs (15)
57new static public RSA Create(String algName) { 126if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 141if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 172if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 190if (String.IsNullOrEmpty(hashAlgorithm.Name)) { 265public override void FromXmlString(String xmlString) { 273String modulusString = topElement.SearchForTextOfLocalName("Modulus"); 280String exponentString = topElement.SearchForTextOfLocalName("Exponent"); 287String pString = topElement.SearchForTextOfLocalName("P"); 291String qString = topElement.SearchForTextOfLocalName("Q"); 295String dpString = topElement.SearchForTextOfLocalName("DP"); 299String dqString = topElement.SearchForTextOfLocalName("DQ"); 303String inverseQString = topElement.SearchForTextOfLocalName("InverseQ"); 307String dString = topElement.SearchForTextOfLocalName("D"); 318public override String ToXmlString(bool includePrivateParameters) {
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\rsaoaepkeyexchangedeformatter.cs (1)
32public override String Parameters {
system\security\cryptography\rsaoaepkeyexchangeformatter.cs (1)
50public override String Parameters {
system\security\cryptography\rsapkcs1keyexchangedeformatter.cs (1)
37public override String Parameters {
system\security\cryptography\rsapkcs1keyexchangeformatter.cs (1)
36public override String Parameters {
system\security\cryptography\rsapkcs1signaturedeformatter.cs (2)
29private String _strOID; // OID value for the HASH algorithm 56public override void SetHashAlgorithm(String strName) {
system\security\cryptography\rsapkcs1signatureformatter.cs (2)
21private String _strOID; 49public override void SetHashAlgorithm(String strName) {
system\security\cryptography\sha1.cs (1)
29new static public SHA1 Create(String hashName) {
system\security\cryptography\sha256.cs (1)
35new static public SHA256 Create(String hashName) {
system\security\cryptography\sha384.cs (1)
35new static public SHA384 Create(String hashName) {
system\security\cryptography\sha512.cs (1)
35new static public SHA512 Create(String hashName) {
system\security\cryptography\signaturedescription.cs (8)
19private String _strKey; 20private String _strDigest; 21private String _strFormatter; 22private String _strDeformatter; 44public String KeyAlgorithm { 48public String DigestAlgorithm { 52public String FormatterAlgorithm { 56public String DeformatterAlgorithm {
system\security\cryptography\symmetricalgorithm.cs (1)
223static public SymmetricAlgorithm Create(String algName) {
system\security\cryptography\tripledes.cs (1)
74new static public TripleDES Create(String str) {
system\security\cryptography\utils.cs (4)
605if (hashAlg is String) { 626internal static String DiscardWhiteSpaces (string inputBuffer) { 630internal static String DiscardWhiteSpaces (string inputBuffer, int inputOffset, int inputCount) { 812throw new CryptographicException(String.Format(null, Environment.GetResourceString("Cryptography_Padding_EncDataTooBig"), cb-2-2*cbHash));
system\security\cryptography\x509certificates\x509utils.cs (3)
184if (String.Equals(oid, Constants.OID_OIWSEC_SHA256, StringComparison.Ordinal)) { 187else if (String.Equals(oid, Constants.OID_OIWSEC_SHA384, StringComparison.Ordinal)) { 190else if (String.Equals(oid, Constants.OID_OIWSEC_SHA512, StringComparison.Ordinal)) {
system\security\framesecuritydescriptor.cs (4)
332throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 347throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 360throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 372throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand);
system\security\hostprotectionexception.cs (7)
34private const String ProtectedResourcesName = "ProtectedResources"; 35private const String DemandedResourcesName = "DemandedResources"; 99private String ToStringHelper(String resourceString, Object attr) 102return String.Empty; 112public override String ToString() 114String protectedResStrValue = ToStringHelper("HostProtection_ProtectedResources", ProtectedResources);
system\security\namedpermissionset.cs (12)
44private String m_name; 47private String m_description; 49internal String m_descrResource; 56public NamedPermissionSet( String name ) 63public NamedPermissionSet( String name, PermissionState state) 71public NamedPermissionSet( String name, PermissionSet permSet ) 92public String Name { 97private static void CheckName( String name ) 104public String Description { 127public NamedPermissionSet Copy( String name ) 165String elem; 181String elem;
system\security\permissionlistset.cs (1)
350throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic")));
system\security\permissions\environmentpermission.cs (14)
39public EnvironmentStringExpressionSet( String str ) 49protected override bool StringSubsetString( String left, String right, bool ignoreCase ) 51return (ignoreCase?(String.Compare( left, right, StringComparison.OrdinalIgnoreCase) == 0): 52(String.Compare( left, right, StringComparison.Ordinal) == 0)); 55protected override String ProcessWholeString( String str ) 60protected override String ProcessSingleString( String str ) 92public EnvironmentPermission( EnvironmentPermissionAccess flag, String pathList ) 97public void SetPathList( EnvironmentPermissionAccess flag, String pathList ) 113public void AddPathList( EnvironmentPermissionAccess flag, String pathList ) 133public String GetPathList( EnvironmentPermissionAccess flag ) 372String et;
system\security\permissions\fileiopermission.cs (51)
71public FileIOPermission(FileIOPermissionAccess access, String path) 75String[] pathList = new String[] { path }; 80public FileIOPermission(FileIOPermissionAccess access, String[] pathList) 89public FileIOPermission(FileIOPermissionAccess access, AccessControlActions control, String path) 93String[] pathList = new String[] { path }; 98public FileIOPermission(FileIOPermissionAccess access, AccessControlActions control, String[] pathList) 105internal FileIOPermission(FileIOPermissionAccess access, String[] pathList, bool checkForDuplicates, bool needFullPath) 114internal FileIOPermission(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, bool checkForDuplicates, bool needFullPath) 122public void SetPathList(FileIOPermissionAccess access, String path) 124String[] pathList; 126pathList = new String[] { }; 128pathList = new String[] { path }; 132public void SetPathList(FileIOPermissionAccess access, String[] pathList) 138String[] pathList, bool checkForDuplicates) 144internal void SetPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, bool checkForDuplicates) 180public void AddPathList(FileIOPermissionAccess access, String path) 182String[] pathList; 184pathList = new String[] { }; 186pathList = new String[] { path }; 191public void AddPathList(FileIOPermissionAccess access, String[] pathList) 197internal void AddPathList(FileIOPermissionAccess access, String[] pathListOrig, bool checkForDuplicates, bool needFullPath, bool copyPathList) 203internal void AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, bool checkForDuplicates, bool needFullPath, bool copyPathList) 222String[] pathList = pathListOrig; 226pathList = new String[pathListOrig.Length]; 299public String[] GetPathList(FileIOPermissionAccess access) 551private static void CheckIllegalCharacters(String[] str, bool onlyCheckExtras) 839String et; 1130private const String m_strAllFiles = "*AllFiles*"; 1131private const String m_strAllLocalFiles = "*AllLocalFiles*"; 1150public FileIOAccess( String value ) 1158else if (value.Length >= m_strAllFiles.Length && String.Compare( m_strAllFiles, value, StringComparison.Ordinal) == 0) 1164else if (value.Length >= m_strAllLocalFiles.Length && String.Compare( m_strAllLocalFiles, 0, value, 0, m_strAllLocalFiles.Length, StringComparison.Ordinal) == 0) 1305String[] expressions = operand.m_set.UnsafeToStringArray(); 1311String root = GetRoot( expressions[i] ); 1314intersectionSet.AddExpressions( new String[] { expressions[i] }, true, false ); 1322String[] expressions = this.m_set.UnsafeToStringArray(); 1328String root = GetRoot( expressions[i] ); 1331intersectionSet.AddExpressions( new String[] { expressions[i] }, true, false ); 1337String[] regularIntersection = this.m_set.Intersect( operand.m_set ).UnsafeToStringArray(); 1366String[] expressions = m_set.UnsafeToStringArray(); 1370String root = GetRoot( expressions[i] ); 1386private static String GetRoot( String path ) 1388String str = path.Substring( 0, 3 ); 1400public override String ToString() 1412String retstr = m_strAllLocalFiles; 1414String tempStr = m_set.UnsafeToString(); 1429public String[] ToStringArray() 1440internal static extern bool IsLocalDrive(String path);
system\security\permissions\hostprotectionpermission.cs (1)
279String resources = esd.Attribute( "Resources" );
system\security\permissions\isolatedstoragepermission.cs (7)
195private const String _strUserQuota = "UserQuota"; 196private const String _strMachineQuota = "MachineQuota"; 197private const String _strExpiry = "Expiry"; 198private const String _strPermDat = "Permanent"; 205internal SecurityElement ToXml(String permName) 248String allowed = esd.Attribute( "Allowed" ); 263String param;
system\security\permissions\keycontainerpermission.cs (12)
581if (String.Equals(current.Tag, "AccessList")) 604if (String.Equals(current.Tag, "AccessEntry")) { 614String strAttrName = (String) current.m_lAttributes[i]; 615String strAttrValue = (String) current.m_lAttributes[i+1]; 616if (String.Equals(strAttrName, "KeyStore")) 618if (String.Equals(strAttrName, "ProviderName")) 620else if (String.Equals(strAttrName, "ProviderType")) 622else if (String.Equals(strAttrName, "KeyContainerName")) 624else if (String.Equals(strAttrName, "KeySpec")) 626else if (String.Equals(strAttrName, "Flags")) {
system\security\permissions\permissionattributes.cs (63)
107internal static unsafe IntPtr FindSecurityAttributeTypeHandle(String typeName) 145private String m_read = null; 146private String m_write = null; 155public String Read { 160public String Write { 165public String All { 237private String m_read = null; 238private String m_write = null; 239private String m_append = null; 240private String m_pathDiscovery = null; 241private String m_viewAccess = null; 242private String m_changeAccess = null; 253public String Read { 258public String Write { 263public String Append { 268public String PathDiscovery { 273public String ViewAccessControl { 278public String ChangeAccessControl { 284public String All { 290public String ViewAndModify { 324perm.SetPathList( FileIOPermissionAccess.NoAccess, AccessControlActions.View, new String[] { m_viewAccess }, false ); 326perm.SetPathList( FileIOPermissionAccess.NoAccess, AccessControlActions.Change, new String[] { m_changeAccess }, false ); 412private String m_name = null; 413private String m_role = null; 421public String Name 427public String Role 523private String m_read = null; 524private String m_write = null; 525private String m_create = null; 526private String m_viewAcl = null; 527private String m_changeAcl = null; 536public String Read { 541public String Write { 546public String Create { 551public String ViewAccessControl { 556public String ChangeAccessControl { 562public String ViewAndModify { 568public String All { 786private String m_name = null; 787private String m_version = null; 788private String m_blob = null; 797public String Name 803public String Version 809public String PublicKey 831if (m_version == null || m_version.Equals(String.Empty)) 847private String m_site = null; 856public String Site { 883private String m_url = null; 892public String Url { 919private String m_x509cert = null; 920private String m_certFile = null; 921private String m_signedFile = null; 931public String X509Certificate { 936public String CertFile { 943public String SignedFile { 1090private String m_file; 1091private String m_name; 1093private String m_xml; 1094private String m_hex; 1104public String File { 1116public String Name { 1121public String XML { 1126public String Hex {
system\security\permissions\principalpermission.cs (13)
30internal String m_id; 31internal String m_role; 40if (String.IsNullOrEmpty(m_role)) 79String elAuth = e.Attribute( "Authenticated" ); 82m_authenticated = String.Compare( elAuth, "true", StringComparison.OrdinalIgnoreCase) == 0; 89String elID = e.Attribute( "ID" ); 99String elRole = e.Attribute( "Role" ); 148public PrincipalPermission( String name, String role ) 157public PrincipalPermission( String name, String role, bool isAuthenticated ) 488(m_array[i].m_id == null || String.Compare( identity.Name, m_array[i].m_id, StringComparison.OrdinalIgnoreCase) == 0))) 565public override String ToString()
system\security\permissions\publisheridentitypermission.cs (3)
264String unr = esd.Attribute( "Unrestricted" ); 265if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0) 270String elem = esd.Attribute( "X509v3Certificate" );
system\security\permissions\reflectionpermission.cs (1)
302String flags = esd.Attribute( "Flags" );
system\security\permissions\registrypermission.cs (8)
65public RegistryPermission( RegistryPermissionAccess access, String pathList ) 71public RegistryPermission( RegistryPermissionAccess access, AccessControlActions control, String pathList ) 78public void SetPathList( RegistryPermissionAccess access, String pathList ) 97internal void SetPathList( AccessControlActions control, String pathList ) 111public void AddPathList( RegistryPermissionAccess access, String pathList ) 117public void AddPathList( RegistryPermissionAccess access, AccessControlActions control, String pathList ) 160public String GetPathList( RegistryPermissionAccess access ) 443String et;
system\security\permissions\securitypermission.cs (12)
270private const String _strHeaderAssertion = "Assertion"; 271private const String _strHeaderUnmanagedCode = "UnmanagedCode"; 272private const String _strHeaderExecution = "Execution"; 273private const String _strHeaderSkipVerification = "SkipVerification"; 274private const String _strHeaderControlThread = "ControlThread"; 275private const String _strHeaderControlEvidence = "ControlEvidence"; 276private const String _strHeaderControlPolicy = "ControlPolicy"; 277private const String _strHeaderSerializationFormatter = "SerializationFormatter"; 278private const String _strHeaderControlDomainPolicy = "ControlDomainPolicy"; 279private const String _strHeaderControlPrincipal = "ControlPrincipal"; 280private const String _strHeaderControlAppDomain = "ControlAppDomain"; 308String flags = esd.Attribute( "Flags" );
system\security\permissions\siteidentitypermission.cs (6)
41private String m_serializedPermission; 110public SiteIdentityPermission( String site ) 121public String Site 304String unr = esd.Attribute( "Unrestricted" ); 305if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0) 310String elem = esd.Attribute( "Site" );
system\security\permissions\strongnameidentitypermission.cs (10)
20using String = System.String; 34public String m_name; 37public StrongName2(StrongNamePublicKeyBlob publicKeyBlob, String name, Version version) 142public StrongNameIdentityPermission( StrongNamePublicKeyBlob blob, String name, Version version ) 188public String Name 405String unr = e.Attribute( "Unrestricted" ); 406if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0) 411String elBlob = e.Attribute("PublicKeyBlob"); 412String elName = e.Attribute("Name"); 413String elVersion = e.Attribute("AssemblyVersion");
system\security\permissions\strongnamepublickeyblob.cs (2)
36internal StrongNamePublicKeyBlob( String publicKey ) 95public override String ToString()
system\security\permissions\uipermission.cs (2)
353String window = esd.Attribute( "Window" ); 357String clipboard = esd.Attribute( "Clipboard" );
system\security\permissions\urlidentitypermission.cs (6)
43private String m_serializedPermission; 113public UrlIdentityPermission( String site ) 147public String Url 335String unr = esd.Attribute( "Unrestricted" ); 336if(unr != null && String.Compare(unr, "true", StringComparison.OrdinalIgnoreCase) == 0) 341String elem = esd.Attribute( "Url" );
system\security\permissions\zoneidentitypermission.cs (2)
49private String m_serializedPermission; 281String eZone = esd.Attribute( "Zone" );
system\security\permissionset.cs (21)
52private static void DEBUG_WRITE(String str) { 61private static void DEBUG_COND_WRITE(bool exp, String str) 99private String m_serializedPermissionSet; 1628public override String ToString() 1735internal static bool IsPermissionTag( String tag, bool allowInternalOnly ) 1761throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) ); 1778String className = elem.Attribute( "class" ); 1863throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) ); 1868String strUnrestricted = doc.GetAttributeForElement( position, "Unrestricted" ); 1883String className = doc.GetAttributeForElement( childIndex, "class" ); 2157internal SecurityElement ToXml(String permName) 2250public static byte[] ConvertPermissionSet(String inFormat, byte[] inData, String outFormat) 2332private const String s_str_PermissionSet = "PermissionSet"; 2333private const String s_str_Permission = "Permission"; 2334private const String s_str_IPermission = "IPermission"; 2335private const String s_str_Unrestricted = "Unrestricted"; 2336private const String s_str_PermissionUnion = "PermissionUnion"; 2337private const String s_str_PermissionIntersection = "PermissionIntersection"; 2338private const String s_str_PermissionUnrestrictedUnion = "PermissionUnrestrictedUnion"; 2339private const String s_str_PermissionUnrestrictedIntersection = "PermissionUnrestrictedIntersection";
system\security\permissiontoken.cs (15)
42String strA = a as String; 43String strB = b as String; 72String str = obj as String; 103internal String m_strTypeName; 125if (String.Compare(className, i, c_mscorlibName, 0, c_mscorlibName.Length, StringComparison.OrdinalIgnoreCase) == 0) 141internal PermissionToken(int index, PermissionTokenType type, String strTypeName) 194public static PermissionToken GetToken(String typeStr) 212public static PermissionToken GetToken(String typeStr, bool bCreateMscorlib) 311String strName = elRoot.Attribute( "Name" ); 344private const String s_unrestrictedPermissionInferfaceName = "System.Security.Permissions.IUnrestrictedPermission"; 409String typeStr = cls.AssemblyQualifiedName; 481internal PermissionToken GetToken(String typeStr)
system\security\policy\allmembershipcondition.cs (1)
47public override String ToString()
system\security\policy\applicationdirectory.cs (3)
28public ApplicationDirectory( String name ) 43public String Directory 92public override String ToString()
system\security\policy\applicationdirectorymembershipcondition.cs (2)
65String appDir = dir.Directory; 135public override String ToString()
system\security\policy\applicationsecurityinfo.cs (3)
111if (String.Compare(sameSite, "Site", StringComparison.OrdinalIgnoreCase) == 0) { 132if (String.Compare("file:", 0, m_context.Identity.CodeBase, 0, 5, StringComparison.OrdinalIgnoreCase) == 0) { 174if (String.Compare("file:", 0, m_context.Identity.CodeBase, 0, 5, StringComparison.OrdinalIgnoreCase) != 0) {
system\security\policy\applicationsecuritymanager.cs (1)
128String configFileStr;
system\security\policy\applicationtrust.cs (3)
230if (String.Compare(element.Tag, "ApplicationTrust", StringComparison.Ordinal) != 0) 236if (isAppTrustedToRun != null && String.Compare(isAppTrustedToRun, "true", StringComparison.Ordinal) == 0) { 242if (persist != null && String.Compare(persist, "true", StringComparison.Ordinal) == 0) {
system\security\policy\codegroup.cs (13)
36private String m_name; 37private String m_description; 224public String Name 237public String Description 256public virtual String PermissionSetName 279public virtual String AttributeString 293public abstract String MergeLogic 315internal virtual String GetTypeName() 321internal SecurityElement ToXml( PolicyLevel level, String policyClassName ) 450throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "IMembershipCondition", this.GetType().FullName ) ); 612throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_FailedCodeGroup" ), marker.element.Attribute( "class" ) ) ); 652String permSetName = m_element.Attribute( "PermissionSetName" ); 675String attributes = m_element.Attribute( "Attributes" );
system\security\policy\filecodegroup.cs (1)
121if (String.Compare(urlString.Scheme, "file", StringComparison.OrdinalIgnoreCase) != 0)
system\security\policy\firstmatchcodegroup.cs (2)
171public override String MergeLogic 179internal override String GetTypeName()
system\security\policy\gac.cs (1)
63public override String ToString()
system\security\policy\gacmembershipcondition.cs (1)
103public override String ToString()
system\security\policy\hash.cs (1)
515public override String ToString()
system\security\policy\imembershipcondition.cs (1)
23String ToString();
system\security\policy\netcodegroup.cs (9)
97public String Scheme { 219private static void DEBUG_OUT( String str ) 676internal PolicyStatement CalculatePolicy( String host, String scheme, String port ) 746public override String MergeLogic 754public override String PermissionSetName 763public override String AttributeString 908internal override String GetTypeName()
system\security\policy\pefileevidencefactory.cs (1)
251if (!String.IsNullOrEmpty(url))
system\security\policy\permissionrequestevidence.cs (4)
33private String m_strRequest; 34private String m_strOptional; 35private String m_strDenied; 124public override String ToString()
system\security\policy\policyexception.cs (4)
27public PolicyException(String message) 33public PolicyException(String message, Exception exception) 41internal PolicyException(String message, int hresult) : base (message) 46internal PolicyException(String message, int hresult, Exception exception) : base (message, exception)
system\security\policy\policylevel.cs (2)
658if (String.IsNullOrEmpty(name)) { 836if (!String.IsNullOrEmpty(ex.Message)) {
system\security\policy\policystatement.cs (9)
166public String AttributeString 368throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 373String strAttributes = et.Attribute( "Attributes" ); 384String permSetName = et.Attribute( "PermissionSetName" ); 406String className = e.Attribute( "class" ); 446throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 450String strAttributes = doc.GetAttributeForElement( position, "Attributes" ); 461String permSetName = doc.GetAttributeForElement( position, "PermissionSetName" ); 492String className = doc.GetAttributeForElement( positionPermissionSet, "class" );
system\security\policy\publisher.cs (3)
68String keyAlg1 = cert1.GetKeyAlgorithm(); 71String keyAlg2 = cert2.GetKeyAlgorithm(); 124public override String ToString()
system\security\policy\publishermembershipcondition.cs (4)
88public override String ToString() 97String name = m_certificate.Subject; 99return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Publisher_ToStringArg" ), System.Security.Util.Hex.EncodeHexString( m_certificate.GetPublicKey() ) ); 203String elCert = m_element.Attribute( "X509Certificate" );
system\security\policy\site.cs (7)
29public Site(String name) 44public static Site CreateFromUrl( String url ) 49private static SiteString ParseSiteFromUrl( String name ) 53if (String.Compare( urlString.Scheme, "file", StringComparison.OrdinalIgnoreCase) == 0) 59public String Name 82return String.Equals(Name, other.Name, StringComparison.OrdinalIgnoreCase); 118public override String ToString()
system\security\policy\sitemembershipcondition.cs (5)
49public SiteMembershipCondition( String site ) 65public String Site 187String elSite = m_element.Attribute( "Site" ); 230public override String ToString() 236return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Site_ToStringArg" ), m_site );
system\security\policy\strongname.cs (11)
28private String m_name; 41public StrongName( StrongNamePublicKeyBlob blob, String name, Version version ) : this(blob, name, version, null) 45internal StrongName(StrongNamePublicKeyBlob blob, String name, Version version, Assembly assembly) 49if (String.IsNullOrEmpty(name)) 77public String Name 116internal static bool CompareNames( String asmName, String mcName ) 119return String.Compare( mcName, 0, asmName, 0, mcName.Length - 1, StringComparison.OrdinalIgnoreCase) == 0; 121return String.Compare( mcName, asmName, StringComparison.OrdinalIgnoreCase) == 0; 161if (String.Compare(element.Tag, "StrongName", StringComparison.Ordinal) != 0) 179public override String ToString()
system\security\policy\strongnamemembershipcondition.cs (15)
37private String m_name; 52String name, 93public String Name 194private const String s_tagName = "Name"; 195private const String s_tagVersion = "AssemblyVersion"; 196private const String s_tagPublicKeyBlob = "PublicKeyBlob"; 266String elSite = m_element.Attribute( s_tagName ); 283String elBlob = m_element.Attribute( s_tagPublicKeyBlob ); 307String elVersion = m_element.Attribute( s_tagVersion ); 317public override String ToString() 319String sName = ""; 320String sVersion = ""; 323sName = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Name" ), Name ); 326sVersion = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Version" ), Version ); 328return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_ToString" ), System.Security.Util.Hex.EncodeHexString( PublicKey.PublicKey ), sName, sVersion );
system\security\policy\unioncodegroup.cs (2)
162public override String MergeLogic 170internal override String GetTypeName()
system\security\policy\url.cs (4)
28internal Url( String name, bool parsed ) 37public Url( String name ) 52public String Value 109public override String ToString()
system\security\policy\urlmembershipcondition.cs (5)
47public UrlMembershipCondition( String url ) 66public String Url 190String elurl = m_element.Attribute( "Url" ); 242public override String ToString() 248return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Url_ToStringArg" ), m_url.ToString() );
system\security\policy\zone.cs (6)
30private String m_url; 34private static readonly String[] s_names = 57private Zone(String url) 63public static Zone CreateFromUrl( String url ) 76private extern static SecurityZone _CreateFromUrl( String url ); 142public override String ToString()
system\security\policy\zonemembershipcondition.cs (4)
33private static readonly String[] s_names = 202String eZone = m_element.Attribute( "Zone" ); 246public override String ToString() 251return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Zone_ToString" ), s_names[(int)m_zone] );
system\security\policymanager.cs (1)
318string extendedInformation = extendedError != null ? extendedError.Message : String.Empty;
system\security\principal\genericprincipal.cs (1)
135if (m_roles[i] != null && String.Compare(m_roles[i], role, StringComparison.OrdinalIgnoreCase) == 0)
system\security\principal\identitynotmappedexception.cs (1)
35public IdentityNotMappedException( String message, Exception inner )
system\security\principal\windowsidentity.cs (5)
304return String.Empty; 309return String.Empty; // no authentication, just return an empty string 497internal String GetName() 502return String.Empty; 1281if (!String.IsNullOrEmpty(Name))
system\security\principal\windowsprincipal.cs (1)
57private String[] m_roles;
system\security\securestring.cs (2)
684internal static SafeBSTRHandle Allocate(String src, uint len) 694private static extern SafeBSTRHandle SysAllocStringLen(String src, uint len); // BSTR
system\security\securitydocument.cs (22)
50String ISecurityElementFactory.GetTag() 55String ISecurityElementFactory.Attribute( String attributeName ) 102public void AddString( String str, ref int position ) 119public void AppendString( String str, ref int position ) 131public static int EncodedStringSize( String str ) 136public String GetString( ref int position ) 141public String GetString( ref int position, bool bCreate ) 224AddString( (String)elCurrent.m_lAttributes[i], ref position ); 225AddString( (String)elCurrent.m_lAttributes[i+1], ref position ); 265String strTag = GetString( ref position, bCreate ); 272String strName = GetString( ref position, bCreate ); 273String strValue = GetString( ref position, bCreate ); 281String strText = GetString( ref position, bCreate ); 297public String GetTagForElement( int position ) 305String strTag = GetString( ref position ); 347public String GetAttributeForElement( int position, String attributeName ) 355String strRetValue = null; 363String strName = GetString( ref position ); 364String strValue = GetString( ref position ); 366if (String.Equals( strName, attributeName ))
system\security\securityelement.cs (87)
35String GetTag(); 37String Attribute( String attributeName ); 44internal String m_strTag; 45internal String m_strText; 53private const String s_strIndent = " "; 58private static readonly String[] s_escapeStringPairs = new String[] 83String ISecurityElementFactory.GetTag() 93String ISecurityElementFactory.Attribute( String attributeName ) 101public static SecurityElement FromString( String xml ) 111public SecurityElement( String tag ) 117throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 124public SecurityElement( String tag, String text ) 130throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 133throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementText" ), text ) ); 142public String Tag 156throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 201String attrName = (String)enumerator.Key; 202String attrValue = (String)enumerator.Value; 205throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), (String)enumerator.Current ) ); 208throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), (String)enumerator.Value ) ); 219public String Text 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 292internal void AddAttributeSafe( String name, String value ) 305String strAttrName = (String)m_lAttributes[i]; 307if (String.Equals(strAttrName, name)) 316public void AddAttribute( String name, String value ) 325throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), name ) ); 328throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), value ) ); 386if (!String.Equals(m_strTag, other.m_strTag)) 390if (!String.Equals(m_strText, other.m_strText)) 412String lhs = (String)m_lAttributes[i]; 413String rhs = (String)other.m_lAttributes[i]; 415if (!String.Equals(lhs, rhs)) 465public static bool IsValidTag( String tag ) 474public static bool IsValidText( String text ) 483public static bool IsValidAttributeName( String name ) 489public static bool IsValidAttributeValue( String value ) 497private static String GetEscapeSequence( char c ) 504String strEscSeq = s_escapeStringPairs[i]; 505String strEscValue = s_escapeStringPairs[i+1]; 515public static String Escape( String str ) 557private static String GetUnescapeSequence( String str, int index, out int newIndex ) 566String strEscSeq = s_escapeStringPairs[i]; 567String strEscValue = s_escapeStringPairs[i+1]; 571if (length <= maxCompareLength && String.Compare( strEscValue, 0, str, index, length, StringComparison.Ordinal) == 0) 583private static String Unescape( String str ) 625private delegate void ToStringHelperFunc( Object obj, String str ); 627private static void ToStringHelperStringBuilder( Object obj, String str ) 632private static void ToStringHelperStreamWriter( Object obj, String str ) 637public override String ToString () 651private void ToString( String indent, Object obj, ToStringHelperFunc func ) 688String strAttrName = (String)m_lAttributes[i]; 689String strAttrValue = (String)m_lAttributes[i+1]; 772public String Attribute( String name ) 792String strAttrName = (String)m_lAttributes[i]; 794if (String.Equals(strAttrName, name)) 796String strAttrValue = (String)m_lAttributes[i+1]; 807public SecurityElement SearchForChildByTag( String tag ) 828if (current != null && String.Equals(current.Tag, tag)) 866internal String SearchForTextOfLocalName(String strLocalName) 890String current = ((SecurityElement)enumerator.Current).SearchForTextOfLocalName( strLocalName ); 898public String SearchForTextOfTag( String tag ) 912if (String.Equals(m_strTag, tag)) 923String current = ((SecurityElement)enumerator.Current).SearchForTextOfTag( tag );
system\security\securityexception.cs (63)
39private String m_debugString; // NOTE: If you change the name of this field, you'll have to update SOS as well! 42private String m_permissionThatFailed; 43private String m_demanded; 44private String m_granted; 45private String m_refused; 46private String m_denied; 47private String m_permitOnly; 50private String m_strMethodInfo; 52private String m_url; 54private const String ActionName = "Action"; 55private const String FirstPermissionThatFailedName = "FirstPermissionThatFailed"; 56private const String DemandedName = "Demanded"; 57private const String GrantedSetName = "GrantedSet"; 58private const String RefusedSetName = "RefusedSet"; 59private const String DeniedName = "Denied"; 60private const String PermitOnlyName = "PermitOnly"; 61private const String Assembly_Name = "Assembly"; 62private const String MethodName_Serialized = "Method"; 63private const String MethodName_String = "Method_String"; 64private const String ZoneName = "Zone"; 65private const String UrlName = "Url"; 87String message = ""; 98message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), demand.GetType().AssemblyQualifiedName ); 100message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), permThatFailed.GetType().AssemblyQualifiedName); 167public SecurityException(String message) 176public SecurityException(String message, Type type ) 186public SecurityException(String message, Type type, String state ) 196public SecurityException(String message, Exception inner) 218internal SecurityException( String message, PermissionSet grantedSetObj, PermissionSet refusedSetObj ) 239m_permissionThatFailed = (String)info.GetValueNoThrow(FirstPermissionThatFailedName, typeof(String)); 240m_demanded = (String)info.GetValueNoThrow(DemandedName, typeof(String)); 241m_granted = (String)info.GetValueNoThrow(GrantedSetName, typeof(String)); 242m_refused = (String)info.GetValueNoThrow(RefusedSetName, typeof(String)); 243m_denied = (String)info.GetValueNoThrow(DeniedName, typeof(String)); 244m_permitOnly = (String)info.GetValueNoThrow(PermitOnlyName, typeof(String)); 247m_strMethodInfo = (String)info.GetValueNoThrow(MethodName_String, typeof(String)); 249m_url = (String)info.GetValueNoThrow(UrlName, typeof(String)); 388public String PermissionState 419public String GrantedSet 434public String RefusedSet 536public String Url 551private void ToStringHelper(StringBuilder sb, String resourceString, Object attr) 555String attrString = attr as String; 567private String ToString(bool includeSensitiveInfo, bool includeBaseInfo) 630public override String ToString() 646info.AddValue(FirstPermissionThatFailedName, m_permissionThatFailed, typeof(String)); 647info.AddValue(DemandedName, m_demanded, typeof(String)); 648info.AddValue(GrantedSetName, m_granted, typeof(String)); 649info.AddValue(RefusedSetName, m_refused, typeof(String)); 650info.AddValue(DeniedName, m_denied, typeof(String)); 651info.AddValue(PermitOnlyName, m_permitOnly, typeof(String)); 654info.AddValue(MethodName_String, m_strMethodInfo, typeof(String)); 656info.AddValue(UrlName, m_url, typeof(String));
system\security\securitymanager.cs (8)
180String fullPath = Path.GetFullPath( path ); 217throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "configuration" ) ); 221throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "mscorlib" ) ); 225throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "security" ) ); 229throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "policy" ) ); 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "PolicyLevel" ) ); 668internal static extern bool IsSameType(String strLeft, String strRight);
system\security\util\hex.cs (4)
27public static String EncodeHexString(byte[] sArray) 29String result = null; 47String result = null; 77public static byte[] DecodeHexString(String hexString)
system\security\util\parser.cs (6)
60String strValue = null; 367if (String.Compare( stream.GetNextString(), "encoding", StringComparison.Ordinal) == 0) 478internal Parser (String input) 483internal Parser (String input, String[] searchStrings, String[] replaceStrings)
system\security\util\sitestring.cs (15)
20protected String m_site; 30public SiteString( String site ) 36private SiteString(String site, ArrayList separatedSite) 42private static ArrayList CreateSeparatedSite(String site) 60String ipv6Addr = site.Substring(braIndex+1, ketIndex-braIndex-1); 67String[] separatedArray = site.Split( m_separators ); 105private static bool AllLegalCharacters( String str ) 161public override String ToString() 223else if (String.Compare( this.m_site, operand.m_site, strComp) == 0) 230if (String.Compare((String)this.m_separatedSite[index], (String)operand.m_separatedSite[index], strComp) != 0) 243return (String.Compare((String)this.m_separatedSite[this.m_separatedSite.Count - 1], 244(String)operand.m_separatedSite[this.m_separatedSite.Count - 1],
system\security\util\stringexpressionset.cs (69)
39protected String m_expressions; 41protected String[] m_expressionsArray; 56public StringExpressionSet( String str ) 67public StringExpressionSet( bool ignoreCase, String str, bool throwOnRelative ) 103private static String StaticProcessWholeString( String str ) 108private static String StaticProcessSingleString( String str ) 113protected virtual String ProcessWholeString( String str ) 118protected virtual String ProcessSingleString( String str ) 126public void AddExpressions( String str ) 153String[] arystr = Split( str ); 162String temp = ProcessSingleString( arystr[index] ); 189public void AddExpressions( String[] str, bool checkForDuplicates, bool needFullPath ) 215internal static ArrayList CreateListFromExpressions(String[] str, bool needFullPath) 230String oneString = StaticProcessWholeString( str[index] ); 235String temp = StaticProcessSingleString(oneString); 268protected String[] Split( String expressions ) 272List<String> tempList = new List<String>(); 274String[] quoteSplit = expressions.Split( '\"' ); 280String[] semiSplit = quoteSplit[i].Split( ';' ); 294String[] finalArray = new String[tempList.Count]; 301finalArray[index++] = (String)enumerator.Current; 318String[] expressionsArray = Split( m_expressions ); 326String temp = ProcessSingleString( expressionsArray[index] ); 380if (!StringSubsetStringExpression( (String)this.m_list[index], ses, m_ignoreCase )) 402if (!StringSubsetStringExpressionPathDiscovery( (String)this.m_list[index], ses, m_ignoreCase )) 437unionSet.AddSingleExpressionNoDuplicates( (String)smaller.m_list[index] ); 465if (StringSubsetString( (String)this.m_list[this_index], (String)ses.m_list[ses_index], m_ignoreCase )) 471intersectSet.AddSingleExpressionNoDuplicates( (String)this.m_list[this_index] ); 473else if (StringSubsetString( (String)ses.m_list[ses_index], (String)this.m_list[this_index], m_ignoreCase )) 479intersectSet.AddSingleExpressionNoDuplicates( (String)ses.m_list[ses_index] ); 507String currentString = (String)enumerator.Current; 547public String[] UnsafeToStringArray() 551m_expressionsArray = (String[])m_list.ToArray(typeof(String)); 563private bool StringSubsetStringExpression( String left, StringExpressionSet right, bool ignoreCase ) 567if (StringSubsetString( left, (String)right.m_list[index], ignoreCase )) 576private static bool StringSubsetStringExpressionPathDiscovery( String left, StringExpressionSet right, bool ignoreCase ) 580if (StringSubsetStringPathDiscovery( left, (String)right.m_list[index], ignoreCase )) 589protected virtual bool StringSubsetString( String left, String right, bool ignoreCase ) 600return String.Compare( right, left, strComp) == 0; 604return String.Compare( left, 0, right, 0, right.Length, strComp) == 0; 609return String.Compare( right, 0, left, 0, right.Length, strComp) == 0; 614return String.Compare( right, 0, left, 0, right.Length, strComp) == 0; 622protected static bool StringSubsetStringPathDiscovery( String left, String right, bool ignoreCase ) 632return String.Compare( right, left, strComp) == 0; 636String shortString, longString; 649if (String.Compare( shortString, 0, longString, 0, shortString.Length, strComp) != 0) 670protected void AddSingleExpressionNoDuplicates( String expression ) 683if (StringSubsetString( (String)this.m_list[index], expression, m_ignoreCase )) 687else if (StringSubsetString( expression, (String)this.m_list[index], m_ignoreCase )) 715if (StringSubsetString( (String)this.m_list[j], (String)this.m_list[i], m_ignoreCase )) 719else if (StringSubsetString( (String)this.m_list[i], (String)this.m_list[j], m_ignoreCase )) 738internal static extern void GetLongPathName( String path, StringHandleOnStack retLongPath ); 743internal static String CanonicalizePath( String path )
system\security\util\tokenizer.cs (23)
87private String _inString; 98private String[] _searchStrings; 99private String[] _replaceStrings; 103private String _inNestedString; 128internal Tokenizer (String input) 136internal Tokenizer (String input, String[] searchStrings, String[] replaceStrings) 285String fakeReadString = new String(' ', reader.NumCharEncountered); 457if (0==String.Compare(_searchStrings[istr], 0, _inString, _inIndex-1, _searchStrings[istr].Length, StringComparison.Ordinal)) 640String[] aStrings; 650static uint HashString(String str) 682aStrings = new String[cStringsMax]; 686bool CompareStringAndChars(String str, char [] a, int l) 698public String MakeString() 718String [] aStringsNew = new String[cNewMax]; 744String str; 767private String GetStringToken () 815internal String[] m_block = new String[16]; 858internal void AddString( String str ) 904internal String GetNextString()
system\security\util\urlstring.cs (74)
30private String m_protocol; 32private String m_userpass; 38private const String m_defaultProtocol = "file"; 43private String m_urlOriginal; 51private String m_fullurl; 123private String UnescapeURL(String url) 207private String ParseProtocol(String url) 209String temp; 224String.Compare(url, 0, m_defaultProtocol, 0, index, StringComparison.OrdinalIgnoreCase) == 0) 281private String ParsePort(String url) 283String temp = url; 387(String.Compare(url, curCmpIdx, "//?/", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 || 388String.Compare(url, curCmpIdx, "//./", 0, 4, StringComparison.OrdinalIgnoreCase) == 0)) 411(String.Compare(url, curCmpIdx, "\\\\?\\", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 || 412String.Compare(url, curCmpIdx, "\\\\?/", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 || 413String.Compare(url, curCmpIdx, "\\\\.\\", 0, 4, StringComparison.OrdinalIgnoreCase) == 0 || 414String.Compare(url, curCmpIdx, "\\\\./", 0, 4, StringComparison.OrdinalIgnoreCase) == 0)) 468private String PreProcessURL(String url, bool isFileURL) 480private void ParseFileURL(String url) 482String temp = url; 506String localSite; 553localSite = String.SmallCharToUpper( localSite ); 568String directoryString = temp.Substring( index + 1 ); 583private void ParseNonFileURL(String url) 585String temp = url; 596String site = temp.Substring( 0, index ); 600String directoryString = temp.Substring( index + 1 ); 614void DoFastChecks( String url ) 640void ParseString( String url, bool parsed ) 651String temp = ParseProtocol(url); 653bool fileProtocol = (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0); 676public String Scheme 686public String Host 703public String Port 716public String Directory 747if (String.Equals(m_protocol, "file", StringComparison.OrdinalIgnoreCase) && !m_isUncShare) 757String.IsNullOrEmpty(directory); 765public String GetFileName() 769if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) != 0) 772String intermediateDirectory = this.Directory.Replace( '/', '\\' ); 774String directory = this.Host.Replace( '/', '\\' ); 797public String GetDirectoryName() 801if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase ) != 0) 804String intermediateDirectory = this.Directory.Replace( '/', '\\' ); 816String directory = this.Host.Replace( '/', '\\' ); 870if (String.Compare( normalUrl1.m_protocol, normalUrl2.m_protocol, StringComparison.OrdinalIgnoreCase) == 0 && 894public override String ToString() 955if (String.Compare( normalUrl1.m_protocol, normalUrl2.m_protocol, StringComparison.OrdinalIgnoreCase) != 0) 960if (String.Compare( normalUrl1.m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0) 968if (String.Compare( normalUrl1.m_userpass, normalUrl2.m_userpass, StringComparison.Ordinal) != 0) 986internal String NormalizeUrl() 991if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) == 0) 1020if (String.Compare( m_protocol, "file", StringComparison.OrdinalIgnoreCase) != 0) 1026String localSite = m_localSite.ToString(); 1032String deviceName = null; 1064private static extern void GetDeviceName( String driveLetter, StringHandleOnStack retDeviceName ); 1084public DirectoryString( String directory, bool checkForIllegalChars ) 1091private ArrayList CreateSeparatedString(String directory) 1100String[] separatedArray = directory.Split(m_separators); 1142return this.m_separatedSite.Count == 0 || this.m_separatedSite.Count > 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1146return String.Compare((String)operand.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1160public LocalSiteString( String site ) 1170private ArrayList CreateSeparatedString(String directory) 1179String[] separatedArray = directory.Split(m_separators); 1225return this.m_separatedSite.Count == 0 || this.m_separatedSite.Count > 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0; 1229return String.Compare((String)operand.m_separatedSite[0], "*", StringComparison.Ordinal) == 0;
system\security\util\xmlutil.cs (56)
41private const String BuiltInPermission = "System.Security.Permissions."; 43private const String BuiltInMembershipCondition = "System.Security.Policy."; 44private const String BuiltInCodeGroup = "System.Security.Policy."; 45private const String BuiltInApplicationSecurityManager = "System.Security.Policy."; 55NewPermissionElement (String name) 63AddClassAttribute( SecurityElement element, Type type, String typename ) 78out String className, 79out String assemblyName, // for example "WindowsBase" 80out String assemblyVersion) 87String fullClassName = el.Attribute( "class" ); 111String assemblyFullName = fullClassName.Substring(commaIndex + 1); 120String requiredNamespace, 121out String className, 131String fullClassName = el.Attribute( "class" ); 183public static String SecurityObjectToXmlString(Object ob) 194public static Object XmlStringToSecurityObject(String s) 209throw new ArgumentException( String.Format( null, Environment.GetResourceString( "Argument_WrongElementType" ), "<Permission>" ) ) ; 212String className; 254if (String.Compare(className, classNameStart, "UIPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 261if (String.Compare(className, classNameStart, "FileIOPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 272if (String.Compare(className, classNameStart, "RegistryPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 279if (String.Compare(className, classNameStart, "SecurityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 294if (String.Compare(className, classNameStart, "PrincipalPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 304if (String.Compare(className, classNameStart, "ReflectionPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 311if (String.Compare(className, classNameStart, "FileDialogPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 323if (String.Compare(className, classNameStart, "EnvironmentPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 330if (String.Compare(className, classNameStart, "UrlIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 337if (String.Compare(className, classNameStart, "GacIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 350if (String.Compare(className, classNameStart, "SiteIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 357if (String.Compare(className, classNameStart, "ZoneIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 365if (String.Compare(className, classNameStart, "KeyContainerPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 375if (String.Compare(className, classNameStart, "HostProtectionPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 383if (String.Compare(className, classNameStart, "PublisherIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 391if (String.Compare(className, classNameStart, "StrongNameIdentityPermission", 0, classNameLength, StringComparison.Ordinal) == 0) 398if (String.Compare(className, classNameStart, "IsolatedStorageFilePermission", 0, classNameLength, StringComparison.Ordinal) == 0) 434throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<CodeGroup>" ) ) ; 437String className; 454if (String.Compare(className, classNameStart, "NetCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 461if (String.Compare(className, classNameStart, "FileCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 467if (String.Compare(className, classNameStart, "UnionCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 474if (String.Compare(className, classNameStart, "FirstMatchCodeGroup", 0, classNameLength, StringComparison.Ordinal) == 0) 508throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<IMembershipCondition>" ) ) ; 511String className; 545if (String.Compare(className, classNameStart, "AllMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 552if (String.Compare(className, classNameStart, "UrlMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 565if (String.Compare(className, classNameStart, "HashMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 577if (String.Compare(className, classNameStart, "SiteMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 584if (String.Compare(className, classNameStart, "ZoneMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 593if (String.Compare(className, classNameStart, "PublisherMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 601if (String.Compare(className, classNameStart, "StrongNameMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 608if (String.Compare(className, classNameStart, "ApplicationDirectoryMembershipCondition", 0, classNameLength, StringComparison.Ordinal) == 0) 636String className = el.Attribute( "class" ); 643throw new ArgumentException( String.Format( null, Environment.GetResourceString("Argument_InvalidXMLMissingAttr"), "class") ); 674String sUnrestricted = el.Attribute( "Unrestricted" ); 683public static String BitFieldEnumToString( Type type, Object value ) 698String sFlag = Enum.GetName( type, flag );
system\security\verificationexception.cs (2)
21public VerificationException(String message) 26public VerificationException(String message, Exception innerException)
system\security\xmlsyntaxexception.cs (5)
25XmlSyntaxException (String message) 32XmlSyntaxException (String message, Exception inner) 40: base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) 46XmlSyntaxException( int lineNumber, String message ) 47: base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) )
system\sharedstatics.cs (2)
42private volatile String _Remoting_Identity_IDGuid; 43public static String Remoting_Identity_IDGuid
system\single.cs (19)
180public override String ToString() { 181Contract.Ensures(Contract.Result<String>() != null); 186public String ToString(IFormatProvider provider) { 187Contract.Ensures(Contract.Result<String>() != null); 192public String ToString(String format) { 193Contract.Ensures(Contract.Result<String>() != null); 198public String ToString(String format, IFormatProvider provider) { 199Contract.Ensures(Contract.Result<String>() != null); 211public static float Parse(String s) { 215public static float Parse(String s, NumberStyles style) { 220public static float Parse(String s, IFormatProvider provider) { 224public static float Parse(String s, NumberStyles style, IFormatProvider provider) { 229private static float Parse(String s, NumberStyles style, NumberFormatInfo info) { 233public static Boolean TryParse(String s, out Single result) { 237public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out Single result) { 242private static Boolean TryParse(String s, NumberStyles style, NumberFormatInfo info, out Single result) { 249String sTrim = s.Trim();
system\stackoverflowexception.cs (2)
28public StackOverflowException(String message) 33public StackOverflowException(String message, Exception innerException)
system\string.cs (325)
50, IComparable<String>, IEnumerable<char>, IEquatable<String> 76public static readonly String Empty; 84public static String Join(String separator, params String[] value) { 92public static String Join(String separator, params Object[] values) { 98return String.Empty; 101separator = String.Empty; 105String value = values[0].ToString(); 122public static String Join<T>(String separator, IEnumerable<T> values) { 125Contract.Ensures(Contract.Result<String>() != null); 129separator = String.Empty; 133return String.Empty; 161public static String Join(String separator, IEnumerable<String> values) { 164Contract.Ensures(Contract.Result<String>() != null); 168separator = String.Empty; 171using(IEnumerator<String> en = values.GetEnumerator()) { 173return String.Empty; 204public unsafe static String Join(String separator, String[] value, int startIndex, int count) { 220separator = String.Empty; 225return String.Empty; 249return String.Empty; 269private unsafe static int CompareOrdinalIgnoreCaseHelper(String strA, String strB) 309internal static extern int nativeCompareOrdinalEx(String strA, int indexA, String strB, int indexB, int count); 317unsafe internal static extern int nativeCompareOrdinalIgnoreCaseWC(String strA, sbyte *strBBytes); 334String strOut = FastAllocateString(length); 364private unsafe static bool EqualsHelper(String strA, String strB) 418private unsafe static bool EqualsIgnoreCaseAsciiHelper(String strA, String strB) 462private unsafe static int CompareOrdinalHelper(String strA, String strB) 554String str = obj as String; 570public bool Equals(String value) { 588public bool Equals(String value, StringComparison comparisonType) { 638public static bool Equals(String a, String b) { 655public static bool Equals(String a, String b, StringComparison comparisonType) { 705public static bool operator == (String a, String b) { 706return String.Equals(a, b); 709public static bool operator != (String a, String b) { 710return !String.Equals(a, b); 793public static bool IsNullOrEmpty(String value) { 798public static bool IsNullOrWhiteSpace(String value) { 975public String [] Split(params char [] separator) { 976Contract.Ensures(Contract.Result<String[]>() != null); 992Contract.Ensures(Contract.Result<String[]>() != null); 997public String[] Split(char[] separator, StringSplitOptions options) { 998Contract.Ensures(Contract.Result<String[]>() != null); 1003public String[] Split(char[] separator, int count, StringSplitOptions options) 1005Contract.Ensures(Contract.Result<String[]>() != null); 1010internal String[] SplitInternal(char[] separator, int count, StringSplitOptions options) 1018Contract.Ensures(Contract.Result<String[]>() != null); 1025return new String[0]; 1033String[] stringArray = new String[1]; 1049public String [] Split(String[] separator, StringSplitOptions options) { 1050Contract.Ensures(Contract.Result<String[]>() != null); 1055public String[] Split(String[] separator, Int32 count, StringSplitOptions options) { 1073return new String[0]; 1082String[] stringArray = new String[1]; 1100private String[] InternalSplitKeepEmptyEntries(Int32 [] sepList, Int32 [] lengthList, Int32 numReplaces, int count) { 1103Contract.Ensures(Contract.Result<String[]>() != null); 1113String[] splitStrings = new String[numActualReplaces+1]; 1127splitStrings[arrIndex] = String.Empty; 1136private String[] InternalSplitOmitEmptyEntries(Int32[] sepList, Int32[] lengthList, Int32 numReplaces, int count) { 1139Contract.Ensures(Contract.Result<String[]>() != null); 1146String[] splitStrings = new String[maxItems]; 1173String[] stringArray = splitStrings; 1175stringArray = new String[arrIndex]; 1230private unsafe int MakeSeparatorList(String[] separators, ref int[] sepList, ref int[] lengthList) { 1240String separator = separators[j]; 1241if (String.IsNullOrEmpty(separator)) { 1247|| String.CompareOrdinal(this, i, separator, 0, currentSepLength) == 0) { 1263public String Substring (int startIndex) { 1270public String Substring(int startIndex, int length) { 1291return String.Empty; 1306String result = FastAllocateString(length); 1319public String Trim(params char[] trimChars) { 1327public String TrimStart(params char[] trimChars) { 1336public String TrimEnd(params char[] trimChars) { 1371unsafe static private String CreateString(sbyte *value, int startIndex, int length, Encoding enc) { 1402unsafe static internal String CreateStringFromEncoding( 1415return String.Empty; 1417String s = FastAllocateString(stringLength); 1503public String Normalize() 1515public String Normalize(NormalizationForm normalizationForm) 1534internal extern static String FastAllocateString(int length); 1537unsafe private static void FillStringChecked(String dest, int destPos, String src) 1577private String CtorCharArray(char [] value) 1580String result = FastAllocateString(value.Length); 1590return String.Empty; 1594private String CtorCharArrayStartLength(char [] value, int startIndex, int length) 1610String result = FastAllocateString(length); 1620return String.Empty; 1624private String CtorCharCount(char c, int count) 1627String result = FastAllocateString(count); 1659return String.Empty; 1698private unsafe String CtorCharPtr(char *ptr) 1701return String.Empty; 1713return String.Empty; 1715String result = FastAllocateString(count); 1726private unsafe String CtorCharPtrStartLength(char *ptr, int startIndex, int length) 1745return String.Empty; 1747String result = FastAllocateString(length); 1775public static int Compare(String strA, String strB) { 1786public static int Compare(String strA, String strB, bool ignoreCase) 1799public static int Compare(String strA, String strB, StringComparison comparisonType) 1862public static int Compare(String strA, String strB, CultureInfo culture, CompareOptions options) { 1880public static int Compare(String strA, String strB, bool ignoreCase, CultureInfo culture) { 1897public static int Compare(String strA, int indexA, String strB, int indexB, int length) { 1921public static int Compare(String strA, int indexA, String strB, int indexB, int length, bool ignoreCase) { 1949public static int Compare(String strA, int indexA, String strB, int indexB, int length, bool ignoreCase, CultureInfo culture) { 1983public static int Compare(String strA, int indexA, String strB, int indexB, int length, CultureInfo culture, CompareOptions options) { 2009public static int Compare(String strA, int indexA, String strB, int indexB, int length, StringComparison comparisonType) { 2108if (!(value is String)) { 2112return String.Compare(this,(String)value, StringComparison.CurrentCulture); 2118public int CompareTo(String strB) { 2129public static int CompareOrdinal(String strA, String strB) { 2158public static int CompareOrdinal(String strA, int indexA, String strB, int indexB, int length) { 2182public Boolean EndsWith(String value) { 2189public Boolean EndsWith(String value, StringComparison comparisonType) { 2232public Boolean EndsWith(String value, Boolean ignoreCase, CultureInfo culture) { 2307public int IndexOf(String value) { 2316public int IndexOf(String value, int startIndex) { 2325public int IndexOf(String value, int startIndex, int count) { 2339public int IndexOf(String value, StringComparison comparisonType) { 2344public int IndexOf(String value, int startIndex, StringComparison comparisonType) { 2350public int IndexOf(String value, int startIndex, int count, StringComparison comparisonType) { 2441public int LastIndexOf(String value) { 2446public int LastIndexOf(String value, int startIndex) { 2451public int LastIndexOf(String value, int startIndex, int count) { 2461public int LastIndexOf(String value, StringComparison comparisonType) { 2466public int LastIndexOf(String value, int startIndex, StringComparison comparisonType) { 2472public int LastIndexOf(String value, int startIndex, int count, StringComparison comparisonType) { 2530public String PadLeft(int totalWidth) { 2535public String PadLeft(int totalWidth, char paddingChar) { 2540public String PadRight(int totalWidth) { 2545public String PadRight(int totalWidth, char paddingChar) { 2553private extern String PadHelper(int totalWidth, char paddingChar, bool isRightPadded); 2558public Boolean StartsWith(String value) { 2569public Boolean StartsWith(String value, StringComparison comparisonType) { 2619public Boolean StartsWith(String value, Boolean ignoreCase, CultureInfo culture) { 2640public String ToLower() { 2641Contract.Ensures(Contract.Result<String>() != null); 2648public String ToLower(CultureInfo culture) { 2652Contract.Ensures(Contract.Result<String>() != null); 2659public String ToLowerInvariant() { 2660Contract.Ensures(Contract.Result<String>() != null); 2667public String ToUpper() { 2668Contract.Ensures(Contract.Result<String>() != null); 2676public String ToUpper(CultureInfo culture) { 2680Contract.Ensures(Contract.Result<String>() != null); 2688public String ToUpperInvariant() { 2689Contract.Ensures(Contract.Result<String>() != null); 2696public override String ToString() { 2697Contract.Ensures(Contract.Result<String>() != null); 2702public String ToString(IFormatProvider provider) { 2703Contract.Ensures(Contract.Result<String>() != null); 2736public String Trim() { 2737Contract.Ensures(Contract.Result<String>() != null); 2745private String TrimHelper(int trimType) { 2769private String TrimHelper(char[] trimChars, int trimType) { 2807private String CreateTrimmedString(int start, int end) { 2816return String.Empty; 2822public String Insert(int startIndex, String value) 2828Contract.Ensures(Contract.Result<String>() != null); 2829Contract.Ensures(Contract.Result<String>().Length == this.Length + value.Length); 2836return String.Empty; 2837String result = FastAllocateString(newLength); 2861private extern String ReplaceInternal(char oldChar, char newChar); 2863public String Replace(char oldChar, char newChar) 2865Contract.Ensures(Contract.Result<String>() != null); 2866Contract.Ensures(Contract.Result<String>().Length == this.Length); 2877private extern String ReplaceInternal(String oldValue, String newValue); 2879public String Replace(String oldValue, String newValue) 2884Contract.Ensures(Contract.Result<String>() != null); 2910public String Remove(int startIndex, int count) 2921Contract.Ensures(Contract.Result<String>() != null); 2922Contract.Ensures(Contract.Result<String>().Length == this.Length - count); 2926return String.Empty; 2927String result = FastAllocateString(newLength); 2954Contract.Ensures(Contract.Result<String>() != null); 2960public static String Format(String format, Object arg0) { 2961Contract.Ensures(Contract.Result<String>() != null); 2965public static String Format(String format, Object arg0, Object arg1) { 2966Contract.Ensures(Contract.Result<String>() != null); 2970public static String Format(String format, Object arg0, Object arg1, Object arg2) { 2971Contract.Ensures(Contract.Result<String>() != null); 2975public static String Format(String format, params Object[] args) { 2982Contract.Ensures(Contract.Result<String>() != null); 2988public static String Format(IFormatProvider provider, String format, Object arg0) { 2989Contract.Ensures(Contract.Result<String>() != null); 2993public static String Format(IFormatProvider provider, String format, Object arg0, Object arg1) { 2994Contract.Ensures(Contract.Result<String>() != null); 2998public static String Format(IFormatProvider provider, String format, Object arg0, Object arg1, Object arg2) { 2999Contract.Ensures(Contract.Result<String>() != null); 3003public static String Format(IFormatProvider provider, String format, params Object[] args) { 3010Contract.Ensures(Contract.Result<String>() != null); 3016private static String FormatHelper(IFormatProvider provider, String format, ParamsArray args) { 3027unsafe public static String Copy (String str) { 3031Contract.Ensures(Contract.Result<String>() != null); 3036String result = FastAllocateString(length); 3045public static String Concat(Object arg0) { 3046Contract.Ensures(Contract.Result<String>() != null); 3051return String.Empty; 3056public static String Concat(Object arg0, Object arg1) { 3057Contract.Ensures(Contract.Result<String>() != null); 3062arg0 = String.Empty; 3066arg1 = String.Empty; 3071public static String Concat(Object arg0, Object arg1, Object arg2) { 3072Contract.Ensures(Contract.Result<String>() != null); 3077arg0 = String.Empty; 3081arg1 = String.Empty; 3085arg2 = String.Empty; 3092public static String Concat(Object arg0, Object arg1, Object arg2, Object arg3, __arglist) 3094Contract.Ensures(Contract.Result<String>() != null); 3121public static String Concat(params Object[] args) { 3125Contract.Ensures(Contract.Result<String>() != null); 3128String[] sArgs = new String[args.Length]; 3133sArgs[i] = ((value==null)?(String.Empty):(value.ToString())); 3134if (sArgs[i] == null) sArgs[i] = String.Empty; // value.ToString() above could have returned null 3145public static String Concat<T>(IEnumerable<T> values) { 3148Contract.Ensures(Contract.Result<String>() != null); 3168public static String Concat(IEnumerable<String> values) { 3171Contract.Ensures(Contract.Result<String>() != null); 3175using(IEnumerator<String> en = values.GetEnumerator()) { 3187public static String Concat(String str0, String str1) { 3188Contract.Ensures(Contract.Result<String>() != null); 3189Contract.Ensures(Contract.Result<String>().Length == 3196return String.Empty; 3207String result = FastAllocateString(str0Length + str1.Length); 3216public static String Concat(String str0, String str1, String str2) { 3217Contract.Ensures(Contract.Result<String>() != null); 3218Contract.Ensures(Contract.Result<String>().Length == 3225return String.Empty; 3229str0 = String.Empty; 3233str1 = String.Empty; 3237str2 = String.Empty; 3242String result = FastAllocateString(totalLength); 3251public static String Concat(String str0, String str1, String str2, String str3) { 3252Contract.Ensures(Contract.Result<String>() != null); 3253Contract.Ensures(Contract.Result<String>().Length == 3261return String.Empty; 3265str0 = String.Empty; 3269str1 = String.Empty; 3273str2 = String.Empty; 3277str3 = String.Empty; 3282String result = FastAllocateString(totalLength); 3292private static String ConcatArray(String[] values, int totalLength) { 3293String result = FastAllocateString(totalLength); 3307public static String Concat(params String[] values) { 3310Contract.Ensures(Contract.Result<String>() != null); 3316String[] internalValues = new String[values.Length]; 3320internalValues[i] = ((value==null)?(String.Empty):(value)); 3332public static String Intern(String str) { 3336Contract.Ensures(Contract.Result<String>().Length == str.Length); 3337Contract.Ensures(str.Equals(Contract.Result<String>())); 3345public static String IsInterned(String str) { 3349Contract.Ensures(Contract.Result<String>() == null || Contract.Result<String>().Length == str.Length); 3488internal unsafe static void InternalCopy(String src, IntPtr dest,int len)
system\stringcomparer.cs (19)
81String sa = x as String; 83String sb = y as String; 102String sa = x as String; 104String sb = y as String; 125public abstract int Compare(String x, String y); 126public abstract bool Equals(String x, String y); 334return String.Compare(x, y, StringComparison.OrdinalIgnoreCase); 337return String.CompareOrdinal(x, y); 348return (String.Compare(x, y, StringComparison.OrdinalIgnoreCase) == 0); 410return String.Compare(x, y, StringComparison.OrdinalIgnoreCase); 413return String.CompareOrdinal(x, y); 424return (String.Compare(x, y, StringComparison.OrdinalIgnoreCase) == 0); 440return String.InternalMarvin32HashString(obj, obj.Length, _entropy);
system\stubhelpers.cs (4)
176return String.CreateStringFromEncoding((byte*)cstr, nbBytes, Encoding.UTF8); 336ret = String.FastAllocateString(0); 1119String.InternalCopy(pManagedHome, pNativeHome, allocSize); 1459if (String.IsNullOrEmpty(typeName))
system\systemexception.cs (2)
19public SystemException(String message) 24public SystemException(String message, Exception innerException)
system\text\asciiencoding.cs (5)
91public override unsafe int GetByteCount(String chars) 131public override unsafe int GetBytes(String chars, int charIndex, int charCount, 371public override unsafe String GetString(byte[] bytes, int byteIndex, int byteCount) 389if (bytes.Length == 0) return String.Empty; 392return String.CreateStringFromEncoding(
system\text\basecodepageencoding.cs (5)
56internal const String CODE_PAGE_DATA_FILE_NAME = "codepages.nlp"; 273String strName = GetMemorySectionName(); 300protected unsafe virtual String GetMemorySectionName() 304String strName = String.Format(CultureInfo.InvariantCulture, "NLS_CodePage_{0}_{1}_{2}_{3}_{4}",
system\text\decoderexceptionfallback.cs (3)
119public DecoderFallbackException(String message) 125public DecoderFallbackException(String message, Exception innerException) 136String message, byte[] bytesUnknown, int index) : base(message)
system\text\decoderfallback.cs (1)
272strBytes.Append(String.Format(CultureInfo.InvariantCulture, "\\x{0:X2}", bytesUnknown[i]));
system\text\decodernls.cs (1)
40String.Format(
system\text\decoderreplacementfallback.cs (4)
17private String strDefault; 24public DecoderReplacementFallback(String replacement) 69public String DefaultString 112private String strDefault;
system\text\encoderexceptionfallback.cs (4)
122public EncoderFallbackException(String message) 128public EncoderFallbackException(String message, Exception innerException) 139String message, char charUnknown, int index) : base(message) 146String message, char charUnknownHigh, char charUnknownLow, int index) : base(message)
system\text\encodernls.cs (1)
43String.Format(
system\text\encoderreplacementfallback.cs (4)
18private String strDefault; 25public EncoderReplacementFallback(String replacement) 71public String DefaultString 114private String strDefault;
system\text\encoding.cs (12)
669public static Encoding GetEncoding(String name) 687public static Encoding GetEncoding(String name, 729public virtual String BodyName 742public virtual String EncodingName 753public virtual String HeaderName 767public virtual String WebName 962public virtual int GetByteCount(String s) 1061public virtual byte[] GetBytes(String s) 1075public virtual int GetBytes(String s, int charIndex, int charCount, 1340return String.CreateStringFromEncoding(bytes, byteCount, this); 1483public virtual String GetString(byte[] bytes) 1499public virtual String GetString(byte[] bytes, int index, int count)
system\text\encodinginfo.cs (4)
16String strEncodingName; // Short name (web name) 17String strDisplayName; // Full localized name 36public String Name 45public String DisplayName
system\text\encodingnls.cs (5)
77public override unsafe int GetByteCount(String s) 113public override unsafe int GetBytes(String s, int charIndex, int charCount, 340public override unsafe String GetString(byte[] bytes, int index, int count) 357if (bytes.Length == 0) return String.Empty; 360return String.CreateStringFromEncoding(
system\text\eucjpencoding.cs (3)
61protected unsafe override String GetMemorySectionName() 65String strName = String.Format(CultureInfo.InvariantCulture, "CodePage_{0}_{1}_{2}_{3}_{4}_EUCJP",
system\text\isciiencoding.cs (2)
425String.Format(CultureInfo.InvariantCulture, 654String.Format(CultureInfo.InvariantCulture,
system\text\iso2022encoding.cs (4)
115protected unsafe override String GetMemorySectionName() 119String strFormat; 140String strName = String.Format(CultureInfo.InvariantCulture, strFormat,
system\text\normalization.cs (7)
80static private unsafe void InitializeForm(NormalizationForm form, String strDataFile) 187internal static bool IsNormalized(String strInput, NormalizationForm normForm) 224internal static String Normalize(String strInput, NormalizationForm normForm) 256if (iLength == 0) return String.Empty; 311String lpSrcString, int cwSrcLength, 319String lpString, int cwLength);
system\text\sbcscodepageencoding.cs (2)
184Contract.Assert(arrayTemp[byteTemp] == UNKNOWN_CHAR, String.Format(CultureInfo.InvariantCulture, 286String.Format(CultureInfo.InvariantCulture,
system\text\stringbuilder.cs (37)
68private const String CapacityField = "Capacity"; 69private const String MaxCapacityField = "m_MaxCapacity"; 70private const String StringValueField = "m_StringValue"; 71private const String ThreadIDField = "m_currentThread"; 93: this(String.Empty, capacity) { 101public StringBuilder(String value) 111public StringBuilder(String value, int capacity) 119public StringBuilder(String value, int startIndex, int length, int capacity) { 134value = String.Empty; 213persistedString = String.Empty; 330public override String ToString() { 331Contract.Ensures(Contract.Result<String>() != null); 336return String.Empty; 373public String ToString(int startIndex, int length) { 374Contract.Ensures(Contract.Result<String>() != null); 634public StringBuilder Append(String value) { 693public StringBuilder Append(String value, int startIndex, int count) { 820public StringBuilder Insert(int index, String value, int count) { 1037public StringBuilder Insert(int index, String value) { 1262public StringBuilder AppendFormat(String format, Object arg0) { 1267public StringBuilder AppendFormat(String format, Object arg0, Object arg1) { 1272public StringBuilder AppendFormat(String format, Object arg0, Object arg1, Object arg2) { 1277public StringBuilder AppendFormat(String format, params Object[] args) { 1284Contract.Ensures(Contract.Result<String>() != null); 1290public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0) { 1295public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1) { 1300public StringBuilder AppendFormat(IFormatProvider provider, String format, Object arg0, Object arg1, Object arg2) { 1305public StringBuilder AppendFormat(IFormatProvider provider, String format, params Object[] args) { 1312Contract.Ensures(Contract.Result<String>() != null); 1322internal StringBuilder AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) { 1439String sFmt = null; 1440String s = null; 1470if (s == null) s = String.Empty; 1485public StringBuilder Replace(String oldValue, String newValue) { 1535public StringBuilder Replace(String oldValue, String newValue, int startIndex, int count)
system\text\unicodeencoding.cs (5)
128public override unsafe int GetByteCount(String s) 168public override unsafe int GetBytes(String s, int charIndex, int charCount, 409public override unsafe String GetString(byte[] bytes, int index, int count) 426if (bytes.Length == 0) return String.Empty; 429return String.CreateStringFromEncoding(
system\text\utf32encoding.cs (5)
132public override unsafe int GetByteCount(String s) 171public override unsafe int GetBytes(String s, int charIndex, int charCount, 408public override unsafe String GetString(byte[] bytes, int index, int count) 425if (bytes.Length == 0) return String.Empty; 428return String.CreateStringFromEncoding(
system\text\utf7encoding.cs (9)
22private const String base64Chars = 28private const String directChars = 32private const String optionalChars = 98this.encoderFallback = new EncoderReplacementFallback(String.Empty); 197public override unsafe int GetByteCount(String s) 238public override unsafe int GetBytes(String s, int charIndex, int charCount, 479public override unsafe String GetString(byte[] bytes, int index, int count) 496if (bytes.Length == 0) return String.Empty; 499return String.CreateStringFromEncoding(
system\text\utf8encoding.cs (5)
160public override unsafe int GetByteCount(String chars) 200public override unsafe int GetBytes(String s, int charIndex, int charCount, 441public override unsafe String GetString(byte[] bytes, int index, int count) 458if (bytes.Length == 0) return String.Empty; 461return String.CreateStringFromEncoding(
system\threading\abandonedmutexexception.cs (4)
33public AbandonedMutexException(String message) 38public AbandonedMutexException(String message, Exception inner ) 49public AbandonedMutexException(String message,int location, WaitHandle handle) 55public AbandonedMutexException(String message, Exception inner,int location, WaitHandle handle )
system\threading\ManualResetEventSlim.cs (2)
173throw new InvalidOperationException(String.Format(Environment.GetResourceString("ManualResetEventSlim_ctor_TooManyWaiters"), NumWaitersState_MaxValue)); 230String.Format(Environment.GetResourceString("ManualResetEventSlim_ctor_SpinCountOutOfRange"), SpinCountState_MaxValue));
system\threading\mutex.cs (8)
52public Mutex(bool initiallyOwned, String name, out bool createdNew) 61public unsafe Mutex(bool initiallyOwned, String name, out bool createdNew, MutexSecurity mutexSecurity) 90internal Mutex(bool initiallyOwned, String name, out bool createdNew, Win32Native.SECURITY_ATTRIBUTES secAttrs) 119internal void CreateMutexWithGuaranteedCleanup(bool initiallyOwned, String name, out bool createdNew, Win32Native.SECURITY_ATTRIBUTES secAttrs) 142String m_name; 149internal MutexTryCodeHelper(bool initiallyOwned,MutexCleanupInfo cleanupInfo, String name, Win32Native.SECURITY_ATTRIBUTES secAttrs, Mutex mutex) 259public Mutex(bool initiallyOwned, String name) : this(initiallyOwned, name, out dummyBool) { 434static int CreateMutexHandle(bool initiallyOwned, String name, Win32Native.SECURITY_ATTRIBUTES securityAttribute, out SafeWaitHandle mutexHandle) {
system\threading\semaphorefullexception.cs (2)
26public SemaphoreFullException(String message) : base(message) { 29public SemaphoreFullException(String message, Exception innerException) : base(message, innerException) {
system\threading\synchronizationlockexception.cs (2)
31public SynchronizationLockException(String message) 36public SynchronizationLockException(String message, Exception innerException)
system\threading\thread.cs (7)
142private String m_Name; 1038public static LocalDataStoreSlot AllocateNamedDataSlot(String name) 1049public static LocalDataStoreSlot GetNamedDataSlot(String name) 1060public static void FreeNamedDataSlot(String name) 1249static extern private bool nativeSetThreadUILocale(String locale); 1496public String Name { 1518private static extern void InformThreadNameChange(ThreadHandle t, String name, int len);
system\threading\threadinterruptedexception.cs (2)
31public ThreadInterruptedException(String message) 36public ThreadInterruptedException(String message, Exception innerException)
system\threading\threadstateexception.cs (2)
30public ThreadStateException(String message) 35public ThreadStateException(String message, Exception innerException)
system\threading\waithandlecannotbeopenedexception.cs (2)
27public WaitHandleCannotBeOpenedException(String message) : base(message) 32public WaitHandleCannotBeOpenedException(String message, Exception innerException) : base(message, innerException)
system\throwhelper.cs (1)
91throw new ArgumentOutOfRangeException(GetArgumentName(argument), String.Empty);
system\timeoutexception.cs (2)
29public TimeoutException(String message) 34public TimeoutException(String message, Exception innerException)
system\timespan.cs (25)
283public static TimeSpan Parse(String s) { 287public static TimeSpan Parse(String input, IFormatProvider formatProvider) { 290public static TimeSpan ParseExact(String input, String format, IFormatProvider formatProvider) { 293public static TimeSpan ParseExact(String input, String[] formats, IFormatProvider formatProvider) { 296public static TimeSpan ParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles) { 300public static TimeSpan ParseExact(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles) { 304public static Boolean TryParse(String s, out TimeSpan result) { 307public static Boolean TryParse(String input, IFormatProvider formatProvider, out TimeSpan result) { 310public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, out TimeSpan result) { 313public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, out TimeSpan result) { 316public static Boolean TryParseExact(String input, String format, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 320public static Boolean TryParseExact(String input, String[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result) { 324public override String ToString() { 327public String ToString(String format) { 330public String ToString(String format, IFormatProvider formatProvider) {
system\timezone.cs (2)
82public abstract String StandardName { 86public abstract String DaylightName {
system\timezoneinfo.cs (105)
61private String m_id; 62private String m_displayName; 63private String m_standardDisplayName; 64private String m_daylightDisplayName; 279public String Id { 285public String DisplayName { 287return (m_displayName == null ? String.Empty : m_displayName); 291public String StandardName { 293return (m_standardDisplayName == null ? String.Empty : m_standardDisplayName); 297public String DaylightName { 299return (m_daylightDisplayName == null? String.Empty : m_daylightDisplayName); 658static public DateTimeOffset ConvertTimeBySystemTimeZoneId(DateTimeOffset dateTimeOffset, String destinationTimeZoneId) { 665static public DateTime ConvertTimeBySystemTimeZoneId(DateTime dateTime, String destinationTimeZoneId) { 671static public DateTime ConvertTimeBySystemTimeZoneId(DateTime dateTime, String sourceTimeZoneId, String destinationTimeZoneId) { 672if (dateTime.Kind == DateTimeKind.Local && String.Compare(sourceTimeZoneId, TimeZoneInfo.Local.Id, StringComparison.OrdinalIgnoreCase) == 0) { 681else if (dateTime.Kind == DateTimeKind.Utc && String.Compare(sourceTimeZoneId, TimeZoneInfo.Utc.Id, StringComparison.OrdinalIgnoreCase) == 0) { 872return (other != null && String.Compare(this.m_id, other.m_id, StringComparison.OrdinalIgnoreCase) == 0 && HasSameRules(other)); 1050public String ToSerializedString() { 1088if (String.IsNullOrEmpty(zone.StandardName)) { 1113String id, 1115String displayName, 1116String standardDisplayName, 1117String daylightDisplayName, 1145String id, 1147String displayName, 1148String standardDisplayName) { 1167String id, 1169String displayName, 1170String standardDisplayName, 1171String daylightDisplayName, 1195String id, 1197String displayName, 1198String standardDisplayName, 1199String daylightDisplayName, 1258m_id = (String)info.GetValue("Id", typeof(String)); 1259m_displayName = (String)info.GetValue("DisplayName", typeof(String)); 1260m_standardDisplayName = (String)info.GetValue("StandardName", typeof(String)); 1261m_daylightDisplayName = (String)info.GetValue("DaylightName", typeof(String)); 1424static private String FindIdFromTimeZoneInformation(Win32Native.TimeZoneInformation timeZone, out Boolean dstDisabled) { 1818String id = null; 1839if (!String.IsNullOrEmpty(dynamicTimeZoneInformation.TimeZoneKeyName)) { 1949if (String.Compare(id, c_utcId, StringComparison.OrdinalIgnoreCase) == 0) { 2311String.Format(CultureInfo.InvariantCulture, "{0}\\{1}\\Dynamic DST", 2488String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", 2538String registryStandardName = key.GetValue(c_standardValue, String.Empty, RegistryValueOptions.None) as String; 2539result = String.Compare(registryStandardName, timeZone.StandardName, StringComparison.Ordinal) == 0; 2573if (String.IsNullOrEmpty(resource)) { 2574return String.Empty; 2584return String.Empty; 2601return String.Empty; 2605return String.Empty; 2623return String.Empty; 2628return String.Empty; 2662return String.Empty; 2682static private Boolean TryGetLocalizedNamesByRegistryKey(RegistryKey key, out String displayName, out String standardName, out String daylightName) { 2683displayName = String.Empty; 2684standardName = String.Empty; 2685daylightName = String.Empty; 2688String displayNameMuiResource = key.GetValue(c_muiDisplayValue, String.Empty, RegistryValueOptions.None) as String; 2689String standardNameMuiResource = key.GetValue(c_muiStandardValue, String.Empty, RegistryValueOptions.None) as String; 2690String daylightNameMuiResource = key.GetValue(c_muiDaylightValue, String.Empty, RegistryValueOptions.None) as String; 2693if (!String.IsNullOrEmpty(displayNameMuiResource)) { 2697if (!String.IsNullOrEmpty(standardNameMuiResource)) { 2701if (!String.IsNullOrEmpty(daylightNameMuiResource)) { 2706if (String.IsNullOrEmpty(displayName)) { 2707displayName = key.GetValue(c_displayValue, String.Empty, RegistryValueOptions.None) as String; 2709if (String.IsNullOrEmpty(standardName)) { 2710standardName = key.GetValue(c_standardValue, String.Empty, RegistryValueOptions.None) as String; 2712if (String.IsNullOrEmpty(daylightName)) { 2713daylightName = key.GetValue(c_daylightValue, String.Empty, RegistryValueOptions.None) as String; 2773String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", 2929String id, 3533private String m_serializedText; 3563static public String GetSerializedString(TimeZoneInfo zone) { 3619static public TimeZoneInfo GetDeserializedTimeZoneInfo(String source) { 3622String id = s.GetNextStringValue(false); 3624String displayName = s.GetNextStringValue(false); 3625String standardName = s.GetNextStringValue(false); 3626String daylightName = s.GetNextStringValue(false); 3650private StringSerializer(String str) { 3669static private String SerializeSubstitute(String text) { 3794private String GetNextStringValue(Boolean canEndWithoutSeparator) { 3867throw new SerializationException(Environment.GetResourceString("Serialization_InvalidEscapeSequence", String.Empty)); 3885String token = GetNextStringValue(canEndWithoutSeparator); 3916String token = GetNextStringValue(canEndWithoutSeparator); 4155return comparison == 0 ? String.Compare(x.DisplayName, y.DisplayName, StringComparison.Ordinal) : comparison;
system\timezonenotfoundexception.cs (2)
15public TimeZoneNotFoundException(String message) 18public TimeZoneNotFoundException(String message, Exception innerException)
system\type.cs (49)
91public static Type GetType(String typeName, bool throwOnError, bool ignoreCase) { 97public static Type GetType(String typeName, bool throwOnError) { 103public static Type GetType(String typeName) { 144public static Type ReflectionOnlyGetType(String typeName, bool throwIfNotFound, bool ignoreCase) 167public static Type GetTypeFromProgID(String progID) 182public static Type GetTypeFromProgID(String progID, bool throwOnError) 188public static Type GetTypeFromProgID(String progID, String server) 194public static Type GetTypeFromProgID(String progID, String server, bool throwOnError) 219public static Type GetTypeFromCLSID(Guid clsid, String server) 225public static Type GetTypeFromCLSID(Guid clsid, String server, bool throwOnError) 299abstract public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder,Object target, 300Object[] args, ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters); 304public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture) 311public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args) 367public abstract String FullName { 373public abstract String Namespace { 379public abstract String AssemblyQualifiedName { 474public MethodInfo GetMethod(String name, 492public MethodInfo GetMethod(String name, 509public MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers) 522public MethodInfo GetMethod(String name,Type[] types) 535public MethodInfo GetMethod(String name, BindingFlags bindingAttr) 543public MethodInfo GetMethod(String name) 551abstract protected MethodInfo GetMethodImpl(String name, 569abstract public FieldInfo GetField(String name, BindingFlags bindingAttr); 572public FieldInfo GetField(String name) { 587public Type GetInterface(String name) { 590abstract public Type GetInterface(String name, bool ignoreCase); 629public EventInfo GetEvent(String name) { 632abstract public EventInfo GetEvent(String name,BindingFlags bindingAttr); 645public PropertyInfo GetProperty(String name,BindingFlags bindingAttr,Binder binder, 656public PropertyInfo GetProperty(String name, Type returnType, Type[] types,ParameterModifier[] modifiers) 666public PropertyInfo GetProperty(String name, BindingFlags bindingAttr) 674public PropertyInfo GetProperty(String name, Type returnType, Type[] types) 684public PropertyInfo GetProperty(String name, Type[] types) 694public PropertyInfo GetProperty(String name, Type returnType) 704internal PropertyInfo GetProperty(String name, BindingFlags bindingAttr, Type returnType) 714public PropertyInfo GetProperty(String name) 722protected abstract PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr,Binder binder, 749public Type GetNestedType(String name) 754abstract public Type GetNestedType(String name, BindingFlags bindingAttr); 759public MemberInfo[] GetMember(String name) { 763virtual public MemberInfo[] GetMember(String name, BindingFlags bindingAttr) 768virtual public MemberInfo[] GetMember(String name, MemberTypes type, BindingFlags bindingAttr) 1390Contract.Ensures(Contract.Result<String[]>() != null); 1421Contract.Ensures(Contract.ValueAtReturn<String[]>(out enumNames) != null); 1758public override String ToString()
system\typeinitializationexception.cs (6)
27private String _typeName; 38private TypeInitializationException(String message) : base(message) { 42public TypeInitializationException(String fullTypeName, Exception innerException) : base(Environment.GetResourceString("TypeInitialization_Type", fullTypeName), innerException) { 51public String TypeName 55return String.Empty; 64info.AddValue("TypeName",TypeName,typeof(String));
system\typeloadexception.cs (16)
37public TypeLoadException(String message) 42public TypeLoadException(String message, Exception inner) 47public override String Message 70String format = null; 72_message = String.Format(CultureInfo.CurrentCulture, format, ClassName, AssemblyName, MessageArg); 77public String TypeName 81return String.Empty; 89private TypeLoadException(String className, 90String assemblyName, 91String messageArg, 132info.AddValue("TypeLoadClassName", ClassName, typeof(String)); 133info.AddValue("TypeLoadAssemblyName", AssemblyName, typeof(String)); 134info.AddValue("TypeLoadMessageArg", MessageArg, typeof(String)); 141private String ClassName; 142private String AssemblyName; 143private String MessageArg;
system\typeunloadedexception.cs (2)
28public TypeUnloadedException(String message) 33public TypeUnloadedException(String message, Exception innerException)
system\uint16.cs (18)
82public override String ToString() { 83Contract.Ensures(Contract.Result<String>() != null); 88public String ToString(IFormatProvider provider) { 89Contract.Ensures(Contract.Result<String>() != null); 95public String ToString(String format) { 96Contract.Ensures(Contract.Result<String>() != null); 101public String ToString(String format, IFormatProvider provider) { 102Contract.Ensures(Contract.Result<String>() != null); 107public static ushort Parse(String s) { 112public static ushort Parse(String s, NumberStyles style) { 119public static ushort Parse(String s, IFormatProvider provider) { 124public static ushort Parse(String s, NumberStyles style, IFormatProvider provider) { 129private static ushort Parse(String s, NumberStyles style, NumberFormatInfo info) { 144public static bool TryParse(String s, out UInt16 result) { 149public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out UInt16 result) { 154private static bool TryParse(String s, NumberStyles style, NumberFormatInfo info, out UInt16 result) {
system\uint32.cs (16)
93public override String ToString() { 94Contract.Ensures(Contract.Result<String>() != null); 99public String ToString(IFormatProvider provider) { 100Contract.Ensures(Contract.Result<String>() != null); 105public String ToString(String format) { 106Contract.Ensures(Contract.Result<String>() != null); 111public String ToString(String format, IFormatProvider provider) { 112Contract.Ensures(Contract.Result<String>() != null); 117public static uint Parse(String s) { 122public static uint Parse(String s, NumberStyles style) { 129public static uint Parse(String s, IFormatProvider provider) { 134public static uint Parse(String s, NumberStyles style, IFormatProvider provider) { 140public static bool TryParse(String s, out UInt32 result) { 145public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out UInt32 result) {
system\uint64.cs (15)
89public override String ToString() { 90Contract.Ensures(Contract.Result<String>() != null); 95public String ToString(IFormatProvider provider) { 96Contract.Ensures(Contract.Result<String>() != null); 101public String ToString(String format) { 102Contract.Ensures(Contract.Result<String>() != null); 107public String ToString(String format, IFormatProvider provider) { 108Contract.Ensures(Contract.Result<String>() != null); 113public static ulong Parse(String s) { 118public static ulong Parse(String s, NumberStyles style) { 129public static ulong Parse(String s, NumberStyles style, IFormatProvider provider) { 135public static Boolean TryParse(String s, out UInt64 result) { 140public static Boolean TryParse(String s, NumberStyles style, IFormatProvider provider, out UInt64 result) {
system\uintptr.cs (2)
114public unsafe override String ToString() { 115Contract.Ensures(Contract.Result<String>() != null);
system\unauthorizedaccessexception.cs (2)
32public UnauthorizedAccessException(String message) 37public UnauthorizedAccessException(String message, Exception inner)
system\unityserializationholder.cs (6)
129SerializationInfo info, int unityType, String data, RuntimeAssembly assembly) 137info.AddValue("Data", data, typeof(String)); 140String assemName; 144assemName = String.Empty; 161private String m_data; 162private String m_assemblyName;
system\unsafecharbuffer.cs (1)
37if( String.IsNullOrEmpty( stringToAppend ) ) {
system\valuetype.cs (1)
93public override String ToString()
system\variant.cs (2)
105typeof(String), 283if (obj is String) {
system\version.cs (6)
91public Version(String version) { 278public override String ToString() { 284public String ToString(int fieldCount) { 288return(String.Empty); 384String[] parsedComponents = version.Split(SeparatorsArray); 492SetFailure(failure, String.Empty);
PresentationBuildTasks (645)
Base\MS\Internal\IO\Packaging\Compoundfile\ContainerUtilities.cs (1)
135internal static int WriteByteLengthPrefixedDWordPaddedUnicodeString(BinaryWriter writer, String outputString)
Base\System\IO\Packaging\Compoundfile\FormatVersion.cs (2)
74public FormatVersion(String featureId, 566private String _featureIdentifier;
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
237else if (typeof(String).IsAssignableFrom(type))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (7)
658if (String.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 660return LookupNamespace(String.Empty); 663else if (String.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal)) 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 (2)
127if (String.IsNullOrEmpty(errorId)) 354if (localizableString != null && String.Compare(localizableString, "false", StringComparison.OrdinalIgnoreCase) ==0 )
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (6)
352if (xmlProjectDoc == null || String.IsNullOrEmpty(sItemName)) 397if (nodeGroup != null && String.Compare(nodeGroup.Name, ITEMGROUP_NAME, StringComparison.OrdinalIgnoreCase) == 0) 410if (nodeItem != null && String.Compare(nodeItem.Name, sItemName, StringComparison.OrdinalIgnoreCase) == 0) 456if (xmlProjectDoc == null || String.IsNullOrEmpty(sItemName) || pItemList == null) 496if (!String.IsNullOrEmpty(aliases)) 519private string _currentProject = String.Empty;
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
112if (String.IsNullOrEmpty(errorId))
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (29)
208if (String.IsNullOrEmpty(errorId)) 705codeFile = String.Empty; 706bamlFile = String.Empty; 708if (String.IsNullOrEmpty(xamlFile)) 740codeFile = String.Empty; 745bamlFile = String.Empty; 753codeFile = String.Empty; 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)) 1545string linkAlias = String.Empty; 1546string logicalName = String.Empty; 1557if (String.Compare(localTypeXamlFile, xamlInputFullPath, StringComparison.OrdinalIgnoreCase) == 0) 1724if (String.IsNullOrEmpty(UICulture)) 1740if (strLocalizable != null && String.Compare(strLocalizable, "false", StringComparison.OrdinalIgnoreCase) == 0) 1865private string _rootNamespace = String.Empty; 1878private string _uiCulture = String.Empty; 1880private string _applicationFile = String.Empty; 1882private string _hostInBrowser = String.Empty; 1897private string _defineConstants = String.Empty; 1900private string _pageMarkupCache = String.Empty; 1901private string _contentFilesCache = String.Empty; 1902private string _sourceCodeFilesCache = String.Empty; 1903private string _referencesCache = String.Empty;
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (5)
155if (String.IsNullOrEmpty(errorId)) 691if (!String.IsNullOrEmpty(_internalTypeHelperFile) && !compilerWrapper.HasInternals) 701writer.WriteLine(String.Empty); 907private string _rootNamespace = String.Empty; 925private string _internalTypeHelperFile = String.Empty;
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
353string relPath = String.Empty; 365if (!String.IsNullOrEmpty(logicalName))
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
121if (String.IsNullOrEmpty(errorId))
BuildTasks\Ms\Internal\MarkupCompiler\FileUnit.cs (3)
48private static FileUnit _empty = new FileUnit(String.Empty, String.Empty, String.Empty);
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
1735if (value != null && (typeToConvertTo == typeof(String) || typeToConvertTo.IsPrimitive)) 2092if (String.IsNullOrEmpty(LanguageSourceExtension)) 2591string version = String.IsNullOrEmpty(AssemblyVersion) ? String.Empty : COMPONENT_DELIMITER + VER + AssemblyVersion; 2592string token = String.IsNullOrEmpty(AssemblyPublicKeyToken) ? String.Empty : COMPONENT_DELIMITER + AssemblyPublicKeyToken; 3017if (String.IsNullOrEmpty(clrNS))
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (11)
42private static LocalReferenceFile _empty = new LocalReferenceFile(String.Empty, false, String.Empty, String.Empty); 85string cacheText = String.Empty; 87if (!String.IsNullOrEmpty(FilePath)) 121if (!String.IsNullOrEmpty(cacheInfo)) 186Debug.Assert(String.IsNullOrEmpty(_localCacheFile) != true, "_localCacheFile must not be empty."); 212sw.WriteLine(String.Empty); 218sw.WriteLine(String.Empty); 248Debug.Assert(String.IsNullOrEmpty(_localCacheFile) != true, "_localCacheFile must not be empty."); 346private string _internalTypeHelperFile = String.Empty;
BuildTasks\MS\Internal\Tasks\CompilerState.cs (6)
69_cacheInfoList = new String[(int)CompilerStateType.MaxCount]; 99Debug.Assert(String.IsNullOrEmpty(_stateFilePath) != true, "StateFilePath must not be empty."); 160Debug.Assert(String.IsNullOrEmpty(_stateFilePath) != true, "_stateFilePath must be not be empty."); 213string cacheString = String.Empty; 241string fileNames = String.Empty; 386private String [] _cacheInfoList;
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (4)
256if (String.Compare(asmReference.AssemblyName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0) 297if (String.IsNullOrEmpty(strErrorCode)) 350if (String.IsNullOrEmpty(sourceFileInfo.OriginalFilePath)) 396string relPath = String.Empty;
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (5)
342bool isSrcEmpty = String.IsNullOrEmpty(textSource); 343bool istgtEmpty = String.IsNullOrEmpty(textTarget); 357IsSettingModified = String.Compare(textSource, textTarget, StringComparison.OrdinalIgnoreCase) == 0 ? false : true; 424if (String.Compare(xamlfile.Path, CompilerLocalReference.LocalMarkupPages[j].FilePath, StringComparison.OrdinalIgnoreCase) == 0) 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 (4)
281Debug.Assert(String.IsNullOrEmpty(assemblyPath) == false, "assemblyPath should not be empty."); 285if (String.Compare(Path.GetExtension(assemblyPath), SharedStrings.MetadataDll, StringComparison.OrdinalIgnoreCase) == 0) 297if (String.Compare(assemblyPath, 0, changedAsm, 0, length, StringComparison.OrdinalIgnoreCase) == 0) 326if (!String.IsNullOrEmpty(gacRoot) && assemblyPath.StartsWith(gacRoot, StringComparison.OrdinalIgnoreCase) == true)
Framework\System\Windows\Markup\BamlMapTable.cs (1)
146int cmp = String.CompareOrdinal(typeShortName, probeType.Name);
Framework\System\Windows\Markup\BamlRecordWriter.cs (2)
358if (typeof(String).IsAssignableFrom(xamlElementNode.ElementType) || 802if (!typeof(String).IsAssignableFrom(xamlKeyElementNode.ElementType) &&
Framework\System\Windows\Markup\KnownTypes.cs (470)
2802if (String.CompareOrdinal(fieldName, "Text") == 0) 2806if (String.CompareOrdinal(fieldName, "Child") == 0) 2810if (String.CompareOrdinal(fieldName, "Child") == 0) 2814if (String.CompareOrdinal(fieldName, "Blocks") == 0) 2818if (String.CompareOrdinal(fieldName, "Items") == 0) 2822if (String.CompareOrdinal(fieldName, "Storyboard") == 0) 2826if (String.CompareOrdinal(fieldName, "Children") == 0) 2830if (String.CompareOrdinal(fieldName, "Child") == 0) 2834if (String.CompareOrdinal(fieldName, "Inlines") == 0) 2838if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2842if (String.CompareOrdinal(fieldName, "Background") == 0) 2844if (String.CompareOrdinal(fieldName, "BorderBrush") == 0) 2846if (String.CompareOrdinal(fieldName, "BorderThickness") == 0) 2848if (String.CompareOrdinal(fieldName, "Child") == 0) 2852if (String.CompareOrdinal(fieldName, "Child") == 0) 2856if (String.CompareOrdinal(fieldName, "Content") == 0) 2860if (String.CompareOrdinal(fieldName, "Command") == 0) 2862if (String.CompareOrdinal(fieldName, "CommandParameter") == 0) 2864if (String.CompareOrdinal(fieldName, "CommandTarget") == 0) 2866if (String.CompareOrdinal(fieldName, "Content") == 0) 2868if (String.CompareOrdinal(fieldName, "IsPressed") == 0) 2872if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2876if (String.CompareOrdinal(fieldName, "Children") == 0) 2880if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2884if (String.CompareOrdinal(fieldName, "Content") == 0) 2888if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2892if (String.CompareOrdinal(fieldName, "MaxWidth") == 0) 2894if (String.CompareOrdinal(fieldName, "MinWidth") == 0) 2896if (String.CompareOrdinal(fieldName, "Width") == 0) 2900if (String.CompareOrdinal(fieldName, "Items") == 0) 2904if (String.CompareOrdinal(fieldName, "Content") == 0) 2908if (String.CompareOrdinal(fieldName, "Content") == 0) 2910if (String.CompareOrdinal(fieldName, "ContentTemplate") == 0) 2912if (String.CompareOrdinal(fieldName, "ContentTemplateSelector") == 0) 2914if (String.CompareOrdinal(fieldName, "HasContent") == 0) 2918if (String.CompareOrdinal(fieldName, "Focusable") == 0) 2922if (String.CompareOrdinal(fieldName, "Content") == 0) 2924if (String.CompareOrdinal(fieldName, "ContentSource") == 0) 2926if (String.CompareOrdinal(fieldName, "ContentTemplate") == 0) 2928if (String.CompareOrdinal(fieldName, "ContentTemplateSelector") == 0) 2930if (String.CompareOrdinal(fieldName, "RecognizesAccessKey") == 0) 2934if (String.CompareOrdinal(fieldName, "Items") == 0) 2938if (String.CompareOrdinal(fieldName, "Background") == 0) 2940if (String.CompareOrdinal(fieldName, "BorderBrush") == 0) 2942if (String.CompareOrdinal(fieldName, "BorderThickness") == 0) 2944if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 2946if (String.CompareOrdinal(fieldName, "FontSize") == 0) 2948if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 2950if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 2952if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 2954if (String.CompareOrdinal(fieldName, "Foreground") == 0) 2956if (String.CompareOrdinal(fieldName, "HorizontalContentAlignment") == 0) 2958if (String.CompareOrdinal(fieldName, "IsTabStop") == 0) 2960if (String.CompareOrdinal(fieldName, "Padding") == 0) 2962if (String.CompareOrdinal(fieldName, "TabIndex") == 0) 2964if (String.CompareOrdinal(fieldName, "Template") == 0) 2966if (String.CompareOrdinal(fieldName, "VerticalContentAlignment") == 0) 2970if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 2974if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 2978if (String.CompareOrdinal(fieldName, "Setters") == 0) 2982if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2986if (String.CompareOrdinal(fieldName, "Child") == 0) 2990if (String.CompareOrdinal(fieldName, "Children") == 0) 2992if (String.CompareOrdinal(fieldName, "Dock") == 0) 2994if (String.CompareOrdinal(fieldName, "LastChildFill") == 0) 2998if (String.CompareOrdinal(fieldName, "Document") == 0) 3002if (String.CompareOrdinal(fieldName, "Document") == 0) 3006if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3010if (String.CompareOrdinal(fieldName, "Children") == 0) 3014if (String.CompareOrdinal(fieldName, "Actions") == 0) 3018if (String.CompareOrdinal(fieldName, "Content") == 0) 3022if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3026if (String.CompareOrdinal(fieldName, "Pages") == 0) 3030if (String.CompareOrdinal(fieldName, "References") == 0) 3034if (String.CompareOrdinal(fieldName, "Children") == 0) 3038if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3042if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3046if (String.CompareOrdinal(fieldName, "Document") == 0) 3050if (String.CompareOrdinal(fieldName, "Document") == 0) 3054if (String.CompareOrdinal(fieldName, "Document") == 0) 3058if (String.CompareOrdinal(fieldName, "Style") == 0) 3062if (String.CompareOrdinal(fieldName, "FlowDirection") == 0) 3064if (String.CompareOrdinal(fieldName, "Height") == 0) 3066if (String.CompareOrdinal(fieldName, "HorizontalAlignment") == 0) 3068if (String.CompareOrdinal(fieldName, "Margin") == 0) 3070if (String.CompareOrdinal(fieldName, "MaxHeight") == 0) 3072if (String.CompareOrdinal(fieldName, "MaxWidth") == 0) 3074if (String.CompareOrdinal(fieldName, "MinHeight") == 0) 3076if (String.CompareOrdinal(fieldName, "MinWidth") == 0) 3078if (String.CompareOrdinal(fieldName, "Name") == 0) 3080if (String.CompareOrdinal(fieldName, "Style") == 0) 3082if (String.CompareOrdinal(fieldName, "VerticalAlignment") == 0) 3084if (String.CompareOrdinal(fieldName, "Width") == 0) 3088if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3092if (String.CompareOrdinal(fieldName, "Children") == 0) 3096if (String.CompareOrdinal(fieldName, "Children") == 0) 3100if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3104if (String.CompareOrdinal(fieldName, "Children") == 0) 3106if (String.CompareOrdinal(fieldName, "Column") == 0) 3108if (String.CompareOrdinal(fieldName, "ColumnSpan") == 0) 3110if (String.CompareOrdinal(fieldName, "Row") == 0) 3112if (String.CompareOrdinal(fieldName, "RowSpan") == 0) 3116if (String.CompareOrdinal(fieldName, "Columns") == 0) 3120if (String.CompareOrdinal(fieldName, "Header") == 0) 3124if (String.CompareOrdinal(fieldName, "Content") == 0) 3128if (String.CompareOrdinal(fieldName, "Content") == 0) 3132if (String.CompareOrdinal(fieldName, "Content") == 0) 3136if (String.CompareOrdinal(fieldName, "Content") == 0) 3138if (String.CompareOrdinal(fieldName, "HasHeader") == 0) 3140if (String.CompareOrdinal(fieldName, "Header") == 0) 3142if (String.CompareOrdinal(fieldName, "HeaderTemplate") == 0) 3144if (String.CompareOrdinal(fieldName, "HeaderTemplateSelector") == 0) 3148if (String.CompareOrdinal(fieldName, "HasHeader") == 0) 3150if (String.CompareOrdinal(fieldName, "Header") == 0) 3152if (String.CompareOrdinal(fieldName, "HeaderTemplate") == 0) 3154if (String.CompareOrdinal(fieldName, "HeaderTemplateSelector") == 0) 3156if (String.CompareOrdinal(fieldName, "Items") == 0) 3160if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3164if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3166if (String.CompareOrdinal(fieldName, "NavigateUri") == 0) 3170if (String.CompareOrdinal(fieldName, "Source") == 0) 3172if (String.CompareOrdinal(fieldName, "Stretch") == 0) 3176if (String.CompareOrdinal(fieldName, "Children") == 0) 3180if (String.CompareOrdinal(fieldName, "Child") == 0) 3184if (String.CompareOrdinal(fieldName, "Child") == 0) 3188if (String.CompareOrdinal(fieldName, "NameValue") == 0) 3192if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3196if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3200if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3204if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3208if (String.CompareOrdinal(fieldName, "ItemContainerStyle") == 0) 3210if (String.CompareOrdinal(fieldName, "ItemContainerStyleSelector") == 0) 3212if (String.CompareOrdinal(fieldName, "ItemTemplate") == 0) 3214if (String.CompareOrdinal(fieldName, "ItemTemplateSelector") == 0) 3216if (String.CompareOrdinal(fieldName, "Items") == 0) 3218if (String.CompareOrdinal(fieldName, "ItemsPanel") == 0) 3220if (String.CompareOrdinal(fieldName, "ItemsSource") == 0) 3224if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3228if (String.CompareOrdinal(fieldName, "Content") == 0) 3232if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3236if (String.CompareOrdinal(fieldName, "ListItems") == 0) 3240if (String.CompareOrdinal(fieldName, "Items") == 0) 3244if (String.CompareOrdinal(fieldName, "Content") == 0) 3248if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3252if (String.CompareOrdinal(fieldName, "Items") == 0) 3256if (String.CompareOrdinal(fieldName, "Content") == 0) 3260if (String.CompareOrdinal(fieldName, "Children") == 0) 3264if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3268if (String.CompareOrdinal(fieldName, "Items") == 0) 3272if (String.CompareOrdinal(fieldName, "Items") == 0) 3276if (String.CompareOrdinal(fieldName, "Items") == 0) 3280if (String.CompareOrdinal(fieldName, "Children") == 0) 3284if (String.CompareOrdinal(fieldName, "Children") == 0) 3288if (String.CompareOrdinal(fieldName, "Bindings") == 0) 3292if (String.CompareOrdinal(fieldName, "Setters") == 0) 3296if (String.CompareOrdinal(fieldName, "Setters") == 0) 3300if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3304if (String.CompareOrdinal(fieldName, "Content") == 0) 3308if (String.CompareOrdinal(fieldName, "Child") == 0) 3312if (String.CompareOrdinal(fieldName, "Content") == 0) 3316if (String.CompareOrdinal(fieldName, "Background") == 0) 3318if (String.CompareOrdinal(fieldName, "Children") == 0) 3322if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3326if (String.CompareOrdinal(fieldName, "Children") == 0) 3330if (String.CompareOrdinal(fieldName, "Data") == 0) 3334if (String.CompareOrdinal(fieldName, "Segments") == 0) 3338if (String.CompareOrdinal(fieldName, "Figures") == 0) 3342if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3346if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3350if (String.CompareOrdinal(fieldName, "Child") == 0) 3352if (String.CompareOrdinal(fieldName, "IsOpen") == 0) 3354if (String.CompareOrdinal(fieldName, "Placement") == 0) 3356if (String.CompareOrdinal(fieldName, "PopupAnimation") == 0) 3360if (String.CompareOrdinal(fieldName, "Bindings") == 0) 3364if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3368if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3372if (String.CompareOrdinal(fieldName, "Content") == 0) 3376if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3380if (String.CompareOrdinal(fieldName, "Content") == 0) 3384if (String.CompareOrdinal(fieldName, "Document") == 0) 3388if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3392if (String.CompareOrdinal(fieldName, "Height") == 0) 3394if (String.CompareOrdinal(fieldName, "MaxHeight") == 0) 3396if (String.CompareOrdinal(fieldName, "MinHeight") == 0) 3400if (String.CompareOrdinal(fieldName, "Text") == 0) 3404if (String.CompareOrdinal(fieldName, "CanContentScroll") == 0) 3406if (String.CompareOrdinal(fieldName, "Content") == 0) 3408if (String.CompareOrdinal(fieldName, "HorizontalScrollBarVisibility") == 0) 3410if (String.CompareOrdinal(fieldName, "VerticalScrollBarVisibility") == 0) 3414if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3418if (String.CompareOrdinal(fieldName, "Items") == 0) 3422if (String.CompareOrdinal(fieldName, "Fill") == 0) 3424if (String.CompareOrdinal(fieldName, "Stroke") == 0) 3426if (String.CompareOrdinal(fieldName, "StrokeThickness") == 0) 3430if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3434if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3438if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3442if (String.CompareOrdinal(fieldName, "Children") == 0) 3446if (String.CompareOrdinal(fieldName, "Items") == 0) 3450if (String.CompareOrdinal(fieldName, "Content") == 0) 3454if (String.CompareOrdinal(fieldName, "Children") == 0) 3458if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3462if (String.CompareOrdinal(fieldName, "Setters") == 0) 3466if (String.CompareOrdinal(fieldName, "Items") == 0) 3470if (String.CompareOrdinal(fieldName, "Content") == 0) 3474if (String.CompareOrdinal(fieldName, "Children") == 0) 3478if (String.CompareOrdinal(fieldName, "RowGroups") == 0) 3482if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3486if (String.CompareOrdinal(fieldName, "Cells") == 0) 3490if (String.CompareOrdinal(fieldName, "Rows") == 0) 3494if (String.CompareOrdinal(fieldName, "Background") == 0) 3496if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 3498if (String.CompareOrdinal(fieldName, "FontSize") == 0) 3500if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 3502if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 3504if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 3506if (String.CompareOrdinal(fieldName, "Foreground") == 0) 3508if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3510if (String.CompareOrdinal(fieldName, "Text") == 0) 3512if (String.CompareOrdinal(fieldName, "TextDecorations") == 0) 3514if (String.CompareOrdinal(fieldName, "TextTrimming") == 0) 3516if (String.CompareOrdinal(fieldName, "TextWrapping") == 0) 3520if (String.CompareOrdinal(fieldName, "Text") == 0) 3524if (String.CompareOrdinal(fieldName, "Background") == 0) 3526if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 3528if (String.CompareOrdinal(fieldName, "FontSize") == 0) 3530if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 3532if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 3534if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 3536if (String.CompareOrdinal(fieldName, "Foreground") == 0) 3540if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3544if (String.CompareOrdinal(fieldName, "Children") == 0) 3548if (String.CompareOrdinal(fieldName, "Content") == 0) 3552if (String.CompareOrdinal(fieldName, "Items") == 0) 3556if (String.CompareOrdinal(fieldName, "Children") == 0) 3560if (String.CompareOrdinal(fieldName, "Children") == 0) 3564if (String.CompareOrdinal(fieldName, "ToolBars") == 0) 3568if (String.CompareOrdinal(fieldName, "Content") == 0) 3572if (String.CompareOrdinal(fieldName, "IsDirectionReversed") == 0) 3574if (String.CompareOrdinal(fieldName, "Maximum") == 0) 3576if (String.CompareOrdinal(fieldName, "Minimum") == 0) 3578if (String.CompareOrdinal(fieldName, "Orientation") == 0) 3580if (String.CompareOrdinal(fieldName, "Value") == 0) 3582if (String.CompareOrdinal(fieldName, "ViewportSize") == 0) 3586if (String.CompareOrdinal(fieldName, "Children") == 0) 3590if (String.CompareOrdinal(fieldName, "Children") == 0) 3594if (String.CompareOrdinal(fieldName, "Items") == 0) 3598if (String.CompareOrdinal(fieldName, "Items") == 0) 3602if (String.CompareOrdinal(fieldName, "Setters") == 0) 3606if (String.CompareOrdinal(fieldName, "ClipToBounds") == 0) 3608if (String.CompareOrdinal(fieldName, "Focusable") == 0) 3610if (String.CompareOrdinal(fieldName, "IsEnabled") == 0) 3612if (String.CompareOrdinal(fieldName, "RenderTransform") == 0) 3614if (String.CompareOrdinal(fieldName, "Visibility") == 0) 3618if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3622if (String.CompareOrdinal(fieldName, "Children") == 0) 3626if (String.CompareOrdinal(fieldName, "Content") == 0) 3630if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3634if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3638if (String.CompareOrdinal(fieldName, "Child") == 0) 3642if (String.CompareOrdinal(fieldName, "Children") == 0) 3646if (String.CompareOrdinal(fieldName, "Children") == 0) 3650if (String.CompareOrdinal(fieldName, "Children") == 0) 3654if (String.CompareOrdinal(fieldName, "Children") == 0) 3658if (String.CompareOrdinal(fieldName, "Content") == 0) 3662if (String.CompareOrdinal(fieldName, "Children") == 0) 3666if (String.CompareOrdinal(fieldName, "XmlSerializer") == 0) 3675return (String.CompareOrdinal(propName, "Width") == 0 || 3676String.CompareOrdinal(propName, "MinWidth") == 0 || 3677String.CompareOrdinal(propName, "MaxWidth") == 0 || 3678String.CompareOrdinal(propName, "Height") == 0 || 3679String.CompareOrdinal(propName, "MinHeight") == 0 || 3680String.CompareOrdinal(propName, "MaxHeight") == 0); 3819if (String.CompareOrdinal(propName, "MinWidth") == 0) 3821else if (String.CompareOrdinal(propName, "MaxWidth") == 0) 3825if (String.CompareOrdinal(propName, "MinHeight") == 0) 3827else if (String.CompareOrdinal(propName, "MaxHeight") == 0) 3841else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 3851else if (String.CompareOrdinal(propName, "Left") == 0) 3853else if (String.CompareOrdinal(propName, "Top") == 0) 3855else if (String.CompareOrdinal(propName, "Right") == 0) 3857else if (String.CompareOrdinal(propName, "Bottom") == 0) 3863else if (String.CompareOrdinal(propName, "FontSize") == 0) 3869else if (String.CompareOrdinal(propName, "FontSize") == 0) 3875else if (String.CompareOrdinal(propName, "Top") == 0) 3877else if (String.CompareOrdinal(propName, "Left") == 0) 3879else if (String.CompareOrdinal(propName, "DialogResult") == 0) 3881else if (String.CompareOrdinal(propName, "FontSize") == 0) 3887else if (String.CompareOrdinal(propName, "Top") == 0) 3889else if (String.CompareOrdinal(propName, "Left") == 0) 3891else if (String.CompareOrdinal(propName, "DialogResult") == 0) 3893else if (String.CompareOrdinal(propName, "FontSize") == 0) 3897if (String.CompareOrdinal(propName, "Culture") == 0) 3903else if (String.CompareOrdinal(propName, "FontSize") == 0) 3909else if (String.CompareOrdinal(propName, "FontSize") == 0) 3915else if (String.CompareOrdinal(propName, "FontSize") == 0) 3921else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 3923else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 3925else if (String.CompareOrdinal(propName, "FontSize") == 0) 3931else if (String.CompareOrdinal(propName, "FontSize") == 0) 3937else if (String.CompareOrdinal(propName, "FontSize") == 0) 3943else if (String.CompareOrdinal(propName, "FontSize") == 0) 3949else if (String.CompareOrdinal(propName, "FontSize") == 0) 3955else if (String.CompareOrdinal(propName, "FontSize") == 0) 3961else if (String.CompareOrdinal(propName, "FontSize") == 0) 3963else if (String.CompareOrdinal(propName, "LineHeight") == 0) 3981else if (String.CompareOrdinal(propName, "FontSize") == 0) 3987else if (String.CompareOrdinal(propName, "FontSize") == 0) 3993else if (String.CompareOrdinal(propName, "IsChecked") == 0) 3995else if (String.CompareOrdinal(propName, "FontSize") == 0) 4001else if (String.CompareOrdinal(propName, "IsChecked") == 0) 4003else if (String.CompareOrdinal(propName, "FontSize") == 0) 4009else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4011else if (String.CompareOrdinal(propName, "FontSize") == 0) 4017else if (String.CompareOrdinal(propName, "MaxDropDownHeight") == 0) 4019else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4021else if (String.CompareOrdinal(propName, "FontSize") == 0) 4027else if (String.CompareOrdinal(propName, "FontSize") == 0) 4033else if (String.CompareOrdinal(propName, "FontSize") == 0) 4041if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4043else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4053else if (String.CompareOrdinal(propName, "FontSize") == 0) 4059else if (String.CompareOrdinal(propName, "FontSize") == 0) 4065else if (String.CompareOrdinal(propName, "FontSize") == 0) 4071else if (String.CompareOrdinal(propName, "FontSize") == 0) 4077else if (String.CompareOrdinal(propName, "FontSize") == 0) 4085if (String.CompareOrdinal(propName, "Width") == 0) 4091else if (String.CompareOrdinal(propName, "FontSize") == 0) 4109else if (String.CompareOrdinal(propName, "FontSize") == 0) 4115else if (String.CompareOrdinal(propName, "FontSize") == 0) 4121else if (String.CompareOrdinal(propName, "FontSize") == 0) 4127else if (String.CompareOrdinal(propName, "FontSize") == 0) 4137else if (String.CompareOrdinal(propName, "Top") == 0) 4139else if (String.CompareOrdinal(propName, "Bottom") == 0) 4141else if (String.CompareOrdinal(propName, "Left") == 0) 4143else if (String.CompareOrdinal(propName, "Right") == 0) 4151if (String.CompareOrdinal(propName, "Culture") == 0) 4161else if (String.CompareOrdinal(propName, "FontSize") == 0) 4167else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4169else if (String.CompareOrdinal(propName, "FontSize") == 0) 4175else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4177else if (String.CompareOrdinal(propName, "FontSize") == 0) 4183else if (String.CompareOrdinal(propName, "FontSize") == 0) 4193else if (String.CompareOrdinal(propName, "FontSize") == 0) 4199else if (String.CompareOrdinal(propName, "FontSize") == 0) 4205else if (String.CompareOrdinal(propName, "FontSize") == 0) 4219else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4221else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4227else if (String.CompareOrdinal(propName, "FontSize") == 0) 4233else if (String.CompareOrdinal(propName, "FontSize") == 0) 4239else if (String.CompareOrdinal(propName, "FontSize") == 0) 4245else if (String.CompareOrdinal(propName, "FontSize") == 0) 4255else if (String.CompareOrdinal(propName, "FontSize") == 0) 4261else if (String.CompareOrdinal(propName, "FontSize") == 0) 4271else if (String.CompareOrdinal(propName, "FontSize") == 0) 4301else if (String.CompareOrdinal(propName, "FontSize") == 0) 4307else if (String.CompareOrdinal(propName, "IsChecked") == 0) 4309else if (String.CompareOrdinal(propName, "FontSize") == 0) 4315else if (String.CompareOrdinal(propName, "FontSize") == 0) 4321else if (String.CompareOrdinal(propName, "FontSize") == 0) 4327else if (String.CompareOrdinal(propName, "FontSize") == 0) 4333else if (String.CompareOrdinal(propName, "FontSize") == 0) 4339else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4341else if (String.CompareOrdinal(propName, "FontSize") == 0) 4347else if (String.CompareOrdinal(propName, "FontSize") == 0) 4353else if (String.CompareOrdinal(propName, "FontSize") == 0) 4355else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4361else if (String.CompareOrdinal(propName, "FontSize") == 0) 4367else if (String.CompareOrdinal(propName, "FontSize") == 0) 4377else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4379else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4381else if (String.CompareOrdinal(propName, "FontSize") == 0) 4385if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4387else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4393else if (String.CompareOrdinal(propName, "FontSize") == 0) 4399else if (String.CompareOrdinal(propName, "FontSize") == 0) 4405else if (String.CompareOrdinal(propName, "FontSize") == 0) 4427else if (String.CompareOrdinal(propName, "ItemWidth") == 0) 4429else if (String.CompareOrdinal(propName, "ItemHeight") == 0) 4433if (String.CompareOrdinal(propName, "ConverterCulture") == 0) 4437if (String.CompareOrdinal(propName, "Culture") == 0) 4441if (String.CompareOrdinal(propName, "Culture") == 0) 4445if (String.CompareOrdinal(propName, "Culture") == 0) 4449if (String.CompareOrdinal(propName, "ConverterCulture") == 0) 4461if (String.CompareOrdinal(propName, "FontSize") == 0) 4465if (String.CompareOrdinal(propName, "FontSize") == 0) 4469if (String.CompareOrdinal(propName, "LineHeight") == 0) 4471else if (String.CompareOrdinal(propName, "FontSize") == 0) 4475if (String.CompareOrdinal(propName, "LineHeight") == 0) 4477else if (String.CompareOrdinal(propName, "FontSize") == 0) 4481if (String.CompareOrdinal(propName, "LineHeight") == 0) 4483else if (String.CompareOrdinal(propName, "FontSize") == 0) 4487if (String.CompareOrdinal(propName, "FontSize") == 0) 4491if (String.CompareOrdinal(propName, "FontSize") == 0) 4499if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4501else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4503else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4505else if (String.CompareOrdinal(propName, "FontSize") == 0) 4511else if (String.CompareOrdinal(propName, "Left") == 0) 4513else if (String.CompareOrdinal(propName, "Top") == 0) 4515else if (String.CompareOrdinal(propName, "Right") == 0) 4517else if (String.CompareOrdinal(propName, "Bottom") == 0) 4521if (String.CompareOrdinal(propName, "Width") == 0) 4523else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4525else if (String.CompareOrdinal(propName, "FontSize") == 0) 4529if (String.CompareOrdinal(propName, "FontSize") == 0) 4531else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4533else if (String.CompareOrdinal(propName, "ColumnWidth") == 0) 4535else if (String.CompareOrdinal(propName, "ColumnGap") == 0) 4537else if (String.CompareOrdinal(propName, "ColumnRuleWidth") == 0) 4539else if (String.CompareOrdinal(propName, "PageWidth") == 0) 4541else if (String.CompareOrdinal(propName, "MinPageWidth") == 0) 4543else if (String.CompareOrdinal(propName, "MaxPageWidth") == 0) 4545else if (String.CompareOrdinal(propName, "PageHeight") == 0) 4547else if (String.CompareOrdinal(propName, "MinPageHeight") == 0) 4549else if (String.CompareOrdinal(propName, "MaxPageHeight") == 0) 4555else if (String.CompareOrdinal(propName, "FontRenderingEmSize") == 0) 4557else if (String.CompareOrdinal(propName, "OriginX") == 0) 4559else if (String.CompareOrdinal(propName, "OriginY") == 0) 4563if (String.CompareOrdinal(propName, "FontSize") == 0) 4567if (String.CompareOrdinal(propName, "FontSize") == 0) 4571if (String.CompareOrdinal(propName, "FontSize") == 0) 4575if (String.CompareOrdinal(propName, "FontSize") == 0) 4579if (String.CompareOrdinal(propName, "MarkerOffset") == 0) 4581else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4583else if (String.CompareOrdinal(propName, "FontSize") == 0) 4587if (String.CompareOrdinal(propName, "LineHeight") == 0) 4589else if (String.CompareOrdinal(propName, "FontSize") == 0) 4597if (String.CompareOrdinal(propName, "TextIndent") == 0) 4599else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4601else if (String.CompareOrdinal(propName, "FontSize") == 0) 4605if (String.CompareOrdinal(propName, "FontSize") == 0) 4609if (String.CompareOrdinal(propName, "LineHeight") == 0) 4611else if (String.CompareOrdinal(propName, "FontSize") == 0) 4615if (String.CompareOrdinal(propName, "CellSpacing") == 0) 4617else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4619else if (String.CompareOrdinal(propName, "FontSize") == 0) 4623if (String.CompareOrdinal(propName, "LineHeight") == 0) 4625else if (String.CompareOrdinal(propName, "FontSize") == 0) 4629if (String.CompareOrdinal(propName, "FontSize") == 0) 4633if (String.CompareOrdinal(propName, "FontSize") == 0) 4637if (String.CompareOrdinal(propName, "FontSize") == 0) 4643else if (String.CompareOrdinal(propName, "FontSize") == 0) 4649else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4655else if (String.CompareOrdinal(propName, "X1") == 0) 4657else if (String.CompareOrdinal(propName, "Y1") == 0) 4659else if (String.CompareOrdinal(propName, "X2") == 0) 4661else if (String.CompareOrdinal(propName, "Y2") == 0) 4663else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4669else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4675else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4681else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4687else if (String.CompareOrdinal(propName, "RadiusX") == 0) 4689else if (String.CompareOrdinal(propName, "RadiusY") == 0) 4691else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4695if (String.CompareOrdinal(propName, "Command") == 0) 4699if (String.CompareOrdinal(propName, "Gesture") == 0) 4701else if (String.CompareOrdinal(propName, "Command") == 0) 4705if (String.CompareOrdinal(propName, "Gesture") == 0) 4707else if (String.CompareOrdinal(propName, "Command") == 0) 4711if (String.CompareOrdinal(propName, "CurrentInputLanguage") == 0) 4713else if (String.CompareOrdinal(propName, "InputLanguage") == 0) 4717if (String.CompareOrdinal(propName, "CaretStops") == 0) 4719else if (String.CompareOrdinal(propName, "ClusterMap") == 0) 4721else if (String.CompareOrdinal(propName, "Characters") == 0) 4723else if (String.CompareOrdinal(propName, "GlyphIndices") == 0) 4725else if (String.CompareOrdinal(propName, "AdvanceWidths") == 0) 4727else if (String.CompareOrdinal(propName, "GlyphOffsets") == 0) 4731if (String.CompareOrdinal(propName, "CultureOverride") == 0) 5498case KnownElements.String: t = typeof(String); break;
Framework\System\Windows\Markup\MarkupExtensionParser.cs (16)
333args = (String)tokens[0]; 340args = (String)tokens[2]; 582string prefix = String.Empty; 768string prefix = String.Empty; 805(list.Count > 1 && !(list[1] is String) && ((Char)list[1] == ',')))) 881(list.Count > 1 && !(list[1] is String) && ((Char)list[1] == ',')))) 1266if (!(list[listIndex] is String)) 1288string value = (String)list[listIndex]; 1370(list[k+1] is String) || 1380string propertyName = list[k] as String; 1393string prefix = (nameIndex < 0) ? String.Empty : propertyName.Substring(0, nameIndex); 1417string strValue = list[k+2] as String; 1461((String)list[k+2]), 1476if(!String.IsNullOrEmpty(prefix)) 1528string prefix = (nameIndex < 0) ? String.Empty : name.Substring(0, nameIndex); 1537if (String.IsNullOrEmpty(attribNamespaceURI))
Framework\System\Windows\Markup\ParserContext.cs (7)
91_xmlLang = String.Empty; 92_xmlSpace = String.Empty; 296_xmlLang = (null == value ? String.Empty : value); 851private String _xmlLang = String.Empty; 852private String _xmlSpace = String.Empty;
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\XAMLParseException.cs (1)
446if (innerException.Message != String.Empty)
Framework\System\Windows\Markup\XamlReaderHelper.cs (11)
2361if (String.IsNullOrEmpty(attribValue)) 2363ThrowException(SRID.ParserUndeclaredNS, String.Empty); 2519return len == value.Length && String.CompareOrdinal(value, 0, _text, _start, len) == 0; 2741if(!String.IsNullOrEmpty(prefix)) 2756if (String.IsNullOrEmpty(attribNamespaceURI)) 3468if (!String.IsNullOrEmpty(propertyName)) 3470isName = String.Equals(attributeName, propertyName); 3475isName = String.Equals(attributeName, "Name") && String.Equals(attribNamespaceURI, DefinitionNamespaceURI); 3496if (!String.IsNullOrEmpty(propertyName)) 3503if (!String.IsNullOrEmpty(assembly))
Framework\System\Windows\Markup\XamlTypeMapper.cs (14)
376path = _assemblyPathTable[assemblyShortName] as String; 397ReflectionHelper.LoadAssembly(entry.Key as String, entry.Value as String); 494string assemblyFullPath = _assemblyPathTable[args.Name] as String; 496if (!String.IsNullOrEmpty(assemblyFullPath) && File.Exists(assemblyFullPath)) 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName), 2342string prefix = String.Empty; 2502String hashString = xmlNamespace + ":" + localName; 2542String hashString = xmlNamespace + ":" + localName; 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 (10)
128if (!String.IsNullOrEmpty(assemblyFullPath) && File.Exists(assemblyFullPath)) 239if(0 == String.CompareOrdinal(cinfo.ReflectedType.FullName, fullClrName)) 259xmlns = tca.Value as String; 261clrns = tca.Value as String; 279oldXmlns = tca.Value as String; 281newXmlns = tca.Value as String; 329if (String.IsNullOrEmpty(xmlns) || String.IsNullOrEmpty(clrns) ) 403if (String.IsNullOrEmpty(oldXmlns) || String.IsNullOrEmpty(newXmlns))
Framework\System\Windows\Markup\XmlnsDictionary.cs (3)
359_nsDeclarations[thisDecl].Uri != String.Empty) 439_nsDeclarations[decl].Prefix = String.Empty; 637if (String.Equals(_nsDeclarations[thisDecl].Prefix, prefix))
Shared\MS\Internal\ResourceIDHelper.cs (1)
36string resourceID = String.Empty;
Shared\System\Windows\Markup\ReflectionHelper.cs (6)
307attrValue = tca.Value as String; 519Debug.Assert(String.IsNullOrEmpty(assemblyGivenName) == false, "assemblyName should not be empty."); 542else if ((String.Compare (assemblyShortName, "mscorlib", StringComparison.OrdinalIgnoreCase)==0)) 547if (String.Compare(assemblies[i].GetName().Name, assemblyShortName, StringComparison.OrdinalIgnoreCase) == 0) 602if (String.Compare(assemblies[i].GetName().Name, assemblyGivenName, StringComparison.OrdinalIgnoreCase) == 0) 611else if (!String.IsNullOrEmpty(fullpath))
PresentationCore (317)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (3)
481internal static Double GetSegmentLengthString(String from, String to) 728internal static bool IsValidAnimationValueString(String value)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (1)
288return (String.CompareOrdinal(format1, format2) == 0);
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (1)
99if (String.Compare(((localPath.Length > 0 && localPath[localPath.Length - 1] != Path.DirectorySeparatorChar) ? localPath + Path.DirectorySeparatorChar : localPath), Util.WindowsFontsUriObject.LocalPath, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (6)
80if (_sxsFontsLocation == String.Empty) 84if (_sxsFontsLocation == String.Empty) 241if (String.Compare(familyName, _legacyArabicFonts[i], StringComparison.OrdinalIgnoreCase) == 0) 382if (String.Compare(_systemCompositeFontsNames[i], familyName, StringComparison.OrdinalIgnoreCase) == 0) 461_sxsFontsLocation = String.Empty; 601if (String.Compare(localizedFamilyName.Value, familyName, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (4)
657if (!String.IsNullOrEmpty(fragment)) 697if (String.Compare(extension, supportedExtension, StringComparison.OrdinalIgnoreCase) == 0) 709return (String.Compare(extension, CompositeFontExtension, StringComparison.OrdinalIgnoreCase) == 0); 1187return String.Compare(x._language.IetfLanguageTag, y._language.IetfLanguageTag, StringComparison.OrdinalIgnoreCase);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
122folderName = String.Empty; 147folderResourceMap[resourceFullName].Add(String.Empty);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (3)
93Debug.Assert(String.IsNullOrEmpty(_fontUri.Fragment)); 238if (String.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal)) 315if (String.Equals(response.ContentType, ObfuscatedContentType, StringComparison.Ordinal))
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
286if (String.IsNullOrEmpty(resourceName))
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
380String path = null;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
874if ( t != typeof(String) && t != typeof(Matrix) ) 876throw new ArgumentException(SR.Get(SRID.InvalidValueType1, typeof(String), typeof(Matrix)), "value");
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (1)
309else if (typeof(String) == type)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (6)
463if (String.Compare(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) != 0 464&& String.Compare(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) != 0) 856String contentRange = responseHeaders[ContentRangeHeader]; 901if (String.CompareOrdinal(contentRange, "*") != 0) 980private const String ByteRangeUnit = "BYTES "; 981private const String ContentRangeHeader = "Content-Range";
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
219String guid = Path.GetFileNameWithoutExtension(
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (2)
114if (fullStreamLength > 0 && ((String.Compare(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) == 0) || 115(String.Compare(uri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) == 0)))
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (3)
333private bool IsScheme(String schemeName) 335return (String.CompareOrdinal(_innerUri.Scheme, schemeName) == 0); 344_connectionGroupName = String.Empty; // http default
Core\CSharp\MS\Internal\Media\VisualTreeUtils.cs (2)
192Debug.Fail(String.Format("Unhandled HitTestResult type '{0}'", result.GetType().Name)); 299Debug.Fail(String.Format(
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (3)
109if (String.IsNullOrEmpty(httpRequest.Referer)) 322if ((String.Compare(extension, MimeTypeMapper.XamlExtension, StringComparison.OrdinalIgnoreCase) == 0) || 323(String.Compare(extension, MimeTypeMapper.XbapExtension, StringComparison.OrdinalIgnoreCase) == 0))
Core\CSharp\System\IO\Packaging\PackWebRequestFactory.cs (2)
83if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) != 0) 164if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 0)
Core\CSharp\System\Windows\Clipboard.cs (2)
915if (String.CompareOrdinal(format, DataFormats.FileDrop) == 0 || 916String.CompareOrdinal(format, DataFormats.Bitmap) == 0)
Core\CSharp\System\Windows\DataFormats.cs (1)
108if (String.Compare(formatItem.Name, format, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\System\Windows\DataObject.cs (3)
1496return new String[] { format }; 1669private IntPtr GetEnhancedMetafileHandle(String format, object data) 2445return (String.CompareOrdinal(format1, format2) == 0);
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
80String s = value as string;
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
80String s = value as string;
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
80String s = value as string;
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (1)
722if (t == typeof(String))
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
42public static readonly String InkSerializedFormat = "Ink Serialized Format";
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
823return String.Empty;
Core\CSharp\System\Windows\Input\Command\ApplicationCommands.cs (2)
278string propertyName = String.Empty; 311string uiText = String.Empty;
Core\CSharp\System\Windows\Input\Command\ComponentCommands.cs (2)
269string propertyName = String.Empty; 307string uiText = String.Empty;
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (7)
58: this(key, modifiers, String.Empty, true) 83: this(key, modifiers, String.Empty, validateGesture) 165if (!String.IsNullOrEmpty(_displayString)) 252while (!String.IsNullOrEmpty(keyGestures)) 267keyGestures = String.Empty; 280displayStrings = String.Empty; 296if (!String.IsNullOrEmpty(keyDisplayString))
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (8)
93if (fullName == String.Empty) 109displayString = String.Empty; 121modifiersToken = String.Empty; 161return String.Empty; 165if (strKey != String.Empty) 168if (strBinding != String.Empty) 174if (!String.IsNullOrEmpty(keyGesture.DisplayString)) 184return String.Empty;
Core\CSharp\System\Windows\Input\Command\MediaCommands.cs (2)
234string propertyName = String.Empty; 268string uiText = String.Empty;
Core\CSharp\System\Windows\Input\Command\MouseActionConverter.cs (2)
89if (mouseActionToken == String.Empty) 131case MouseAction.None : mouseAction=String.Empty; break;
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (5)
69if (fullName == String.Empty) 81modifiersToken = String.Empty; 94if (modifiersToken != String.Empty) 158return String.Empty; 169if (strGesture != String.Empty)
Core\CSharp\System\Windows\Input\Command\NavigationCommands.cs (2)
186string propertyName = String.Empty; 212string uiText = String.Empty;
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (1)
37_name = String.Empty;
Core\CSharp\System\Windows\Input\Command\RoutedUICommand.cs (1)
28_text = String.Empty;
Core\CSharp\System\Windows\Input\Cursor.cs (4)
62if ((cursorFile != String.Empty) && 185internal String FileName 380if (_fileName != String.Empty) 394private string _fileName = String.Empty;
Core\CSharp\System\Windows\Input\CursorConverter.cs (2)
110if (text != String.Empty) 231return String.Empty;
Core\CSharp\System\Windows\Input\InputScope.cs (7)
59public String SrgsMarkup 80public String RegularExpression 111private String _regexString; 112private String _srgsMarkup; 299public InputScopePhrase(String name) 343public String Name 350private String _phraseName;
Core\CSharp\System\Windows\Input\InputScopeConverter.cs (1)
119if (!stringSource.Equals(String.Empty))
Core\CSharp\System\Windows\Input\InputScopeNameConverter.cs (1)
106if (!stringSource.Equals(String.Empty))
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
822CompleteDeadCharComposition(String.Empty, false, false);
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (3)
194if(String.CompareOrdinal(lowerCaseTag, "und") == 0) 196lowerCaseTag = String.Empty; 234if (_lowerCaseTag.Length == 0 || String.CompareOrdinal(_lowerCaseTag, "und") == 0)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "BooleanKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ByteKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "CharKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ColorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DecimalKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
1420public DiscreteStringKeyFrame(String value) 1428public DiscreteStringKeyFrame(String value, KeyTime keyTime) 1456protected override String InterpolateValueCore(String baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DoubleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int16KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int32KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int64KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
2640protected StringKeyFrame(String value) 2649protected StringKeyFrame(String value, KeyTime keyTime) 2692typeof(String), 2707Value = (String)value; 2714public String Value 2718return (String)GetValue(ValueProperty); 2735public String InterpolateValue( 2736String baseValue, 2756protected abstract String InterpolateValueCore( 2757String baseValue,
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "MatrixKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ObjectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Point3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "PointKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "QuaternionKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "RectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Rotation3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SingleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SizeKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationBase.cs (9)
94return GetCurrentValue((String)defaultOriginValue, (String)defaultDestinationValue, animationClock); 106return typeof(String); 143public String GetCurrentValue(String defaultOriginValue, String defaultDestinationValue, AnimationClock animationClock) 206protected abstract String GetCurrentValueCore(String defaultOriginValue, String defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (8)
331protected sealed override String GetCurrentValueCore( 332String defaultOriginValue, 333String defaultDestinationValue, 359String currentIterationValue; 395String fromValue; 551private String GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 862String prevKeyValue = _keyFrames[index - 1].Value; 866String currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "StringKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Vector3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "VectorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\KeySpline.cs (1)
496return String.Format(
Core\CSharp\System\Windows\Media\Animation\KeySplineConverter.cs (1)
134return String.Format(
Core\CSharp\System\Windows\Media\Animation\KeyTimeConverter.cs (1)
183else if (destinationType == typeof(String))
Core\CSharp\System\Windows\Media\ArcSegment.cs (1)
167return String.Format(provider,
Core\CSharp\System\Windows\Media\BezierSegment.cs (1)
121return String.Format(provider,
Core\CSharp\System\Windows\Media\Color.cs (1)
311String uriString = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
159Invariant.Assert(false, String.Format(CultureInfo.InvariantCulture, "IWICColorContext::GetExifColorSpace returned {0}.", colorSpace));
Core\CSharp\System\Windows\Media\ColorConverter.cs (1)
88String s = value as string;
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
140return String.Equals(x.ToString(), y.ToString(), StringComparison.OrdinalIgnoreCase);
Core\CSharp\System\Windows\Media\Generated\BrushConverter.cs (1)
121String source = value as string;
Core\CSharp\System\Windows\Media\Generated\CacheModeConverter.cs (1)
121String source = value as string;
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
719return String.Empty;
Core\CSharp\System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
106String source = value as string;
Core\CSharp\System\Windows\Media\Generated\GeometryConverter.cs (1)
121String source = value as string;
Core\CSharp\System\Windows\Media\Generated\GradientStop.cs (1)
244return String.Format(provider,
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
802return String.Empty;
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
719return String.Empty;
Core\CSharp\System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
106String source = value as string;
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
803return String.Empty;
Core\CSharp\System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
121String source = value as string;
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
719return String.Empty;
Core\CSharp\System\Windows\Media\Generated\PointCollectionConverter.cs (1)
106String source = value as string;
Core\CSharp\System\Windows\Media\Generated\TransformConverter.cs (1)
121String source = value as string;
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
719return String.Empty;
Core\CSharp\System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
106String source = value as string;
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (2)
263return String.Empty; 285return String.Empty;
Core\CSharp\System\Windows\Media\Imaging\BitmapCodecInfo.cs (6)
138return String.Empty; 294return String.Empty; 346return String.Empty; 398return String.Empty; 450return String.Empty; 502return String.Empty;
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (4)
1159string mimeType = String.Empty; 1185if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0) 1346if ((mimeType != String.Empty) && 1555decoderMimeTypes = String.Empty;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
53internal void Init(String name)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (48)
39public partial class BitmapMetadata : ImageMetadata, IEnumerable, IEnumerable<String> 655public BitmapMetadata(String containerFormat) 1004public String Format 1053public String Location 1133public void SetQuery(String query, object value) 1213public object GetQuery(String query) 1274public void RemoveQuery(String query) 1329IEnumerator<String> IEnumerable<String>.GetEnumerator() 1344public bool ContainsQuery(String query) 1383public ReadOnlyCollection<String> Author 1387String[] strAuthors = GetQuery(policy_Author) as String[]; 1391: new ReadOnlyCollection<String>(strAuthors); 1395String[] strAuthors = null; 1398strAuthors = new String[value.Count]; 1409public String Title 1413return GetQuery(policy_Title) as String; 1446public String Subject 1450return GetQuery(policy_Subject) as String; 1461public String Comment 1465return GetQuery(policy_Comment) as String; 1476public String DateTaken 1508public String ApplicationName 1512return GetQuery(policy_ApplicationName) as String; 1523public String Copyright 1527return GetQuery(policy_Copyright) as String; 1538public String CameraManufacturer 1542return GetQuery(policy_CameraManufacturer) as String; 1553public String CameraModel 1557return GetQuery(policy_CameraModel) as String; 1568public ReadOnlyCollection<String> Keywords 1572String[] strKeywords = GetQuery(policy_Keywords) as String[]; 1576: new ReadOnlyCollection<String>(strKeywords); 1580String[] strKeywords = null; 1583strKeywords = new String[value.Count]; 1699private const String policy_Author = "System.Author"; 1700private const String policy_Title = "System.Title"; 1701private const String policy_Subject = "System.Subject"; 1702private const String policy_Comment = "System.Comment"; 1703private const String policy_Keywords = "System.Keywords"; 1704private const String policy_DateTaken = "System.Photo.DateTaken"; 1705private const String policy_ApplicationName = "System.ApplicationName"; 1706private const String policy_Copyright = "System.Copyright"; 1707private const String policy_CameraManufacturer = "System.Photo.CameraManufacturer"; 1708private const String policy_CameraModel = "System.Photo.CameraModel"; 1709private const String policy_Rating = "System.SimpleRating";
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (3)
30internal struct BitmapMetadataEnumerator : IEnumerator<String>, IEnumerator 149public String Current 224private String _current;
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (11)
209internal void Init(String[] value, bool fAscii) 300String[] strArray = new String[charArray.GetLength(0)]; 345else if (value is String[]) 347Init (value as String[], false); 370if (value is String) 373pwszVal = Marshal.StringToCoTaskMemUni(value as String); 654String[] array = new String[ca.cElems]; 671String[] array = new String[ca.cElems];
Core\CSharp\System\Windows\Media\KnownColors.cs (1)
181string aRGBString = String.Format("#{0,8:X8}", (uint)colorValue);
Core\CSharp\System\Windows\Media\MediaEventArgs.cs (2)
87public String ParameterType 98public String ParameterValue
Core\CSharp\System\Windows\Media\PathGeometry.cs (1)
1002string figuresString = String.Empty;
Core\CSharp\System\Windows\Media\PathSegmentCollection.cs (1)
68return String.Empty;
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (1)
72public new object ConvertFromString(String value)
Core\CSharp\System\Windows\Media\QuadraticBezierSegment.cs (1)
120return String.Format(provider,
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (5)
465[Out, MarshalAs(UnmanagedType.LPWStr)] String wzName, 475[Out, MarshalAs(UnmanagedType.LPWStr)] String wzName, 501[Out, MarshalAs(UnmanagedType.LPWStr)] String wzName, 511[Out, MarshalAs(UnmanagedType.LPWStr)] String wzName 1514[Out, MarshalAs(UnmanagedType.LPWStr)] String wzName,
Core\CSharp\System\Windows\Media\Visual.cs (1)
2021String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (2)
238String firstToken = th.NextTokenRequired(); 392return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Point3D.cs (2)
178String firstToken = th.NextTokenRequired(); 354return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
715return String.Empty;
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Point3DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Point4D.cs (2)
181String firstToken = th.NextTokenRequired(); 375return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Point4DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (2)
202String firstToken = th.NextTokenRequired(); 344return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Rect3D.cs (2)
201String firstToken = th.NextTokenRequired(); 345return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Size3D.cs (2)
192String firstToken = th.NextTokenRequired(); 333return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Size3DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Vector3D.cs (2)
178String firstToken = th.NextTokenRequired(); 354return String.Format(provider,
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
715return String.Empty;
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
102String source = value as string;
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
679String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (2)
582duplicates.Add(visual, String.Empty); 586String.Format(
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (7)
212if (String.IsNullOrEmpty(assemblyName)) 218Debug.Assert(String.Compare(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase) == 0); 238asmName.CultureInfo = new CultureInfo(String.Empty); 240if (!String.IsNullOrEmpty(assemblyVersion)) 290string firstSegment = String.Empty; 370return (String.Compare(SafeSecurityHelper.GetAssemblyPartialName(assembly), assemblyName, StringComparison.OrdinalIgnoreCase) == 0); 396if (String.Compare(packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase) == 0)
Core\CSharp\System\Windows\UIElement.cs (1)
2964new UIPropertyMetadata(String.Empty));
Shared\MS\Internal\MimeTypeMapper.cs (2)
147string extension = String.Empty; 149if (String.IsNullOrEmpty(extensionWithDot) == false)
Shared\MS\Internal\SafeSecurityHelper.cs (2)
97return (partialName != null) ? partialName : String.Empty; 197if ( (String.Compare(curAsmName.Name, assemblyName.Name, true, TypeConverterHelper.InvariantEnglishUS) == 0) &&
Shared\MS\Internal\SecurityHelper.cs (5)
1242internal static void DemandMediaAccessPermission(String uri) 1260CreateMediaAccessPermission(String uri) 1266if (String.Compare(SafeSecurityHelper.IMAGE, uri, true/*Ignore case*/, TypeConverterHelper.InvariantEnglishUS ) == 0) 1275if (String.Compare((System.Windows.Navigation.BaseUriHelper.GetResolvedUri(System.Windows.Navigation.BaseUriHelper.BaseUri, new Uri(uri, UriKind.RelativeOrAbsolute))).Scheme, 1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
PresentationFramework (1223)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
src\Framework\Microsoft\Win32\FileDialog.cs (13)
253return _defaultExtension == null ? String.Empty : _defaultExtension; 334safeFN = String.Empty; 370safeFileNames[i] = String.Empty; 471return _filter == null ? String.Empty : _filter; 476if (String.CompareOrdinal(value,_filter) != 0) // different filter than what we have stored already 480if (!String.IsNullOrEmpty(updatedFilter)) 548return _initialDirectory.Value == null ? String.Empty : _initialDirectory.Value; 605return _title.Value == null ? String.Empty : _title.Value; 1482} while (!String.IsNullOrEmpty(fileName)); 1558if (String.IsNullOrEmpty(s)) 1725return String.Empty; // So we return String.Empty 1736return String.Empty; 1764return String.Empty;
src\Framework\Microsoft\Win32\OpenFileDialog.cs (3)
105if (String.IsNullOrEmpty(filename)) 149String[] cachedFileNames = FileNamesInternal; 162if (String.IsNullOrEmpty(filename))
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
100if (String.IsNullOrEmpty(filename))
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (12)
283public const String Id = "Id"; 294typeof(String), 308public static void SetDataId(DependencyObject d, String id) 324public static String GetDataId(DependencyObject d) 329return d.GetValue(DataIdProperty) as String; 393String oldValue = (string) e.OldValue; 394String newValue = (string) e.NewValue; 396if (!String.Equals(oldValue, newValue)) 444internal String GetNodeId(DependencyObject d) 448String id = d.GetValue(DataIdProperty) as string; 451if (String.IsNullOrEmpty(id)) 477private const String ValueAttributeName = "Value";
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
293public static readonly String Id = "FixedPage"; 354private static readonly String ValueAttributeName = "Value";
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 (5)
115public void RegisterSubTreeProcessor(SubTreeProcessor processor, String processorId) 159if (!String.IsNullOrEmpty(processorString)) 493public static void SetSubTreeProcessorId(DependencyObject d, String id) 510public static String GetSubTreeProcessorId(DependencyObject d) 516return d.GetValue(SubTreeProcessorIdProperty) as String;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
424internal const String SegmentAttribute = "Segment"; 427internal const String CountAttribute = "Count"; 431internal const String IncludeOverlaps = "IncludeOverlaps";
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
290if (!String.IsNullOrEmpty(fragment) && currentApp.StartupUri != null)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (3)
116bool fIsMailTo = String.Compare(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase) == 0 ; 238if (!String.IsNullOrEmpty(referer)) 454String targetString = BindUriHelper.UriToString( target ) ;
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
126private bool AssemblyOnDisallowedList(String assemblyToCheck)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (16)
67version = String.Empty; 110String clrProductName = resourceManager.GetString("PlatformMicrosoftCommonLanguageRuntime", CultureInfo.CurrentUICulture); 111String versionString = resourceManager.GetString("PlatformDependentAssemblyVersion", CultureInfo.CurrentUICulture); 143version = String.Copy(excpMsg.Substring(index + versionString.Length)); 171string clrVersion = String.Concat("CLR", version); 194version = String.Empty; 205errorTitle = String.Empty; 206errorMessage = String.Empty; 247string fwlink = String.Empty; 250if (version != String.Empty) 252fwlink = String.Copy(fwlinkPrefix); 253fwlink = String.Concat(fwlink, version); 254fwlink = String.Concat(fwlink, fwlinkSuffix); 259fwlink = String.Concat(fwlink, today.Year.ToString()); 260fwlink = String.Concat(fwlink, today.Month.ToString()); 261fwlink = String.Concat(fwlink, today.Day.ToString());
src\Framework\MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
53_text.Value = String.Empty; 84return new RequestSetStatusBarEventArgs(String.Empty);
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\ResourcePart.cs (2)
156if (String.Compare(Path.GetExtension(_name), ResourceContainer.BamlExt, StringComparison.OrdinalIgnoreCase) == 0) 161if (String.Compare(Path.GetExtension(_name), ResourceContainer.XamlExt, StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (3)
45internal String _delegateTypeName; 46internal String _targetTypeName; 47internal String _delegateMethodName;
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\XappLauncher.cs (3)
689string version = String.Empty; 718if (String.IsNullOrEmpty(_requiredCLRVersion)) 1115Invariant.Assert(!String.IsNullOrEmpty(_requiredCLRVersion));
src\Framework\MS\Internal\Controls\CustomCategoryAttribute.cs (2)
26if (String.Compare(value, "Content", StringComparison.Ordinal) == 0) 28else if(String.Compare(value, "Accessibility", StringComparison.Ordinal) == 0)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
309String rtfString = e.DataObject.GetData(DataFormats.Rtf) as String;
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (7)
108Uri source = String.IsNullOrEmpty(urlString) ? null : new Uri(urlString); 126String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) != 0) 240(String.Compare((string)url, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0)); 268Invariant.Assert(String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0); 271Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 297Invariant.Assert(String.Compare(urlString, WebBrowser.AboutBlankUriString, StringComparison.OrdinalIgnoreCase) == 0); 300Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString));
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (4)
50path = new PropertyPath(String.Empty); 87pathString = String.Empty; 98pathString = String.Empty; 489string parentName = (k>0)? PW.GetSourceValueInfo(k-1).name : String.Empty;
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (3)
78PropertyChangedEventManager.RemoveHandler(_groupBy, OnGroupByChanged, String.Empty); 85PropertyChangedEventManager.AddHandler(_groupBy, OnGroupByChanged, String.Empty); 236PropertyChangedEventManager.RemoveHandler(_groupBy, OnGroupByChanged, String.Empty);
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (10)
205string stringValue = o as String; 377static Type StringType = typeof(String); 485return (targetType == typeof(String)); 487return (sourceType == typeof(String)); 535typeof(String), // put common types up front 544typeof(String), // put common types up front 594if (_sourceType == typeof(String)) 595return String.Format(culture, "{0}", o); 633if (_targetType == typeof(String)) 634return String.Format(culture, "{0}", o);
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
30Debug.Assert(!(String.IsNullOrEmpty(displayMemberPath) && String.IsNullOrEmpty(stringFormat)));
src\Framework\MS\Internal\Data\LiveShapingItem.cs (3)
112if (!String.IsNullOrEmpty(path)) 144PropertyChangedEventManager.AddHandler(inpc, OnPropertyChanged, String.Empty); 152if (!String.IsNullOrEmpty(path))
src\Framework\MS\Internal\Data\LiveShapingList.cs (5)
418return String.IsNullOrEmpty(path) ? String.Empty : path; 486(dp == null && String.IsNullOrEmpty(infos[k].Path))) 692class DPFromPath : Dictionary<String, DependencyProperty> 738String.Format(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS,
src\Framework\MS\Internal\Data\ObjectRef.cs (4)
290return String.Format(CultureInfo.InvariantCulture, 344s = String.Format(CultureInfo.InvariantCulture, 351s = String.Format(CultureInfo.InvariantCulture, 461return String.Format(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS,
src\Framework\MS\Internal\Data\PathParser.cs (2)
65public String Error { get { return _error; } } 86_path = (path != null) ? path.Trim() : String.Empty;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
447(String.IsNullOrEmpty(propertyName) || 449String.Equals(SVI[k].propertyName, propertyName, StringComparison.OrdinalIgnoreCase)))
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
127if (String.IsNullOrEmpty(sortFields[k].PropertyName))
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (10)
357if (!String.IsNullOrEmpty(propertyName)) 363PropertyRecord genericRecord = (PropertyRecord)_dict[String.Empty]; 409Debug.Assert((String)de.Key != AllListenersKey, "special key should not appear"); 467String[] keys = new String[ic.Count]; 504String key = (String)ide.Key; 526foreach (String key in _toRemove) 579List<String> _toRemove = new List<String>();
src\Framework\MS\Internal\Data\ValueTable.cs (2)
189propertyName = String.Empty; 211if (name == String.Empty)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (2)
551return String.Format(TypeConverterHelper.InvariantEnglishUS, "{0} ({1})", 560return String.Format(TypeConverterHelper.InvariantEnglishUS, "{0} (hash={1} Count={2})",
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
303messageString = String.Format(System.Globalization.CultureInfo.CurrentCulture, messageString, findToolBar.SearchText);
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (2)
409value = String.Empty; 499description = String.Empty;
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
715private Dictionary<String, string> _contentPropertyTable;
src\Framework\MS\Internal\Ink\TextClipboardData.cs (2)
87if ( String.IsNullOrEmpty(text) ) 93if ( !String.IsNullOrEmpty(text) )
src\Framework\MS\Internal\Ink\XamlClipboardData.cs (1)
135if ( !String.IsNullOrEmpty(xml) )
src\Framework\MS\Internal\IO\Packaging\ContentDescriptor.cs (2)
56return ( String.CompareOrdinal(BaseName,otherElement.BaseName) == 0 57&& String.CompareOrdinal(XmlNamespace,otherElement.XmlNamespace) == 0 );
src\Framework\MS\Internal\IO\Packaging\ManagedFilter.cs (1)
435String GetText(int bufferCharacterCount);
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (7)
296public String GetText(int bufferCharacterCount) 317String result = _currentContent.Substring(_countOfCharactersReturned, numCharactersToReturn); 575String.Empty, // has potential text content, but no content property 717if (String.CompareOrdinal(elementFullName.BaseName, _glyphRunName) == 0) 731if (String.CompareOrdinal(elementFullName.BaseName, _fixedPageName) == 0) 746if (String.CompareOrdinal(elementFullName.BaseName, _pageContentName) == 0) 800Debug.Assert(String.CompareOrdinal(_xamlReader.LocalName, _fixedPageName) == 0);
src\Framework\MS\Internal\IO\Packaging\XmlFixedPageInfo.cs (1)
138string glyphRunQuery = String.Format(CultureInfo.InvariantCulture, ".//*[namespace-uri()='{0}' and local-name()='{1}']",
src\Framework\MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (2)
48&& String.CompareOrdinal(_glyphsNode.LocalName, _glyphRunName) == 0 49&& String.CompareOrdinal(_glyphsNode.NamespaceURI, ElementTableKey.FixedMarkupNamespace) == 0);
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
374if (pszFileName == null || pszFileName == String.Empty)
src\Framework\MS\Internal\Markup\StaticExtension.cs (1)
33public StaticExtension(String member) : base(member) { }
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
135if (String.Equals(e.GetType().FullName, "System.Printing.PrintingNotSupportedException", StringComparison.Ordinal))
src\Framework\MS\Internal\PtsHost\Pts.cs (1)
109string message = (innerException == null) ? String.Empty : innerException.Message;
src\Framework\MS\Internal\PtsHost\RunClient.cs (1)
113public override CharacterBufferReference CharacterBufferReference { get { return new CharacterBufferReference(String.Empty, 0); } }
src\Framework\MS\Internal\Text\InlineObject.cs (1)
112public override CharacterBufferReference CharacterBufferReference { get { return new CharacterBufferReference(String.Empty, 0); } }
src\Framework\MS\Internal\TraceData.cs (2)
260string s = o as String; 314return String.Format(TypeConverterHelper.InvariantEnglishUS, format, args);
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
178string fragment = String.Empty;
src\Framework\MS\Internal\Utility\TraceLog.cs (2)
42+ String.Format(CultureInfo.InvariantCulture, message, args); 65return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\MS\Win32\UxThemeWrapper.cs (2)
276if(String.Compare(themeName, "aero", StringComparison.OrdinalIgnoreCase) == 0 && Utilities.IsOSWindows8OrNewer) 307themeName = themeColor = String.Empty;
src\Framework\System\Windows\Annotations\Annotation.cs (12)
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))) 487public Collection<String> Authors 639if (String.IsNullOrEmpty(value)) 666if (String.IsNullOrEmpty(typeName[0])) 677if (String.IsNullOrEmpty(typeName[0]) || String.IsNullOrEmpty(typeName[1])) 962private ObservableCollection<String> _authors;
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
318CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String); 332CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String);
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
138if (String.IsNullOrEmpty(writer.LookupPrefix(AnnotationXmlConstants.Namespaces.CoreSchemaNamespace)))
src\Framework\System\Windows\Annotations\AnnotationService.cs (6)
604internal static void SetSubTreeProcessorId(DependencyObject d, String id) 623internal static String GetSubTreeProcessorId(DependencyObject d) 629return d.GetValue(SubTreeProcessorIdProperty) as String; 647internal static void SetDataId(DependencyObject d, String id) 666internal static String GetDataId(DependencyObject d) 672return d.GetValue(DataIdProperty) as String;
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 (2)
2679if (String.Compare(fileInBamlConvert, fileCurrent, StringComparison.OrdinalIgnoreCase) == 0) 2706if (String.Compare(bamlConvertUriSegments[l - 1], curUriSegments[m - 1], StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
457return String.Empty;
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (1)
52return String.Empty;
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (5)
160return String.Empty; 175return String.Empty; 195return String.Empty; 272return String.Empty; 287return String.Empty;
src\Framework\System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (1)
68result = String.Format(CultureInfo.InvariantCulture, "DocumentPage{0}", owner.PageNumber + 1);
src\Framework\System\Windows\Automation\Peers\FrameworkContentElementAutomationPeer.cs (1)
71return result ?? String.Empty;
src\Framework\System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (1)
82return result ?? String.Empty;
src\Framework\System\Windows\Controls\ComboBox.cs (10)
369String.Empty, 401new FrameworkPropertyMetadata(String.Empty)); 440DependencyProperty.RegisterReadOnly("SelectionBoxItemStringFormat", typeof(String), typeof(ComboBox), 441new FrameworkPropertyMetadata((String)null)); 451public String SelectionBoxItemStringFormat 453get { return (String) GetValue(SelectionBoxItemStringFormatProperty); } 731matchedText = String.Concat(newText, matchedText.Substring(matchedTextInfo.MatchedPrefixLength)); 761if (!String.Equals(newText, matchedText, StringComparison.CurrentCulture)) 963item = String.Empty; 1611string strValue = String.Empty;
src\Framework\System\Windows\Controls\ContentControl.cs (9)
118return String.Empty; 435typeof(String), 438(String) null, 448public String ContentStringFormat 450get { return (String) GetValue(ContentStringFormatProperty); } 460ctrl.OnContentStringFormatChanged((String) e.OldValue, (String) e.NewValue); 468protected virtual void OnContentStringFormatChanged(String oldContentStringFormat, String newContentStringFormat)
src\Framework\System\Windows\Controls\ContentPresenter.cs (21)
224Object.ReferenceEquals(typeof(String), newDataType) && 227String oldString = (String)e.OldValue; 228String newString = (String)e.NewValue; 369typeof(String), 372(String) null, 382public String ContentStringFormat 384get { return (String) GetValue(ContentStringFormatProperty); } 394ctrl.OnContentStringFormatChanged((String) e.OldValue, (String) e.NewValue); 402protected virtual void OnContentStringFormatChanged(String oldContentStringFormat, String newContentStringFormat) 895template = (String.IsNullOrEmpty(format)) ? AccessTextContentTemplate : FormattingAccessTextContentTemplate; 899template = (String.IsNullOrEmpty(format)) ? StringContentTemplate : FormattingStringContentTemplate; 938return (String.IsNullOrEmpty(ContentStringFormat)) ? XmlNodeContentTemplate : FormattingXmlNodeContentTemplate; 1058EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientStringEnd, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, String.Format(System.Globalization.CultureInfo.InvariantCulture, "ContentPresenter.BuildVisualTree for CP {0}", container.GetHashCode())); 1087Debug.Assert(!(content is String) && !(content is UIElement)); // these are handled by different templates 1108textBlock.Text = String.Format(culture, stringFormat, content); 1120if (tc != null && (tc.CanConvertTo(context, typeof(String)))) 1127textBlock.Text = String.Format(culture, "{0}", content);
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 (1)
5444if (!e.Handled && !String.IsNullOrEmpty(e.Text) && IsTextSearchEnabled)
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (2)
37var sortMemberPath = (string)baseValue; 41var bindingSortMemberPath = DataGridHelper.GetPathFromBinding(column.Binding as Binding);
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
1024new FrameworkPropertyMetadata(String.Empty));
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (2)
60var sortMemberPath = (string)baseValue; 64var bindingSortMemberPath = DataGridHelper.GetPathFromBinding(column.EffectiveBinding as Binding);
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (1)
209s = String.Empty;
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2270messageString = String.Format(
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (3)
1278else if (value is String) 1280String str = (String)value;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1341_commandLineDown = new RoutedUICommand(String.Empty, "FDSV_LineDown", typeof(FlowDocumentScrollViewer)); 1342_commandLineUp = new RoutedUICommand(String.Empty, "FDSV_LineUp", typeof(FlowDocumentScrollViewer)); 1343_commandLineLeft = new RoutedUICommand(String.Empty, "FDSV_LineLeft", typeof(FlowDocumentScrollViewer)); 1344_commandLineRight = new RoutedUICommand(String.Empty, "FDSV_LineRight", typeof(FlowDocumentScrollViewer));
src\Framework\System\Windows\Controls\Frame.cs (1)
747return String.Empty;
src\Framework\System\Windows\Controls\GridView.cs (3)
346typeof(String), 354public String ColumnHeaderStringFormat 356get { return (String)GetValue(ColumnHeaderStringFormatProperty); }
src\Framework\System\Windows\Controls\GridViewColumn.cs (8)
242typeof(String), 245(String) null, 253public String HeaderStringFormat 255get { return (String) GetValue(HeaderStringFormatProperty); } 265ctrl.OnHeaderStringFormatChanged((String) e.OldValue, (String) e.NewValue); 273protected virtual void OnHeaderStringFormatChanged(String oldHeaderStringFormat, String newHeaderStringFormat)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
142public String ColumnHeaderStringFormat 144get { return (String)GetValue(ColumnHeaderStringFormatProperty); }
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
43(Content != null) ? Content.ToString() : String.Empty,
src\Framework\System\Windows\Controls\GroupStyle.cs (1)
161public String HeaderStringFormat
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (10)
233typeof(String), 236(String) null, 245public String HeaderStringFormat 247get { return (String) GetValue(HeaderStringFormatProperty); } 257ctrl.OnHeaderStringFormatChanged((String) e.OldValue, (String) e.NewValue); 265protected virtual void OnHeaderStringFormatChanged(String oldHeaderStringFormat, String newHeaderStringFormat) 393string headerText = String.Empty; 394string contentText = String.Empty;
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (9)
218typeof(String), 221(String) null, 230public String HeaderStringFormat 232get { return (String) GetValue(HeaderStringFormatProperty); } 242ctrl.OnHeaderStringFormatChanged((String) e.OldValue, (String) e.NewValue); 250protected virtual void OnHeaderStringFormatChanged(String oldHeaderStringFormat, String newHeaderStringFormat) 335string headerText = String.Empty;
src\Framework\System\Windows\Controls\Image.cs (2)
504if (String.CompareOrdinal(property, "Source") == 0) 517if (String.CompareOrdinal(property, "Source") == 0)
src\Framework\System\Windows\Controls\ItemCollection.cs (2)
1814PropertyChangedEventManager.AddHandler(view, OnViewPropertyChanged, String.Empty); 1856PropertyChangedEventManager.RemoveHandler(view, OnViewPropertyChanged, String.Empty);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (8)
121String.Format(CultureInfo.InvariantCulture, "ItemContainerGenerator for {0} {1} - {2} items", Host.GetType().Name, label, _itemsGenerated)); 1068string name = (String)peer.GetValue(FrameworkElement.NameProperty); 1069if (String.IsNullOrWhiteSpace(name)) 1137if (String.Compare(token, MS.Internal.PresentationFramework.BuildInfo.WCP_PUBLIC_KEY_TOKEN, StringComparison.OrdinalIgnoreCase) == 0 || 1138String.Compare(token, MS.Internal.PresentationFramework.BuildInfo.DEVDIV_PUBLIC_KEY_TOKEN, StringComparison.OrdinalIgnoreCase) == 0) 1147sources.Add(String.Format(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS, "{0} {1} {2}", 1256PropertyChangedEventManager.RemoveHandler(_groupStyle, OnGroupStylePropertyChanged, String.Empty); 1263PropertyChangedEventManager.AddHandler(_groupStyle, OnGroupStylePropertyChanged, String.Empty);
src\Framework\System\Windows\Controls\ItemsControl.cs (11)
410if (!String.IsNullOrEmpty(displayMemberPath) || !String.IsNullOrEmpty(itemStringFormat)) 566typeof(String), 569(String) null, 579public String ItemStringFormat 581get { return (String) GetValue(ItemStringFormatProperty); } 592ctrl.OnItemStringFormatChanged((String) e.OldValue, (String) e.NewValue); 601protected virtual void OnItemStringFormatChanged(String oldItemStringFormat, String newItemStringFormat) 1682if (!String.IsNullOrEmpty(e.Text) && IsTextSearchEnabled &&
src\Framework\System\Windows\Controls\ListBox.cs (1)
423if (instance != null && (instance.GetCurrentPrefix() != String.Empty))
src\Framework\System\Windows\Controls\MenuItem.cs (3)
1097new FrameworkPropertyMetadata(String.Empty, 1124if (String.IsNullOrEmpty((string)value) && !menuItem.HasNonDefaultValue(InputGestureTextProperty) 2658if (inputGestureText != String.Empty)
src\Framework\System\Windows\Controls\Page.cs (2)
995internal String _text; 996internal String _windowTitle;
src\Framework\System\Windows\Controls\PageRanges.cs (1)
154rangeText = String.Format(CultureInfo.InvariantCulture, SR.Get(SRID.PrintDialogPageRange), _pageFrom, _pageTo);
src\Framework\System\Windows\Controls\PasswordBox.cs (3)
142this.Password = String.Empty; 204value = String.Empty; 1170this.Password = String.Empty;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
3310if (String.Compare(sb.ToString(), WebOCWindowClassName, StringComparison.OrdinalIgnoreCase) == 0) 3456HwndSourceParameters param = new HwndSourceParameters(String.Empty);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (4)
603Debug.Assert(String.IsNullOrEmpty(path) || path == "/InnerText"); 704String.Empty, 2223if (String.IsNullOrEmpty(SelectedValuePath)) 2228Debug.Assert(String.IsNullOrEmpty(path) || path == "/InnerText");
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
300string contentText = String.Empty;
src\Framework\System\Windows\Controls\PrintDialog.cs (3)
409String description 450String description 649String description
src\Framework\System\Windows\Controls\RadioButton.cs (1)
203new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnGroupNameChanged)));
src\Framework\System\Windows\Controls\StickyNote.cs (3)
257new FrameworkPropertyMetadata(String.Empty)); 267public String Author 271return (String)GetValue(StickyNoteControl.AuthorProperty);
src\Framework\System\Windows\Controls\TabControl.cs (8)
199typeof(String), 201new FrameworkPropertyMetadata((String)null)); 217public String SelectedContentStringFormat 219get { return (String) GetValue(SelectedContentStringFormatProperty); } 279typeof(String), 281new FrameworkPropertyMetadata((String) null)); 289public String ContentStringFormat 291get { return (String) GetValue(ContentStringFormatProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (4)
630value = String.Empty; 2121return String.Empty; 3374localValue as string != String.Empty) 4092text._contentCache = (newText != null) ? newText : String.Empty;
src\Framework\System\Windows\Controls\TextBox.cs (4)
410public String GetLineText(int lineIndex) 1237newTextValue = _newTextValue as String; 1598newText = String.Empty; 1919return String.Empty;
src\Framework\System\Windows\Controls\TextSearch.cs (17)
85new FrameworkPropertyMetadata(String.Empty /* default value */)); 123new FrameworkPropertyMetadata((string)String.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); 230&& (String.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo))==0)) 321Debug.Assert(String.IsNullOrEmpty(matchedText) == false, "matchedText cannot be null or empty"); 322Debug.Assert(String.IsNullOrEmpty(newText) == false, "newText cannot be null or empty"); 346if (String.Compare(newText, temp, ignoreCase, cultureInfo) == 0) 356if (String.Compare(newText, temp, ignoreCase, cultureInfo) == 0) 414if (String.IsNullOrEmpty(newPrefix)) 428if (useXml || !String.IsNullOrEmpty(primaryTextPath)) 470if (!firstItem && prefix != String.Empty) 527int matchedItemIndex = FindMatchingPrefix(itemsControl, GetPrimaryTextPath(itemsControl), prefix, String.Empty, 0, false, ref wasNewCharUsed); 582if (String.IsNullOrEmpty(primaryTextPath)) 604if (!String.IsNullOrEmpty(primaryText)) 643return (o != null) ? o.ToString() : String.Empty; 656return String.Empty; 697Prefix = String.Empty; 779if (text != null && text != String.Empty)
src\Framework\System\Windows\Controls\TreeView.cs (1)
128String.Empty,
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (19)
3502MeasureInProgress ? "MeasureInProgress" : String.Empty); 9315List<String> list = new List<String>(count); 9335List<String> list = new List<String>(count); 11870if (!String.IsNullOrEmpty(s)) 12127return String.Empty; 12129return String.Format(CultureInfo.InvariantCulture, s_format[length], args); 12324record.RevirtualizedChildren = args[2] as List<String>; 12384if (String.IsNullOrEmpty(filename) || filename == "default") 12647internal List<String> RevirtualizedChildren 12649get { return _extraData as List<String>; } 12657return String.Format(CultureInfo.InvariantCulture, "{0} {1} {2} {3} {4}", 12670List<String> children; 12820return String.Format(CultureInfo.InvariantCulture, "{0} ds: {1} ar: {2} in: {3}", 12884return String.Empty; 12894return String.Format(CultureInfo.InvariantCulture, "{0}", g.IndexFromContainer(container, returnLocalIndex:true)); 12903return String.Format(CultureInfo.InvariantCulture, "{0}", localIndex); 12907return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
274public void NavigateToString(String text)
src\Framework\System\Windows\Data\BindingBase.cs (2)
155get { return (string)GetValue(Feature.BindingGroupName, String.Empty); } 156set { CheckSealed(); SetValue(Feature.BindingGroupName, value, String.Empty); }
src\Framework\System\Windows\Data\BindingExpression.cs (8)
76string path = (pp != null) ? pp.Path : String.Empty; 78if (String.IsNullOrEmpty(binding.XPath)) 421(binding.Path == null || String.IsNullOrEmpty(binding.Path.Path))) 649lastChance ? " (last chance)" : String.Empty)); 1636convertedValue = String.Format(culture, stringFormat, value); 1656string name = String.IsNullOrEmpty(stringFormat) ? converter.GetType().Name : "StringFormat"; 2332List<object> valueErrors = GetDataErrors(dataErrorValue, String.Empty); 2415if (IsReflective && RootBindingExpression.ParentBindingBase.BindingGroupName == String.Empty)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (4)
1711if (String.IsNullOrEmpty(groupName)) 2594if (targetType != typeof(String)) 2624if (targetType == typeof(String)) 2662if (!String.IsNullOrEmpty(stringFormat))
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1090errors = BindingExpression.GetDataErrors(indei, String.Empty);
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 (5)
192Debug.Assert(ParentMultiBinding.Converter != null || !String.IsNullOrEmpty(EffectiveStringFormat), 198if (_converter == null && String.IsNullOrEmpty(EffectiveStringFormat)) 208lastChance ? " (last chance)" : String.Empty)); 1237value = String.Format(culture, EffectiveStringFormat, _tempValues); 1241value = String.Format(culture, EffectiveStringFormat, preFormattedValue);
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (3)
199if (String.IsNullOrEmpty(PropertyName)) 238return String.Equals(s1, s2, StringComparison); 253_propertyPath = !String.IsNullOrEmpty(propertyName) ? new PropertyPath(propertyName) : null;
src\Framework\System\Windows\Data\XmlDataProvider.cs (1)
524if (root != null && root.NamespaceURI == xmlReader.LookupNamespace(String.Empty))
src\Framework\System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (2)
297public String Marker 303private String _markerName;
src\Framework\System\Windows\Documents\DocumentStructures\StoryFragments.cs (4)
179public String FragmentType 200private String _storyName; 201private String _fragmentName; 202private String _fragmentType;
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (3)
52_nameHashTable = new Dictionary<String, NameHashFixedNode>(); 57public void BuildNameHashTable(String Name, UIElement e, int indexToFixedNodes) 269private Dictionary<String, NameHashFixedNode> _nameHashTable;
src\Framework\System\Windows\Documents\FixedElement.cs (4)
262AutomationProperties.SetHelpText(link, (String)this.GetValue(HelpTextProperty)); 263AutomationProperties.SetName(link, (String)this.GetValue(NameProperty)); 313AutomationProperties.SetName(image, (String)this.GetValue(NameProperty)); 314AutomationProperties.SetHelpText(image, (String)this.GetValue(HelpTextProperty));
src\Framework\System\Windows\Documents\FixedFindEngine.cs (10)
131String pageString = _GetPageString(fixedDoc, translatedPageNumber, replaceAlefWithAlefHamza); 206String pageString = _GetPageString(fixedDoc, translatedPageNumber, replaceAlefWithAlefHamza); 243if (!String.IsNullOrEmpty(token) && 344private static String _GetPageString(FixedDocument doc, int translatedPageNo, bool replaceAlefWithAlefHamza) 346String pageString = null; 372private static String _ConstructPageString(Stream pageStream, bool reverseRTL) 404if (!String.IsNullOrEmpty(unicodeStr)) 409String.Compare(sidewaysString, Boolean.TrueString, StringComparison.OrdinalIgnoreCase) == 0) 421if (!String.IsNullOrEmpty(bidiLevelAsString)) 436String.IsNullOrEmpty(caretStops) &&
src\Framework\System\Windows\Documents\FixedPage.cs (13)
624(uri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(uri.Fragment))) 641(inputUri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(inputUri.Fragment)))) 670String fragment = workuri.Fragment; 675String inputUriString = inputUri.ToString(); 676String inputUriStringWithoutFragment = inputUriString.Substring(0, inputUriString.IndexOf('#')); 682String startPartUriString = GetStartPartUriString(dpo); 972internal String StartPartUriString 984private String _startPartUriString; 1097private static String GetStartPartUriString(DependencyObject current) 1128String startPartUriString = startPartUri.ToString(); 1131String fragment = startPartUri.Fragment; 1152fixedPage.StartPartUriString = String.Empty; 1156if (fixedPage.StartPartUriString == String.Empty)
src\Framework\System\Windows\Documents\FixedSchema.cs (2)
532String _xpsS0SchemaNamespace = "http://schemas.microsoft.com/xps/2005/06"; 810String _xpsDocStructureSchemaNamespace = "http://schemas.microsoft.com/xps/2005/06/documentstructure";
src\Framework\System\Windows\Documents\FixedSOMImage.cs (4)
124internal String Name 129internal String HelpText 143private String _name; 144private String _helpText;
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (7)
103if (String.IsNullOrEmpty(glyphs.UnicodeString) || 154String s = glyphs.UnicodeString; 159&& String.IsNullOrEmpty(glyphs.CaretStops) 312public String Text 336public String FontFamily 429private String _text; 432private String _fontFamily;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (4)
1474_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (hyperlink.UIElement.GetValue(AutomationProperties.HelpTextProperty))); 1475_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (hyperlink.UIElement.GetValue(AutomationProperties.NameProperty))); 1776_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (uiElement.GetValue(AutomationProperties.HelpTextProperty))); 1777_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (uiElement.GetValue(AutomationProperties.NameProperty)));
src\Framework\System\Windows\Documents\FlowPosition.cs (1)
255return String.Empty;
src\Framework\System\Windows\Documents\FrameworkTextComposition.cs (3)
45internal FrameworkTextComposition(InputManager inputManager, IInputElement source, object owner) : base(inputManager, source, String.Empty, TextCompositionAutoComplete.Off) 230this.CompositionText = String.Empty; 253this.Text = String.Empty;
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\Hyperlink.cs (1)
398= DependencyProperty.Register("TargetName", typeof(String), typeof(Hyperlink),
src\Framework\System\Windows\Documents\Run.cs (1)
245newText = String.Empty;
src\Framework\System\Windows\Documents\Speller.cs (1)
268if (String.Compare(word, error, true /* ignoreCase */, _defaultCulture) == 0)
src\Framework\System\Windows\Documents\SpellerError.cs (1)
63correctedText = String.Empty; // Parity with TextBox.Text.
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3354_changeBlockUndoRecord = new ChangeBlockUndoRecord(this, String.Empty);
src\Framework\System\windows\Documents\TextEditor.cs (1)
503if (!String.Equals(inputCultureInfo.IetfLanguageTag, language.IetfLanguageTag, StringComparison.OrdinalIgnoreCase))
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (5)
118if (textString != String.Empty) 168if (rtfText != String.Empty) 334formatToApply = String.Empty; 399This.Selection.Text = String.Empty; 1133This.Selection.Text = String.Empty;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (2)
280_dragSourceTextRange.Text = String.Empty; 599_dragSourceTextRange.Text = String.Empty;
src\Framework\System\windows\Documents\TextEditorTyping.cs (7)
288This.SetText(This.Selection, String.Empty, InputLanguageManager.Current.CurrentInputLanguage); 595This.Selection.Text = String.Empty; 740This.Selection.Text = String.Empty; 968This.Selection.Text = String.Empty; 1034This.Selection.Text = String.Empty; 1126This.Selection.Text = String.Empty; 1172if (filteredText != String.Empty)
src\Framework\System\Windows\Documents\TextParentUndoUnit.cs (2)
56: base(String.Empty) 85: base(String.Empty)
src\Framework\System\Windows\Documents\TextRange.cs (1)
1580this.Text = String.Empty;
src\Framework\System\Windows\Documents\TextRangeBase.cs (3)
309range.Text = String.Empty; 558BeginChangeWorker(thisRange, String.Empty); 1279text = String.Empty;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
163range.Text = String.Empty; 1965String.Compare(stringValue, "NaN", StringComparison.OrdinalIgnoreCase) == 0)
src\Framework\System\Windows\Documents\TextStore.cs (1)
1244String.CompareOrdinal(compositionText, _lastCompositionText) != 0)
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (2)
99return String.Format(CultureInfo.CurrentCulture, 163if ((culture != null) && !String.IsNullOrEmpty(zoomString))
src\Framework\System\Windows\EventSetterHandlerConverter.cs (1)
73if (rootProvider != null && source is String)
src\Framework\System\Windows\FrameworkElement.cs (1)
2004string TypeAndName = String.Format(CultureInfo.InvariantCulture, "[{0}]{1}({2})",GetType().Name,dp.Name,base.GetHashCode());
src\Framework\System\Windows\FrameworkElementFactory.cs (4)
592if ((_childName != null) && (_childName != String.Empty)) 600_childName = String.Intern(_childName); 630if ((_childName != null) && (_childName != String.Empty) && 1204if (!String.IsNullOrEmpty(prefix) && !IsValueDefined(ContentPresenter.ContentProperty))
src\Framework\System\Windows\FrameworkTemplate.cs (4)
926IEnumerator<String> nameEnumerator = ChildNames.GetEnumerator(); 1120IEnumerator<String> nameEnumerator) 1531internal List<String> ChildNames 1560private List<String> _childNames = new List<string>();
src\Framework\System\Windows\Input\Command\CommandConverter.cs (3)
106if ((string)source != String.Empty) 108String typeName, localName; 202return String.Empty;
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (2)
125if (value != String.Empty) 128String commandName;
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
567Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
src\Framework\System\Windows\Interop\DocobjHost.cs (9)
229String path, 230String fragment, 232String debugSecurityZoneURL, 233String applicationId, 245Invariant.Assert(String.IsNullOrEmpty(path) == false, "path string should not be null or empty when Run method is called."); 372String.Format( 824String url, 825String tempFile, 1251String.Format(
src\Framework\System\Windows\LogicalTreeHelper.cs (1)
79if( elementName == String.Empty )
src\Framework\System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (1)
75get { return _data as String; }
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
704case 612: t = () => typeof(String); break;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (9)
1065InjectPropertyAndFrameIfNeeded(_context.SchemaContext.GetXamlType(typeof(String)), 0); 1085!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1212if (_settings.BaseUri != null && !String.IsNullOrEmpty(_settings.BaseUri.ToString())) 1231if (!String.IsNullOrEmpty(record.KeyString)) 2063if (String.IsNullOrEmpty(prefix)) 2086if (String.Equals(uriTypePrefix, "clr-namespace")) 2097: String.Empty); 2108if (!String.Equals(keyword, "assembly")) 2113if (String.IsNullOrEmpty(assemblyName))
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (2)
140internal String GetAssemblyName(Int16 assemblyId) 301internal String GetPropertyName(Int16 propertyId, bool fullName)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (14)
6481typeof(System.String), // type 6487bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Setter)target).TargetName = (System.String)value; }; 6662typeof(System.String), // type 6667bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).ElementName = (System.String)value; }; 6734typeof(System.String), // type 6740bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Trigger)target).SourceName = (System.String)value; }; 7505typeof(System.String), // type 7510bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Media.Animation.BeginStoryboard)target).Name = (System.String)value; }; 7610typeof(System.String), // type 7615bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.EventTrigger)target).SourceName = (System.String)value; }; 7986typeof(System.String), // type 7991bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.XmlDataProvider)target).XPath = (System.String)value; }; 8109typeof(System.String), // type 8114bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.Binding)target).XPath = (System.String)value; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (7)
1852new List<Type>() { typeof(System.String) }, 1856(System.String)arguments[0]); 9424new List<Type>() { typeof(System.String) }, 9428(System.String)arguments[0]); 9569typeof(System.String), 10089new List<Type>() { typeof(System.String) }, 10093(System.String)arguments[0]);
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
299wpfDefaultNamespace.Add(String.Empty, Baml2006SchemaContext.WpfNamespace);
src\Framework\System\Windows\Markup\BamlMapTable.cs (4)
146int cmp = String.CompareOrdinal(typeShortName, probeType.Name); 713return (ownerTypeId == -(short)knownElement && (String.CompareOrdinal(propertyName, name) == 0)); 718return (record.OwnerTypeId == ownerTypeId) && (String.CompareOrdinal(record.Name, name) == 0); 727return (String.CompareOrdinal(propertyName, name) == 0);
src\Framework\System\Windows\Markup\BamlReader.cs (14)
195_reverseXmlnsTable = new Dictionary<String, List<String>>(); 2678if(String.IsNullOrEmpty(xmlns)) 2680List<String> xmlnsList = GetXmlNamespaceList(typeInfo.ClrNamespace, assemblyFullName); 2693String fullName = clrNamespace + "#" + assemblyFullName; 2694List<String> list; 2701list = new List<String>(); 2709private List<String> GetXmlNamespaceList(string clrNamespace, string assemblyFullName) 2711String fullName = clrNamespace + "#" + assemblyFullName; 2712List<String> xmlnsList=null; 2748private string GetXmlnsPrefix(List<String> xmlnsList) 2765return String.Empty; // and error actually but old code defaulted this way. 2882private Dictionary<String, List<String>> _reverseXmlnsTable;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (10)
818String.Empty /*message*/, 1460Debug.Assert(param is String); 1461instance = new TypeExtension((String)param); 1655if (param is String) 1659(param as String)); 4823string typeName = parentType == null ? String.Empty : parentType.FullName; 4841string typeName = parentType == null ? String.Empty : parentType.FullName; 4970String.Empty, 4981String.Empty, 5330if (type != typeof(String))
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (2)
358if (typeof(String).IsAssignableFrom(xamlElementNode.ElementType) || 802if (!typeof(String).IsAssignableFrom(xamlKeyElementNode.ElementType) &&
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
884if (!String.IsNullOrEmpty(typeConverterName))
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (1)
120String value;
src\Framework\System\Windows\Markup\KnownTypes.cs (470)
2802if (String.CompareOrdinal(fieldName, "Text") == 0) 2806if (String.CompareOrdinal(fieldName, "Child") == 0) 2810if (String.CompareOrdinal(fieldName, "Child") == 0) 2814if (String.CompareOrdinal(fieldName, "Blocks") == 0) 2818if (String.CompareOrdinal(fieldName, "Items") == 0) 2822if (String.CompareOrdinal(fieldName, "Storyboard") == 0) 2826if (String.CompareOrdinal(fieldName, "Children") == 0) 2830if (String.CompareOrdinal(fieldName, "Child") == 0) 2834if (String.CompareOrdinal(fieldName, "Inlines") == 0) 2838if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2842if (String.CompareOrdinal(fieldName, "Background") == 0) 2844if (String.CompareOrdinal(fieldName, "BorderBrush") == 0) 2846if (String.CompareOrdinal(fieldName, "BorderThickness") == 0) 2848if (String.CompareOrdinal(fieldName, "Child") == 0) 2852if (String.CompareOrdinal(fieldName, "Child") == 0) 2856if (String.CompareOrdinal(fieldName, "Content") == 0) 2860if (String.CompareOrdinal(fieldName, "Command") == 0) 2862if (String.CompareOrdinal(fieldName, "CommandParameter") == 0) 2864if (String.CompareOrdinal(fieldName, "CommandTarget") == 0) 2866if (String.CompareOrdinal(fieldName, "Content") == 0) 2868if (String.CompareOrdinal(fieldName, "IsPressed") == 0) 2872if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2876if (String.CompareOrdinal(fieldName, "Children") == 0) 2880if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2884if (String.CompareOrdinal(fieldName, "Content") == 0) 2888if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2892if (String.CompareOrdinal(fieldName, "MaxWidth") == 0) 2894if (String.CompareOrdinal(fieldName, "MinWidth") == 0) 2896if (String.CompareOrdinal(fieldName, "Width") == 0) 2900if (String.CompareOrdinal(fieldName, "Items") == 0) 2904if (String.CompareOrdinal(fieldName, "Content") == 0) 2908if (String.CompareOrdinal(fieldName, "Content") == 0) 2910if (String.CompareOrdinal(fieldName, "ContentTemplate") == 0) 2912if (String.CompareOrdinal(fieldName, "ContentTemplateSelector") == 0) 2914if (String.CompareOrdinal(fieldName, "HasContent") == 0) 2918if (String.CompareOrdinal(fieldName, "Focusable") == 0) 2922if (String.CompareOrdinal(fieldName, "Content") == 0) 2924if (String.CompareOrdinal(fieldName, "ContentSource") == 0) 2926if (String.CompareOrdinal(fieldName, "ContentTemplate") == 0) 2928if (String.CompareOrdinal(fieldName, "ContentTemplateSelector") == 0) 2930if (String.CompareOrdinal(fieldName, "RecognizesAccessKey") == 0) 2934if (String.CompareOrdinal(fieldName, "Items") == 0) 2938if (String.CompareOrdinal(fieldName, "Background") == 0) 2940if (String.CompareOrdinal(fieldName, "BorderBrush") == 0) 2942if (String.CompareOrdinal(fieldName, "BorderThickness") == 0) 2944if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 2946if (String.CompareOrdinal(fieldName, "FontSize") == 0) 2948if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 2950if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 2952if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 2954if (String.CompareOrdinal(fieldName, "Foreground") == 0) 2956if (String.CompareOrdinal(fieldName, "HorizontalContentAlignment") == 0) 2958if (String.CompareOrdinal(fieldName, "IsTabStop") == 0) 2960if (String.CompareOrdinal(fieldName, "Padding") == 0) 2962if (String.CompareOrdinal(fieldName, "TabIndex") == 0) 2964if (String.CompareOrdinal(fieldName, "Template") == 0) 2966if (String.CompareOrdinal(fieldName, "VerticalContentAlignment") == 0) 2970if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 2974if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 2978if (String.CompareOrdinal(fieldName, "Setters") == 0) 2982if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 2986if (String.CompareOrdinal(fieldName, "Child") == 0) 2990if (String.CompareOrdinal(fieldName, "Children") == 0) 2992if (String.CompareOrdinal(fieldName, "Dock") == 0) 2994if (String.CompareOrdinal(fieldName, "LastChildFill") == 0) 2998if (String.CompareOrdinal(fieldName, "Document") == 0) 3002if (String.CompareOrdinal(fieldName, "Document") == 0) 3006if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3010if (String.CompareOrdinal(fieldName, "Children") == 0) 3014if (String.CompareOrdinal(fieldName, "Actions") == 0) 3018if (String.CompareOrdinal(fieldName, "Content") == 0) 3022if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3026if (String.CompareOrdinal(fieldName, "Pages") == 0) 3030if (String.CompareOrdinal(fieldName, "References") == 0) 3034if (String.CompareOrdinal(fieldName, "Children") == 0) 3038if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3042if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3046if (String.CompareOrdinal(fieldName, "Document") == 0) 3050if (String.CompareOrdinal(fieldName, "Document") == 0) 3054if (String.CompareOrdinal(fieldName, "Document") == 0) 3058if (String.CompareOrdinal(fieldName, "Style") == 0) 3062if (String.CompareOrdinal(fieldName, "FlowDirection") == 0) 3064if (String.CompareOrdinal(fieldName, "Height") == 0) 3066if (String.CompareOrdinal(fieldName, "HorizontalAlignment") == 0) 3068if (String.CompareOrdinal(fieldName, "Margin") == 0) 3070if (String.CompareOrdinal(fieldName, "MaxHeight") == 0) 3072if (String.CompareOrdinal(fieldName, "MaxWidth") == 0) 3074if (String.CompareOrdinal(fieldName, "MinHeight") == 0) 3076if (String.CompareOrdinal(fieldName, "MinWidth") == 0) 3078if (String.CompareOrdinal(fieldName, "Name") == 0) 3080if (String.CompareOrdinal(fieldName, "Style") == 0) 3082if (String.CompareOrdinal(fieldName, "VerticalAlignment") == 0) 3084if (String.CompareOrdinal(fieldName, "Width") == 0) 3088if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3092if (String.CompareOrdinal(fieldName, "Children") == 0) 3096if (String.CompareOrdinal(fieldName, "Children") == 0) 3100if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3104if (String.CompareOrdinal(fieldName, "Children") == 0) 3106if (String.CompareOrdinal(fieldName, "Column") == 0) 3108if (String.CompareOrdinal(fieldName, "ColumnSpan") == 0) 3110if (String.CompareOrdinal(fieldName, "Row") == 0) 3112if (String.CompareOrdinal(fieldName, "RowSpan") == 0) 3116if (String.CompareOrdinal(fieldName, "Columns") == 0) 3120if (String.CompareOrdinal(fieldName, "Header") == 0) 3124if (String.CompareOrdinal(fieldName, "Content") == 0) 3128if (String.CompareOrdinal(fieldName, "Content") == 0) 3132if (String.CompareOrdinal(fieldName, "Content") == 0) 3136if (String.CompareOrdinal(fieldName, "Content") == 0) 3138if (String.CompareOrdinal(fieldName, "HasHeader") == 0) 3140if (String.CompareOrdinal(fieldName, "Header") == 0) 3142if (String.CompareOrdinal(fieldName, "HeaderTemplate") == 0) 3144if (String.CompareOrdinal(fieldName, "HeaderTemplateSelector") == 0) 3148if (String.CompareOrdinal(fieldName, "HasHeader") == 0) 3150if (String.CompareOrdinal(fieldName, "Header") == 0) 3152if (String.CompareOrdinal(fieldName, "HeaderTemplate") == 0) 3154if (String.CompareOrdinal(fieldName, "HeaderTemplateSelector") == 0) 3156if (String.CompareOrdinal(fieldName, "Items") == 0) 3160if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3164if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3166if (String.CompareOrdinal(fieldName, "NavigateUri") == 0) 3170if (String.CompareOrdinal(fieldName, "Source") == 0) 3172if (String.CompareOrdinal(fieldName, "Stretch") == 0) 3176if (String.CompareOrdinal(fieldName, "Children") == 0) 3180if (String.CompareOrdinal(fieldName, "Child") == 0) 3184if (String.CompareOrdinal(fieldName, "Child") == 0) 3188if (String.CompareOrdinal(fieldName, "NameValue") == 0) 3192if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3196if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3200if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3204if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3208if (String.CompareOrdinal(fieldName, "ItemContainerStyle") == 0) 3210if (String.CompareOrdinal(fieldName, "ItemContainerStyleSelector") == 0) 3212if (String.CompareOrdinal(fieldName, "ItemTemplate") == 0) 3214if (String.CompareOrdinal(fieldName, "ItemTemplateSelector") == 0) 3216if (String.CompareOrdinal(fieldName, "Items") == 0) 3218if (String.CompareOrdinal(fieldName, "ItemsPanel") == 0) 3220if (String.CompareOrdinal(fieldName, "ItemsSource") == 0) 3224if (String.CompareOrdinal(fieldName, "VisualTree") == 0) 3228if (String.CompareOrdinal(fieldName, "Content") == 0) 3232if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3236if (String.CompareOrdinal(fieldName, "ListItems") == 0) 3240if (String.CompareOrdinal(fieldName, "Items") == 0) 3244if (String.CompareOrdinal(fieldName, "Content") == 0) 3248if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3252if (String.CompareOrdinal(fieldName, "Items") == 0) 3256if (String.CompareOrdinal(fieldName, "Content") == 0) 3260if (String.CompareOrdinal(fieldName, "Children") == 0) 3264if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3268if (String.CompareOrdinal(fieldName, "Items") == 0) 3272if (String.CompareOrdinal(fieldName, "Items") == 0) 3276if (String.CompareOrdinal(fieldName, "Items") == 0) 3280if (String.CompareOrdinal(fieldName, "Children") == 0) 3284if (String.CompareOrdinal(fieldName, "Children") == 0) 3288if (String.CompareOrdinal(fieldName, "Bindings") == 0) 3292if (String.CompareOrdinal(fieldName, "Setters") == 0) 3296if (String.CompareOrdinal(fieldName, "Setters") == 0) 3300if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3304if (String.CompareOrdinal(fieldName, "Content") == 0) 3308if (String.CompareOrdinal(fieldName, "Child") == 0) 3312if (String.CompareOrdinal(fieldName, "Content") == 0) 3316if (String.CompareOrdinal(fieldName, "Background") == 0) 3318if (String.CompareOrdinal(fieldName, "Children") == 0) 3322if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3326if (String.CompareOrdinal(fieldName, "Children") == 0) 3330if (String.CompareOrdinal(fieldName, "Data") == 0) 3334if (String.CompareOrdinal(fieldName, "Segments") == 0) 3338if (String.CompareOrdinal(fieldName, "Figures") == 0) 3342if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3346if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3350if (String.CompareOrdinal(fieldName, "Child") == 0) 3352if (String.CompareOrdinal(fieldName, "IsOpen") == 0) 3354if (String.CompareOrdinal(fieldName, "Placement") == 0) 3356if (String.CompareOrdinal(fieldName, "PopupAnimation") == 0) 3360if (String.CompareOrdinal(fieldName, "Bindings") == 0) 3364if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3368if (String.CompareOrdinal(fieldName, "GradientStops") == 0) 3372if (String.CompareOrdinal(fieldName, "Content") == 0) 3376if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3380if (String.CompareOrdinal(fieldName, "Content") == 0) 3384if (String.CompareOrdinal(fieldName, "Document") == 0) 3388if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3392if (String.CompareOrdinal(fieldName, "Height") == 0) 3394if (String.CompareOrdinal(fieldName, "MaxHeight") == 0) 3396if (String.CompareOrdinal(fieldName, "MinHeight") == 0) 3400if (String.CompareOrdinal(fieldName, "Text") == 0) 3404if (String.CompareOrdinal(fieldName, "CanContentScroll") == 0) 3406if (String.CompareOrdinal(fieldName, "Content") == 0) 3408if (String.CompareOrdinal(fieldName, "HorizontalScrollBarVisibility") == 0) 3410if (String.CompareOrdinal(fieldName, "VerticalScrollBarVisibility") == 0) 3414if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3418if (String.CompareOrdinal(fieldName, "Items") == 0) 3422if (String.CompareOrdinal(fieldName, "Fill") == 0) 3424if (String.CompareOrdinal(fieldName, "Stroke") == 0) 3426if (String.CompareOrdinal(fieldName, "StrokeThickness") == 0) 3430if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3434if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3438if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3442if (String.CompareOrdinal(fieldName, "Children") == 0) 3446if (String.CompareOrdinal(fieldName, "Items") == 0) 3450if (String.CompareOrdinal(fieldName, "Content") == 0) 3454if (String.CompareOrdinal(fieldName, "Children") == 0) 3458if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3462if (String.CompareOrdinal(fieldName, "Setters") == 0) 3466if (String.CompareOrdinal(fieldName, "Items") == 0) 3470if (String.CompareOrdinal(fieldName, "Content") == 0) 3474if (String.CompareOrdinal(fieldName, "Children") == 0) 3478if (String.CompareOrdinal(fieldName, "RowGroups") == 0) 3482if (String.CompareOrdinal(fieldName, "Blocks") == 0) 3486if (String.CompareOrdinal(fieldName, "Cells") == 0) 3490if (String.CompareOrdinal(fieldName, "Rows") == 0) 3494if (String.CompareOrdinal(fieldName, "Background") == 0) 3496if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 3498if (String.CompareOrdinal(fieldName, "FontSize") == 0) 3500if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 3502if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 3504if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 3506if (String.CompareOrdinal(fieldName, "Foreground") == 0) 3508if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3510if (String.CompareOrdinal(fieldName, "Text") == 0) 3512if (String.CompareOrdinal(fieldName, "TextDecorations") == 0) 3514if (String.CompareOrdinal(fieldName, "TextTrimming") == 0) 3516if (String.CompareOrdinal(fieldName, "TextWrapping") == 0) 3520if (String.CompareOrdinal(fieldName, "Text") == 0) 3524if (String.CompareOrdinal(fieldName, "Background") == 0) 3526if (String.CompareOrdinal(fieldName, "FontFamily") == 0) 3528if (String.CompareOrdinal(fieldName, "FontSize") == 0) 3530if (String.CompareOrdinal(fieldName, "FontStretch") == 0) 3532if (String.CompareOrdinal(fieldName, "FontStyle") == 0) 3534if (String.CompareOrdinal(fieldName, "FontWeight") == 0) 3536if (String.CompareOrdinal(fieldName, "Foreground") == 0) 3540if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3544if (String.CompareOrdinal(fieldName, "Children") == 0) 3548if (String.CompareOrdinal(fieldName, "Content") == 0) 3552if (String.CompareOrdinal(fieldName, "Items") == 0) 3556if (String.CompareOrdinal(fieldName, "Children") == 0) 3560if (String.CompareOrdinal(fieldName, "Children") == 0) 3564if (String.CompareOrdinal(fieldName, "ToolBars") == 0) 3568if (String.CompareOrdinal(fieldName, "Content") == 0) 3572if (String.CompareOrdinal(fieldName, "IsDirectionReversed") == 0) 3574if (String.CompareOrdinal(fieldName, "Maximum") == 0) 3576if (String.CompareOrdinal(fieldName, "Minimum") == 0) 3578if (String.CompareOrdinal(fieldName, "Orientation") == 0) 3580if (String.CompareOrdinal(fieldName, "Value") == 0) 3582if (String.CompareOrdinal(fieldName, "ViewportSize") == 0) 3586if (String.CompareOrdinal(fieldName, "Children") == 0) 3590if (String.CompareOrdinal(fieldName, "Children") == 0) 3594if (String.CompareOrdinal(fieldName, "Items") == 0) 3598if (String.CompareOrdinal(fieldName, "Items") == 0) 3602if (String.CompareOrdinal(fieldName, "Setters") == 0) 3606if (String.CompareOrdinal(fieldName, "ClipToBounds") == 0) 3608if (String.CompareOrdinal(fieldName, "Focusable") == 0) 3610if (String.CompareOrdinal(fieldName, "IsEnabled") == 0) 3612if (String.CompareOrdinal(fieldName, "RenderTransform") == 0) 3614if (String.CompareOrdinal(fieldName, "Visibility") == 0) 3618if (String.CompareOrdinal(fieldName, "Inlines") == 0) 3622if (String.CompareOrdinal(fieldName, "Children") == 0) 3626if (String.CompareOrdinal(fieldName, "Content") == 0) 3630if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3634if (String.CompareOrdinal(fieldName, "KeyFrames") == 0) 3638if (String.CompareOrdinal(fieldName, "Child") == 0) 3642if (String.CompareOrdinal(fieldName, "Children") == 0) 3646if (String.CompareOrdinal(fieldName, "Children") == 0) 3650if (String.CompareOrdinal(fieldName, "Children") == 0) 3654if (String.CompareOrdinal(fieldName, "Children") == 0) 3658if (String.CompareOrdinal(fieldName, "Content") == 0) 3662if (String.CompareOrdinal(fieldName, "Children") == 0) 3666if (String.CompareOrdinal(fieldName, "XmlSerializer") == 0) 3675return (String.CompareOrdinal(propName, "Width") == 0 || 3676String.CompareOrdinal(propName, "MinWidth") == 0 || 3677String.CompareOrdinal(propName, "MaxWidth") == 0 || 3678String.CompareOrdinal(propName, "Height") == 0 || 3679String.CompareOrdinal(propName, "MinHeight") == 0 || 3680String.CompareOrdinal(propName, "MaxHeight") == 0); 3819if (String.CompareOrdinal(propName, "MinWidth") == 0) 3821else if (String.CompareOrdinal(propName, "MaxWidth") == 0) 3825if (String.CompareOrdinal(propName, "MinHeight") == 0) 3827else if (String.CompareOrdinal(propName, "MaxHeight") == 0) 3841else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 3851else if (String.CompareOrdinal(propName, "Left") == 0) 3853else if (String.CompareOrdinal(propName, "Top") == 0) 3855else if (String.CompareOrdinal(propName, "Right") == 0) 3857else if (String.CompareOrdinal(propName, "Bottom") == 0) 3863else if (String.CompareOrdinal(propName, "FontSize") == 0) 3869else if (String.CompareOrdinal(propName, "FontSize") == 0) 3875else if (String.CompareOrdinal(propName, "Top") == 0) 3877else if (String.CompareOrdinal(propName, "Left") == 0) 3879else if (String.CompareOrdinal(propName, "DialogResult") == 0) 3881else if (String.CompareOrdinal(propName, "FontSize") == 0) 3887else if (String.CompareOrdinal(propName, "Top") == 0) 3889else if (String.CompareOrdinal(propName, "Left") == 0) 3891else if (String.CompareOrdinal(propName, "DialogResult") == 0) 3893else if (String.CompareOrdinal(propName, "FontSize") == 0) 3897if (String.CompareOrdinal(propName, "Culture") == 0) 3903else if (String.CompareOrdinal(propName, "FontSize") == 0) 3909else if (String.CompareOrdinal(propName, "FontSize") == 0) 3915else if (String.CompareOrdinal(propName, "FontSize") == 0) 3921else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 3923else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 3925else if (String.CompareOrdinal(propName, "FontSize") == 0) 3931else if (String.CompareOrdinal(propName, "FontSize") == 0) 3937else if (String.CompareOrdinal(propName, "FontSize") == 0) 3943else if (String.CompareOrdinal(propName, "FontSize") == 0) 3949else if (String.CompareOrdinal(propName, "FontSize") == 0) 3955else if (String.CompareOrdinal(propName, "FontSize") == 0) 3961else if (String.CompareOrdinal(propName, "FontSize") == 0) 3963else if (String.CompareOrdinal(propName, "LineHeight") == 0) 3981else if (String.CompareOrdinal(propName, "FontSize") == 0) 3987else if (String.CompareOrdinal(propName, "FontSize") == 0) 3993else if (String.CompareOrdinal(propName, "IsChecked") == 0) 3995else if (String.CompareOrdinal(propName, "FontSize") == 0) 4001else if (String.CompareOrdinal(propName, "IsChecked") == 0) 4003else if (String.CompareOrdinal(propName, "FontSize") == 0) 4009else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4011else if (String.CompareOrdinal(propName, "FontSize") == 0) 4017else if (String.CompareOrdinal(propName, "MaxDropDownHeight") == 0) 4019else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4021else if (String.CompareOrdinal(propName, "FontSize") == 0) 4027else if (String.CompareOrdinal(propName, "FontSize") == 0) 4033else if (String.CompareOrdinal(propName, "FontSize") == 0) 4041if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4043else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4053else if (String.CompareOrdinal(propName, "FontSize") == 0) 4059else if (String.CompareOrdinal(propName, "FontSize") == 0) 4065else if (String.CompareOrdinal(propName, "FontSize") == 0) 4071else if (String.CompareOrdinal(propName, "FontSize") == 0) 4077else if (String.CompareOrdinal(propName, "FontSize") == 0) 4085if (String.CompareOrdinal(propName, "Width") == 0) 4091else if (String.CompareOrdinal(propName, "FontSize") == 0) 4109else if (String.CompareOrdinal(propName, "FontSize") == 0) 4115else if (String.CompareOrdinal(propName, "FontSize") == 0) 4121else if (String.CompareOrdinal(propName, "FontSize") == 0) 4127else if (String.CompareOrdinal(propName, "FontSize") == 0) 4137else if (String.CompareOrdinal(propName, "Top") == 0) 4139else if (String.CompareOrdinal(propName, "Bottom") == 0) 4141else if (String.CompareOrdinal(propName, "Left") == 0) 4143else if (String.CompareOrdinal(propName, "Right") == 0) 4151if (String.CompareOrdinal(propName, "Culture") == 0) 4161else if (String.CompareOrdinal(propName, "FontSize") == 0) 4167else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4169else if (String.CompareOrdinal(propName, "FontSize") == 0) 4175else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4177else if (String.CompareOrdinal(propName, "FontSize") == 0) 4183else if (String.CompareOrdinal(propName, "FontSize") == 0) 4193else if (String.CompareOrdinal(propName, "FontSize") == 0) 4199else if (String.CompareOrdinal(propName, "FontSize") == 0) 4205else if (String.CompareOrdinal(propName, "FontSize") == 0) 4219else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4221else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4227else if (String.CompareOrdinal(propName, "FontSize") == 0) 4233else if (String.CompareOrdinal(propName, "FontSize") == 0) 4239else if (String.CompareOrdinal(propName, "FontSize") == 0) 4245else if (String.CompareOrdinal(propName, "FontSize") == 0) 4255else if (String.CompareOrdinal(propName, "FontSize") == 0) 4261else if (String.CompareOrdinal(propName, "FontSize") == 0) 4271else if (String.CompareOrdinal(propName, "FontSize") == 0) 4301else if (String.CompareOrdinal(propName, "FontSize") == 0) 4307else if (String.CompareOrdinal(propName, "IsChecked") == 0) 4309else if (String.CompareOrdinal(propName, "FontSize") == 0) 4315else if (String.CompareOrdinal(propName, "FontSize") == 0) 4321else if (String.CompareOrdinal(propName, "FontSize") == 0) 4327else if (String.CompareOrdinal(propName, "FontSize") == 0) 4333else if (String.CompareOrdinal(propName, "FontSize") == 0) 4339else if (String.CompareOrdinal(propName, "IsSynchronizedWithCurrentItem") == 0) 4341else if (String.CompareOrdinal(propName, "FontSize") == 0) 4347else if (String.CompareOrdinal(propName, "FontSize") == 0) 4353else if (String.CompareOrdinal(propName, "FontSize") == 0) 4355else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4361else if (String.CompareOrdinal(propName, "FontSize") == 0) 4367else if (String.CompareOrdinal(propName, "FontSize") == 0) 4377else if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4379else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4381else if (String.CompareOrdinal(propName, "FontSize") == 0) 4385if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4387else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4393else if (String.CompareOrdinal(propName, "FontSize") == 0) 4399else if (String.CompareOrdinal(propName, "FontSize") == 0) 4405else if (String.CompareOrdinal(propName, "FontSize") == 0) 4427else if (String.CompareOrdinal(propName, "ItemWidth") == 0) 4429else if (String.CompareOrdinal(propName, "ItemHeight") == 0) 4433if (String.CompareOrdinal(propName, "ConverterCulture") == 0) 4437if (String.CompareOrdinal(propName, "Culture") == 0) 4441if (String.CompareOrdinal(propName, "Culture") == 0) 4445if (String.CompareOrdinal(propName, "Culture") == 0) 4449if (String.CompareOrdinal(propName, "ConverterCulture") == 0) 4461if (String.CompareOrdinal(propName, "FontSize") == 0) 4465if (String.CompareOrdinal(propName, "FontSize") == 0) 4469if (String.CompareOrdinal(propName, "LineHeight") == 0) 4471else if (String.CompareOrdinal(propName, "FontSize") == 0) 4475if (String.CompareOrdinal(propName, "LineHeight") == 0) 4477else if (String.CompareOrdinal(propName, "FontSize") == 0) 4481if (String.CompareOrdinal(propName, "LineHeight") == 0) 4483else if (String.CompareOrdinal(propName, "FontSize") == 0) 4487if (String.CompareOrdinal(propName, "FontSize") == 0) 4491if (String.CompareOrdinal(propName, "FontSize") == 0) 4499if (String.CompareOrdinal(propName, "HorizontalOffset") == 0) 4501else if (String.CompareOrdinal(propName, "VerticalOffset") == 0) 4503else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4505else if (String.CompareOrdinal(propName, "FontSize") == 0) 4511else if (String.CompareOrdinal(propName, "Left") == 0) 4513else if (String.CompareOrdinal(propName, "Top") == 0) 4515else if (String.CompareOrdinal(propName, "Right") == 0) 4517else if (String.CompareOrdinal(propName, "Bottom") == 0) 4521if (String.CompareOrdinal(propName, "Width") == 0) 4523else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4525else if (String.CompareOrdinal(propName, "FontSize") == 0) 4529if (String.CompareOrdinal(propName, "FontSize") == 0) 4531else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4533else if (String.CompareOrdinal(propName, "ColumnWidth") == 0) 4535else if (String.CompareOrdinal(propName, "ColumnGap") == 0) 4537else if (String.CompareOrdinal(propName, "ColumnRuleWidth") == 0) 4539else if (String.CompareOrdinal(propName, "PageWidth") == 0) 4541else if (String.CompareOrdinal(propName, "MinPageWidth") == 0) 4543else if (String.CompareOrdinal(propName, "MaxPageWidth") == 0) 4545else if (String.CompareOrdinal(propName, "PageHeight") == 0) 4547else if (String.CompareOrdinal(propName, "MinPageHeight") == 0) 4549else if (String.CompareOrdinal(propName, "MaxPageHeight") == 0) 4555else if (String.CompareOrdinal(propName, "FontRenderingEmSize") == 0) 4557else if (String.CompareOrdinal(propName, "OriginX") == 0) 4559else if (String.CompareOrdinal(propName, "OriginY") == 0) 4563if (String.CompareOrdinal(propName, "FontSize") == 0) 4567if (String.CompareOrdinal(propName, "FontSize") == 0) 4571if (String.CompareOrdinal(propName, "FontSize") == 0) 4575if (String.CompareOrdinal(propName, "FontSize") == 0) 4579if (String.CompareOrdinal(propName, "MarkerOffset") == 0) 4581else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4583else if (String.CompareOrdinal(propName, "FontSize") == 0) 4587if (String.CompareOrdinal(propName, "LineHeight") == 0) 4589else if (String.CompareOrdinal(propName, "FontSize") == 0) 4597if (String.CompareOrdinal(propName, "TextIndent") == 0) 4599else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4601else if (String.CompareOrdinal(propName, "FontSize") == 0) 4605if (String.CompareOrdinal(propName, "FontSize") == 0) 4609if (String.CompareOrdinal(propName, "LineHeight") == 0) 4611else if (String.CompareOrdinal(propName, "FontSize") == 0) 4615if (String.CompareOrdinal(propName, "CellSpacing") == 0) 4617else if (String.CompareOrdinal(propName, "LineHeight") == 0) 4619else if (String.CompareOrdinal(propName, "FontSize") == 0) 4623if (String.CompareOrdinal(propName, "LineHeight") == 0) 4625else if (String.CompareOrdinal(propName, "FontSize") == 0) 4629if (String.CompareOrdinal(propName, "FontSize") == 0) 4633if (String.CompareOrdinal(propName, "FontSize") == 0) 4637if (String.CompareOrdinal(propName, "FontSize") == 0) 4643else if (String.CompareOrdinal(propName, "FontSize") == 0) 4649else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4655else if (String.CompareOrdinal(propName, "X1") == 0) 4657else if (String.CompareOrdinal(propName, "Y1") == 0) 4659else if (String.CompareOrdinal(propName, "X2") == 0) 4661else if (String.CompareOrdinal(propName, "Y2") == 0) 4663else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4669else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4675else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4681else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4687else if (String.CompareOrdinal(propName, "RadiusX") == 0) 4689else if (String.CompareOrdinal(propName, "RadiusY") == 0) 4691else if (String.CompareOrdinal(propName, "StrokeThickness") == 0) 4695if (String.CompareOrdinal(propName, "Command") == 0) 4699if (String.CompareOrdinal(propName, "Gesture") == 0) 4701else if (String.CompareOrdinal(propName, "Command") == 0) 4705if (String.CompareOrdinal(propName, "Gesture") == 0) 4707else if (String.CompareOrdinal(propName, "Command") == 0) 4711if (String.CompareOrdinal(propName, "CurrentInputLanguage") == 0) 4713else if (String.CompareOrdinal(propName, "InputLanguage") == 0) 4717if (String.CompareOrdinal(propName, "CaretStops") == 0) 4719else if (String.CompareOrdinal(propName, "ClusterMap") == 0) 4721else if (String.CompareOrdinal(propName, "Characters") == 0) 4723else if (String.CompareOrdinal(propName, "GlyphIndices") == 0) 4725else if (String.CompareOrdinal(propName, "AdvanceWidths") == 0) 4727else if (String.CompareOrdinal(propName, "GlyphOffsets") == 0) 4731if (String.CompareOrdinal(propName, "CultureOverride") == 0) 6156case KnownElements.String: t = typeof(System.String); break;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (17)
157if (!String.IsNullOrEmpty(returnString) && returnString[0] == '{') 333args = (String)tokens[0]; 340args = (String)tokens[2]; 582string prefix = String.Empty; 768string prefix = String.Empty; 805(list.Count > 1 && !(list[1] is String) && ((Char)list[1] == ',')))) 881(list.Count > 1 && !(list[1] is String) && ((Char)list[1] == ',')))) 1266if (!(list[listIndex] is String)) 1288string value = (String)list[listIndex]; 1370(list[k+1] is String) || 1380string propertyName = list[k] as String; 1393string prefix = (nameIndex < 0) ? String.Empty : propertyName.Substring(0, nameIndex); 1417string strValue = list[k+2] as String; 1461((String)list[k+2]), 1476if(!String.IsNullOrEmpty(prefix)) 1528string prefix = (nameIndex < 0) ? String.Empty : name.Substring(0, nameIndex); 1537if (String.IsNullOrEmpty(attribNamespaceURI))
src\Framework\System\Windows\Markup\ParserContext.cs (8)
91_xmlLang = String.Empty; 92_xmlSpace = String.Empty; 116_xmlSpace = String.Empty; 296_xmlLang = (null == value ? String.Empty : value); 851private String _xmlLang = String.Empty; 852private String _xmlSpace = String.Empty;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
481return String.Empty; 494return String.Empty; 532return String.Compare(one.Key.ToString(), two.Key.ToString());
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (2)
106if (!(source is byte[] || source is String || source is Stream)) 164if (source is String)
src\Framework\System\Windows\Markup\XamlParseException.cs (3)
369if (!String.IsNullOrEmpty(xamlFile)) 378message = String.Empty; 446if (innerException.Message != String.Empty)
src\Framework\System\Windows\Markup\XamlReader.cs (12)
246String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 249String.IsNullOrEmpty(reader.BaseURI.ToString())) 338if (xamlReader.Value as String == "Async") 349else if (xamlReader.Value is String) 351_maxAsynxRecords = Int32.Parse(xamlReader.Value as String, TypeConverterHelper.InvariantEnglishUS); 389if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 524else if (xamlReader.Value is String) 526_maxAsynxRecords = Int32.Parse(xamlReader.Value as String, TypeConverterHelper.InvariantEnglishUS); 804String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 807String.IsNullOrEmpty(reader.BaseURI.ToString())) 877if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 999if (readerSettings.BaseUri == null || String.IsNullOrEmpty(readerSettings.BaseUri.ToString()))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (16)
186String fullName = clrNamespace + "#" + upperAssemblyName; 397ReflectionHelper.LoadAssembly(entry.Key as String, entry.Value as String); 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName), 2300string fullTypeName = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}.{1}", usd.ClrNamespace, typeName); 2320string fullTypeName = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}.{1}", namespaces[i].ClrNamespace, typeName); 2342string prefix = String.Empty; 2502String hashString = xmlNamespace + ":" + localName; 2542String hashString = xmlNamespace + ":" + localName; 3362if (String.IsNullOrEmpty(xmlNamespace)) 3382!String.IsNullOrEmpty(newXmlNamespace); 3505(!(String.IsNullOrEmpty(mapping.AssemblyName)) && !(String.IsNullOrEmpty(mapping.ClrNamespace))) ) 3526if (!String.IsNullOrEmpty(mapping.ClrNamespace)) 3603String fullName = clrNamespaceFullName + "#" + upperAssemblyName; 3605String ret;
src\Framework\System\Windows\Markup\XmlnsCache.cs (5)
368if (String.IsNullOrEmpty(xmlns) || String.IsNullOrEmpty(clrns) ) 373if (0 == String.CompareOrdinal(xmlnsRequested, xmlns)) 403if (String.IsNullOrEmpty(oldXmlns) || String.IsNullOrEmpty(newXmlns))
src\Framework\System\Windows\Markup\XmlnsDictionary.cs (3)
359_nsDeclarations[thisDecl].Uri != String.Empty) 439_nsDeclarations[decl].Prefix = String.Empty; 637if (String.Equals(_nsDeclarations[thisDecl].Prefix, prefix))
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ThicknessKeyFrameCollection[{0}]", index));
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
132public static void SetTargetName(DependencyObject element, String name)
src\Framework\System\Windows\MessageBox.cs (2)
200return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 420return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
src\Framework\System\Windows\Navigation\JournalEntry.cs (2)
267DependencyProperty.RegisterAttached("Name", typeof(string), typeof(JournalEntry), new PropertyMetadata(String.Empty)); 371bool isPack = String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0;
src\Framework\System\Windows\Navigation\NavigationService.cs (7)
145if (!String.IsNullOrEmpty(target)) 373if (String.IsNullOrEmpty(elementId)) 830if (String.Compare(name, fe.Name, StringComparison.OrdinalIgnoreCase) == 0) 3567if (String.IsNullOrEmpty(name) && dependencyObject is Page) 3572if (!String.IsNullOrEmpty(name)) 3590&& !String.IsNullOrEmpty(navWin.Title)) 3594name = String.Format(CultureInfo.CurrentCulture, "{0} ({1})", navWin.Title, JournalEntry.GetDisplayName(_currentSource, SiteOfOriginContainer.SiteOfOrigin));
src\Framework\System\Windows\PropertyPath.cs (4)
711if (String.IsNullOrEmpty(paramList[i].parenString)) 716else if (String.IsNullOrEmpty(paramList[i].valueString)) 982string _path = String.Empty; // the path 986string _lastError = String.Empty; // most recent error message
src\Framework\System\Windows\PropertyPathConverter.cs (1)
156if (destinationType != typeof(String))
src\Framework\System\Windows\ResourceDictionary.cs (2)
144if (value == null || String.IsNullOrEmpty(value.OriginalString)) 1381return rootType ?? typeof(String);
src\Framework\System\Windows\Resources\StreamResourceInfo.cs (1)
52public StreamResourceInfo(Stream stream, String contentType)
src\Framework\System\Windows\Setter.cs (1)
106if( String.IsNullOrEmpty(TargetName))
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (1)
108var text = (string)value;
src\Framework\System\Windows\StartupEventArgs.cs (2)
45public String[] Args 107private String[] _args;
src\Framework\System\Windows\StyleHelper.cs (5)
1838String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label)); 1878String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label)); 5894string referenceString = referenceValue as String; 5898stateType != typeof(String)) 5915if (typeConverter != null && typeConverter.CanConvertFrom(typeof(String)))
src\Framework\System\Windows\SystemKeyConverter.cs (3)
252return String.Empty; 278return String.Empty; 289return String.Empty;
src\Framework\System\Windows\SystemResourceKey.cs (1)
1869String.Format("Invalid SystemResourceKeyID (id={0})", (int)id));
src\Framework\System\Windows\TemplateContent.cs (10)
55public String ContentSource { get; set; } 100string type = (this.Type == null) ? String.Empty : this.Type.Name; 103string res = String.Format(CultureInfo.InvariantCulture, 691sharedValue.Value.ValueInternal as String; 697if (!(sharedValue.Value.ValueInternal is String) && 719string name = xamlReader.Value as String; 746stack.CurrentFrame.ContentSource = xamlReader.Value as String; 920if (!(xamlReader.Value is String)) 1294if (String.IsNullOrEmpty(contentSource) && isContentSourceSet == false) 1297if (!String.IsNullOrEmpty(contentSource) && !isContentPropertyDefined)
src\Framework\System\Windows\TemplateKey.cs (3)
123? String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}({1})", 125: String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}(null)", 167else if (!(dataType is Type) && !(dataType is String))
src\Framework\System\Windows\TemplateNameScope.cs (1)
227if (_nameMap == null || name == null || name == String.Empty)
src\Framework\System\Windows\TriggerBase.cs (1)
200return String.Intern(target);
src\Framework\System\Windows\Window.cs (6)
845DependencyProperty.Register("Title", typeof(String), typeof(Window), 846new FrameworkPropertyMetadata(String.Empty, 862return (String)GetValue(TitleProperty); 4034Debug.Assert(workAreaWidthDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaWidth ({0})for monitor ({1}) is negative", hMonitor, workAreaWidthDeviceUnits)); 4035Debug.Assert(workAreaHeightDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaHeight ({0}) for monitor ({1}) is negative", hMonitor, workAreaHeightDeviceUnits)); 6242Debug.Assert(false, String.Format("specifiedRestoreBounds can't be {0}", specifiedRestoreBounds));
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
97return (partialName != null) ? partialName : String.Empty;
src\Shared\MS\Internal\SecurityHelper.cs (1)
1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
19public override XamlType GetKnownXamlType(String name)
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
19public override XamlType GetKnownXamlType(String name)
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
19public override XamlType GetKnownXamlType(String name)
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
19public override XamlType GetKnownXamlType(String name)
SMDiagnostics (15)
System\ServiceModel\Diagnostics\PiiTraceSource.cs (3)
15string eventSourceName = String.Empty; 25Fx.Assert(!String.IsNullOrEmpty(eventSourceName), "Event log source name must be valid"); 34Fx.Assert(!String.IsNullOrEmpty(eventSourceName), "Event log source name must be valid");
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (3)
87Fx.Assert(!String.IsNullOrEmpty(localName), ""); 89if (String.IsNullOrEmpty(localName)) 202public override void WriteRaw(String data)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (9)
116if (String.CompareOrdinal(node.name, headersPath[0]) != 0) 134if (null != childNode && 0 == String.CompareOrdinal(childNode.name, headersPath[i])) 437get { return String.Empty; } 671string retval = String.Empty; 707string retval = String.Empty; 744string retval = String.Empty; 790string retval = String.Empty; 956Fx.Assert(!String.IsNullOrEmpty(elementName), ""); 958if (0 == String.CompareOrdinal(elementName, element.name))
svcutil (2)
CommandLineParser.cs (2)
172arguments.Add(String.Empty, arg); 190argValue = String.Empty;
System (1052)
compmod\microsoft\csharp\csharpcodeprovider.cs (13)
588if (String.IsNullOrWhiteSpace(options.CoreAssemblyFileName)) { 595if (!String.IsNullOrWhiteSpace(coreAssemblyFileName)) { 1383String commentLineStart = e.DocComment? "///": "//"; 1962if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) { 2917if( String.IsNullOrEmpty(nspace.Name)) { 3307private String GetTypeArgumentsOutput(CodeTypeReferenceCollection typeArguments) { 3333string s = String.Empty; 3480String symbFileName = options.TempFiles.BasePath + "." + pdbname; 3509private static string[] ReadAllLines(String file, Encoding encoding, FileShare share) 3513String line; 3514List<String> lines = new List<String>(); 3847return String.Empty;
compmod\microsoft\visualbasic\VBCodeProvider.cs (11)
540if(String.IsNullOrEmpty(s)) 570if (String.IsNullOrWhiteSpace(options.CoreAssemblyFileName)) { 577if (!String.IsNullOrWhiteSpace(coreAssemblyFileName)) { 1113String typeName = GetTypeOutput(e.CreateType); 1129String typeName = GetTypeOutput(e.CreateType); 1490String commentLineStart = e.DocComment? "'''": "'"; 2000if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) { 2740private String GetTypeArgumentsOutput(CodeTypeReferenceCollection typeArguments) { 2767string s = String.Empty; 2836String outputAssemblyFile = options.OutputAssembly; 2944private static byte[] ReadAllBytes(String file, FileShare share)
compmod\microsoft\win32\SafeNativeMethods.cs (3)
63public static extern void OutputDebugString(String message); 223internal static extern SafeWaitHandle CreateSemaphore(NativeMethods.SECURITY_ATTRIBUTES lpSecurityAttributes, int initialCount, int maximumCount, String name); 230internal static extern SafeWaitHandle OpenSemaphore(/* DWORD */ int desiredAccess, bool inheritHandle, String name);
compmod\microsoft\win32\SystemEvents.cs (1)
1260String ecb = asm.EscapedCodeBase;
compmod\microsoft\win32\UnsafeNativeMethods.cs (4)
70public static extern IntPtr GetProcAddress(IntPtr hModule, String methodName); 222private static bool DoesWin32MethodExist(String moduleName, String methodName) 484internal static extern SafeFileHandle CreateFile(String lpFileName,
compmod\system\codedom\CodeGotoStatement.cs (1)
43if (String.IsNullOrEmpty(value))
compmod\system\codedom\CodeTypeReference.cs (4)
79public CodeTypeReference (String typeName, CodeTypeReferenceOptions codeTypeReferenceOption) { 102if (!String.IsNullOrEmpty(type.Namespace)) 211String name = RipOffAssemblyInformationFromTypeName((string)subTypeNames.Pop()); 329if (String.IsNullOrEmpty(baseType))
compmod\system\codedom\compiler\CodeCompiler.cs (1)
539return String.Empty;
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (9)
31internal const String sectionName = "system.codedom"; 60String typeName; 217String configFile = ConfigurationErrorsException.GetFilename(node); 231String languages = String.Empty; 233String extensions = String.Empty; 235String compilerTypeName = null; 248String compilerOptions = null;
compmod\system\codedom\compiler\CodeDOMProvider.cs (14)
28public static CodeDomProvider CreateProvider(String language, System.Collections.Generic.IDictionary<String, String> providerOptions) { 34public static CodeDomProvider CreateProvider(String language) { 40public static String GetLanguageFromExtension(String extension) { 48public static bool IsDefinedLanguage(String language) { 53public static bool IsDefinedExtension(String extension) { 59public static CompilerInfo GetCompilerInfo(String language) { 68private static CompilerInfo GetCompilerInfoForLanguageNoThrow(String language) { 77private static CompilerInfo GetCompilerInfoForExtensionNoThrow(String extension) { 330String[] dirs = s.Split(pathSeperators, StringSplitOptions.RemoveEmptyEntries); 334if (String.Equals(dirs[i], "Reference Assemblies", StringComparison.OrdinalIgnoreCase)) { 339if (!String.Equals(multiTargetingPackRoot, Path.GetDirectoryName(s), StringComparison.OrdinalIgnoreCase)) {
compmod\system\codedom\compiler\CodeValidator.cs (8)
254if (e.Parameters.Count > 0 && String.Compare(e.Name, "Item", StringComparison.OrdinalIgnoreCase) == 0) { 535String baseType = e.BaseType; 570private static void ValidateTypeName(Object e, String propertyName, String typeName) { 572String message = SR.GetString(SR.InvalidTypeName, typeName, propertyName, e.GetType().FullName); 577private static void ValidateIdentifier(Object e, String propertyName, String identifier) { 579String message = SR.GetString(SR.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
compmod\system\codedom\compiler\CompilerInfo.cs (18)
20internal String _codeDomProviderTypeName; // This can never by null 22internal String[] _compilerLanguages; // This can never by null 23internal String[] _compilerExtensions; // This can never by null 24internal String configFileName; 33public String[] GetLanguages() { 37public String[] GetExtensions() { 89public CodeDomProvider CreateProvider(IDictionary<String, String> providerOptions) 108internal CompilerInfo(CompilerParameters compilerParams, String codeDomProviderTypeName, String[] compilerLanguages, String[] compilerExtensions) { 118internal CompilerInfo(CompilerParameters compilerParams, String codeDomProviderTypeName) { 151private String[] CloneCompilerLanguages() { 152String[] compilerLanguages = new String[_compilerLanguages.Length]; 157private String[] CloneCompilerExtensions() { 158String[] compilerExtensions = new String[_compilerExtensions.Length];
compmod\system\codedom\compiler\CompilerParameters.cs (1)
33private string coreAssemblyFileName = String.Empty;
compmod\system\codedom\compiler\RedistVersionInfo.cs (9)
24internal const String DirectoryPath = "CompilerDirectoryPath"; // location 27internal const String NameTag = "CompilerVersion"; // name of the tag for specifying the version 29internal const String DefaultVersion = InPlaceVersion; // should match one of the versions below 30internal const String InPlaceVersion = "v4.0"; // Default 31internal const String RedistVersion = "v3.5"; // May change with servicing 32internal const String RedistVersion20= "v2.0"; 95private static string GetCompilerPathFromRegistry(String versionVal) { 110String versionWithoutV = versionVal.Substring(1); 111String registryPath = dotNetFrameworkRegistryPath + versionWithoutV;
compmod\system\codedom\compiler\TempFiles.cs (1)
322if (String.IsNullOrEmpty(tempDir)) {
compmod\system\collections\generic\linkedlist.cs (3)
33const String VersionName = "Version"; 34const String CountName = "Count"; 35const String ValuesName = "Data";
compmod\system\collections\generic\sortedset.cs (13)
68private const String ComparerName = "Comparer"; 69private const String CountName = "Count"; 70private const String ItemsName = "Items"; 71private const String VersionName = "Version"; 73private const String TreeName = "Tree"; 74private const String NodeValueName = "Item"; 75private const String EnumStartName = "EnumStarted"; 76private const String ReverseName = "Reverse"; 77private const String EnumVersionName = "EnumVersion"; 81private const String minName = "Min"; 82private const String maxName = "Max"; 83private const String lBoundActiveName = "lBoundActive"; 84private const String uBoundActiveName = "uBoundActive";
compmod\system\collections\specialized\nameobjectcollectionbase.cs (31)
26/// <para>Provides the <see langword='abstract '/>base class for a sorted collection of associated <see cref='System.String' qualify='true'/> keys 33private const String ReadOnlyName = "ReadOnly"; 34private const String CountName = "Count"; 35private const String ComparerName = "Comparer"; 36private const String HashCodeProviderName = "HashProvider"; 37private const String KeysName = "Keys"; 38private const String ValuesName = "Values"; 39private const String KeyComparerName = "KeyComparer"; 40private const String VersionName = "Version"; 161String[] keys = new String[count]; 170info.AddValue(KeysName, keys, typeof(String[])); 191String[] keys = null; 223keys = (String[])info.GetValue(KeysName, typeof(String[])); 278private NameObjectEntry FindEntry(String key) { 323protected void BaseAdd(String name, Object value) { 349protected void BaseRemove(String name) { 385String key = BaseGetKey(index); 420protected Object BaseGet(String name) { 431protected void BaseSet(String name, Object value) { 463protected String BaseGetKey(int index) { 540/// <para>Returns a <see cref='System.String' qualify='true'/> array containing all the keys in the 543protected String[] BaseGetAllKeys() { 545String[] allKeys = new String[n]; 607internal NameObjectEntry(String name, Object value) { 612internal String Key; 670/// <para>Represents a collection of the <see cref='System.String' qualify='true'/> keys of a collection.</para> 686public virtual String Get(int index) { 693public String this[int index] {
compmod\system\collections\specialized\namevaluecollection.cs (31)
23/// <para>Represents a sorted collection of associated <see cref='System.String' qualify='true'/> keys and <see cref='System.String' qualify='true'/> values that 29private String[] _all; 30private String[] _allKeys; 137private static String GetAsOneString(ArrayList list) { 141return (String)list[0]; 144StringBuilder s = new StringBuilder((String)list[0]); 148s.Append((String)list[i]); 158private static String[] GetAsStringArray(ArrayList list) 164String [] array = new String[n]; 186String key = c.GetKey(i); 187String[] values = c.GetValues(i); 230String[] all = new String[n]; 267public virtual void Add(String name, String value) { 292public virtual String Get(String name) { 300public virtual String[] GetValues(String name) { 308public virtual void Set(String name, String value) { 322public virtual void Remove(String name) { 331public String this[String name] { 350public virtual String Get(int index) { 358public virtual String[] GetValues(int index) { 366public virtual String GetKey(int index) { 373public String this[int index] { 386public virtual String[] AllKeys {
compmod\system\collections\specialized\notifycollectionchangedeventargs.cs (1)
315Contract.Assert(false, String.Format("Unsupported action: {0}", action.ToString()));
compmod\system\componentmodel\AmbientValueAttribute.cs (1)
107/// <para>Initializes a new instance of the <see cref='System.ComponentModel.AmbientValueAttribute'/> class using a <see cref='System.String'/>.</para>
compmod\system\componentmodel\Component.cs (2)
246/// Returns a <see cref='System.String'/> containing the name of the <see cref='System.ComponentModel.Component'/> , if any. This method should not be 251public override String ToString() {
compmod\system\componentmodel\Container.cs (4)
55public virtual void Add(IComponent component, String name) { 264private String name; 266internal Site(IComponent component, Container container, String name) { 300public String Name
compmod\system\componentmodel\CultureInfoConverter.cs (2)
298String itemName1 = converter.GetCultureName(((CultureInfo)item1)); 299String itemName2 = converter.GetCultureName(((CultureInfo)item2));
compmod\system\componentmodel\DefaultValueAttribute.cs (1)
125/// <para>Initializes a new instance of the <see cref='System.ComponentModel.DefaultValueAttribute'/> class using a <see cref='System.String'/>.</para>
compmod\system\componentmodel\design\DesignerVerb.cs (2)
56return String.Empty; 74return String.Empty;
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
182foreach(String existingName in resourceAssembly.GetManifestResourceNames()) {
compmod\system\componentmodel\design\ToolboxItemAttribute.cs (1)
112return String.Empty;
compmod\system\componentmodel\EventDescriptorCollection.cs (2)
225if (String.Equals(events[i].Name, name, StringComparison.OrdinalIgnoreCase)) { 233if (String.Equals(events[i].Name, name, StringComparison.Ordinal)) {
compmod\system\componentmodel\IContainer.cs (1)
37void Add(IComponent component, String name);
compmod\system\componentmodel\ISite.cs (1)
53String Name {
compmod\system\componentmodel\LicenseManager.cs (1)
521String key = this.savedLicenseContext.GetSavedLicenseKey(this.savedType, null);
compmod\system\componentmodel\MarshalByValueComponent.cs (2)
190/// Returns a <see cref='System.String'/> containing the name of the <see cref='System.ComponentModel.Component'/> , if any. This method should not be 195public override String ToString() {
compmod\system\componentmodel\MaskedTextProvider.cs (1)
97return String.Format(
compmod\system\componentmodel\MemberDescriptor.cs (1)
235/// code for the name of the member as specified in <see cref='System.String.GetHashCode'/>.
compmod\system\componentmodel\NestedContainer.cs (1)
173public String Name
compmod\system\componentmodel\NullableConverter.cs (3)
64else if (value is String && String.IsNullOrEmpty(value as String)) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
264if (String.Equals(properties[i].Name, name, StringComparison.OrdinalIgnoreCase)) {
compmod\system\componentmodel\ReferenceConverter.cs (4)
60if (!String.Equals(text, none) && context != null) { 127return String.Empty; 222String itemName1 = converter.ConvertToString(item1); 223String itemName2 = converter.ConvertToString(item2);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
863if (!String.IsNullOrEmpty(sta.PropertyName)) { 977if (String.IsNullOrEmpty(e.PropertyName) || 978String.Compare(e.PropertyName, Name, true, System.Globalization.CultureInfo.InvariantCulture) == 0) {
compmod\system\componentmodel\SyntaxCheck.cs (3)
30if (value.Equals(String.Empty)) 46if (value.Equals(String.Empty)) 64if (value.Equals(String.Empty))
compmod\system\componentmodel\ToolboxItemFilterAttribute.cs (1)
69if (filterString == null) filterString = String.Empty;
compmod\system\componentmodel\TypeConverter.cs (2)
42if (!String.IsNullOrEmpty(useCompatibleConfig)) { 170return String.Empty;
compmod\system\diagnostics\AssertSection.cs (1)
13private static readonly ConfigurationProperty _propLogFile = new ConfigurationProperty("logfilename", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
compmod\system\diagnostics\Debug.cs (3)
126TraceInternal.Assert(condition, message, String.Format(CultureInfo.InvariantCulture, detailMessageFormat, args)); 152TraceInternal.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args)); 240TraceInternal.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
compmod\system\diagnostics\DefaultTraceListener.cs (1)
187SafeNativeMethods.OutputDebugString(String.Empty);
compmod\system\diagnostics\DelimitedListTraceListener.cs (8)
78return new String[]{"delimiter"}; 82public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string format, params object[] args) { 89WriteEscaped(String.Format(CultureInfo.InvariantCulture, format, args)); 100public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string message) { 115public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data) { 130public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) { 151private void WriteHeader(String source, TraceEventType eventType, int id) { 198if (!String.IsNullOrEmpty(message)) {
compmod\system\diagnostics\ListenerElementsCollection.cs (6)
213if (String.IsNullOrEmpty(className)) { 217if (_attributes != null || ElementInformation.Properties[_propFilter.Name].ValueOrigin == PropertyValueOrigin.SetHere || TraceOutputOptions != TraceOptions.None || !String.IsNullOrEmpty(InitData)) 261protected override bool OnDeserializeUnrecognizedAttribute(String name, String value) { 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 (4)
118if (!String.IsNullOrEmpty(SwitchName) && !String.IsNullOrEmpty(SwitchValue)) 125protected override bool OnDeserializeUnrecognizedAttribute(String name, String value) {
compmod\system\diagnostics\SourceFilter.cs (2)
23return String.Equals(src, source); 26public String Source {
compmod\system\diagnostics\SourceSwitch.cs (2)
16public SourceSwitch(string name) : base(name, String.Empty) {} 19: base(displayName, String.Empty, defaultSwitchValue) { }
compmod\system\diagnostics\Switch.cs (1)
36private volatile string switchValueString = String.Empty;
compmod\system\diagnostics\SwitchElementsCollection.cs (2)
80protected override bool OnDeserializeUnrecognizedAttribute(String name, String value) {
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
27String fileName = null;
compmod\system\diagnostics\TraceListener.cs (12)
322 public virtual void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data) { 327string datastring = String.Empty; 338 public virtual void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) { 362 public virtual void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id) { 363 TraceEvent(eventCache, source, eventType, id, String.Empty); 370public virtual void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string message) { 383public virtual void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string format, params object[] args) { 389WriteLine(String.Format(CultureInfo.InvariantCulture, format, args)); 399public virtual void TraceTransfer(TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId) { 403private void WriteHeader(String source, TraceEventType eventType, int id) { 404Write(String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2} : ", source, eventType.ToString(), id.ToString(CultureInfo.InvariantCulture))); 429WriteLine(String.Empty);
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 (3)
39if (String.IsNullOrEmpty(initializeData)) { 61if (!String.IsNullOrEmpty(filePath)) { 131internal static void VerifyAttributes(IDictionary attributes, String[] supportedAttributes, object parent) {
compmod\system\diagnostics\TypedElement.cs (2)
13protected static readonly ConfigurationProperty _propTypeName = new ConfigurationProperty("type", typeof(string), String.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 14protected static readonly ConfigurationProperty _propInitData = new ConfigurationProperty("initializeData", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
compmod\system\diagnostics\XmlWriterTraceListener.cs (9)
62public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string format, params object[] args) { 70message = String.Format(CultureInfo.InvariantCulture, format, args); 79public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string message) { 88public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data) { 105public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) { 158public override void TraceTransfer(TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId) { 167private void WriteHeader(String source, TraceEventType eventType, int id, TraceEventCache eventCache, Guid relatedActivityId) { 174private void WriteHeader(String source, TraceEventType eventType, int id, TraceEventCache eventCache) { 179private void WriteStartHeader(String source, TraceEventType eventType, int id, TraceEventCache eventCache) {
compmod\system\security\permissions\ResourcePermissionBase.cs (2)
236String version = securityElement.Attribute( "version" ); 628String accessString = null;
misc\CompatibleIComparer.cs (1)
49String obj = o as string;
misc\invariantcomparer.cs (4)
16String sa = a as String; 17String sb = b as String;
net\System\_UriSyntax.cs (5)
64private static readonly Dictionary<String, UriParser> m_Table; 65private static Dictionary<String, UriParser> m_TempTable; 143m_Table = new Dictionary<String, UriParser>(c_InitialTableSize); 144m_TempTable = new Dictionary<String, UriParser>(c_InitialTableSize); 317m_TempTable = new Dictionary<String, UriParser>(c_InitialTableSize);
net\System\Net\_DigestClient.cs (1)
483return String.Empty; // Error, no valid digest challenge, no further processing required
net\System\Net\_FtpControlStream.cs (3)
809private String FormatAddress(IPAddress address, int Port ) 833String addressString = address.ToString(); 1038return String.Empty;
net\System\Net\_HTTPDateParse.cs (1)
254String DateString,
net\System\Net\_ListenerResponseStream.cs (1)
397if ((m_HttpContext.Response.BoundaryType==BoundaryType.Chunked || m_HttpContext.Response.BoundaryType==BoundaryType.None) && (String.Compare(m_HttpContext.Request.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase)!=0)) {
net\System\Net\_NetRes.cs (1)
56return String.Format(CultureInfo.CurrentCulture, Msg, StatusMsg);
net\System\Net\_NTAuthentication.cs (1)
520if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "SspiEncodeStringsAsAuthIdentity()", String.Format(CultureInfo.CurrentCulture, "0x{0:X}", (int)result)));
net\System\Net\_ServiceNameStore.cs (5)
45Debug.Assert(!String.IsNullOrEmpty(uriPrefix)); 81Debug.Assert(!String.IsNullOrEmpty(uriPrefix)); 180if (String.Compare(hostname, "*", StringComparison.InvariantCultureIgnoreCase) == 0 || 181String.Compare(hostname, "+", StringComparison.InvariantCultureIgnoreCase) == 0 || 188string machineName = Dns.GetHostEntry(String.Empty).HostName;
net\System\Net\_SpnDictionary.cs (1)
77if(String.Compare(s,0,canonicalKey,0,s.Length,StringComparison.OrdinalIgnoreCase) == 0){
net\System\Net\_SSPIWrapper.cs (6)
134if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireDefaultCredential()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 174if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 192if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 218if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 484Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, op, String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 977return "Capabilities:" + String.Format(CultureInfo.InvariantCulture, "0x{0:x}", Capabilities)
net\System\Net\Cache\RequestCacheValidator.cs (1)
78private String _CacheKey;
net\System\Net\Configuration\DefaultProxySection.cs (2)
152String.IsNullOrEmpty(section.Module.Type) && 184if (!String.IsNullOrEmpty(section.Module.Type))
net\System\Net\cookie.cs (3)
188m_domain = (value == null? String.Empty : value); 272m_path = (value == null? String.Empty : value); 658m_value = (value == null? String.Empty : value);
net\System\Net\cookiecontainer.cs (5)
114string m_fqdnMyDomain = String.Empty; 640if ((String.Compare(headerName, HeaderInfo[i].Name, StringComparison.OrdinalIgnoreCase ) == 0)) { 875string cookieString = String.Empty; 876string delimiter = String.Empty; 886Cookie.MaxSupportedVersion.ToString(NumberFormatInfo.InvariantInfo)) : String.Empty;
net\System\Net\CredentialCache.cs (1)
526return String.Compare(uri.AbsolutePath, 0, prefixUri.AbsolutePath, 0, prefixLen, StringComparison.OrdinalIgnoreCase ) == 0;
net\System\Net\DnsEndPoint.cs (1)
25if (String.IsNullOrEmpty(host)) {
net\System\Net\FtpWebRequest.cs (4)
242private static readonly NetworkCredential DefaultFtpNetworkCredential = new NetworkCredential("anonymous", "anonymous@", String.Empty); 290if (String.IsNullOrEmpty(value)) { 319if (String.IsNullOrEmpty(value)) { 2018return name == null? null: (String.Compare(name,"anonymous", StringComparison.InvariantCultureIgnoreCase) == 0? null: name);
net\System\Net\HttpListener.cs (4)
665registeredPrefix = uriPrefix[j]==':' ? String.Copy(uriPrefix) : uriPrefix.Substring(0, j) + (i==7 ? ":80" : ":443") + uriPrefix.Substring(j); 1737if (!String.IsNullOrEmpty(outBlob)) 2012foreach (String challenge in challenges) 2102if (String.IsNullOrEmpty(clientSpn))
net\System\Net\HttpListenerRequest.cs (15)
1216internal static String GetAttributeFromHeader(String headerValue, String attrName) { 1257String attrValue = null; 1285internal static String[] ParseMultivalueHeader(String s) { 1316String[] strings; 1321strings = new String[1]; 1322strings[0] = String.Empty; 1325strings = new String[n]; 1446internal String GetString() { 1453return String.Empty; 1458internal static void FillFromString(NameValueCollection nvc, String s, bool urlencoded, Encoding encoding) { 1484String name = null; 1485String value = null;
net\System\Net\HttpWebRequest.cs (6)
2673foreach (String headerName in webHeaders.AllKeys ) { 2762public override String ContentType { 4715String hostToUse; 5013string acceptEncodingValues = _HttpRequestHeaders.Get(HttpKnownHeaderNames.AcceptEncoding) ?? String.Empty; 5055string connectionValues = _HttpRequestHeaders.Get(HttpKnownHeaderNames.Connection) ?? String.Empty; 6284if (String.Compare(curRange.Substring(0, curRange.IndexOf('=')), rangeSpecifier, StringComparison.OrdinalIgnoreCase) != 0) {
net\System\Net\HttpWebResponse.cs (3)
170public String ContentEncoding { 206m_CharacterSet = String.Empty; 655return ( (headerValue==null) ? String.Empty : headerValue );
net\System\Net\ICredentials.cs (1)
38NetworkCredential GetCredential(Uri uri, String authType);
net\System\Net\Internal.cs (14)
738if (String.Compare(installType, InstallTypeStringClient, StringComparison.OrdinalIgnoreCase) == 0) 742if (String.Compare(installType, InstallTypeStringServer, StringComparison.OrdinalIgnoreCase) == 0) 746if (String.Compare(installType, InstallTypeStringServerCore, StringComparison.OrdinalIgnoreCase) == 0) 750if (String.Compare(installType, InstallTypeStringEmbedded, StringComparison.OrdinalIgnoreCase) == 0) 1429GlobalLog.Print(" certContextArray = " + String.Format("0x{0:x}", certContextArray)); 1430GlobalLog.Print(" rootStore = " + String.Format("0x{0:x}", rootStore)); 1432GlobalLog.Print(" phMappers = " + String.Format("0x{0:x}", phMappers)); 1434GlobalLog.Print(" palgSupportedAlgs = " + String.Format("0x{0:x}", palgSupportedAlgs)); 1435GlobalLog.Print(" grbitEnabledProtocols = " + String.Format("0x{0:x}", grbitEnabledProtocols)); 1438GlobalLog.Print(" dwSessionLifespan = " + String.Format("0x{0:x}", dwSessionLifespan)); 1439GlobalLog.Print(" dwFlags = " + String.Format("0x{0:x}", dwFlags)); 1440GlobalLog.Print(" reserved = " + String.Format("0x{0:x}", reserved)); 1975internal static DateTime string2date(String S) { 2012GlobalLog.Enter("PolicyWrapper::VerifyChainPolicy", "chainContext="+ chainContext + ", options="+String.Format("0x{0:x}", cpp.dwFlags));
net\System\Net\IPAddress.cs (1)
463string address = String.Format(CultureInfo.InvariantCulture, numberFormat,
net\System\Net\IPEndPoint.cs (1)
122return String.Format(format, m_Address.ToString(), Port.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\Logging.cs (2)
608string disp = String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset); 610disp += String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' ');
net\System\Net\mail\AlternateView.cs (1)
72a.SetContentFromString(content, null, String.Empty);
net\System\Net\mail\Attachment.cs (7)
19SetContentFromFile(fileName, String.Empty); 84if (fileName == String.Empty) 101if (fileName == String.Empty) 324if (contentType.Name == null || contentType.Name == String.Empty) { 394if(name != null && name != String.Empty){ 412if(name != null && name != String.Empty){ 420a.SetContentFromString(content,null, String.Empty);
net\System\Net\mail\BufferBuilder.cs (1)
61if (String.IsNullOrEmpty(value))
net\System\Net\mail\ContentDisposition.cs (4)
148if (String.IsNullOrEmpty(value)) 327return (String.Compare(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase) == 0); 344if (String.IsNullOrEmpty(dispositionType)) 397if (String.IsNullOrEmpty(paramAttribute) || string.IsNullOrEmpty(paramValue))
net\System\Net\mail\ContentType.cs (2)
60if (contentType == String.Empty) { 247return (String.Compare(ToString(), rparam.ToString(), StringComparison.OrdinalIgnoreCase ) == 0);
net\System\Net\mail\EncodedStreamFactory.cs (1)
67string header = String.Format("=?{0}?{1}?", encoding.HeaderName, useBase64Encoding ? "B" : "Q");
net\System\Net\mail\LinkedResource.cs (1)
60a.SetContentFromString(content, null, String.Empty);
net\System\Net\mail\MailAddress.cs (12)
70if (address == String.Empty){ 78if (!String.IsNullOrEmpty(this.displayName)) { 95if (String.IsNullOrEmpty(this.displayName)) { 159return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", userName, host); 165return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", 171return String.Format(CultureInfo.InvariantCulture, "<{0}>", Address); 177return String.Format(CultureInfo.InvariantCulture, "<{0}>", GetAddress(allowUnicode)); 188if (String.IsNullOrEmpty(DisplayName)) { 192return String.Format("\"{0}\" {1}", DisplayName, SmtpAddress); 212string encodedAddress = String.Empty; 219if (!String.IsNullOrEmpty(this.displayName)) 227encodedAddress = String.Format(CultureInfo.InvariantCulture, "\"{0}\"", this.displayName);
net\System\Net\mail\MailAddressCollection.cs (1)
76if (String.IsNullOrEmpty(encodedAddresses)) {
net\System\Net\mail\MailAddressParser.cs (2)
73Debug.Assert(!String.IsNullOrEmpty(data)); 131displayName = String.Empty;
net\System\Net\mail\MailMessage.cs (6)
29string body = String.Empty; 54if (from == String.Empty) 57if (to == String.Empty) 160return (message.Subject != null ? message.Subject : String.Empty); 193return (body != null ? body : String.Empty); 446return String.Empty;
net\System\Net\mail\Message.cs (3)
45if (from == String.Empty) 48if (to == String.Empty) 474string encodedValue = String.Empty;
net\System\Net\mail\MimeBasePart.cs (2)
54return String.Empty; 57string newValue = String.Empty;
net\System\Net\mail\SmtpClient.cs (1)
217if (value == String.Empty)
net\System\Net\mail\smtpconnection.cs (8)
249if (String.Compare(extension, 0, authExtension, 0, 257if (String.Compare(authType, authLogin, StringComparison.OrdinalIgnoreCase) == 0) { 261else if (String.Compare(authType, authNtlm, StringComparison.OrdinalIgnoreCase) == 0) { 264else if (String.Compare(authType, authGssapi, StringComparison.OrdinalIgnoreCase) == 0) { 267else if (String.Compare(authType, authWDigest, StringComparison.OrdinalIgnoreCase) == 0) { 273else if (String.Compare(extension, 0, "dsn ", 0, 3, StringComparison.OrdinalIgnoreCase) == 0) { 276else if (String.Compare(extension, 0, "STARTTLS", 0, 8, StringComparison.OrdinalIgnoreCase) == 0) { 279else if (String.Compare(extension, 0, "SMTPUTF8", 0, 8, StringComparison.OrdinalIgnoreCase) == 0) {
net\System\Net\mail\SmtpDateTime.cs (5)
204return String.Format("{0} {1}", FormatDate(this.date), 209return String.Format("{0} {1}", FormatDate(this.date), 222Debug.Assert(!String.IsNullOrEmpty(offset), 265Debug.Assert(!String.IsNullOrEmpty(value), 346if (String.IsNullOrEmpty(timeZoneString))
net\System\Net\mail\smtppermission.cs (1)
210String str = securityElement.Attribute("Unrestricted");
net\System\Net\mail\SmtpTransport.cs (1)
324string to = smtpAddress + (connection.DSNEnabled ? deliveryNotify : String.Empty);
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 (6)
113Debug.Assert(!String.IsNullOrEmpty(path), "Registry path should not be null."); 114Debug.Assert(!String.IsNullOrEmpty(valueName), "valueName should not be null."); 147string versionedKeyPath = String.Format( 152Debug.Assert(!String.IsNullOrEmpty(versionedKeyPath), ".Net Version should not be null."); 159Debug.Assert(!String.IsNullOrEmpty(valueName), "valueName should not be null."); 160return String.Format(CultureInfo.InvariantCulture, @"{0}\{1}", GetNetFrameworkVersionedPath(), valueName);
net\System\Net\NetworkCredential.cs (4)
113m_userName = String.Empty; 180m_domain = String.Empty; 231public NetworkCredential GetCredential(Uri uri, String authType) { 235public NetworkCredential GetCredential(string host, int port, String authenticationType) {
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (1)
201String str = securityElement.Attribute("Unrestricted");
net\System\Net\SecureProtocols\_NegoState.cs (1)
470if (String.IsNullOrEmpty(clientSpn))
net\System\Net\ServicePoint.cs (1)
1536private string m_HostName = String.Empty;
net\System\Net\SocketPermission.cs (11)
235public SocketPermission(NetworkAccess access, TransportType transport, String hostName, int portNumber) { 485String str = securityElement.Attribute("Unrestricted"); 711internal String hostname; 719private const String encSeperator = "#"; 726public String Hostname { get {return hostname;}} 748internal EndpointPermission(String epname, int port, TransportType trtype) { 770if (String.Compare(hostname, ep.hostname, StringComparison.OrdinalIgnoreCase ) != 0) { 872return (String.Compare(hostname, e.hostname, StringComparison.OrdinalIgnoreCase ) == 0); 1005public override String ToString() { 1011String commonName=null; 1074if(String.Compare(hostname, E.hostname, StringComparison.OrdinalIgnoreCase ) != 0) {
net\System\Net\UnsafeNativeMethods.cs (1)
3377return String.Empty;
net\System\Net\webclient.cs (4)
157return (m_baseAddress == null) ? String.Empty : m_baseAddress.ToString(); 747if ((contentType != null) && (String.Compare(contentType, UploadValuesContentType, StringComparison.OrdinalIgnoreCase) != 0)) { 752string delimiter = String.Empty; 1000string delimiter = String.Empty;
net\System\Net\WebHeaderCollection.cs (2)
996String key = cc.GetKey(i); 997String[] values = cc.GetValues(i);
net\System\Net\WebPermission.cs (8)
355public WebPermission(NetworkAccess access, String uriString) { 372public void AddPermission(NetworkAccess access, String uriString) { 623private static bool isSpecialSubsetCase(String regexToCheck, ArrayList permList) { 630if (String.Compare(regexToCheck, regex.ToString(), StringComparison.OrdinalIgnoreCase ) == 0) 635if (String.Compare(regexToCheck, Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)), StringComparison.OrdinalIgnoreCase ) == 0) 638else if (String.Compare(regexToCheck, Regex.Escape(uriPattern.ToString()), StringComparison.OrdinalIgnoreCase ) == 0) { 812String str = securityElement.Attribute("Unrestricted"); 904String tempStr=null;
net\System\Net\WebRequest.cs (3)
165if (String.Compare(Current.Prefix, 382String cookedUri = tempUri.AbsoluteUri; 416if (String.Compare(Current.Prefix, prefix, StringComparison.OrdinalIgnoreCase) == 0) {
net\System\Net\WebUtility.cs (6)
48if (String.IsNullOrEmpty(value)) { 151if (String.IsNullOrEmpty(value)) { 775internal String GetString() 783return String.Empty; 797private static String[] _entitiesList = new String[] {
net\System\URI.cs (15)
1234public String OriginalString { 1260if (!String.IsNullOrEmpty(m_Info.DnsSafeHost)) { 1265return String.Empty; 1443return String.Empty; 1794else if (String.Compare(m_String, obj.m_String, StringComparison.OrdinalIgnoreCase) == 0) { 1906return (String.Compare(meInfo.MoreInfo.RemoteUrl, 1922String otherPath = uri.AbsolutePath; 1925String relativeUriString = PathDifference(AbsolutePath, otherPath, !IsUncOrDosPath); 1958private static bool CheckForColonInFirstPathSegment(String uriString) 1971return String.Empty; 3336m_String = String.Empty; 4233String user = new string(pString, startOtherHost, end - startOtherHost); 4341String user = new string(pString, startInput, end - startInput); 5122string extra = String.Empty; 5224return String.Empty;
net\System\uribuilder.cs (17)
21private string m_fragment = String.Empty; 23private string m_password = String.Empty; 26private string m_query = String.Empty; 30private string m_username = String.Empty; 148value = String.Empty; 168Fragment = String.Empty; 169Query = String.Empty; 183value = String.Empty; 202value = String.Empty; 224value = String.Empty; 275value = String.Empty; 294value = String.Empty; 337value = String.Empty; 427+ ((m_password.Length > 0) ? (":" + m_password) : String.Empty) 428+ ((m_username.Length > 0) ? "@" : String.Empty) 430+ (((m_port != -1) && (m_host.Length > 0)) ? (":" + m_port) : String.Empty) 431+ (((m_host.Length > 0) && (m_path.Length != 0) && (m_path[0] != '/')) ? "/" : String.Empty) + m_path
net\System\UriExt.cs (3)
262private unsafe bool CheckForConfigLoad(String data) 289private bool CheckForUnicode(String data) 309private unsafe bool CheckForEscapedUnreserved(String data)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
312internal static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, String procName); 318internal static extern SafeLibraryHandle LoadLibrary(String libPath); 432String fxDir = RuntimeEnvironment.GetRuntimeDirectory(); 433String zlibDllPath = Path.Combine(fxDir, ZLibNativeDllName); 454private static DT CreateDelegate<DT>(String entryPointName) { 746return String.Empty; 748String msgStr = new String((SByte*) zStreamPtr->msg);
regex\system\text\regularexpressions\Regex.cs (104)
97private const String DefaultMatchTimeout_ConfigKeyName = "REGEX_DEFAULT_MATCH_TIMEOUT"; 177protected internal String[] capslist; // if captures are sparse or named captures are used, this is the sorted list of names 208public Regex(String pattern) 223public Regex(String pattern, RegexOptions options) 232Regex(String pattern, RegexOptions options, TimeSpan matchTimeout) 236private Regex(String pattern, RegexOptions options, TimeSpan matchTimeout, bool useCache) { 268String key = ((int) options).ToString(NumberFormatInfo.InvariantInfo) + ":" + cultureKey + ":" + pattern; 465public static String Escape(String str) { 481public static String Unescape(String str) { 565public String[] GetGroupNames() { 566String[] result; 570result = new String[max]; 577result = new String[capslist.Length]; 630public String GroupNameFromNumber(int i) { 635return String.Empty; 645return String.Empty; 657return String.Empty; 673public int GroupNumberFromName(String name) { 725public static bool IsMatch(String input, String pattern) { 739public static bool IsMatch(String input, String pattern, RegexOptions options) { 748static bool IsMatch(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) { 762public bool IsMatch(String input) { 781public bool IsMatch(String input, int startat) { 798public static Match Match(String input, String pattern) { 812public static Match Match(String input, String pattern, RegexOptions options) { 822static Match Match(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) { 836public Match Match(String input) { 851public Match Match(String input, int startat) { 870public Match Match(String input, int beginning, int length) { 886public static MatchCollection Matches(String input, String pattern) { 899public static MatchCollection Matches(String input, String pattern, RegexOptions options) { 908static MatchCollection Matches(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) { 923public MatchCollection Matches(String input) { 941public MatchCollection Matches(String input, int startat) { 959public static String Replace(String input, String pattern, String replacement) { 973public static String Replace(String input, String pattern, String replacement, RegexOptions options) { 982static String Replace(String input, String pattern, String replacement, RegexOptions options, TimeSpan matchTimeout) { 996public String Replace(String input, String replacement) { 1013public String Replace(String input, String replacement, int count) { 1031public String Replace(String input, String replacement, int count, int startat) { 1060public static String Replace(String input, String pattern, MatchEvaluator evaluator) { 1073public static String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options) { 1082static String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout) { 1096public String Replace(String input, MatchEvaluator evaluator) { 1114public String Replace(String input, MatchEvaluator evaluator, int count) { 1132public String Replace(String input, MatchEvaluator evaluator, int count, int startat) { 1149public static String[] Split(String input, String pattern) { 1161public static String[] Split(String input, String pattern, RegexOptions options) { 1170static String[] Split(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) { 1184public String[] Split(String input) { 1201public String[] Split(String input, int count) { 1218public String[] Split(String input, int count, int startat) { 1253public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) { 1259private static void CompileToAssemblyInternal (RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) { 1286internal Match Run(bool quick, int prevlen, String input, int beginning, int length, int startat) { 1329private static CachedCodeEntry LookupCachedAndUpdate(String key) { 1347private CachedCodeEntry CacheCode(String key) { 1424public delegate String MatchEvaluator(Match match); 1440internal String[] _capslist; 1449internal CachedCodeEntry(string key, Hashtable capnames, String[] capslist, RegexCode code, Hashtable caps, int capsize, ExclusiveReference runner, SharedReference repl)
regex\system\text\regularexpressions\RegexBoyerMoore.cs (6)
27internal String _pattern; 40internal RegexBoyerMoore(String pattern, bool caseInsensitive, bool rightToLeft, CultureInfo culture) { 246return(0 == String.CompareOrdinal(_pattern, 0, text, index, _pattern.Length)); 253internal bool IsMatch(String text, int index, int beglimit, int endlimit) { 278internal int Scan(String text, int index, int beglimit, int endlimit) { 368public override String ToString() {
regex\system\text\regularexpressions\RegexCapture.cs (6)
23internal String _text; 27internal Capture(String text, int i, int l) { 78override public String ToString() { 85internal String GetOriginalString() { 92internal String GetLeftSubstring() { 99internal String GetRightSubstring() {
regex\system\text\regularexpressions\RegexCharClass.cs (47)
59private static readonly String InternalRegexIgnoreCase = "__InternalRegexIgnoreCase__"; 60private static readonly String Space = "\x64"; 61private static readonly String NotSpace = NegateCategory(Space); 62private static readonly String Word; 63private static readonly String NotWord; 65internal static readonly String SpaceClass; 66internal static readonly String NotSpaceClass; 67internal static readonly String WordClass; 68internal static readonly String NotWordClass; 69internal static readonly String DigitClass; 70internal static readonly String NotDigitClass; 72private const String ECMASpaceSet = "\u0009\u000E\u0020\u0021"; 73private const String NotECMASpaceSet = "\0\u0009\u000E\u0020\u0021"; 74private const String ECMAWordSet = "\u0030\u003A\u0041\u005B\u005F\u0060\u0061\u007B\u0130\u0131"; 75private const String NotECMAWordSet = "\0\u0030\u003A\u0041\u005B\u005F\u0060\u0061\u007B\u0130\u0131"; 76private const String ECMADigitSet = "\u0030\u003A"; 77private const String NotECMADigitSet = "\0\u0030\u003A"; 79internal const String ECMASpaceClass = "\x00\x04\x00" + ECMASpaceSet; 80internal const String NotECMASpaceClass = "\x01\x04\x00" + ECMASpaceSet; 81internal const String ECMAWordClass = "\x00\x0A\x00" + ECMAWordSet; 82internal const String NotECMAWordClass = "\x01\x0A\x00" + ECMAWordSet; 83internal const String ECMADigitClass = "\x00\x02\x00" + ECMADigitSet; 84internal const String NotECMADigitClass = "\x01\x02\x00" + ECMADigitSet; 86internal const String AnyClass = "\x00\x01\x00\x00"; 87internal const String EmptyClass = "\x00\x00\x00"; 89static Dictionary<String, String> _definedCategories; 99private static readonly String[,] _propTable = { 361Dictionary<String, String> tempCategories = new Dictionary<String, String>(32); 408tempCategories[InternalRegexIgnoreCase] = String.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}", GroupChar, groups[1], groups[4], groups[5], groups[6]); 566private void AddSet(String set) { 602String cat; 767internal static char SingletonChar(String set) { 776internal static bool IsEmpty(String charClass) { 788internal static bool IsSingleton(String set) { 796internal static bool IsSingletonInverse(String set) { 829internal static bool CharInClass(char ch, String set) { 834internal static bool CharInClassRecursive(char ch, String set, int start) { 1048internal String ToStringClass() { 1145private static String SetFromProperty(String capname, bool invert, string pattern) { 1150int res = String.Compare(capname, _propTable[mid,0], StringComparison.Ordinal); 1156String set = _propTable[mid,1]; 1157Debug.Assert(!String.IsNullOrEmpty(set), "Found a null/empty element in RegexCharClass prop table");
regex\system\text\regularexpressions\RegexCode.cs (4)
99internal String[] _strings; // the string/set table 117internal RegexCode(int [] codes, List<String> stringlist, int trackcount, 126_strings = new String[stringlist.Count]; 234internal static ArgumentException MakeException(String message) {
regex\system\text\regularexpressions\RegexCompilationInfo.cs (12)
22private String pattern; 24private String name; 25private String nspace; 41public RegexCompilationInfo(String pattern, RegexOptions options, String name, String fullnamespace, bool ispublic) 45public RegexCompilationInfo(String pattern, RegexOptions options, String name, String fullnamespace, bool ispublic, TimeSpan matchTimeout) { 59public String Pattern { 83public String Name { 103public String Namespace {
regex\system\text\regularexpressions\RegexCompiler.cs (21)
95internal String[] _strings; // the stringtable associated with the RegexCodes 166_getcharM = typeof(String).GetMethod("get_Chars", new Type[] {typeof(int)}); 180private static FieldInfo RegexRunnerField(String fieldname) { 184private static MethodInfo RegexRunnerMethod(String methname) { 215internal static void CompileToAssembly(RegexCompilationInfo[] regexes, AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) { 222String pattern = regexes[i].Pattern; 224String fullname; 2481String str; 2526String str; 3078internal RegexTypeCompiler(AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) { 3123internal Type FactoryTypeFromCode(RegexCode code, RegexOptions options, String typeprefix) { 3124String runnertypename; 3125String runnerfactoryname; 3186internal void GenerateRegexType(String pattern, RegexOptions opts, String name, bool ispublic, RegexCode code, RegexTree tree, Type factory, TimeSpan matchTimeout) { 3252_ilg.Emit(OpCodes.Newarr, typeof(String)); // create new string array 3335Ldstr((String) en.Key); 3345private FieldInfo RegexField(String fieldname) { 3368internal void DefineType(String typename, bool ispublic, Type inheritfromclass) { 3379internal void DefineMethod(String methname, Type returntype) { 3444internal DynamicMethod DefineDynamicMethod(String methname, Type returntype, Type hostType) {
regex\system\text\regularexpressions\RegexFCD.cs (7)
88string pref = String.Empty.PadRight(curNode._m, curNode._ch); 522internal RegexFC(String charClass, bool nullable, bool caseInsensitive) { 551internal String GetFirstChars(CultureInfo culture) { 564internal String _prefix; 567internal static RegexPrefix _empty = new RegexPrefix(String.Empty, false); 569internal RegexPrefix(String prefix, bool ci) { 574internal String Prefix {
regex\system\text\regularexpressions\RegexGroup.cs (2)
26internal static Group _emptygroup = new Group(String.Empty, new int[0], 0, string.Empty); 36internal Group(String text, int[] caps, int capcount, string name)
regex\system\text\regularexpressions\RegexGroupCollection.cs (1)
107public Group this[String groupname] {
regex\system\text\regularexpressions\RegexInterpreter.cs (5)
23internal String [] runstrings; 238private bool Stringmatch(String str) { 330String set; 894String set = runstrings[Operand(0)]; 970String set = runstrings[Operand(0)];
regex\system\text\regularexpressions\RegexMatch.cs (9)
48internal static Match _empty = new Match(null, 1, String.Empty, 0, 0, 0); 78internal Match(Regex regex, int capcount, String text, int begpos, int len, int startpos) 101internal virtual void Reset(Regex regex, String text, int textbeg, int textend, int textstart) { 153public virtual String Result(String replacement) { 175internal virtual String GroupToStringImpl(int groupnum) { 178return String.Empty; 188internal String LastGroupToStringImpl() { 430String text, int begpos, int len, int startpos)
regex\system\text\regularexpressions\RegexMatchCollection.cs (2)
38internal String _input; 49internal MatchCollection(Regex regex, String input, int beginning, int length, int startat) {
regex\system\text\regularexpressions\RegexNode.cs (2)
122internal String _str; 141internal RegexNode(int type, RegexOptions options, String str) {
regex\system\text\regularexpressions\RegexParser.cs (30)
29internal String _pattern; 45internal List<String> _capnamelist; 61internal static RegexTree Parse(String re, RegexOptions op) { 64String[] capnamelist; 90internal static RegexReplacement ParseReplacement(String rep, Hashtable caps, int capsize, Hashtable capnames, RegexOptions op) { 109internal static String Escape(String input) { 159internal static String Unescape(String input) { 205internal void SetPattern(String Re) { 207Re = String.Empty; 570String name; 735String capname = ScanCapname(); 769String uncapname = ScanCapname(); 817String capname = ScanCapname(); 1074String capname = ScanCapname(); 1157String capname = ScanCapname(); 1208internal String ScanCapname() { 1423internal String ParseProperty() { 1440String capname = _pattern.Substring(startpos, Textpos() - startpos); 1628internal void NoteCaptureName(String name, int pos) { 1635_capnamelist = new List<String>(); 1689List<String> oldcapnamelist; 1700_capnamelist = new List<String>(); 1705_capnamelist = new List<String>(); 1717String str = Convert.ToString(j, _culture); 1728internal int CaptureSlotFromName(String capname) { 1745internal bool IsCaptureName(String capname) { 1879String str = _pattern.Substring(pos, cch); 2083internal ArgumentException MakeException(String message) {
regex\system\text\regularexpressions\RegexReplacement.cs (23)
25internal RegexReplacement(String rep, RegexNode concat, Hashtable _caps) { 28List<String> strings; 38strings = new List<String>(); 78internal String _rep; 79internal List<String> _strings; // table of string constants 124private void ReplacementImplRTL(List<String> al, Match match) { 153internal String Pattern { 162internal String Replacement(Match match) { 185internal String Replace(Regex regex, String input, int count, int startat) { 223List<String> al = new List<String>(); 261internal static String Replace(MatchEvaluator evaluator, Regex regex, 262String input, int count, int startat) { 305List<String> al = new List<String>(); 340internal static String[] Split(Regex regex, String input, int count, int startat) { 342String[] result; 351result = new String[1]; 361result = new String[1]; 366List<String> al = new List<String>();
regex\system\text\regularexpressions\RegexRunner.cs (6)
49protected internal String runtext; // text to search 110protected internal Match Scan(Regex regex, String text, int textbeg, int textend, int textstart, int prevlen, bool quick) { 119Match Scan(Regex regex, String text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout) { 383protected static bool CharInSet(char ch, String set, String category) { 388protected static bool CharInClass(char ch, String charClass) {
regex\system\text\regularexpressions\RegexTree.cs (2)
19internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) 44internal String[] _capslist;
regex\system\text\regularexpressions\RegexWriter.cs (5)
30internal List<String> _stringtable; 67_stringtable = new List<String>(); 163internal int StringCode(String str) { 170str = String.Empty; 187internal ArgumentException MakeException(String message) {
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (3)
55if (String.IsNullOrEmpty(serviceName)) { 70Debug.Assert(!String.IsNullOrEmpty(searchServiceName)); 196return (String.Compare(serviceName1, serviceName2, StringComparison.OrdinalIgnoreCase) == 0);
security\system\security\cryptography\asnencodeddata.cs (3)
79return String.Empty; 83string oidValue = String.Empty; 125if (String.Compare(szOid1, szOid2, StringComparison.OrdinalIgnoreCase) != 0)
security\system\security\cryptography\cryptoapi.cs (3)
34internal const String ADVAPI32 = "advapi32.dll"; 35internal const String CRYPT32 = "crypt32.dll"; 36internal const String KERNEL32 = "kernel32.dll";
security\system\security\cryptography\x509\x500Name.cs (2)
118return String.Empty; 169throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "flag"));
security\system\security\cryptography\x509\x509certificate2.cs (4)
657return String.Empty; 664return String.Empty; 678value = String.Empty; 964string name = String.Empty;
security\system\security\cryptography\x509\x509certificate2collection.cs (7)
562if (String.Compare(KeyUsages[index].pwszKeyUsage, (string) findValue, StringComparison.OrdinalIgnoreCase) == 0) { 713if (String.Compare(rdn, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) != 0) 727if (String.Compare(rdn, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) != 0) 853if (String.Compare(s, (string) pvCallbackData, StringComparison.OrdinalIgnoreCase) == 0) 876if (String.Compare(pTemplate.pszObjId, oidValue, StringComparison.OrdinalIgnoreCase) == 0) 914if (String.Compare(eku, oidValue, StringComparison.OrdinalIgnoreCase) == 0) 958if (String.Compare(certPolicy, pPolicyInfo.pszPolicyIdentifier, StringComparison.OrdinalIgnoreCase) == 0)
security\system\security\cryptography\x509\x509chain.cs (1)
70return String.Empty;
security\system\security\cryptography\x509\x509chainelement.cs (1)
34m_description = String.Empty;
security\system\security\cryptography\x509\x509chainpolicy.cs (3)
76throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 87throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 98throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value"));
security\system\security\cryptography\x509\x509extension.cs (1)
642if (String.Compare(extension.Oid.Value, oidValue, StringComparison.OrdinalIgnoreCase) == 0)
security\system\security\cryptography\x509\x509store.cs (4)
65throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeName")); 104throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 149throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "m_location"));
security\system\security\cryptography\x509\x509utils.cs (4)
182String result = null; 198String result = null; 229internal static String DiscardWhiteSpaces (string inputBuffer) { 233internal static String DiscardWhiteSpaces (string inputBuffer, int inputOffset, int inputCount) {
security\system\security\permissions\storepermission.cs (6)
67throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 82throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 128if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0) { 134String strFlags = securityElement.Attribute("Flags"); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
security\system\security\permissions\typedescriptorpermission.cs (7)
123throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 141throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 161throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 173throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)type)); 200if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0) 207String strFlags = securityElement.Attribute("Flags"); 219throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
services\io\system\io\FileSystemWatcher.cs (4)
112this.directory = String.Empty; 220if (String.IsNullOrEmpty(value)) { 223if (String.Compare(filter, value, StringComparison.OrdinalIgnoreCase) != 0) { 303if (String.Compare(directory, value, StringComparison.OrdinalIgnoreCase) != 0) {
services\io\system\io\PatternMatcher.cs (1)
170if (name.Length >= rightLength && String.Compare(expression, 1, name, name.Length - rightLength, rightLength, StringComparison.OrdinalIgnoreCase) == 0) {
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (1)
25internal delegate void UserCallBack(String data);
services\monitoring\system\diagnosticts\CounterCreationData.cs (2)
23private string counterName = String.Empty; 24private string counterHelp = String.Empty;
services\monitoring\system\diagnosticts\DataReceivedEventArgs.cs (3)
13internal String _data; 15internal DataReceivedEventArgs(String data) { 19public String Data {
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\EventLogEntry.cs (1)
423internal string ReplaceMessageParameters( String msg, string[] insertionStrings ) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (4)
1535if (rightLogName != null && currentLogName != null && String.Compare(rightLogName, currentLogName, StringComparison.OrdinalIgnoreCase) != 0) 1553if (rightLogName != null && currentLogName != null && String.Compare(rightLogName, currentLogName, StringComparison.OrdinalIgnoreCase) != 0) 1670strings[i] = String.Empty; 1690strings[i] = String.Empty;
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (4)
145else if(String.IsNullOrEmpty(format)) { 154eventLog.WriteEvent(data, String.Format(CultureInfo.InvariantCulture, format,args)); 174public override void TraceData(TraceEventCache eventCache, String source, TraceEventType severity, int id, object data) { 185public override void TraceData(TraceEventCache eventCache, String source, TraceEventType severity, int id, params object[] data) {
services\monitoring\system\diagnosticts\FileVersionInfo.cs (1)
508String nl = "\r\n";
services\monitoring\system\diagnosticts\PerformanceCounter.cs (14)
72categoryName = String.Empty; 73counterName = String.Empty; 74instanceName = String.Empty; 157if (categoryName == null || String.Compare(categoryName, value, StringComparison.OrdinalIgnoreCase) != 0) { 206if (counterName == null || String.Compare(counterName, value, StringComparison.OrdinalIgnoreCase) != 0) { 278String.Compare(instanceName, value, StringComparison.OrdinalIgnoreCase) != 0) { 486if (currentCategoryName == String.Empty) 488if (this.counterName == String.Empty) 501if (String.IsNullOrEmpty(instanceName)) 504if (!String.IsNullOrEmpty(instanceName)) 516if (currentMachineName != "." && String.Compare(currentMachineName, PerformanceCounterLib.ComputerName, StringComparison.OrdinalIgnoreCase) != 0) 527if (String.IsNullOrEmpty(instanceName)) 530if (!String.IsNullOrEmpty(instanceName)) 534if (String.IsNullOrEmpty(instanceName) && InstanceLifetime == PerformanceCounterInstanceLifetime.Process)
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (1)
367h.Add(counterData[i].CounterName, String.Empty);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (15)
344counterName = String.Empty; 346if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0) 407if (categoryHelp == null || categoryHelp == String.Empty) 432Debug.Assert(!String.IsNullOrEmpty(counterData.CounterHelp), "CounterHelp should have been fixed up by the caller"); 627if (machineName == "." || String.Compare(this.machineName, ComputerName, StringComparison.OrdinalIgnoreCase) == 0) { 651&& (String.Compare((string)systemDllName, PerformanceCounterLib.PerfShimName, StringComparison.OrdinalIgnoreCase) == 0 810if (counterName != null && counterName != String.Empty) { 868counterName = String.Empty; 870if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0) { 881return String.Empty; 963if (String.Compare(this.machineName, ComputerName, StringComparison.OrdinalIgnoreCase) == 0) 1021nameString = String.Empty; 1191if (machineName != "." && String.Compare(machineName, PerformanceCounterLib.ComputerName, StringComparison.OrdinalIgnoreCase) != 0) { 1483if (String.Compare(counterName, counter, StringComparison.OrdinalIgnoreCase) == 0) { 1512if (name != null && name != String.Empty) {
services\monitoring\system\diagnosticts\Process.cs (17)
454mainWindowTitle = String.Empty; 861String processName = processInfo.processName; 874String mainModuleName = MainModule.ModuleName; 1555if (processName == null) processName = String.Empty; 1560if( String.Equals(processName, procs[i].ProcessName, StringComparison.OrdinalIgnoreCase)) { 1963if (!String.IsNullOrEmpty(arguments)) { 2074password = Marshal.StringToCoTaskMemUni(String.Empty); 2187if( !String.IsNullOrEmpty(startInfo.UserName) || (startInfo.Password != null) ) { 2399string processName = String.Empty; 2412return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), processName); 2637internal void OutputReadNotifyUser(String data) { 2651internal void ErrorReadNotifyUser(String data) { 2787String sa = a as String; 2788String sb = b as String; 2790return String.Compare(sa, sb, StringComparison.OrdinalIgnoreCase);
services\monitoring\system\diagnosticts\ProcessManager.cs (7)
324if (String.Compare(computerName, baseName, StringComparison.OrdinalIgnoreCase) == 0) return false; 372String name = Marshal.PtrToStringAnsi((IntPtr)((long)bufferPtr + entrySize)); 1240internal static string GetProcessShortName(String name) { 1241if (String.IsNullOrEmpty(name)) { 1243return String.Empty; 1262String extension = name.Substring(period); 1264if(String.Equals(".exe", extension, StringComparison.OrdinalIgnoreCase) )
services\monitoring\system\diagnosticts\ProcessModule.cs (1)
121return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), this.ModuleName);
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
300string value = (string)key.GetValue(String.Empty);
services\monitoring\system\diagnosticts\SharedUtils.cs (2)
247if (installRoot != null && installRoot != String.Empty) { 317if (version != null && version != String.Empty) {
sys\system\collections\concurrent\BlockingCollection.cs (2)
1784String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue)); 1798String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue));
sys\system\configuration\ApplicationSettingsBase.cs (3)
42private string _settingsKey = String.Empty; 57protected ApplicationSettingsBase(IComponent owner) : this(owner, String.Empty) { 700if (!String.IsNullOrEmpty(fullAppId)) {
sys\system\configuration\ClientSettingsStore.cs (8)
268String.Equals(filename, ConfigurationManagerInternalFactory.Instance.MachineConfigPath, StringComparison.OrdinalIgnoreCase) || 269String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ApplicationConfigUri, StringComparison.OrdinalIgnoreCase) || 270String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) || 271String.Equals(filename, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase); 299if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase)) { 304else if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) { 321if (String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) || 322String.Equals(streamName, ConfigurationManagerInternalFactory.Instance.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) {
sys\system\configuration\ConfigXmlDocument.cs (5)
102public override XmlText CreateTextNode(String text) { 105public override XmlCDataSection CreateCDataSection(String data) { 108public override XmlComment CreateComment(String data) { 111public override XmlSignificantWhitespace CreateSignificantWhitespace(String data) { 114public override XmlWhitespace CreateWhitespace(String data) {
sys\system\configuration\DictionarySectionHandler.cs (3)
52String key = HandlerBase.RemoveRequiredAttribute(child, KeyAttributeName); 53String value; 67String key = HandlerBase.RemoveRequiredAttribute(child, KeyAttributeName);
sys\system\configuration\HandlerBase.cs (1)
207if (String.IsNullOrEmpty(attribute.Value) && allowEmpty == false) {
sys\system\configuration\LocalFileSettingsProvider.cs (10)
36private string _appName = String.Empty; 81if (String.IsNullOrEmpty(name)) { 119value.PropertyValue = String.Empty; 291if (!String.IsNullOrEmpty(prevConfig)) { 321if (String.IsNullOrEmpty(prevConfigFile)) { 382if (!String.IsNullOrEmpty(key)) { 472serializedValue = String.Empty; 511if (!String.IsNullOrEmpty(prevConfig)) { 535if (String.IsNullOrEmpty(xmlString)) { 544if (String.IsNullOrEmpty(escapedString)) {
sys\system\configuration\NameValueSectionHandler.cs (3)
55String key = HandlerBase.RemoveRequiredAttribute(child, keyAttriuteName); 56String value = HandlerBase.RemoveRequiredAttribute(child, valueAttributeName, true/*allowEmptyString*/); 62String key = HandlerBase.RemoveRequiredAttribute(child, keyAttriuteName);
sys\system\configuration\sections\ClientSettingsSection.cs (1)
106public SettingElement(String name, SettingsSerializeAs serializeAs) : this() {
sys\system\configuration\SettingsPropertyIsReadOnlyException.cs (2)
18public SettingsPropertyIsReadOnlyException(String message) 23public SettingsPropertyIsReadOnlyException(String message, Exception innerException)
sys\system\configuration\SettingsPropertyNotFoundException.cs (2)
20public SettingsPropertyNotFoundException(String message) 25public SettingsPropertyNotFoundException(String message, Exception innerException)
sys\system\configuration\SettingsPropertyValue.cs (4)
207if (converter != null && converter.CanConvertTo(typeof(String)) && converter.CanConvertFrom(typeof(String))) 248if (converter != null && converter.CanConvertTo(typeof(String)) && converter.CanConvertFrom(typeof(String)))
sys\system\configuration\SettingsPropertyWrongTypeException.cs (2)
17public SettingsPropertyWrongTypeException(String message) 22public SettingsPropertyWrongTypeException(String message, Exception innerException)
sys\System\IO\compression\FastEncoder.cs (2)
136Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Match: {0}:{1}", matchLen, matchPos), "Compression"); 160Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b ), "Compression");
sys\System\IO\compression\InvalidDataException.cs (2)
15public InvalidDataException (String message) 19public InvalidDataException (String message, Exception innerException)
sys\System\IO\compression\OutputWindow.cs (2)
24Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b), "Compression"); 32Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Length/Distance: {0}:{1}", length, distance), "Compression");
sys\system\io\ports\InternalResources.cs (4)
35internal static String GetMessage(int errorCode) 46String s = sb.ToString(); 85WinIOError(errorCode, String.Empty); 102internal static void WinIOError(int errorCode, String str)
sys\system\io\ports\SerialPort.cs (4)
304((value.CodePage < 50000 || value.CodePage == 54936)&& value.GetType().Assembly == typeof(String).Assembly))) { 674String[] portNames = null; 687portNames = new String[deviceNames.Length]; 705portNames = new String[0];
sys\system\io\ports\SerialStream.cs (3)
821Contract.Assert(false, String.Format("Unexpected error code from EscapeCommFunction in SerialPort.Dispose(bool) Error code: 0x{0:x}", (uint)hr)); 1471InternalResources.WinIOError(hr, String.Empty); 1525InternalResources.WinIOError(hr, String.Empty);
sys\system\Media\SoundPlayer.cs (7)
29private string soundLocation = String.Empty; 66soundLocation = String.Empty; 131value = String.Empty; 249if (String.IsNullOrEmpty(soundLocation) && stream == null) { 420if (!String.IsNullOrEmpty(soundLocation)) 443this.soundLocation = String.Empty; 711if (!String.IsNullOrEmpty(this.soundLocation)) {
sys\system\runtime\interopservices\handlecollector.cs (1)
46this.name = String.Empty;
sys\system\runtime\versioning\FrameworkName.cs (17)
15readonly String m_identifier = null; 17readonly String m_profile = null; 18String m_fullName = null; 23const String c_versionKey = "Version"; 24const String c_profileKey = "Profile"; 30public String Identifier { 44public String Profile { 51public String FullName { 60if (!String.IsNullOrEmpty(Profile)) { 95public override String ToString() { 104public FrameworkName(String identifier, Version version) 107public FrameworkName(String identifier, Version version, String profile) { 121m_profile = (profile == null) ? String.Empty : profile.Trim(); 128public FrameworkName(String frameworkName) { 154m_profile = String.Empty; 192if (!String.IsNullOrEmpty(value)) {
sys\system\security\accesscontrol\semaphoresecurity.cs (2)
55public SemaphoreAccessRule(String identity, SemaphoreRights eventRights, AccessControlType type) 119public SemaphoreSecurity(String name, AccessControlSections includeSections)
System.Activities (13)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
304if (!String.IsNullOrEmpty(namespaceImport)) 442if (!String.IsNullOrEmpty(namespaceImport))
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicSettingsConverter.cs (1)
58if (!(sourceString.Equals(String.Empty) || sourceString.Equals(VisualBasicSettingsValueSerializer.VisualBasicSettingsValue)))
System\Activities\Debugger\DebugInfo.cs (1)
625return String.Empty;
System\Activities\Debugger\SourceLocationProvider.cs (2)
54string symbolString = DebugSymbol.GetSymbol(rootActivity) as String; 58string bodySymbolString = DebugSymbol.GetSymbol(body) as String;
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
279if (!String.IsNullOrEmpty(type.Namespace))
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
1055if (String.IsNullOrEmpty(newVariable.Name))
System\Activities\Expressions\AssemblyReference.cs (1)
188if ((String.Compare(curAsmName.Name, assemblyName.Name, StringComparison.OrdinalIgnoreCase) == 0) &&
System\Activities\Expressions\ValueTypePropertyReference.cs (1)
56else if (String.IsNullOrEmpty(this.PropertyName))
System\Activities\Tracking\ActivityInfo.cs (1)
89if (String.IsNullOrEmpty(this.id))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
2602if (this.IsVB && !String.IsNullOrWhiteSpace(this.settings.RootNamespace)) 2607if (!String.IsNullOrWhiteSpace(this.settings.ActivityNamespace))
System.Activities.Core.Presentation (11)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (3)
35DependencyProperty.Register("Text", typeof(string), typeof(CaseKeyBoxViewModel), new UIPropertyMetadata(String.Empty)); 43string oldText = String.Empty; 151else if ((this.ValueType == typeof(string)) && string.Equals(this.Value, String.Empty))
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (2)
58string trueLabelText = String.Empty; 87string falseLabelText = String.Empty;
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
523HashSet<String> existingTransitionNames = new HashSet<string>();
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
2162HashSet<String> existingStateNames = new HashSet<string>();
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
123return String.Empty;
System\Activities\Core\Presentation\Themes\DesignerStyleDictionary.xaml.cs (1)
34var key = "SequenceStyle";
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
138var msg = StringResourceDictionary.Instance.GetString("activityFactoryWrongTarget");
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
105var name = messageQuerySet.GetUniqueName(key, p => (string)p.GetCurrentValue());
System.Activities.Presentation (40)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
124return String.Empty;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
105private string internalStringValue = String.Empty; 396if (!String.Equals(value, this.internalStringValue)) 1050string newStringValue = String.Empty;
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\DesignObjectWrapper.cs (2)
218var result = string.Empty; 259foreach (var propertyName in properties)
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
122var valueToConvert = isQuotedString ? expressionText.Substring(1, expressionText.Length - 2) : expressionText;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
301return String.Empty;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (1)
25if (!String.IsNullOrEmpty(labelText) && connectorPoints != null)
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 (3)
494var value = nameGetter(p); 901var displayName = displayProperty == null ? "(unknown)" : displayProperty.ComputedValue.ToString(); 989var displayName = displayProperty == null ? "(unknown)" : displayProperty.ComputedValue.ToString();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (3)
84if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 228if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name)) 502if (itemType.IsPrimitive || itemType.IsEnum || itemType.Equals(typeof(String)))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
106if (itemType.IsPrimitive || itemType.IsEnum || itemType.Equals(typeof(String)))
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\Toolbox\TreeViewContainerStyleSelector.cs (1)
143var text = values[0] as string;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1771var iconName = parameter as string;
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
97var nameSpace = this.NamespaceLookup 165foreach (var nameSpace in this.namespaceLookup.Keys)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
599protected void NotifyPropertyChanged(String propertyName)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
41typeof(String),
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
122typeof(String),
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (5)
522if (String.Equals(this.ExpressionText, string.Empty, StringComparison.OrdinalIgnoreCase) && this.ExpressionType != null) 1079var formatString = isQuotedString ? "\"{0}\"" : "{0}"; 1252String expressionString = null; 1898internal String ExpressionText { get; set; } 1900internal String ValidatedExpressionText { get; set; }
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (2)
29new XAttribute("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
146if (designerAttribute != null && !String.IsNullOrEmpty(designerAttribute.DesignerTypeName))
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
48DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemPresenter), new UIPropertyMetadata(String.Empty));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
35DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(String.Empty, new PropertyChangedCallback(WorkflowItemsPresenter.OnHintTextChanged)));
System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
79if (!String.IsNullOrEmpty(workflowViewStateIdRef))
System.AddIn (592)
System\Addin\AddInAttribute.cs (9)
22private String _name; 23private String _publisher; 24private String _version; 25private String _description; 35public AddInAttribute(String name) 61public String Name { 65public String Publisher { 70public String Version { 75public String Description {
System\Addin\Hosting\ActivationWorker.cs (6)
142private static bool IsAssemblyLoaded(String assemblyName) 165throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.IncompatibleAddInBaseAssembly, assemblyName)); 204String assemblyRef = args.Name; 227String rootDir = _pipeline.PipelineRootDirectory; 229List<String> dirsToLookIn = new List<String>();
System\Addin\Hosting\AddInActivator.cs (16)
53internal static T Activate<T>(AddInToken token, AddInSecurityLevel level, String appDomainName) 111private static AppDomain CreateDomain(AddInToken token, PermissionSet permissionSet, String appDomainName) 128private static T Activate<T>(AddInToken token, PermissionSet permissionSet, String appDomainName) 558Collection<String> warnings = new Collection<String>(); 562String[] s = new String[warnings.Count]; 564throw new InvalidOperationException(String.Join("\n", s), inner); 581String contractAsmName = contract.TypeInfo.AssemblyName; 582String addinAdapterAsmName = addinAdapter.TypeInfo.AssemblyName; 587String aName = a.GetName().FullName; 602String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterLoadedInWrongAppDomain, 620String.Format(CultureInfo.CurrentCulture, Res.ContractAssemblyLoadedMultipleTimes, 650String assemblyRef = args.Name; 663List<String> dirsToLookIn = new List<String>();
System\Addin\Hosting\AddInControllerImpl.cs (1)
363private static void Log(String message)
System\Addin\Hosting\AddInProcess.cs (9)
50private String _pathToAddInProcess; 114String folder = RuntimeEnvironment.GetRuntimeDirectory(); 115String exeName = GetProcessName(platform); 120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.MissingAddInProcessExecutable, _pathToAddInProcess)); 282private static String GetProcessName(Platform platform) 284String exeName; 361String args = String.Format(CultureInfo.InvariantCulture, "/guid:{0} /pid:{1}", guid, Process.GetCurrentProcess().Id); 398throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CouldNotCreateAddInProcess, _startupTimeout.ToString()));
System\Addin\Hosting\AddInSegmentDirectoryNotFoundException.cs (2)
15public AddInSegmentDirectoryNotFoundException(String message) 18public AddInSegmentDirectoryNotFoundException(String message, Exception innerException)
System\Addin\Hosting\AddInStore.cs (182)
45private const String PipelineCacheFileName = "PipelineSegments.store"; 46private const String AddInCacheFileName = "AddIns.store"; 48internal const String HostAdaptersDirName = "HostSideAdapters"; 49internal const String ContractsDirName = "Contracts"; 50internal const String AddInAdaptersDirName = "AddInSideAdapters"; 51internal const String AddInBasesDirName = "AddInViews"; 52internal const String AddInsDirName = "AddIns"; 61private static readonly Dictionary<String, CacheInfo> StateCache = new Dictionary<String, CacheInfo>(); 71private static String[] UpdateImpl(String pipelineRootFolderPath, bool demand) 90String deploymentStore = Path.Combine(pipelineRootFolderPath, PipelineCacheFileName); 92Collection<String> warningsCollection = new Collection<String>(); 104String addInDir = Path.Combine(pipelineRootFolderPath, AddInsDirName); 107String[] warnings; 109warnings = new String[warningsCollection.Count]; 114warnings = new String[1]; 118warnings = new String[0]; 132public static String[] Update(PipelineStoreLocation location) 138String appBase = GetAppBase(); 143public static String[] Update(String pipelineRootFolderPath) 150public static String[] UpdateAddIns(String addInsFolderPath) 164Collection<String> warningsCollection = new Collection<String>(); 166String[] warnings; 168warnings = new String[warningsCollection.Count]; 172warnings= new String[0]; 187public static String[] RebuildAddIns(String addInsFolderPath) 199String addInStore = Path.Combine(addInsFolderPath, AddInCacheFileName); 201Collection<String> warningsCollection = new Collection<String>(); 218String[] warnings; 220warnings = new String[warningsCollection.Count]; 224warnings = new String[0]; 238private static void UpdateAddInsIfExist(String addInsPath, Collection<String> warningsCollection) 240String addInStore = Path.Combine(addInsPath, AddInCacheFileName); 259private static bool PipelineStoreIsOutOfDate(String deploymentStore, String path) 263String hostAdapterDir = Path.Combine(path, HostAdaptersDirName); 264String contractDir = Path.Combine(path, ContractsDirName); 265String addInAdapterDir = Path.Combine(path, AddInAdaptersDirName); 266String addInBaseDir = Path.Combine(path, AddInBasesDirName); 267String addInDir = Path.Combine(path, AddInsDirName); 269String[] dirs = new String[]{hostAdapterDir, contractDir, addInAdapterDir, addInBaseDir}; 274foreach (String dir in dirs) 297private static bool AddInStoreIsOutOfDate(String addInPath) 303String storeName = Path.Combine(addInPath, AddInCacheFileName); 308foreach (String dir in Directory.GetDirectories(addInPath)) { 332foreach(String file in GetExecutableFiles(path)) { 353public static String[] Rebuild(String pipelineRootFolderPath) 360public static String[] Rebuild(PipelineStoreLocation location) 366String appBase = GetAppBase(); 373private static String[] RebuildImpl(String pipelineRootFolderPath, bool demand) 391String deploymentStore = Path.Combine(pipelineRootFolderPath, PipelineCacheFileName); 392Collection<String> warningsCollection = new Collection<String>(); 399String addInDir = Path.Combine(pipelineRootFolderPath, AddInsDirName); 414String[] warnings; 416warnings = new String[warningsCollection.Count]; 420warnings = new String[0]; 432internal static List<PartialToken> GetPartialTokens(String pipelineRoot) 448String appBase = GetAppBase(); 454public static Collection<AddInToken> FindAddIns(Type hostViewOfAddIn, PipelineStoreLocation location, params String[] addInFolderPaths) 460String appBase = GetAppBase(); 466public static Collection<AddInToken> FindAddIns(Type hostViewOfAddIn, String pipelineRootFolderPath, params String[] addInFolderPaths) 474private static Collection<AddInToken> FindAddInsImpl(Type hostViewOfAddIn, String pipelineRootFolderPath, bool demand, params String[] addInFolderPaths) 509String defaultAddInLocation = Path.Combine(pipelineRootFolderPath, AddInsDirName); 512List<String> locationsInOrder = new List<String>(); 516foreach (String addInPath in addInFolderPaths) 518if (!String.Equals(defaultAddInLocation, addInPath, StringComparison.OrdinalIgnoreCase)) 526foreach (String addInLocation in locationsInOrder) 558Trace.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.HostViewUnusableBecauseItIsGeneric, hostViewOfAddIn.Name)); 570public static Collection<AddInToken> FindAddIn(Type hostViewOfAddIn, String pipelineRootFolderPath, String addInFilePath, String addInTypeName) 603Collection<String> warningsCollection = new Collection<String>(); 607foreach (String warning in warningsCollection) 614throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, Res.TypeNotFound, addInTypeName, addInFilePath)); 661private static string ValidateAddInPath(String addInPath) 667String fullPath = GetFullPath(addInPath); 674throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FolderNotFound, addInPath)); 688private static string ValidatePipelineRoot(String pipelineRoot) 690String fullPath = GetFullPath(pipelineRoot); 698throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FolderNotFound, pipelineRoot)); 703String[] folders = new String[] { 710foreach (String folder in folders) 715throw new AddInSegmentDirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.PipelineFolderNotFound, folder) ); 726delegate DeploymentState Reader(String path, String filename); 727delegate DeploymentState Builder(String rootDir, Collection<String> warnings); 730private static PipelineDeploymentState GetPipelineDeploymentState(String pipelineRoot) 735private static AddInDeploymentState GetAddInDeploymentState(String addInRoot) 740private static DeploymentState PipelineStateReader(String path, String fileName) 742String fullName = Path.Combine(path, fileName); 746private static DeploymentState AddInStateReader(String path, String fileName) 748String fullName = Path.Combine(path, fileName); 757private static DeploymentState GetDeploymentState(String path, String storeFileName, Reader reader, Builder stateBuilder) 765String fileName = Path.Combine(path, storeFileName); 792Collection<String> warnings = new Collection<string>(); 818private static PipelineDeploymentState BuildPipelineCache(String rootDir, Collection<String> warnings) 836String hostAdapterDir = Path.Combine(rootDir, HostAdaptersDirName); 837String contractDir = Path.Combine(rootDir, ContractsDirName); 838String addInAdapterDir = Path.Combine(rootDir, AddInAdaptersDirName); 839String addInBaseDir = Path.Combine(rootDir, AddInBasesDirName); 840String addInDir = Path.Combine(rootDir, AddInsDirName); 843foreach (String file in Directory.GetFiles(hostAdapterDir)) { 852foreach (String file in Directory.GetFiles(contractDir)) { 861foreach (String file in Directory.GetFiles(addInAdapterDir)) { 871foreach (String file in Directory.GetFiles(addInBaseDir)) { 880warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInBaseFound, addInBaseDir)); 897private static AddInDeploymentState BuildAddInCache(String rootDir, Collection<String> warnings) 914foreach (String singleAddinDir in Directory.GetDirectories(rootDir)) { 926foreach (String file in Directory.GetFiles(singleAddinDir)) { 941warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInFound, singleAddinDir)); 953String[] files = Directory.GetFiles(rootDir); 954String cacheFilePath = Path.Combine(rootDir, AddInCacheFileName); 955foreach (String file in files) 959warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.FileInAddInFolder, file)); 977private static bool IsDllOrExe(String file) 989internal static bool HasPathDiscovery(String path) 1010private static void WriteCache(DeploymentState state, String path, String fileName, DateTime timeStamp) 1019String cacheFileName = Path.Combine(path, fileName); 1067private static T ReadCache<T>(String storeFileName, bool mustExist) 1081throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantFindDeployedAddInsFile, storeFileName)); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.DeployedAddInsFileCorrupted, storeFileName)); 1107throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantDeserializeData, storeFileName), e); 1129internal static String GetAppBase() 1144private static bool Discover(String assemblyFileName, PipelineComponentType componentType, PipelineDeploymentState state, 1145String rootDir, Collection<String> warnings) 1148String appBase = GetAppBase(); 1163foreach (String warning in results.Warnings) 1200private static void DiscoverHostAdapters(String assemblyFileName, List<HostAdapter> container, String rootDir, Collection<String> warnings) 1208String relativeFileName = Utils.MakeRelativePath(assemblyFileName, rootDir); 1231warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName)); 1241warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, PipelineComponentType.HostAdapter, assemblyFileName)); 1251private static AddIn DiscoverAddIn(String assemblyPath, Collection<String> warnings, String fullTypeName) 1258String directory = Path.GetDirectoryName(assemblyPath); 1262String assemblyFileName = Path.GetFileName(assemblyPath); 1266String typeName; 1267String nameSpace = String.Empty; 1298private static bool DiscoverAddIns(String assemblyFileName, List<AddIn> container, String rootDir, Collection<String> warnings) 1306String relativeFileName = Utils.MakeRelativePath(assemblyFileName, rootDir); 1312String.Format(CultureInfo.CurrentCulture, 1339warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName)); 1409Dictionary<String, AddInToken> uniqueAddIns = new Dictionary<String, AddInToken>(StringComparer.OrdinalIgnoreCase); 1424String addInID = pipeline.HostViewId; 1439int r = String.CompareOrdinal(pipeline._hostAdapter.TypeInfo.AssemblyQualifiedName, 1450r = String.CompareOrdinal(pipeline._contract.TypeInfo.AssemblyQualifiedName, 1462r = String.CompareOrdinal(pipeline._addinAdapter.TypeInfo.AssemblyQualifiedName, 1474r = String.CompareOrdinal(pipeline._addinBase.TypeInfo.AssemblyQualifiedName, 1500private static String GetFullPath(string path) 1519public AddInBaseInAddInFolderException(String message) 1523public AddInBaseInAddInFolderException(String message, Exception innerException)
System\Addin\Hosting\AddInToken.cs (35)
40private String _pipelineRootDir; 41private String _addInRootDir; 45private IDictionary<AddInSegmentType, IDictionary<String, String>> _qualificationData; 57public IDictionary<AddInSegmentType, IDictionary<String, String>> QualificationData 63Dictionary<AddInSegmentType, IDictionary<String, String>> dictionary = 64new Dictionary<AddInSegmentType, IDictionary<String, String>>(); 75_qualificationData = new ReadOnlyDictionary<AddInSegmentType, IDictionary<String, String>>(dictionary); 95IDictionary<String, String> pairs = QualificationData[t]; 96foreach (KeyValuePair<String, String> pair in pairs) 111IDictionary<String, String> pairs = QualificationData[t]; 121public String AddInFullName 161internal String PipelineRootDirectory { 176internal String AddInRootDirectory { 185public String Name 190public String Publisher 195public String Version 200public String Description 205public override String ToString() 221internal String HostViewId 271public T Activate<T>(AddInSecurityLevel trustLevel, String appDomainName) 329internal bool HasDuplicatedAssemblies(String rootDir, Collection<String> warnings) 347String rootDir, Collection<String> warnings) 352String fileName = Path.GetFileName(component.Location); 353String location = Path.GetDirectoryName(dependentPath); 357warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ComponentInWrongLocation, fileName, location));
System\Addin\Hosting\InspectionWorker.cs (25)
32internal Collection<String> Warnings; 37private String _assemblyFileName; 38private String _pipelineRootDirectory; 58String assemblyRef = args.Name; 72String simpleName = assemblyRef.Substring(0, assemblyRef.IndexOf(',')); 73if (String.Equals(simpleName, "System.AddIn")) 75if (String.Equals(simpleName, "System.AddIn.Contract")) 77String rootDir = Path.GetDirectoryName(Path.GetDirectoryName(_assemblyFileName)); 81List<String> dirsToLookIn = new List<String>(); 128List<String> potentialFileNames = new List<string>(dirsToLookIn.Count * 2); 129foreach (String path in dirsToLookIn) 131String simpleFileName = Path.Combine(path, simpleName); 132String dllName = simpleFileName + ".dll"; 139foreach (String fileName in potentialFileNames) 207retval.Warnings = new Collection<String>(); 209String assemblyName = null; 234retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 239retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadThrew, e.GetType().Name, e.Message, _assemblyFileName)); 244String relativeFileName = Utils.MakeRelativePath(_assemblyFileName, _pipelineRootDirectory); 271retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInInAddInViewFolder, type.Name, _assemblyFileName)); 313retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 318retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NotImplementedFeatureBadCtorParamOrAssembly, 324retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, _assemblyFileName)); 332retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, componentType, _assemblyFileName));
System\Addin\Hosting\InvalidPipelineStoreException.cs (2)
15public InvalidPipelineStoreException(String message) 18public InvalidPipelineStoreException(String message, Exception innerException)
System\Addin\Hosting\PartialToken.cs (1)
52internal String PipelineRootDirectory {
System\Addin\Hosting\PipelineDeploymentState.cs (4)
71internal void ConnectPipeline(Collection<String> warnings) 121warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectNInvalidParts, unconnectedParts)); 126private static int LookForUnconnectedParts<T>(IEnumerable<T> parts, Collection<String> warnings) where T : PipelineComponent 131warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectOnePart, part.ToString()));
System\Addin\Hosting\QualificationDataItem.cs (8)
23String m_key; 24String m_value; 26internal QualificationDataItem(AddInSegmentType addInSegmentType, String name, String val) 38public String Name 43public String Value 51return (String.Equals(m_key, that.m_key, StringComparison.Ordinal) && 52String.Equals(m_value, that.m_value, StringComparison.Ordinal) &&
System\Addin\Hosting\RemotingHelper.cs (1)
15internal static readonly String s_emptyGuid = Guid.Empty.ToString();
System\Addin\Hosting\Store\AddIn.cs (20)
31private String _version; 32private String _assemblyName; 38private String _fullPathToAddIn; 49internal AddIn(TypeInfo typeInfo, String assemblyLocation, String fullPathToAddin, String assemblyName) 66public String AddInName { 80public String Publisher { 94public String Description { 138public String Version { 148return String.Format(CultureInfo.CurrentCulture, Res.AddInToString, Name, BestAvailableLocation); 152internal override bool Validate(TypeInfo type, Collection<String> warnings) 161_unlocalized.Name = (String)addInAttribute.FixedArgs[0].Value; 167_unlocalized.Description = (String)namedArg.Value; 170_version = (String)namedArg.Value; 173_unlocalized.Publisher = (String)namedArg.Value; 176warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.UnknownNamedAddInAttributeParameter, namedArg.Name, type.FullName, type.Assembly.ModuleName)); 182if (String.IsNullOrEmpty(_unlocalized.Name)) 184warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInMustSpecifyName, type.FullName, type.Assembly.ModuleName)); 252warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoDefaultConstructor, type.FullName, type.Assembly.ModuleName));
System\Addin\Hosting\Store\AddInAdapter.cs (9)
31public AddInAdapter(TypeInfo typeInfo, String assemblyLocation) : base(typeInfo, assemblyLocation) 45public override String ToString() 47return String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterToString, Name, BestAvailableLocation); 50internal override bool Validate(Type type, Collection<String> warnings) 57warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustBeMBRO, type.AssemblyQualifiedName)); 64warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 76warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 85warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterOneUnusableConstructor, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterNoUsableConstructors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\AddInBase.cs (6)
29internal String _assemblyName; 31public AddInBase(TypeInfo typeInfo, TypeInfo[] activatableAs, String assemblyLocation, String assemblyName) : base(typeInfo, assemblyLocation) 39return String.Format(CultureInfo.CurrentCulture, Res.AddInBaseToString, Name, BestAvailableLocation); 42internal override bool Validate(Type type, Collection<String> warnings) 46warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInBaseMustBeSubclassable, Name));
System\Addin\Hosting\Store\ContractComponent.cs (5)
27public ContractComponent(TypeInfo typeInfo, String assemblyLocation) : base(typeInfo, assemblyLocation) 33return String.Format(CultureInfo.CurrentCulture, Res.ContractToString, Name, BestAvailableLocation); 36internal override bool Validate(Type type, Collection<String> warnings) 41warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustImplementIContract, Name)); 47warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustBeInterface, Name));
System\Addin\Hosting\Store\HostAdapter.cs (6)
35public HostAdapter(TypeInfo typeInfo, String assemblyLocation) 53return String.Format(CultureInfo.CurrentCulture, Res.HostAdapterToString, Name, BestAvailableLocation); 56internal override bool Validate(TypeInfo type, Collection<String> warnings) 70warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorMultipleParams, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorBadParam, type.AssemblyQualifiedName, paramType.FullName)); 98warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterNoValidCtors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\PipelineComponent.cs (44)
45private String _location; // fully qualified path, known after deserialization 46private String _relativeLocation; // relative to the add-in root or pipeline root. 52private IDictionary<String, String> _qualificationData; 54internal static readonly IDictionary<String, String> s_emptyDictionary = 55new ReadOnlyDictionary<String, String>(new Dictionary<String, String>()); 65internal PipelineComponent(TypeInfo typeInfo, String assemblyLocation) 87Dictionary<String, String> dictionary = new Dictionary<String, String>(); 93String key = (String)args[0].Value; 94String val = (String)args[1].Value; 99new ReadOnlyDictionary<String, String>(dictionary); 105Dictionary<String, String> dictionary = new Dictionary<String, String>(); 111String key = (String)fai[0].Value; 112String val = (String)fai[1].Value; 117new ReadOnlyDictionary<String, String>(dictionary); 121internal IDictionary<String, String> QualificationData 177internal void SetRootDirectory(String root) 190public String Location { 197internal String RelativeLocation { 203protected String BestAvailableLocation { 205System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.Result<String>() != null); 212public String Name { 214System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.Result<String>() != null); 223public String FullName { 241internal virtual bool Validate(Type type, Collection<String> warnings) 249internal virtual bool Validate(TypeInfo type, Collection<String> warnings) 253warnings.Add(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.ComponentUnusableBecauseItIsGeneric, type.Name));
System\Addin\Hosting\Utils.cs (35)
133internal static String PublicKeyToString(byte[] key) 147internal static String MakeRelativePath(String path, String root) 149System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(path)); 150System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(root)); 153System.Diagnostics.Contracts.Contract.Requires(String.Equals(path, Path.GetFullPath(path))); 154System.Diagnostics.Contracts.Contract.Requires(String.Equals(root, Path.GetFullPath(root))); 155System.Diagnostics.Contracts.Contract.Ensures(!Path.IsPathRooted(System.Diagnostics.Contracts.Contract.Result<String>())); 163String relPath = path.Substring(root.Length + skip); 171internal static bool AssemblyRefEqualsDef(String assemblyRef, String assemblyDef) 173System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyRef)); 174System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef)); 176return String.Equals(assemblyRef, assemblyDef); 181internal static bool AssemblyDefEqualsDef(String assemblyDef1, String assemblyDef2) 183System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef1)); 184System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyDef2)); 186return String.Equals(assemblyDef1, assemblyDef2); 191internal static bool FullTypeNameDefEqualsDef(String typeAndAssemblyName1, String typeAndAssemblyName2) 193System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeAndAssemblyName1)); 194System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeAndAssemblyName2)); 196return String.Equals(typeAndAssemblyName1, typeAndAssemblyName2); 203internal static Assembly FindLoadedAssemblyRef(String assemblyRef) 205System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(assemblyRef)); 217internal static Assembly LoadAssemblyFrom(List<String> dirsToLookIn, String assemblyRef) 222String simpleName = assemblyRef.Substring(0, firstComma); 224List<String> potentialFileNames = new List<string>(dirsToLookIn.Count * 2); 225foreach (String path in dirsToLookIn) 227String simpleFileName = Path.Combine(path, simpleName); 228String dllName = simpleFileName + ".dll"; 235foreach (String fileName in potentialFileNames)
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (9)
9private String m_SimpleName; 10private String m_Culture; // Never an empty string, always null for non-empty 12private String m_FullName; 13private String m_PublicKeyToken; 46String Name, String Culture) 62public String PublicKeyToken 110public override String ToString() 117String PKT = PublicKeyToken;
System\Addin\MiniReflection\MetadataReader\Metadata.cs (16)
24public override String ToString() 26return String.Format(CultureInfo.InvariantCulture, "Table {0} ({1}), entry {2}", MDTables.Names[(Int32)Table], (UInt32)Table, Index); 29public String ToMDToken() 31return String.Format(CultureInfo.InvariantCulture, "{0:x2}{1:x6}", (UInt32)Table, Index); 38internal static readonly String[] Names = new String[(Int32)Tables.MaxTable + 1]; 157Names[i] = String.Format(CultureInfo.InvariantCulture, "<<{0}>>", i); 172String Name; 176internal EncodingDesc(String N, int T, Tables[] W) 277throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.UnknownMetadataTable, Table)); 361String.Format(CultureInfo.CurrentCulture, Res.InvalidMetadataTokenTooManyRows, 370throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.NilMetadataToken, token)); 380private String GetString(UInt32 index) 386private String ReadNextString() 435internal String ReadString() 439String result = GetString(index);
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (16)
15internal String Name; 59public PEFileReader(String fileName) 69throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName)); 84throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName)); 115private String Name; 126private static String ReadString(BinaryReader B, UInt32 NChars) 156private bool FindStream(String name, out StreamDesc result) 168private String ReadUTF8String(UInt32 NChars) 180throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadRVA, _fileName)); 214String Version = ReadUTF8String(VersionLength); 236private static String HexChar(int x) 260internal static String ByteToHexString(byte b) 262String result = HexChar((b & 0xF0) >> 4) + HexChar(b & 0xF); 266internal static String BytesToHexString(byte[] bytes) 359String SimpleName = MetaData.ReadString(); 360String Culture = MetaData.ReadString();
System\Addin\MiniReflection\MiniAssembly.cs (38)
36private List<String> _dependencyDirs; 39private String _fullName; 41public MiniAssembly(String peFileName) : base(peFileName) 43_dependencyDirs = new List<String>(); 57public List<String> DependencyDirs 84throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.MultiFileAssembliesNotSupported, FullName)); 96public TypeInfo FindTypeInfo(String typeName, String nameSpace) 103private static MetadataToken FindTypeDef(PEFileReader peFile, MDTables mdScope, String typeName, String nameSpace) 111String rowTypeName = mdScope.ReadString(); 112if (!String.Equals(typeName, rowTypeName)) 114String rowNameSpace= mdScope.ReadString(); 115if (!String.Equals(nameSpace, rowNameSpace)) 119throw new TypeLoadException(String.Format(CultureInfo.CurrentCulture, Res.CantFindTypeName, nameSpace, typeName)); 151String assemblySimpleName = metaData.ReadString(); // simple name 152String cultureName = metaData.ReadString(); // assembly culture 153if (!String.IsNullOrEmpty(cultureName)) 172throw new FileLoadException(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadRefDefMismatch, 176if (!String.IsNullOrEmpty(loadedAssemblyName.CultureInfo.Name)) 178throw new FileLoadException(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadRefDefMismatch, 179assemblySimpleName, String.Empty, loadedAssemblyName.CultureInfo.Name)); 185public static MiniAssembly Open(String simpleName, IList<String> dependencyDirs, bool throwOnError) 187String fileName = FindAssembly(simpleName, dependencyDirs, throwOnError); 193private static String FindAssembly(String simpleName, IList<String> searchDirs, bool throwOnError) 195System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(simpleName)); 198String libName = simpleName + ".dll"; 199String exeName = simpleName + ".exe"; 200foreach (String dir in searchDirs) 202String fileName = Path.Combine(dir, libName); 211throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FileNotFoundForInspection, simpleName), libName); 216internal String FullName { 258String nameA, nameRefB; 289String simpleName = metaData.ReadString(); 290String culture = metaData.ReadString();
System\Addin\MiniReflection\MiniCustomAttributeInfo.cs (5)
25private String _typeName; 30public MiniCustomAttributeInfo(String typeName, MiniCustomAttributeFixedArgInfo[] fixedArgs, 57private String _argName; 61public MiniCustomAttributeNamedArgInfo(CorElementType type, String name, Object value) 72public String Name
System\Addin\MiniReflection\MiniModule.cs (11)
32private String _moduleName; 34protected MiniModule(String peFileName) 81public String ModuleName { 129String attributeName = customAttribute.Name; 130String attributeNameSpace = customAttribute.Namespace; 148String caTypeName = null, caNameSpace = null; 162if (!String.Equals(caTypeName, attributeName)) 165if (!String.Equals(caNameSpace, attributeNameSpace)) 178String typeName = MetaData.ReadString(); 179String nameSpace = MetaData.ReadString(); 186throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.UnknownTokenType, targetType.Table, Assembly.FullName));
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
110return new TypeInfo(typeof(String));
System\Addin\MiniReflection\TypeInfo.cs (58)
52private static volatile ICollection<String> Warnings; 53private const String AssemblyFieldName = "_assembly"; 54private const String ModuleFieldName = "_module"; 55private const String MDTokenFieldName = "_mdToken"; 56private const String TypeNameFieldName = "_typeName"; 57private const String NameSpaceFieldName = "_nameSpace"; 58private const String AssemblyQualifiedFieldName = "_assemblyQualifiedName"; 59private const String RepresentationFieldName = "_representation"; 60private const String IsGenericFieldName = "_isGeneric"; 65private volatile String _typeName; 66private volatile String _nameSpace; 67private volatile String _assemblyQualifiedName; 94internal TypeInfo(MetadataToken typeDef, MiniAssembly assembly, String typeName, String nameSpace) 97System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeName)); 108internal TypeInfo(MetadataToken typeDef, MiniAssembly assembly, MiniModule module, String typeName, String nameSpace, bool isGeneric) 112System.Diagnostics.Contracts.Contract.Requires(!String.IsNullOrEmpty(typeName)); 125internal String FullTypeName 127get { return String.IsNullOrEmpty(_nameSpace) ? _typeName : _nameSpace + "." + _typeName; } 158String simpleName = MetaData.ReadString(); 159String culture = MetaData.ReadString(); 178String typeRefDefiningAssemblyName = String.Format(CultureInfo.InvariantCulture, 197_nameSpace = String.Empty; 229internal static void SetWarnings(ICollection<String> warnings) 354public String Name 362public String FullName { 365if (String.IsNullOrEmpty(_nameSpace)) 371public String AssemblyQualifiedName { 389public String AssemblyName { 401String asmName = _assembly.FullName; 528String methodName = MetaData.ReadString(); // Name 530if (!String.Equals(methodName, ".ctor")) 662throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.UnrecognizedCorElementType, b)); 786String ifaceName = mdScope.ReadString(); 787if (!String.Equals(ifaceName, ifaceType._typeName)) 789String ifaceNameSpace = mdScope.ReadString(); 790if (!String.Equals(ifaceNameSpace, ifaceType._nameSpace)) 803String ifaceName = mdScope.ReadString(); 804if (!String.Equals(ifaceName, ifaceType._typeName)) 806String ifaceNameSpace = mdScope.ReadString(); 807if (!String.Equals(ifaceNameSpace, ifaceType._nameSpace)) 822throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.UnsupportedInterfaceType, interfaceToken.Table)); 844String refTypeName = thisMetaData.ReadString(); // Name 845String refNamespace = thisMetaData.ReadString(); // Namespace 924String thisType = AssemblyQualifiedName; 925String thatType = value.AssemblyQualifiedName; 937public override String ToString() 971String caTypeName = null, caNameSpace = null; 1012if (parameterInfo.ParameterType == typeof(String)) 1014String fixedParamString = ReadSerString(caBlob, ref b); 1029String propName, value; 1046String result = s_encoder.GetString(bytes, (int)b, (int)len); 1051private static void ReadNamedArg(byte[] bytes, ref uint b, out String name, out String value) 1059String fieldOrPropName = ReadSerString(bytes, ref b); 1062String fixedArg = ReadSerString(bytes, ref b);
System\Addin\Pipeline\ContractAdapter.cs (3)
50String appBase = AddInStore.GetAppBase(); 65private static TView ContractToViewAdapterImpl<TView>(ContractHandle contract, String pipelineRoot, bool demand) 71if (String.IsNullOrEmpty(pipelineRoot))
System\Addin\Pipeline\ContractBase.cs (6)
35private List<String> m_contractIdentifiers; 48public virtual String RemoteToString() 61public virtual IContract QueryContract(String contractIdentifier) 75List<String> identifiers = new List<String>(interfaces.Length); 236Trace.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.FailedToUnloadAppDomain, AppDomain.CurrentDomain.FriendlyName, ex.Message));
System\Addin\ResourceState.cs (3)
32internal String Name; 33internal String Publisher; 34internal String Description;
System.AddIn.Contract (11)
System\Addin\Contract\QualificationDataAttribute.cs (6)
19private String m_name; 20private String m_value; 22public QualificationDataAttribute(String name, String value) 28public String Name 33public String Value
System\Addin\Contract\RemoteArgument.cs (5)
577public RemoteArgument(System.String value) 585public RemoteArgument(System.String value, bool isByRef) 1225public System.String StringValue 1233return default(System.String); 1239return (System.String)this._value;
System.ComponentModel.DataAnnotations (63)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (2)
128throw new InvalidOperationException(String.Format( 132String.Join(", ", buddyTypeMembers.ToArray())));
DataAnnotations\CompareAttribute.cs (3)
29return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, OtherPropertyDisplayName ?? OtherProperty); 41return new ValidationResult(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CompareAttribute_UnknownProperty, OtherProperty)); 58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DataAnnotations\CustomValidationAttribute.cs (8)
138return new ValidationResult(String.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.CustomValidationAttribute_Type_Conversion_Failed, 183return String.Format(CultureInfo.CurrentCulture, this._lastMessage, name); 208return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Type_Must_Be_Public, this._validatorType.Name); 219if (String.IsNullOrEmpty(this._method)) { 226return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Not_Found, this._method, this._validatorType.Name); 231return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Must_Return_ValidationResult, this._method, this._validatorType.Name); 238return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name); 248return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name);
DataAnnotations\DataTypeAttribute.cs (2)
109if (this.DataType == DataType.Custom && String.IsNullOrEmpty(this.CustomDataType)) { 110throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DataTypeAttribute_EmptyDataTypeString));
DataAnnotations\DisplayAttribute.cs (3)
234throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateField", "GetAutoGenerateField")); 260throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateFilter", "GetAutoGenerateFilter")); 286throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "Order", "GetOrder"));
DataAnnotations\EnumDataTypeAttribute.cs (2)
27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName)); 34if (stringValue != null && String.IsNullOrEmpty(stringValue)) {
DataAnnotations\FileExtensionsAttribute.cs (2)
27return String.IsNullOrWhiteSpace(_extensions) ? "png,jpg,jpeg,gif" : _extensions; 54return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, ExtensionsFormatted);
DataAnnotations\LocalizableString.cs (1)
133string exceptionMessage = String.Format(CultureInfo.CurrentCulture,
DataAnnotations\MaxLengthAttribute.cs (2)
64var str = value as string; 93throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MaxLengthAttribute_InvalidMaxLength));
DataAnnotations\MinLengthAttribute.cs (2)
49var str = value as string; 78throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MinLengthAttribute_InvalidMinLength));
DataAnnotations\RangeAttribute.cs (4)
73throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, maximum, minimum)); 101if (s != null && String.IsNullOrEmpty(s)) { 132return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Minimum, this.Maximum); 166String.Format(
DataAnnotations\RegularExpressionAttribute.cs (2)
66if (String.IsNullOrEmpty(stringValue)) { 88return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Pattern);
DataAnnotations\RequiredAttribute.cs (1)
41var stringValue = value as string;
DataAnnotations\Schema\ColumnAttribute.cs (2)
28throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 62throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
26throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name"));
DataAnnotations\Schema\InversePropertyAttribute.cs (1)
20throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "property"));
DataAnnotations\Schema\TableAttribute.cs (2)
21throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 40throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\StringLengthAttribute.cs (2)
76return String.Format(CultureInfo.CurrentCulture, errorMessage, name, this.MaximumLength, this.MinimumLength); 88throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, this.MaximumLength, this.MinimumLength));
DataAnnotations\UIHintAttribute.cs (8)
137var a = this.UIHint ?? String.Empty; 138var b = this.PresentationLayer ?? String.Empty; 192throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.UIHintImplementation_NeedEvenNumberOfControlParameters)); 200String.Format( 209String.Format( 218String.Format(
DataAnnotations\ValidationAttribute.cs (4)
252String.Format( 260String.Format( 271throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ValidationAttribute_NeedBothResourceTypeAndResourceName)); 298return String.Format(CultureInfo.CurrentCulture, this.ErrorMessageString, name);
DataAnnotations\ValidationAttributeStore.cs (1)
178throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.AttributeStore_Unknown_Property, this._type.Name, propertyName), "propertyName");
DataAnnotations\Validator.cs (1)
319throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.Validator_Property_Value_Wrong_Type, propertyName, propertyType), "value");
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
System.Configuration (236)
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 (4)
27ConfigurationProperty propFile = new ConfigurationProperty("file", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 77return String.Empty; 88if (!String.IsNullOrEmpty((string)base[s_propFile])) { // don't inherit from the parent 115if (String.IsNullOrEmpty(configFile)) {
System\Configuration\BaseConfigurationRecord.cs (15)
610if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 684if (!String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 1992else if (!String.IsNullOrEmpty(input.SectionXmlInfo.ConfigSource)) { 2017if (!input.IsConfigBuilderDetermined && !String.IsNullOrWhiteSpace(input.SectionXmlInfo.ConfigBuilderName)) { 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 (4)
26private String _callbackMethodName = String.Empty; 35if (!String.IsNullOrEmpty(_callbackMethodName)) { 70public String CallbackMethodName {
System\Configuration\ClientConfigPaths.cs (22)
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)) { 415private static String GetHash(Stream s) { 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\ConfigurationElement.cs (17)
176_lockedAllExceptAttributesList = new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedExceptionList, String.Empty, source._lockedAllExceptAttributesList); 527_lockedAllExceptAttributesList = new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedExceptionList, String.Empty, parentElement._lockedAllExceptAttributesList); 714protected internal Object this[String propertyName] { 958p = (PropertySourceInfo)PropertyInfoInternal(String.Empty); // Get the filename of the parent if prop is not there 960return String.Empty; 967p = (PropertySourceInfo)PropertyInfoInternal(String.Empty); 1118protected internal virtual bool SerializeToXmlElement(XmlWriter writer, String elementName) { 1268private bool SerializeLockList(ConfigurationLockCollection list, String elementKey, XmlWriter writer) { 1287internal void ReportInvalidLock(string attribToLockTrim, ConfigurationLockCollectionType lockedType, ConfigurationValue value, String collectionProperties) { 1292if (!String.IsNullOrEmpty(collectionProperties) && 1370if (!String.IsNullOrEmpty(attribToLockTrim)) { 1461String propertyName = reader.Name; 1516String propertyName = reader.Name; 1586_lockedAllExceptAttributesList = new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedExceptionList, String.Empty, newCollection); 1817protected virtual bool OnDeserializeUnrecognizedAttribute(String name, String value) { 1821protected virtual bool OnDeserializeUnrecognizedElement(String elementName, XmlReader reader) {
System\Configuration\ConfigurationElementCollection.cs (9)
23private String _addElement = DefaultAddItemName; 24private String _removeElement = DefaultRemoveItemName; 25private String _clearElement = DefaultClearItemsName; 32internal String internalElementTagName = string.Empty; 1078protected override bool OnDeserializeUnrecognizedElement(String elementName, XmlReader reader) { 1102String propertyName = reader.Name; 1177protected virtual String ElementName { 1212if (!String.IsNullOrEmpty(ElementName)) { 1215return String.Empty;
System\Configuration\ConfigurationLockCollection.cs (6)
28private string _ignoreName = String.Empty; 31private string SeedList = String.Empty; 39: this(thisElement, lockType, String.Empty) { 74SeedList = String.Empty; 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 (16)
30private String _addElementName = null; 31private String _removeElementName = null; 32private String _clearElementName = null; 36public ConfigurationProperty(String name, Type type) { 42defaultValue = String.Empty; 50public ConfigurationProperty(String name, Type type, Object defaultValue) 54public ConfigurationProperty(String name, Type type, Object defaultValue, ConfigurationPropertyOptions options) 58public ConfigurationProperty(String name, 67public ConfigurationProperty(String name, 180String.IsNullOrEmpty(name)) { 254defaultValue = String.Empty; 363internal String AddElementName { 368internal String RemoveElementName { 373internal String ClearElementName { 433!_converter.CanConvertFrom(typeof(String)) || 434!_converter.CanConvertTo(typeof(String))) {
System\Configuration\ConfigurationPropertyAttribute.cs (4)
27internal static readonly String DefaultCollectionPropertyName = ""; 30private String _Name; 34public ConfigurationPropertyAttribute(String name) { 38public String Name {
System\Configuration\ConfigurationPropertyCollection.cs (2)
52public ConfigurationProperty this[String name] { 64public bool Contains(String name) {
System\Configuration\ConfigurationSectionCollection.cs (1)
143if (String.IsNullOrEmpty(name))
System\Configuration\ConfigurationSectionGroup.cs (4)
13string _configKey = String.Empty; 14string _group = String.Empty; 15string _name = String.Empty; 153if (String.IsNullOrEmpty(typeName)) {
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
149if (String.IsNullOrEmpty(name))
System\Configuration\ConnectionStringSettings.cs (6)
25new ConfigurationProperty("providerName", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 37public ConnectionStringSettings(String name, String connectionString) 44public ConnectionStringSettings(String name, String connectionString, String providerName)
System\Configuration\ErrorInfoXmlDocument.cs (5)
95public override XmlText CreateTextNode(String text) { 98public override XmlCDataSection CreateCDataSection(String data) { 101public override XmlComment CreateComment(String data) { 104public override XmlSignificantWhitespace CreateSignificantWhitespace(String data) { 107public override XmlWhitespace CreateWhitespace(String data) {
System\Configuration\ExeConfigurationFileMap.cs (6)
25_exeConfigFilename = String.Empty; 26_roamingUserConfigFilename = String.Empty; 27_localUserConfigFilename = String.Empty; 32_exeConfigFilename = String.Empty; 33_roamingUserConfigFilename = String.Empty; 34_localUserConfigFilename = String.Empty;
System\Configuration\GenericEnumConverter.cs (2)
45if (String.IsNullOrEmpty(value)) { 50if (!String.IsNullOrEmpty(value) &&
System\Configuration\Internal\InternalConfigRoot.cs (1)
233string currentConfigPath = String.Join(BaseConfigurationRecord.ConfigPathSeparatorString, parts, 0, index);
System\Configuration\KeyValueConfigurationCollection.cs (3)
67public String[] AllKeys { 97public void Add(String key, String value) {
System\Configuration\KeyValueConfigurationElement.cs (2)
19new ConfigurationProperty("key", typeof(string), String.Empty, ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired); 21new ConfigurationProperty("value", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
System\Configuration\KeyValueInternalCollection.cs (2)
27public override void Add(String key, String value) {
System\Configuration\MgmtConfigurationRecord.cs (27)
178if (String.IsNullOrEmpty(factoryRecord.FactoryTypeName)) { 627if (String.IsNullOrEmpty(oldConfigSource)) { 631if (String.IsNullOrEmpty(newConfigSource)) { 639if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 781if (!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource)) { 839if (!String.IsNullOrEmpty(rawXml)) { 1123filepath = String.Empty; 1126if (!String.IsNullOrEmpty(filepath)) { 1166if (String.IsNullOrEmpty(ConfigStreamInfo.StreamName)) { 1181if (!String.IsNullOrEmpty(streamInfo.SectionName)) { 1713addToConfigSourceUpdates = requireUpdates && !String.IsNullOrEmpty(sectionXmlInfo.ConfigSource); 1730addToConfigSourceUpdates = requireUpdates && !String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource); 1748!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) 1764if (String.Equals(configSection.SectionInformation.Name, ConfigurationStringConstants.WinformsApplicationConfigurationSectionName, StringComparison.Ordinal) 1765&& (String.Equals(configSection._configRecord.ConfigPath, ClientConfigurationHost.MachineConfigName, StringComparison.Ordinal) 1766|| String.Equals(updatedXml, WriteEmptyElement(Microsoft_CONFIGURATION_SECTION), StringComparison.Ordinal))) { 1783if ( !String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) || 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)) { 2190utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_NOPATH, locationUpdates.OverrideMode.LocationTagXmlString, BoolToString(locationUpdates.InheritInChildApps))); 2193utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_PATH, locationUpdates.OverrideMode.LocationTagXmlString, BoolToString(locationUpdates.InheritInChildApps), _locationSubPath)); 2219utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_PATH, OverrideModeSetting.LocationDefault.LocationTagXmlString, KEYWORD_TRUE, _locationSubPath)); 2997if ( String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource) || 3058if (!String.IsNullOrEmpty(configSection.SectionInformation.ConfigSource)) {
System\Configuration\NameValueConfigurationCollection.cs (1)
70public String[] AllKeys
System\Configuration\NameValueConfigurationElement.cs (2)
29new ConfigurationProperty("name", typeof(string), String.Empty, ConfigurationPropertyOptions.IsKey); 31new ConfigurationProperty("value", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
System\Configuration\OverrideMode.cs (2)
231string result = String.Empty; 267result = String.Format(CultureInfo.InvariantCulture, BaseConfigurationRecord.KEYWORD_LOCATION_OVERRIDEMODE_STRING, attrib, value);
System\Configuration\PropertyInformation.cs (3)
149psi = ThisElement.Values.GetSourceInfo(String.Empty); 152return String.Empty; 170psi = ThisElement.Values.GetSourceInfo(String.Empty);
System\Configuration\PropertySourceInfo.cs (1)
45filename = String.Empty;
System\Configuration\ProtectedConfigurationSection.cs (1)
81return String.Format(CultureInfo.InvariantCulture, EncryptedSectionTemplate,
System\Configuration\ProviderSettings.cs (9)
27private readonly ConfigurationProperty _propType = new ConfigurationProperty("type", typeof(String), "", 38public ProviderSettings(String name, String type) : this() 135public String Name 139return (String)base[_propName]; 148public String Type 152return (String)base[_propType]; 217protected override bool OnDeserializeUnrecognizedAttribute(String name, String value)
System\Configuration\ProviderSettingsCollection.cs (1)
51public void Remove(String name)
System\Configuration\SectionInformation.cs (8)
69_configKey = String.Empty; 70_group = String.Empty; 71_name = String.Empty; 470return String.Empty; 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\StringUtil.cs (8)
36s1 = String.Empty; 40s2 = String.Empty; 43return String.Equals(s1, s2, StringComparison.Ordinal); 50return String.Equals(s1, s2, StringComparison.OrdinalIgnoreCase); 78return 0 == String.Compare(s1, 0, s2, 0, s2.Length, StringComparison.Ordinal); 89return 0 == String.Compare(s1, 0, s2, 0, s2.Length, StringComparison.OrdinalIgnoreCase); 93String[] stringKeys = new String[objectArray.Length];
System\Configuration\TypeUtil.cs (1)
200ilGen.Emit(OpCodes.Ldsfld, typeof(String).GetField("Empty"));
System\Configuration\updateconfighost.cs (2)
38Debug.Assert(!String.IsNullOrEmpty(oldStreamname)); 40if (String.IsNullOrEmpty(oldStreamname)) {
System\Configuration\UrlPath.cs (6)
40if (String.IsNullOrEmpty(dir)) 43if (String.IsNullOrEmpty(subdir)) 62if (String.Compare(dir, 0, subdir, 0, lDir, StringComparison.OrdinalIgnoreCase) != 0) 96if (String.IsNullOrEmpty(path)) 99if (String.IsNullOrEmpty(subpath)) 121if (String.Compare(path, 0, subpath, 0, lPath, StringComparison.OrdinalIgnoreCase) != 0)
System\Configuration\ValidatorUtils.cs (2)
30throw new ArgumentException(SR.GetString(SR.Validator_value_type_invalid), String.Empty); 83throw new ArgumentException( String.Format( CultureInfo.InvariantCulture,
System\Configuration\WhiteSpaceTrimStringConverter.cs (1)
27return String.Empty;
System\Configuration\XmlUtil.cs (1)
327if (!String.IsNullOrEmpty(_reader.Value)) {
System.Core (295)
Microsoft\Scripting\Ast\CatchBlock.cs (2)
81/// Returns a <see cref="String"/> that represents the current <see cref="Object"/>. 83/// <returns>A <see cref="String"/> that represents the current <see cref="Object"/>. </returns>
Microsoft\Scripting\Ast\DebugViewWriter.cs (17)
118Debug.Assert(String.IsNullOrEmpty(le.Name)); 123Debug.Assert(String.IsNullOrEmpty(p.Name)); 128Debug.Assert(String.IsNullOrEmpty(target.Name)); 396op = String.Format( 418if (String.IsNullOrEmpty(node.Name)) { 432String.Format(CultureInfo.CurrentCulture, 490Out(String.Format( 495Out(String.Format( 508Out(String.Format( 952Out(String.Format(CultureInfo.CurrentCulture, "<{0}>", node.Type.ToString())); 1085Out(String.Format(CultureInfo.CurrentCulture, ".Extension<{0}>", node.GetType().ToString())); 1099Out(String.Format( 1113Out(String.Format(CultureInfo.CurrentCulture, ".LabelTarget {0}:", GetLabelTargetName(target))); 1119return String.Format(CultureInfo.CurrentCulture, "#Label{0}", GetLabelTargetId(target)); 1127String.Format( 1145if (String.IsNullOrEmpty(lambda.Name)) { 1165return String.Format(CultureInfo.CurrentCulture, "'{0}'", name);
Microsoft\Scripting\Ast\ElementInit.cs (2)
68/// Creates a <see cref="String"/> representation of the node. 70/// <returns>A <see cref="String"/> representation of the node.</returns>
Microsoft\Scripting\Ast\Expression.cs (2)
220/// Creates a <see cref="String"/> representation of the Expression. 222/// <returns>A <see cref="String"/> representation of the Expression.</returns>
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (27)
42public String DebugView { get { return _node.DebugView; } } 60public String DebugView { get { return _node.DebugView; } } 89public String DebugView { get { return _node.DebugView; } } 105public String DebugView { get { return _node.DebugView; } } 119public String DebugView { get { return _node.DebugView; } } 138public String DebugView { get { return _node.DebugView; } } 153public String DebugView { get { return _node.DebugView; } } 167public String DebugView { get { return _node.DebugView; } } 184public String DebugView { get { return _node.DebugView; } } 200public String DebugView { get { return _node.DebugView; } } 214public String DebugView { get { return _node.DebugView; } } 230public String DebugView { get { return _node.DebugView; } } 231public String Name { get { return _node.Name; } } 247public String DebugView { get { return _node.DebugView; } } 265public String DebugView { get { return _node.DebugView; } } 278public String DebugView { get { return _node.DebugView; } } 294public String DebugView { get { return _node.DebugView; } } 309public String DebugView { get { return _node.DebugView; } } 324public String DebugView { get { return _node.DebugView; } } 340public String DebugView { get { return _node.DebugView; } } 354public String DebugView { get { return _node.DebugView; } } 356public String Name { get { return _node.Name; } } 369public String DebugView { get { return _node.DebugView; } } 396public String DebugView { get { return _node.DebugView; } } 412public String DebugView { get { return _node.DebugView; } } 428public String DebugView { get { return _node.DebugView; } } 443public String DebugView { get { return _node.DebugView; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (3)
333if (String.IsNullOrEmpty(name)) { 405string s = String.Format( 799if (!String.IsNullOrEmpty(target.Name)) {
Microsoft\Scripting\Ast\LabelTarget.cs (3)
55/// Returns a <see cref="String"/> that represents the current <see cref="Object"/>. 57/// <returns>A <see cref="String"/> that represents the current <see cref="Object"/>. </returns> 59return String.IsNullOrEmpty(this.Name) ? "UnamedLabel" : this.Name;
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
336public static Expression<TDelegate> Lambda<TDelegate>(Expression body, String name, IEnumerable<ParameterExpression> parameters) { 349public static Expression<TDelegate> Lambda<TDelegate>(Expression body, String name, bool tailCall, IEnumerable<ParameterExpression> parameters) {
Microsoft\Scripting\Ast\MemberBinding.cs (2)
75/// Returns a <see cref="String"/> that represents the current <see cref="Object"/>. 77/// <returns>A <see cref="String"/> that represents the current <see cref="Object"/>. </returns>
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
73case TypeCode.String: return new PrimitiveParameterExpression<String>(name);
Microsoft\Scripting\Ast\SwitchCase.cs (2)
57/// Returns a <see cref="String"/> that represents the current <see cref="Object"/>. 59/// <returns>A <see cref="String"/> that represents the current <see cref="Object"/>. </returns>
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
128string name = String.IsNullOrEmpty(lambda.Name) ? GetUniqueMethodName() : lambda.Name;
Microsoft\Win32\UnsafeNativeMethods.cs (13)
34internal const String KERNEL32 = "kernel32.dll"; 35internal const String ADVAPI32 = "advapi32.dll"; 36internal const String WEVTAPI = "wevtapi.dll"; 179private static extern SafeFileHandle CreateFile(String lpFileName, 187internal static SafeFileHandle SafeCreateFile(String lpFileName, 257internal static String GetMessage(int errorCode) { 266String s = sb.ToString(); 325internal static extern SafePipeHandle CreateNamedPipeClient(String lpFileName, 343public static extern bool WaitNamedPipe(String name, int timeout); 633[In] String szInstanceName, 1178[MarshalAs(UnmanagedType.LPWStr)]String channelPath, 1275String[] valuePaths, 1438String lpName
System\Collections\Generic\HashSet.cs (4)
80private const String CapacityName = "Capacity"; 81private const String ElementsName = "Elements"; 82private const String ComparerName = "Comparer"; 83private const String VersionName = "Version";
System\Diagnostics\Eventing\EventProviderTraceListener.cs (6)
91return new String[] { s_optionDelimiter }; 220public sealed override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) 301m_provider.WriteMessageEvent(String.Empty, 370m_provider.WriteMessageEvent(String.Format(CultureInfo.InvariantCulture, format, args) + s_callStackString + eventCache.Callstack, 376m_provider.WriteMessageEvent(String.Format(CultureInfo.InvariantCulture, format, args), 396public sealed override void TraceTransfer(TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (3)
240public static EventLogHandle EvtOpenChannelConfig(EventLogHandle session, String channelPath, int flags) { 334String[] valuePaths, 1053if (String.IsNullOrEmpty(s))
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (3)
203if (String.Compare(channelName, "Application", StringComparison.OrdinalIgnoreCase ) == 0) 205else if ( String.Compare(channelName, "System", StringComparison.OrdinalIgnoreCase ) == 0) 207else if ( String.Compare(channelName, "Security", StringComparison.OrdinalIgnoreCase ) == 0)
System\Diagnostics\EventSchemaTraceListener.cs (25)
50: this(fileName, String.Empty) { 61public EventSchemaTraceListener(String fileName, String name, int bufferSize) 67public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption) 73public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption, long maximumFileSize) 79public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption, long maximumFileSize, int maximumNumberOfFiles) { 88if (!String.IsNullOrEmpty(this.fileName) && (fileName[0] != Path.DirectorySeparatorChar) && (fileName[0] != Path.AltDirectorySeparatorChar) && !Path.IsPathRooted(fileName)) { 183public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string format, params object[] args) { 192message = String.Format(CultureInfo.InvariantCulture, format, args); 203public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, int id, string message) { 215public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data) { 234public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) { 256public override void TraceTransfer(TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId) { 272private static void BuildHeader(StringBuilder writer, String source, TraceEventType eventType, int id, TraceEventCache eventCache, string relatedActivityId, bool isUserData, TraceOptions opts) { 512return new String[]{s_optionBufferSize, s_optionLogRetention, s_optionMaximumFileSize, s_optionMaximumNumberOfFiles}; 532if (String.Compare(retOption, "SingleFileUnboundedSize", StringComparison.OrdinalIgnoreCase) == 0) 534else if (String.Compare(retOption, "LimitedCircularFiles", StringComparison.OrdinalIgnoreCase) == 0) 536else if (String.Compare(retOption, "UnlimitedSequentialFiles", StringComparison.OrdinalIgnoreCase) == 0) 538else if (String.Compare(retOption, "SingleFileBoundedSize", StringComparison.OrdinalIgnoreCase) == 0) 540else if (String.Compare(retOption, "LimitedSequentialFiles", StringComparison.OrdinalIgnoreCase) == 0) 638if (String.IsNullOrEmpty(fileName)) 731public override void Write(String value) {
System\Diagnostics\PerformanceData\CounterSet.cs (4)
35internal Dictionary<String, Int32> m_stringToId; 63m_stringToId = new Dictionary<String, Int32>(); 130public void AddCounter(Int32 counterId, CounterType counterType, String counterName) { 171public CounterSetInstance CreateCounterSetInstance(String instanceName) {
System\Diagnostics\PerformanceData\CounterSetInstance.cs (2)
23internal String m_instName; 31internal CounterSetInstance(CounterSet counterSetDefined, String instanceName) {
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
212public CounterData this[String counterName] {
System\Diagnostics\UnescapedXmlDiagnosticData.cs (4)
16public UnescapedXmlDiagnosticData (String xmlPayload) { 19_xmlString = String.Empty; 23public String UnescapedXml { 28public override String ToString() {
System\IO\__Error.cs (12)
84internal static String GetDisplayablePath(String path, bool isInvalidPath) { 85if (String.IsNullOrEmpty(path)) { 109new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { path }).Demand(); 140WinIOError(errorCode, String.Empty); 148internal static void WinIOError(int errorCode, String maybeFullPath) { 152String str = GetDisplayablePath(maybeFullPath, isInvalidPath); 160throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_FileNotFound_FileName), str), str); 168throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_PathNotFound_Path), str)); 176throw new UnauthorizedAccessException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.UnauthorizedAccess_IODenied_Path), str)); 189throw new DriveNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_DriveNotFound_Drive), str)); 206throw new IOException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_IO_FileExists_Name), str), UnsafeNativeMethods.MakeHRFromErrorCode(errorCode));
System\IO\LogStream.cs (10)
51private String _fileName; // Fully qualified file name. 72internal LogStream(String path, int bufferSize, LogRetentionOption retention, long maxFileSize, int maxNumOfFiles) 74Debug.Assert(!String.IsNullOrEmpty(path)); 80String filePath = Path.GetFullPath(path); 117internal void _Init(String path, int fAccess, FileShare share, UnsafeNativeMethods.SECURITY_ATTRIBUTES secAttrs, FileIOPermissionAccess secAccess, 120String filePath = Path.GetFullPath(path); 123new FileIOPermission(secAccess, new String[] { filePath }).Demand(); 146new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { _fileName }).Demand(); 236__Error.WinIOError(hr, String.Empty); 318__Error.WinIOError(hr, String.Empty);
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (27)
104public static MemoryMappedFile CreateFromFile(String path) { 107public static MemoryMappedFile CreateFromFile(String path, FileMode mode) { 111public static MemoryMappedFile CreateFromFile(String path, FileMode mode, String mapName) { 115public static MemoryMappedFile CreateFromFile(String path, FileMode mode, String mapName, Int64 capacity) { 121public static MemoryMappedFile CreateFromFile(String path, FileMode mode, String mapName, Int64 capacity, 184public static MemoryMappedFile CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, 192public static MemoryMappedFile CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, 249public static MemoryMappedFile CreateNew(String mapName, Int64 capacity) { 254public static MemoryMappedFile CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access) { 259public static MemoryMappedFile CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access, 267public static MemoryMappedFile CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access, 310public static MemoryMappedFile CreateOrOpen(String mapName, Int64 capacity) { 315public static MemoryMappedFile CreateOrOpen(String mapName, Int64 capacity, 320public static MemoryMappedFile CreateOrOpen(String mapName, Int64 capacity, 328public static MemoryMappedFile CreateOrOpen(String mapName, Int64 capacity, 379private static SafeMemoryMappedFileHandle CreateCore(SafeFileHandle fileHandle, String mapName, 401__Error.WinIOError(errorCode, String.Empty); 404__Error.WinIOError(errorCode, String.Empty); 420private static SafeMemoryMappedFileHandle OpenCore(String mapName, HandleInheritability inheritability, 432__Error.WinIOError(lastError, String.Empty); 454private static SafeMemoryMappedFileHandle CreateOrOpenCore(SafeFileHandle fileHandle, String mapName, 488__Error.WinIOError(createErrorCode, String.Empty); 510__Error.WinIOError(openErrorCode, String.Empty); 802private static void CleanupFile(FileStream fileStream, bool existed, String path) {
System\IO\MemoryMappedFiles\MemoryMappedView.cs (2)
119__Error.WinIOError(Marshal.GetLastWin32Error(), String.Empty); 220__Error.WinIOError(error, String.Empty);
System\IO\Pipes\Pipe.cs (41)
149public String GetClientHandleAsString() { 212__Error.WinIOError(Marshal.GetLastWin32Error(), String.Empty); 223__Error.WinIOError(Marshal.GetLastWin32Error(), String.Empty); 268public AnonymousPipeClientStream(String pipeHandleAsString) 274public AnonymousPipeClientStream(PipeDirection direction, String pipeHandleAsString) 389public NamedPipeServerStream(String pipeName) 395public NamedPipeServerStream(String pipeName, PipeDirection direction) 401public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances) 407public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 414public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 421public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 428public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 436public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 471public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 510if (String.Compare(normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) { 558private void Create(String fullPipeName, PipeDirection direction, int maxNumberOfServerInstances, 585__Error.WinIOError(Marshal.GetLastWin32Error(), String.Empty); 610__Error.WinIOError(errorCode, String.Empty); 701__Error.WinIOError(errorCode, String.Empty); 769__Error.WinIOError(afsar._errorCode, String.Empty); 782__Error.WinIOError(Marshal.GetLastWin32Error(), String.Empty); 866public String GetImpersonationUserName() { 992public NamedPipeClientStream(String pipeName) 997public NamedPipeClientStream(String serverName, String pipeName) 1002public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction) 1007public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1013public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1019public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1047if (String.Compare(m_normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) { 1068public NamedPipeClientStream(String serverName, String pipeName, PipeAccessRights desiredAccessRights, 1099if (String.Compare(m_normalizedPipePath, @"\\.\pipe\anonymous", StringComparison.OrdinalIgnoreCase) == 0) { 1202__Error.WinIOError(errorCode, String.Empty); 1224__Error.WinIOError(errorCode, String.Empty); 1327__Error.WinIOError(errorCode, String.Empty); 1349__Error.WinIOError(errorCode, String.Empty);
System\IO\Pipes\PipeSecurity.cs (3)
83String identity, 181String identity, 437protected internal void Persist(String name) {
System\IO\Pipes\PipeStream.cs (3)
227__Error.WinIOError(hr, String.Empty); 351__Error.WinIOError(hr, String.Empty); 1166__Error.WinIOError(errorCode, String.Empty);
System\Management\Automation\UMPAttributes.cs (1)
124|| (once && String.Compare(namespacePart, "root", StringComparison.OrdinalIgnoreCase) != 0) // Must start with 'root'
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
69Contract.Requires(!String.IsNullOrEmpty(implementation));
System\Security\Cryptography\BCryptNative.cs (5)
494Contract.Requires(!String.IsNullOrEmpty(property)); 536Contract.Requires(!String.IsNullOrEmpty(algorithm)); 579Contract.Requires(!String.IsNullOrEmpty(algorithm)); 580Contract.Requires(!String.IsNullOrEmpty(implementation)); 638const String BCRYPT_KEY_DATA_BLOB = "KeyDataBlob";
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\CngProperty.cs (1)
100if (!String.Equals(Name, other.Name, StringComparison.Ordinal)) {
System\Security\Cryptography\CngProvider.cs (2)
27Contract.Ensures(!String.IsNullOrEmpty(m_provider)); 44Contract.Ensures(!String.IsNullOrEmpty(Contract.Result<string>()));
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 (18)
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)); 1488return String.Empty; 1534Contract.Requires(!String.IsNullOrEmpty(format)); 1563Contract.Requires(!String.IsNullOrEmpty(format)); 1611Contract.Requires(!String.IsNullOrEmpty(providerName));
System\Security\Cryptography\Rfc4050KeyFormatter.cs (4)
130if (!navigator.MoveToFirstAttribute() || navigator.Name != UrnAttribute || String.IsNullOrEmpty(navigator.Value)) { 171if (!navigator.MoveToFirstAttribute() || navigator.Name != ValueAttribute || String.IsNullOrEmpty(navigator.Value)) { 182if (!navigator.MoveToFirstAttribute() || navigator.Name != ValueAttribute || String.IsNullOrEmpty(navigator.Value)) { 356Contract.Ensures(Contract.Result<String>() != null);
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 (17)
51if (String.IsNullOrEmpty(hex) || hex.Length % 2 != 0) { 204if (KeyInfo != null && String.Compare(KeyInfo.Id, idValue, StringComparison.OrdinalIgnoreCase) == 0) { 267if (String.IsNullOrEmpty(hex) || hex.Length % 2 != 0) { 359if (String.IsNullOrEmpty(expectedHashString)) { 420if (String.IsNullOrEmpty(publisherName) || String.IsNullOrEmpty(publisherIssuerKeyHash)) { 446if (String.Compare(publisherName, publisherCertificate.SubjectName.Name, StringComparison.Ordinal) != 0 || 447String.Compare(publisherIssuerKeyHash, actualKeyHash, StringComparison.Ordinal) != 0) { 570String.Compare(identityAttribute.Value, signatureValue, StringComparison.Ordinal) != 0) { 586if (String.Compare(signatureNode.Attributes[i].LocalName, "id", StringComparison.OrdinalIgnoreCase) == 0) { 591if (String.IsNullOrEmpty(signatureId)) { 594if (String.Compare(signatureId, "StrongNameSignature", StringComparison.Ordinal) != 0) { 619if (String.IsNullOrEmpty(reference.Uri)) { 623String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) == 0 && 624String.Compare(transforms[1].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0; 626else if (String.Compare(reference.Uri, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) { 630String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0;
System.Data (878)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
124return String.Empty;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
105private string internalStringValue = String.Empty; 396if (!String.Equals(value, this.internalStringValue)) 1050string newStringValue = String.Empty;
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\DesignObjectWrapper.cs (2)
218var result = string.Empty; 259foreach (var propertyName in properties)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
122var valueToConvert = isQuotedString ? expressionText.Substring(1, expressionText.Length - 2) : expressionText;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
301return String.Empty;
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\ModelItemCollectionImpl.cs (2)
80if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 233if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
264if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 388if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
494var value = nameGetter(p); 901var displayName = displayProperty == null ? "(unknown)" : displayProperty.ComputedValue.ToString(); 989var displayName = displayProperty == null ? "(unknown)" : displayProperty.ComputedValue.ToString();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (3)
84if (contentAttribute != null && !String.IsNullOrEmpty(contentAttribute.Name)) 228if (runtimeNamePropertyAttribute != null && !String.IsNullOrEmpty(runtimeNamePropertyAttribute.Name)) 502if (itemType.IsPrimitive || itemType.IsEnum || itemType.Equals(typeof(String)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
106if (itemType.IsPrimitive || itemType.IsEnum || itemType.Equals(typeof(String)))
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\Toolbox\TreeViewContainerStyleSelector.cs (1)
143var text = values[0] as string;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1771var iconName = parameter as string;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
97var nameSpace = this.NamespaceLookup 165foreach (var nameSpace in this.namespaceLookup.Keys)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
599protected void NotifyPropertyChanged(String propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
41typeof(String),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
122typeof(String),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (5)
522if (String.Equals(this.ExpressionText, string.Empty, StringComparison.OrdinalIgnoreCase) && this.ExpressionType != null) 1079var formatString = isQuotedString ? "\"{0}\"" : "{0}"; 1252String expressionString = null; 1898internal String ExpressionText { get; set; } 1900internal String ValidatedExpressionText { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (2)
29new XAttribute("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
146if (designerAttribute != null && !String.IsNullOrEmpty(designerAttribute.DesignerTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
48DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemPresenter), new UIPropertyMetadata(String.Empty));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
35DependencyProperty.Register("HintText", typeof(string), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(String.Empty, new PropertyChangedCallback(WorkflowItemsPresenter.OnHintTextChanged)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
79if (!String.IsNullOrEmpty(workflowViewStateIdRef))
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
685String.Format(CultureInfo.CurrentCulture, clrFormatString, args));
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (1)
45String GetString( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedGettersV3.cs (1)
46String GetString( SmiEventSink sink, int ordinal );
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (1)
70public override String GetString(SmiEventSink sink, int ordinal) {
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (3)
106ht.Add( typeof( System.String ), ExtendedClrTypeCode.String ); 367else if (value.GetType() == typeof( System.String )) 529String[] names = SqlParameter.ParseTypeName(typeName, true /* is for UdtTypeName */);
fx\src\data\Microsoft\SqlServer\Server\SmiContextFactory.cs (2)
65_serverVersion = (String.Format((IFormatProvider)null, "{0:00}.{1:00}.{2:0000}", _majorVersion, (short) _minorVersion, _buildNum)); 68_serverVersion = String.Empty; // default value if nothing exists.
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (13)
393String.Format((IFormatProvider)null, "SmiMetaData.ctor: Udt name={0}, maxLength={1}", udtAssemblyQualifiedName, maxLength)); 572Debug.Assert(String.Empty == __typeNameByDatabaseType[(int)_databaseType], "unexpected udt?"); 728String.Empty, // SqlDbType.Udt -- get type name from Type.FullName instead. 729String.Empty, // Structured types have user-defined type names. 757string fields = String.Empty; 760fields = String.Format(CultureInfo.InvariantCulture, 765string properties = String.Empty; 768properties = String.Format(CultureInfo.InvariantCulture, 773return String.Format(CultureInfo.InvariantCulture, "\n\t" 966return String.Format(CultureInfo.InvariantCulture, 1138return String.Format(CultureInfo.InvariantCulture, "{0}" 1416return String.Format(CultureInfo.InvariantCulture, "{0}" 1697return String.Format(CultureInfo.InvariantCulture, "{0}"
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (1)
152return String.Format(CultureInfo.InvariantCulture, "{0} {1}", SortOrdinal, Order);
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (1)
212public virtual String GetString( int ordinal ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (1)
270public virtual String GetString( int ordinal ) {
fx\src\data\Microsoft\SqlServer\Server\SmiTypedGetterSetter.cs (1)
111public virtual String GetString(SmiEventSink sink, int ordinal) {
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (3)
45public virtual String GetName( int ordinal ) { 50public virtual String GetDataTypeName( int ordinal ) { 131public virtual object this [ String name ] {
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (2)
223internal String String { 228return (String)_object;
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (9)
176String value = ( (String) GetValue( sink, getters, ordinal, metaData, null ) ); 637String temp = GetString_Unchecked( sink, getters, ordinal ); 683internal static String GetString( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) { 692return (String) obj; 1551internal static void SetString( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, String value ) { 3188private static String GetString_Unchecked( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal ) { 3195String result = getters.GetString( sink, ordinal ); 3627private static void SetString_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, String value, int offset, int length ) {
fx\src\data\System\Data\BaseCollection.cs (2)
68if (String.Compare(s1, s2, false, locale) == 0) 77if (String.Compare(s1, s2, false, locale) == 0)
fx\src\data\System\Data\CodeGen\datacache.cs (21)
213if (String.Compare("column", columnName, StringComparison.OrdinalIgnoreCase) != 0) 1061VariableDecl(typeof(String), "strSchema", 1454private static CodeExpression MethodCall(CodeExpression targetObject, String methodName, CodeExpression[] parameters) { 1458private static CodeExpression MethodCall(CodeExpression targetObject, String methodName) { 1462private static CodeExpression MethodCall(CodeExpression targetObject, String methodName, CodeExpression par) { 1502private static CodeMemberField FieldDecl(String type, String name) {return new CodeMemberField(type, name);} 1503private static CodeMemberField FieldDecl(Type type, String name) {return new CodeMemberField(type, name);} 1504private static CodeMemberMethod Method(CodeTypeReference type, String name, MemberAttributes attributes) { 1512private static CodeMemberMethod MethodDecl(Type type, String name, MemberAttributes attributes) {return Method(Type(type), name, attributes);} 1513private static CodeMemberMethod MethodDecl(String type, String name, MemberAttributes attributes) {return Method(Type(type), name, attributes);} 1514private static CodeMemberProperty PropertyDecl(String type, String name, MemberAttributes attributes) { 1523private static CodeMemberProperty PropertyDecl(Type type, String name, MemberAttributes attributes) { 1531private static CodeStatement VariableDecl(Type type, String name) { return new CodeVariableDeclarationStatement(type, name); } 1532private static CodeStatement VariableDecl(String type, String name, CodeExpression initExpr) { return new CodeVariableDeclarationStatement(type, name, initExpr); } 1533private static CodeStatement VariableDecl(Type type, String name, CodeExpression initExpr) { return new CodeVariableDeclarationStatement(type, name, initExpr); } 1534private static CodeMemberEvent EventDecl(String type, String name) {
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (1)
59errorList.Add(info.GetValue(KEY_ARRAYVALUES + i, typeof(System.String)));
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
88return String.Empty;
fx\src\data\System\Data\Common\AdapterUtil.cs (9)
101[BidArgumentType(typeof(String))] Exception e) { 1588static internal ArgumentException ParameterValueOutOfRange(String value) { 1852static internal readonly String StrEmpty = ""; // String.Empty 2045String returnString; 2135static internal Stream GetXmlStreamFromValues(String[] values, String errorString) { 2148static internal Stream GetXmlStream(String value, String errorString) { 2160String fullPath = tempstring.ToString();
fx\src\data\System\Data\Common\BigIntegerStorage.cs (1)
62else if (value.GetType() == typeof(String)) { return BigInteger.Parse((string)value, formatProvider); }
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
172public override String ToString() {
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
347String name = value.SourceColumn;
fx\src\data\System\Data\Common\DataStorage.cs (1)
89typeof(String),
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
185public override String ToString() {
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
348String name = value.SourceTable;
fx\src\data\System\Data\Common\DBCommandBuilder.cs (4)
175Debug.Assert(_isMutatedName[iMutatedName], String.Format(CultureInfo.InvariantCulture, "{0} expected to be a mutated name", _baseParameterNames[iMutatedName])); 1052return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName); 1095return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName); 1219private object GetColumnValue(DataRow row, String columnName, DataTableMapping mappings, DataRowVersion version) {
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
245(('{' == keyValue[0]) || (0 <= keyValue.IndexOf(';')) || (0 == String.Compare(DbConnectionStringKeywords.Driver, keyName, StringComparison.OrdinalIgnoreCase))) &&
fx\src\data\System\Data\Common\DBConnectionString.cs (1)
451string[] tmp = new String[count];
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (2)
126if ((typeof(string) == PropertyType) && String.Empty.Equals(value)) { 322throw ADP.ConvertFailed(value.GetType(), typeof(String), e);
fx\src\data\System\Data\Common\DbDataAdapter.cs (1)
1418if (String.IsNullOrEmpty(rowMsg)) {
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
279String version = securityElement.Attribute(XmlStr._Version);
fx\src\data\System\Data\Common\DBDataPermissionAttribute.cs (1)
50return ((null != value) ? value : String.Empty);
fx\src\data\System\Data\Common\DbDataReader.cs (2)
165abstract public String GetString(int ordinal); 185return new StringReader(String.Empty);
fx\src\data\System\Data\Common\DbException.cs (3)
17protected DbException(System.String message) : base(message) { 20protected DbException(System.String message, System.Exception innerException) : base(message, innerException) { 23protected DbException(System.String message, System.Int32 errorCode) : base(message, errorCode) {
fx\src\data\System\Data\Common\DBParameter.cs (2)
63abstract public String ParameterName { 116abstract public String SourceColumn {
fx\src\data\System\Data\Common\DbProviderConfigurationHandler.cs (1)
176String name = RemoveAttribute(child, "name");
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (1)
246String invr = HandlerBase.RemoveAttribute(child, "invariant", true, false);
fx\src\data\System\Data\Common\NameValuePermission.cs (1)
235if (String.Equals(keyInQuestion, permitValue._value, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
378 return String.Empty;
fx\src\data\System\Data\Common\SafeNativeMethods.cs (1)
102internal static extern IntPtr SysAllocStringLen(String src, int len); // BSTR
fx\src\data\System\Data\Common\StringStorage.cs (8)
20private String[] values; 23: base(column, typeof(String), String.Empty, StorageType.String) { 130String value = values[recordNo]; 174return new String[recordCount]; 178String[] typedStore = (String[]) store; 184values = (String[]) store;
fx\src\data\System\Data\Common\System.Data_BID.cs (73)
104[BidArgumentType(typeof(String))] System.Exception a2) { 239internal static void NotificationsTrace(string fmtPrintfW, System.String a1, System.String a2) { 323internal static void Trace(string fmtPrintfW, System.Data.OleDb.OleDbHResult a1, System.String a2) { 342internal static void Trace(string fmtPrintfW, System.String a1, System.String a2) { 348internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 354internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5) { 372[BidArgumentType(typeof(String))] System.Guid a2) { 381internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) { 404internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2) { 441internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3) { 447internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) { 453internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4) { 459internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6) { 495internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5) { 513internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6) { 531internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8) { 537internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4) { 547internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2) { 565internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3) { 574internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 592internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4) { 629internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5); 633internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 641internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.String a1, System.String a2); 645internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.String a1, System.String a2); 649internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 657internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.String a1, System.String a2, System.String a3); 661internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 688internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2); 693internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 709internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3); 713internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 717internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 721internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6); 733internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4); 737internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Boolean a1, System.String a2, System.String a3, System.String a4); 753internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5); 769internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6); 781internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8); 785internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4); 796internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2); 804internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 808internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 816internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4);
fx\src\data\System\Data\Common\UnsafeNativeMethods.cs (1)
1158[Out, MarshalAs(UnmanagedType.BStr)] out String pbstrSQLState);
fx\src\data\System\Data\Constraint.cs (5)
24internal String name = ""; 25private String _schemaName = ""; 52if (String.Compare(name, value, true, locale) != 0) { 60else if (String.Compare(name, value, false, locale) != 0) { 66internal String SchemaName {
fx\src\data\System\Data\DataColumn.cs (5)
348if (caption == null || String.Compare(caption, value, true, Locale) != 0) { 398if (String.Compare(_columnName, value, true, Locale) != 0) { 1450if (leftType == typeof(System.String) && rightType == typeof(System.String)) { 1451return String.CompareOrdinal((string)_storage.Get(record1), (string)value) == 0 ? true : false;
fx\src\data\System\Data\DataError.cs (4)
18private string rowError = String.Empty; 76return String.Empty; 99rowError = String.Empty; 116errorText = String.Empty;
fx\src\data\System\Data\DataException.cs (8)
245[BidArgumentType(typeof(String))] Exception e) { 520string values = String.Empty; 522values += Convert.ToString(keys[i], null) + (i < keys.Length - 1 ? ", " : String.Empty); 528string columnNames = String.Empty; 708static public Exception CannotSetSimpleContentType(String columnName, Type type) { 712static public Exception CannotSetSimpleContent(String columnName, Type type) { 716static public Exception CannotChangeNamespace(String columnName) { 1280return MissingAttribute(String.Empty, attribute);
fx\src\data\System\Data\DataRelation.cs (5)
381if (String.Compare(relationName, value, true, locale) != 0) { 393else if (String.Compare(relationName, value, false, locale) != 0) { 428if (String.Compare(ChildTable.TableName, ChildTable.DataSet.DataSetName, true, ChildTable.DataSet.Locale) == 0) 507if (ChildTable.DataSet != null && ( String.Compare(ChildTable.TableName, ChildTable.DataSet.DataSetName, true, ChildTable.DataSet.Locale) == 0) ) 534if (String.Compare(parentNs, rel.ParentTable.Namespace, StringComparison.Ordinal) != 0) {
fx\src\data\System\Data\DataRow.cs (1)
102return(error == null ? String.Empty :error.Text);
fx\src\data\System\Data\DataSet.cs (23)
55private string _datasetPrefix = String.Empty; 58private const String KEY_XMLSCHEMA = "XmlSchema"; 59private const String KEY_XMLDIFFGRAM = "XmlDiffGram"; 189if ((String.Compare(attribValue, Keywords.MSD_EXCLUDESCHEMA, StringComparison.OrdinalIgnoreCase) == 0)) { 192else if ((String.Compare(attribValue, Keywords.MSD_INCLUDESCHEMA, StringComparison.OrdinalIgnoreCase) == 0)) { 299info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), memStream.GetBuffer()); 325String strSchema = this.GetXmlSchemaForRemoting(null); 327String strData = null; 360Byte[] buffer = (Byte[])info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), typeof(Byte[])); 385string strSchema = (String)info.GetValue(KEY_XMLSCHEMA, typeof(System.String)); 401string strData = (String)info.GetValue(KEY_XMLDIFFGRAM, typeof(System.String)); 677value = String.Empty; 696_datasetPrefix = String.Empty; 713value = String.Empty; 1531public void InferXmlSchema(String fileName, string[] nsArray) 1738public void ReadXmlSchema(String fileName) 1770public void WriteXmlSchema(String fileName) 1780public void WriteXmlSchema(String fileName, Converter<Type, string> multipleTargetConverter) 1820private void WriteXmlSchema(String fileName, SchemaFormat schemaFormat, Converter<Type, string> multipleTargetConverter) 2608public void WriteXml(String fileName) 2669public void WriteXml(String fileName, XmlWriteMode mode)
fx\src\data\System\Data\DataTable.cs (75)
161private const String KEY_XMLSCHEMA = "XmlSchema"; 162private const String KEY_XMLDIFFGRAM = "XmlDiffGram"; 163private const String KEY_NAME = "TableName"; 292string strSchema = (String)info.GetValue(KEY_XMLSCHEMA, typeof(System.String)); 293string strData = (String)info.GetValue(KEY_XMLDIFFGRAM, typeof(System.String)); 351info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].ColumnName); 352info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i), Columns[i]._columnUri); 353info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i), Columns[i].Prefix); 354info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].ColumnMapping); 355info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 356info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i), Columns[i].AutoIncrement); 357info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i), Columns[i].AutoIncrementStep); 358info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i), Columns[i].AutoIncrementSeed); 359info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i), Columns[i].Caption); 360info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), Columns[i].DefaultValue); 361info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly); 362info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].MaxLength); 363info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DataType", i), Columns[i].DataType); 365info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), Columns[i].XmlDataType); 366info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), Columns[i].SimpleType); 368info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].DateTimeMode); 371info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), Columns[i].AutoIncrementCurrent); 375info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i), Columns[i].Expression); 379info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), Columns[i].extendedProperties); 427dc.ColumnName = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i)); 428dc._columnUri = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i)); 429dc.Prefix = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i)); 431dc.DataType = (Type) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DataType", i), typeof(Type)); 432dc.XmlDataType = (string) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), typeof(string)); 433dc.SimpleType = (SimpleType) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), typeof(SimpleType)); 435dc.ColumnMapping = (MappingType) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType)); 436dc.DateTimeMode = (DataSetDateTime) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(DataSetDateTime)); 438dc.AllowDBNull = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i)); 439dc.AutoIncrement = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i)); 440dc.AutoIncrementStep = info.GetInt64(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i)); 441dc.AutoIncrementSeed = info.GetInt64(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i)); 442dc.Caption = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i)); 443dc.DefaultValue = info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), typeof(object)); 444dc.ReadOnly = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i)); 445dc.MaxLength= info.GetInt32(String.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i)); 448dc.AutoIncrementCurrent = info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), typeof(object)); 452expressions[i] = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i)); 456dc.extendedProperties = (PropertyCollection) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), typeof(PropertyCollection)); 535info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), constraintList); 545ArrayList constraintList = (ArrayList) info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), typeof(ArrayList)); 608info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 616string expr = info.GetString(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i)); 691info.AddValue(String.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex), rowCount); 692info.AddValue(String.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex), recordCount); 693info.AddValue(String.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), rowStates); 694info.AddValue(String.Format(formatProvider, "DataTable_{0}.Records", serIndex), storeList); 695info.AddValue(String.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), nullbitList); 696info.AddValue(String.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), rowErrors); 697info.AddValue(String.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), colErrors); 710int rowCount = info.GetInt32(String.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex)); 711int recordCount = info.GetInt32(String.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex)); 712BitArray rowStates = (BitArray) info.GetValue(String.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), typeof(BitArray)); 713ArrayList storeList = (ArrayList) info.GetValue(String.Format(formatProvider, "DataTable_{0}.Records", serIndex), typeof(ArrayList)); 714ArrayList nullbitList = (ArrayList) info.GetValue(String.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), typeof(ArrayList)); 715Hashtable rowErrors = (Hashtable) info.GetValue(String.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), typeof(Hashtable)); 717Hashtable colErrors = (Hashtable) info.GetValue(String.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), typeof(Hashtable)); 1668if (String.Compare(tableName, value, true, currentLocale) != 0) { 1672if ((0 == String.Compare(value, dataSet.DataSetName, true, dataSet.Locale)) && !fNestedInDataset) 1702else if (String.Compare(tableName, value, false, currentLocale) != 0) { 3377if (length >= 5 && String.Compare(current, length - 4, " ASC", 0, 4, StringComparison.OrdinalIgnoreCase) == 0) { 3380else if (length >= 6 && String.Compare(current, length - 5, " DESC", 0, 5, StringComparison.OrdinalIgnoreCase) == 0) { 4779public void WriteXml(String fileName) 4786public void WriteXml(String fileName, bool writeHierarchy) 4884public void WriteXml(String fileName, XmlWriteMode mode) 4891public void WriteXml(String fileName, XmlWriteMode mode, bool writeHierarchy) 5022public void WriteXmlSchema(String fileName) { 5028public void WriteXmlSchema(String fileName, bool writeHierarchy) 5704public void ReadXmlSchema(String fileName)
fx\src\data\System\Data\DataTableReader.cs (10)
408override public String GetDataTypeName (int ordinal) { 522override public String GetName (int ordinal) { 608DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 622DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 623DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 624DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 625DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 629DataColumn Expression = new DataColumn(SchemaTableOptionalColumn.Expression, typeof(System.String)); 631DataColumn BaseTableNamespace = new DataColumn(SchemaTableOptionalColumn.BaseTableNamespace, typeof(System.String)); 632DataColumn BaseColumnNamespace = new DataColumn(SchemaTableOptionalColumn.BaseColumnNamespace, typeof(System.String));
fx\src\data\System\Data\DataView.cs (5)
134public DataView(DataTable table, String RowFilter, string Sort, DataViewRowState RowState) { 370if (null == rowFilter || (String.Compare(RowFilter,value,false,locale) != 0)) { 478if (String.Compare(sort, value, false, locale) != 0 || (null != _comparison)) { 1231return String.Empty; 1412propertyName = (null != col) ? col.ColumnName : String.Empty;
fx\src\data\System\Data\DataViewManager.cs (1)
318return String.Empty;
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
51if (String.Compare(funcs[i].name, name, StringComparison.OrdinalIgnoreCase) == 0) {
fx\src\data\System\Data\IDataParameter.cs (2)
28String ParameterName { 33String SourceColumn {
fx\src\data\System\Data\IDataRecord.cs (4)
20object this [ String name ] { get;} 22String GetName(int i); 24String GetDataTypeName(int i); 56String GetString(int i);
fx\src\data\System\Data\Merger.cs (1)
357if (String.Compare(targetPKey[i].ColumnName, tablePKey[i].ColumnName, false, targetTable.Locale) != 0) {
fx\src\data\System\Data\Odbc\Odbc32.cs (7)
779static internal readonly TypeMap _Char = new TypeMap(OdbcType.Char, DbType.AnsiStringFixedLength, typeof(String), ODBC32.SQL_TYPE.CHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false); 788static private readonly TypeMap _NChar = new TypeMap(OdbcType.NChar, DbType.StringFixedLength, typeof(String), ODBC32.SQL_TYPE.WCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.WCHAR, -1, -1, false); 789static internal readonly TypeMap _NText = new TypeMap(OdbcType.NText, DbType.String, typeof(String), ODBC32.SQL_TYPE.WLONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.WCHAR, -1, -1, false); 791static internal readonly TypeMap _NVarChar = new TypeMap(OdbcType.NVarChar, DbType.String, typeof(String), ODBC32.SQL_TYPE.WVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.WCHAR, -1, -1, false); 796static internal readonly TypeMap _Text = new TypeMap(OdbcType.Text, DbType.AnsiString, typeof(String), ODBC32.SQL_TYPE.LONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false); 800static internal readonly TypeMap _VarChar = new TypeMap(OdbcType.VarChar, DbType.AnsiString, typeof(String), ODBC32.SQL_TYPE.VARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false); 803static private readonly TypeMap _XML = new TypeMap(OdbcType.Text, DbType.AnsiString, typeof(String), ODBC32.SQL_TYPE.LONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false);
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
310String unquotedIdentifier;
fx\src\data\System\Data\Odbc\OdbcConnection.cs (3)
109return String.Empty; 126return String.Empty; 313return new OdbcCommand(String.Empty, this);
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
114String versionString = odbcOuterConnection.GetInfoStringUnhandled(ODBC32.SQL_INFO.DBMS_VER);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (27)
343override public String GetDataTypeName(int i) { 369override public String GetName(int i) { 795override public String GetString(int i) { 796return (String)internalGetString(i); 985cachedObj = (String)internalGetString(i); 1388private String GetColAttributeStr(int i, ODBC32.SQL_DESC v3FieldId, ODBC32.SQL_COLUMN v2FieldId, ODBC32.HANDLER handler) { 1430private String GetDescFieldStr(int i, ODBC32.SQL_DESC attribute, ODBC32.HANDLER handler) { 1928columns.Add(new DataColumn("ColumnName", typeof(System.String))); 1942columns.Add(new DataColumn("BaseSchemaName", typeof(System.String))); 1943columns.Add(new DataColumn("BaseCatalogName", typeof(System.String))); 1944columns.Add(new DataColumn("BaseTableName", typeof(System.String))); 1945columns.Add(new DataColumn("BaseColumnName", typeof(System.String))); 2183String columnname = String.Empty; 2184String indexname = String.Empty; 2185String currentindexname = String.Empty; 2202String tablename1 = String.Copy(qualifiedTableName.GetTable(quoted)); 2353internal bool SameIndexColumn(String currentindexname, String indexname, int ordinal, int ncols) 2364internal int GetOrdinalFromBaseColName(String columnname) { 2368internal int GetOrdinalFromBaseColName(String columnname, String tablename) 2404String localcmdtext = _cmdText; 2408String tablename;
fx\src\data\System\Data\Odbc\OdbcError.cs (2)
31return ((null != _message) ? _message : String.Empty); 49return ((null != _source) ? _source : String.Empty);
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (11)
506private DataTable GetColumnsCollection(String[] restrictions, OdbcConnection connection){ 515String[] allRestrictions = new string[columnsRestrictionsCount]; 742private DataTable GetDataTypesCollection(String[] restrictions, OdbcConnection connection){ 785private DataTable GetIndexCollection(String[] restrictions, OdbcConnection connection){ 833private DataTable GetProcedureColumnsCollection(String[] restrictions, OdbcConnection connection,Boolean isColumns){ 842String[] allRestrictions = new string[procedureColumnsRestrictionsCount]; 870private DataTable GetProceduresCollection(String[] restrictions, OdbcConnection connection){ 880String[] allRestrictions = new string[columnsRestrictionsCount]; 960private DataTable GetTablesCollection(String[] restrictions, OdbcConnection connection, Boolean isTables){ 1031protected override DataTable PrepareCollection(String collectionName, String[] restrictions, DbConnection connection){
fx\src\data\System\Data\Odbc\OdbcParameter.cs (10)
316else if (value is String) { 317cch = ((String)value).Length - offset; 374Debug.Assert((0 <= cch) && (cch < 0x3fffffff), String.Format((IFormatProvider)null, "GetColumnSize: cch = {0} out of range, _internalShouldSerializeSize = {1}, _internalSize = {2}",cch, _internalShouldSerializeSize, _internalSize)); 389if (value is String) { 410Debug.Assert((0 <= cch) && (cch < 0x3fffffff), String.Format((IFormatProvider)null, "GetValueSize: cch = {0} out of range, _internalShouldSerializeSize = {1}, _internalSize = {2}",cch, _internalShouldSerializeSize, _internalSize)); 437else if (value is String) { 438ccb = (((String)value).Length - offset ) * 2 + 2; 456if ((value is String) && (ccb < ((String)value).Length) && (_bindtype == _originalbindtype)) { 458ccb = ((String)value).Length;
fx\src\data\System\Data\Odbc\OdbcUtils.cs (8)
370internal String NextToken() { 383return String.Empty; 427return (_token.Length > 0) ? _token.ToString() : String.Empty ; 479internal int FindTokenIndex(String tokenString) { 480String nextToken; 486if (String.Compare(tokenString, nextToken, StringComparison.OrdinalIgnoreCase) == 0) { 494internal bool StartsWith(String tokenString) { 503if (0 == String.Compare(_sqlstatement, tempidx, tokenString, 0, tokenString.Length, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\OleDb\ColumnBinding.cs (13)
432Value_BSTR((String) value); 501Value_WSTR((String) value); 527Value_ByRefWSTR((String) value); 569private String Value_BSTR() { 590private void Value_BSTR(String value) { 639private String Value_ByRefWSTR() { 661private void Value_ByRefWSTR(String value) { 1052private String Value_WSTR() { 1059private void Value_WSTR(String value) { 1191throw CheckTypeValueStatusValue(typeof(String)); 1409string value = (String) _value; 1418value = (String) ValueVariant(); // Object 1443throw CheckTypeValueStatusValue(typeof(String));
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
103string message = String.Empty;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (9)
160static private readonly NativeDBType D_BSTR = new NativeDBType(0xff, ADP.PtrSize, false, false, OleDbType.BSTR, NativeDBType.BSTR, S_BSTR, typeof(System.String), NativeDBType.BSTR, DbType.String ); // 2 - integer4 (pointer) 161static private readonly NativeDBType D_Char = new NativeDBType(0xff, -1, true, false, OleDbType.Char, NativeDBType.STR, S_CHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiStringFixedLength); // 3 - (ansi pointer) 178static private readonly NativeDBType D_LongVarChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarChar, NativeDBType.STR, S_LONGVARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 20 - (ansi pointer) 189static private readonly NativeDBType D_VarChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarChar, NativeDBType.STR, S_VARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 30 - (ansi pointer) 192static private readonly NativeDBType D_WChar = new NativeDBType(0xff, -1, true, false, OleDbType.WChar, NativeDBType.WSTR, S_WCHAR, typeof(System.String), NativeDBType.WSTR, DbType.StringFixedLength); // 33 - (unicode pointer) 193static private readonly NativeDBType D_VarWChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.WSTR, S_WVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 34 - (unicode pointer) 194static private readonly NativeDBType D_LongVarWChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarWChar, NativeDBType.WSTR, S_WLONGVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 35 - (unicode pointer) 197static private readonly NativeDBType D_Xml = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.XML, S_XML, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 38 - (unicode pointer) 218internal readonly String dataSourceType; // ICommandWithParameters.SetParameterInfo standard type name
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
1075String commandText = ExpandCommandText();
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
394String unquotedIdentifier;
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
186public String Provider {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
65String providerFileName = oleDbOuterConnection.GetDataSourcePropertyValue(OleDbPropertySetGuid.DataSourceInfo,ODB.DBPROP_PROVIDERFILENAME) as string;
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (5)
378DataColumn literalName = new DataColumn("LiteralName", typeof(String)); 379DataColumn literalValue = new DataColumn("LiteralValue", typeof(String)); 380DataColumn invalidChars = new DataColumn("InvalidChars", typeof(String)); 381DataColumn invalidStart = new DataColumn("InvalidStartingChars", typeof(String)); 431DataColumn keyword = new DataColumn(ODB.Keyword, typeof(String));
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (2)
101PossiblePrompt = ((!ADP.IsEmpty(prompt) && (0 != String.Compare(prompt, VALUES.NoPrompt, StringComparison.OrdinalIgnoreCase))) 361string classid = (string) ADP.ClassesRootRegistryValue(progid + "\\CLSID", String.Empty);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
292string message = String.Empty; 446string message = String.Empty;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (10)
202override public object this[String name] { 306DataColumn name = new DataColumn("ColumnName", typeof(System.String)); 325DataColumn baseSchemaName = new DataColumn("BaseSchemaName", typeof(System.String)); 326DataColumn baseCatalogName = new DataColumn("BaseCatalogName", typeof(System.String)); 327DataColumn baseTableName = new DataColumn("BaseTableName", typeof(System.String)); 328DataColumn baseColumnName = new DataColumn("BaseColumnName", typeof(System.String)); 896override public String GetDataTypeName(int index) { 954override public String GetName(int index) { 962override public Int32 GetOrdinal(String name) { 972override public String GetString(int ordinal) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (6)
88if ((null == populationMechanism) || (typeof(System.String) != populationMechanism.DataType)) { 92if ((null == collectionName) || (typeof(System.String) != collectionName.DataType)) { 98if ((null == restrictionCollectionName) || (typeof(System.String) != restrictionCollectionName.DataType)) { 171private String BuildRegularExpression(string invalidChars, string invalidStartingChars){ 479protected override DataTable PrepareCollection(String collectionName, String[] restrictions, DbConnection connection){
fx\src\data\System\Data\OleDb\OleDbPermission.cs (4)
22private String[] _providerRestriction; // should never be string[0] 23private String _providers; 88private String _providers; 96public String Provider {
fx\src\data\System\Data\OleDb\OleDbStruct.cs (4)
225internal String pwszLiteralValue = null; 228internal String pwszInvalidChars = null; 231internal String pwszInvalidStartingChars = null; 345internal String pwszName = null;
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
151case VarEnum.VT_BSTR: return typeof(System.String);
fx\src\data\System\Data\PrimaryKeyTypeConverter.cs (1)
27if (destinationType == typeof(String)) {
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
90internal String PtrToStringUni(int offset, int length) {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (2)
194p.Add(String.Empty, String.Empty, KeyRestrictionBehavior.AllowOnly);
fx\src\data\System\Data\ProviderBase\DbConnectionPoolAuthenticationContextKey.cs (2)
78return (String.Equals(StsAuthority, otherKey.StsAuthority, StringComparison.InvariantCultureIgnoreCase) 79&& String.Equals(ServicePrincipalName, otherKey.ServicePrincipalName, StringComparison.InvariantCultureIgnoreCase));
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
250result = String.Format((IFormatProvider)null, "{0}[{1}]", instanceName, pid);
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
32static public readonly DbConnectionPoolIdentity NoIdentity = new DbConnectionPoolIdentity(String.Empty, false, true);
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (7)
123private DataTable ExecuteCommand(DataRow requestedCollectionRow, String[] restrictions, DbConnection connection){ 136String sqlCommand = requestedCollectionRow[populationStringColumn,DataRowVersion.Current] as string; 138String collectionName = requestedCollectionRow[collectionNameColumn,DataRowVersion.Current] as string; 252if ((null == collectionNameColumn) || (typeof(System.String) != collectionNameColumn.DataType)) { 257String exactCollectionName = null; 483virtual protected DataTable PrepareCollection(String collectionName, String[] restrictions,DbConnection connection){
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
266String name = ((PARAMETEROBJECTNAME)value).ParameterName;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
518fieldType = typeof(String); // map to DataColumn with DataType=typeof(string) 704fieldType = typeof(String);
fx\src\data\System\Data\Sql\invalidudtexception.cs (2)
23internal InvalidUdtException(String message) : base(message) { 27internal InvalidUdtException(String message, Exception innerException) : base(message, innerException) {
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (2)
128Debug.Assert(String.Compare(_Cluster, 0, instance2, 0, _clusterLength, StringComparison.OrdinalIgnoreCase) == 0); 133Debug.Assert(String.Compare(_Version, 0, instance2, 0, _versionLength, StringComparison.OrdinalIgnoreCase) == 0);
fx\src\data\System\Data\Sql\SqlMetaData.cs (25)
61public SqlMetaData(String name, SqlDbType dbType) { 67public SqlMetaData(String name, SqlDbType dbType, bool useServerDefault, 75public SqlMetaData(String name, SqlDbType dbType, long maxLength) { 82public SqlMetaData(String name, SqlDbType dbType, long maxLength, bool useServerDefault, 89public SqlMetaData(String name, SqlDbType dbType, Type userDefinedType) { 95public SqlMetaData(String name, SqlDbType dbType, Type userDefinedType, string serverTypeName) { 101public SqlMetaData(String name, SqlDbType dbType, Type userDefinedType, string serverTypeName, 108public SqlMetaData(String name, SqlDbType dbType, byte precision, byte scale) { 121public SqlMetaData(String name, SqlDbType dbType, long maxLength, long locale, 128public SqlMetaData(String name, SqlDbType dbType, long maxLength, long locale, 136public SqlMetaData(String name, SqlDbType dbType, string database, string owningSchema, 144public SqlMetaData(String name, SqlDbType dbType, long maxLength, byte precision, 153public SqlMetaData(String name, SqlDbType dbType, long maxLength, byte precision, 209public SqlMetaData(String name, SqlDbType dbType, string database, string owningSchema, string objectName) { 215internal SqlMetaData (String name, 246private SqlMetaData (String name, 411private void Construct(String name, SqlDbType dbType, bool useServerDefault, 458private void Construct(String name, SqlDbType dbType, long maxLength, bool useServerDefault, 519private void Construct(String name, 594private void Construct( String name, SqlDbType dbType, byte precision, byte scale, bool useServerDefault, 630private void Construct(String name, SqlDbType dbType, Type userDefinedType, string serverTypeName, bool useServerDefault, 655private void Construct(String name, SqlDbType dbType, string database, string owningSchema, 1061case TypeCode.String: value = this.Adjust((String)value); break; 1125public static SqlMetaData InferFromValue(object value, String name) { 1153long maxLen = ((String)value).Length;
fx\src\data\System\Data\Sql\SqlNotificationRequest.cs (3)
37throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterService); 49throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterTimeout); 61throw ADP.ArgumentOutOfRange(String.Empty, ADP.ParameterUserData);
fx\src\data\System\Data\Sql\SqlUserDefinedTypeAttribute.cs (2)
42private String m_ValidationMethodName = null; 108public String ValidationMethodName {
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
231errorMessage = String.Format((IFormatProvider)null, "{0} (error: {1} - {2})",
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (6)
310internal String String { 315return (String)_object; 320return (String)this.Value; // anything else we haven't thought of goes through boxing. 378return (String)this.Value; // anything else we haven't thought of goes through boxing. 626return new SqlString((String)_object); 772case SqlBuffer.StorageType.String: return typeof(String);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
476TDSCommand += String.Format((IFormatProvider)null, "exec tempdb..{0} N'{1}.{2}'", 487TDSCommand += String.Format((IFormatProvider)null, "exec {0}..{1} N'{2}.{3}'",
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
107return String.Empty;
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
472string keyName = String.Format(@"SOFTWARE\Microsoft\Cryptography\Defaults\Provider\{0}", providerName);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (5)
1361private void VerifyEndExecuteState(Task completionTask, String endMethod, bool fullCheckForColumnEncryption = false) { 2918p.XmlSchemaCollectionDatabase = ADP.IsNull(value) ? String.Empty : (string) value; 2921p.XmlSchemaCollectionOwningSchema = ADP.IsNull(value) ? String.Empty : (string) value; 2924p.XmlSchemaCollectionName = ADP.IsNull(value) ? String.Empty : (string) value; 5938private String GetCommandText(CommandBehavior behavior) {
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (2)
170p.UdtTypeName = String.Empty; 321String unquotedIdentifier;
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
375if (!String.Equals(DEFAULT.FailoverPartner, _failoverPartner, StringComparison.OrdinalIgnoreCase)) { 382if (String.Equals(DEFAULT.Initial_Catalog, _initialCatalog, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (12)
430DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 451DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 452DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 453DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 454DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 457DataColumn BaseServerName = new DataColumn(SchemaTableOptionalColumn.BaseServerName, typeof(System.String)); 461DataColumn DataTypeName = new DataColumn("DataTypeName", typeof(System.String)); 462DataColumn UdtAssemblyQualifiedName = new DataColumn("UdtAssemblyQualifiedName", typeof(System.String)); 464DataColumn XmlSchemaCollectionDatabase = new DataColumn("XmlSchemaCollectionDatabase", typeof(System.String)); 465DataColumn XmlSchemaCollectionOwningSchema = new DataColumn("XmlSchemaCollectionOwningSchema", typeof(System.String)); 466DataColumn XmlSchemaCollectionName = new DataColumn("XmlSchemaCollectionName", typeof(System.String)); 905Debug.Assert(SniContext.Snix_Read==stateObj.SniContext, String.Format((IFormatProvider)null, "The SniContext should be Snix_Read but it actually is {0}", stateObj.SniContext));
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (14)
58public override String GetName(int ordinal) { 63public override String GetDataTypeName(int ordinal) { 270public override String GetString(int ordinal) { 470DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 491DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 492DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 493DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 494DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 497DataColumn BaseServerName = new DataColumn(SchemaTableOptionalColumn.BaseServerName, typeof(System.String)); 502DataColumn DataTypeName = new DataColumn("DataTypeName", typeof(System.String)); 503DataColumn UdtAssemblyQualifiedName = new DataColumn("UdtAssemblyQualifiedName", typeof(System.String)); 505DataColumn XmlSchemaCollectionDatabase = new DataColumn("XmlSchemaCollectionDatabase", typeof(System.String)); 506DataColumn XmlSchemaCollectionOwningSchema = new DataColumn("XmlSchemaCollectionOwningSchema", typeof(System.String)); 507DataColumn XmlSchemaCollectionName = new DataColumn("XmlSchemaCollectionName", typeof(System.String));
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (5)
523if (0 == String.Compare(msgType, "http://schemas.microsoft.com/SQL/Notifications/QueryNotification", StringComparison.OrdinalIgnoreCase)) { 962string keyvalue = String.Empty; 1064if ((XmlNodeType.Element != xmlReader.NodeType) || (0 != String.Compare(xmlReader.LocalName, MessageNode, StringComparison.OrdinalIgnoreCase))) { 1182String.Equals(temp._queue, _queue, StringComparison.OrdinalIgnoreCase)) { 1192String.Equals(temp._queue, _queue, StringComparison.OrdinalIgnoreCase)) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (10)
701internal static String GetStringFromXml(XmlReader xmlreader) { 755(255, 255, -1, false, false, false, TdsEnums.SQLBIGCHAR, TdsEnums.SQLBIGCHAR, MetaTypeName.CHAR, typeof(System.String), typeof(SqlString), SqlDbType.Char, DbType.AnsiStringFixedLength, 7); 758(255, 255, -1, false, false, false, TdsEnums.SQLBIGVARCHAR, TdsEnums.SQLBIGVARCHAR, MetaTypeName.VARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.VarChar, DbType.AnsiString, 7); 761(255, 255, -1, false, true, true, TdsEnums.SQLBIGVARCHAR, TdsEnums.SQLBIGVARCHAR, MetaTypeName.VARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.VarChar, DbType.AnsiString, 7); 764(255, 255, -1, false, true, false, TdsEnums.SQLTEXT, TdsEnums.SQLTEXT, MetaTypeName.TEXT, typeof(System.String), typeof(SqlString), SqlDbType.Text, DbType.AnsiString, 0); 770(255, 255, -1, false, false, false, TdsEnums.SQLNCHAR, TdsEnums.SQLNCHAR, MetaTypeName.NCHAR, typeof(System.String), typeof(SqlString), SqlDbType.NChar, DbType.StringFixedLength, 7); 773(255, 255, -1, false, false, false, TdsEnums.SQLNVARCHAR, TdsEnums.SQLNVARCHAR, MetaTypeName.NVARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.NVarChar, DbType.String, 7); 776(255, 255, -1, false, true, true, TdsEnums.SQLNVARCHAR, TdsEnums.SQLNVARCHAR, MetaTypeName.NVARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.NVarChar, DbType.String, 7); 779(255, 255, -1, false, true, false, TdsEnums.SQLNTEXT, TdsEnums.SQLNTEXT, MetaTypeName.NTEXT, typeof(System.String), typeof(SqlString), SqlDbType.NText, DbType.String, 7); 788(255, 255, -1, false, true, true, TdsEnums.SQLXMLTYPE, TdsEnums.SQLXMLTYPE, MetaTypeName.XML, typeof(System.String), typeof(SqlXml), SqlDbType.Xml, DbType.Xml, 0);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (12)
204private string _instanceName = String.Empty; 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"); 640return(String.Format((IFormatProvider)null, "{0:00}.{1:00}.{2:0000}", _loginAck.majorVersion, 952string transactionName = (null == name) ? String.Empty : name; 1236Debug.Assert(SniContext.Snix_Login == Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Snix_Login; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1417if (!String.IsNullOrEmpty(ConnectionOptions.FailoverPartner)) { 1542Debug.Assert(SniContext.Undefined== Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1587_instanceName = String.Empty; 1781Debug.Assert(SniContext.Undefined== Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1830Debug.Assert(SniContext.Undefined == Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1842_instanceName = String.Empty;
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
520return String.Format(/*IFormatProvider*/ null, "(ObjId={0}, tranId={1}, state={2}, type={3}, open={4}, disp={5}",
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (5)
42private void addUDTsToDataTypesTable(DataTable dataTypesTable, SqlConnection connection , String ServerVersion) { 158resultString.Append(String.Format((IFormatProvider)null, "{0,-2:x2}", b)); 172private void AddTVPsToDataTypesTable(DataTable dataTypesTable, SqlConnection connection , String ServerVersion) { 262protected override DataTable PrepareCollection(String collectionName, String[] restrictions, DbConnection connection){
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
448String[] names; 711public String UdtTypeName { 725public String TypeName {
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
108throw ADP.ArgumentOutOfRange(String.Empty, (offset < 0 ? ADP.ParameterOffset : ADP.ParameterCount)); 355throw ADP.ArgumentOutOfRange(String.Empty, (offset < 0 ? ADP.ParameterOffset : ADP.ParameterCount));
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
1677string errorMessageId = String.Format((IFormatProvider)null, "SNI_ERROR_{0}", sniError);
fx\src\data\System\Data\SqlClient\TdsParser.cs (18)
1362errorMessage = String.Empty; // If we don't see the expected null return nothing. 1384string providerRid = String.Format((IFormatProvider)null,"SNI_PN{0}", (int)sniError.provider); 1386Debug.Assert(!ADP.IsEmpty(providerName), String.Format((IFormatProvider)null,"invalid providerResourceId '{0}'", providerRid)); 1425errorMessage = String.Format((IFormatProvider)null, "{0} (provider: {1}, error: {2} - {3})", 1824String.Format("Unexpected SniContext on call to TryRun; SniContext={0}", stateObj.SniContext)); 1871Debug.Assert(false, String.Format((IFormatProvider)null, "unexpected token; token = {0,-2:X2}", token)); 3244if (String.IsNullOrWhiteSpace(tempFedAuthInfo.stsurl) || String.IsNullOrWhiteSpace(tempFedAuthInfo.spn)) { 5003String s = null; 7205Debug.Assert(SniContext.Snix_Login==_physicalStateObj.SniContext, String.Format((IFormatProvider)null, "Unexpected SniContext. Expecting Snix_Login, actual value is '{0}'", _physicalStateObj.SniContext)); 7653Debug.Assert(SniContext.Snix_Read==stateObj.SniContext, String.Format((IFormatProvider)null, "The SniContext should be Snix_Read but it actually is {0}", stateObj.SniContext)); 8398String[] names = SqlParameter.ParseTypeName(param.UdtTypeName, true /* is UdtTypeName */); 9909else if ((currentType == typeof(String)) && (((String)value).Length > 0)) { 9910if ((value != null) && (((String)value)[0] & 0xff) != 0xff) 10027String sch = new String(((SqlChars)value).Value); 10982String sch = new String(((SqlChars)value).Value); 11420return String.Format(/*IFormatProvider*/ null,
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (4)
395return String.Format(/*IFormatProvider*/ null, "(LCID={0}, Opts={1})", this.LCID, (int)this.SqlCompareOptions); 472return String.Format(CultureInfo.InvariantCulture, "STSURL: {0}, SPN: {1}", stsurl ?? String.Empty, spn ?? String.Empty);
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (1)
224return String.Format(/*IFormatProvider*/ null,
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
2842Debug.Assert (false, String.Format((IFormatProvider)null, "Unexpected argument {0,-2:x2} to WritePacket", flushMode));
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
37const String folder = "SOFTWARE\\Microsoft\\MSSQLServer\\Client\\ConnectTo";
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (1)
158public override String ToString() {
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (2)
242public override String ToString() { 249public static SqlBoolean Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLByte.cs (2)
109public override String ToString() { 116public static SqlByte Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (4)
90private const String x_ISO8601_DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fff"; 95private static readonly String[] x_DateTimeFormats = { 339public override String ToString() { 346public static SqlDateTime Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (2)
926public override String ToString() { 991public static SqlDecimal Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (2)
112public override String ToString() { 119public static SqlDouble Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
839return String.Format ( CultureInfo.InvariantCulture, formatPath, path.Trim('\\'), uniqueId);
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (3)
82public SqlGuid(String s) { 148public override String ToString() { 159public static SqlGuid Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLInt16.cs (2)
108public override String ToString() { 115public static SqlInt16 Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (2)
109public override String ToString() { 116public static SqlInt32 Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (2)
109public override String ToString() { 116public static SqlInt64 Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (2)
248public override String ToString() { 260public static SqlMoney Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLResource.cs (28)
38internal static readonly String NullString = Res.GetString(Res.SqlMisc_NullString); 40internal static readonly String MessageString = Res.GetString(Res.SqlMisc_MessageString); 42internal static readonly String ArithOverflowMessage = Res.GetString(Res.SqlMisc_ArithOverflowMessage); 44internal static readonly String DivideByZeroMessage = Res.GetString(Res.SqlMisc_DivideByZeroMessage); 46internal static readonly String NullValueMessage = Res.GetString(Res.SqlMisc_NullValueMessage); 48internal static readonly String TruncationMessage = Res.GetString(Res.SqlMisc_TruncationMessage); 50internal static readonly String DateTimeOverflowMessage = Res.GetString(Res.SqlMisc_DateTimeOverflowMessage); 52internal static readonly String ConcatDiffCollationMessage = Res.GetString(Res.SqlMisc_ConcatDiffCollationMessage); 54internal static readonly String CompareDiffCollationMessage = Res.GetString(Res.SqlMisc_CompareDiffCollationMessage); 56internal static readonly String InvalidFlagMessage = Res.GetString(Res.SqlMisc_InvalidFlagMessage); 58internal static readonly String NumeToDecOverflowMessage = Res.GetString(Res.SqlMisc_NumeToDecOverflowMessage); 60internal static readonly String ConversionOverflowMessage = Res.GetString(Res.SqlMisc_ConversionOverflowMessage); 62internal static readonly String InvalidDateTimeMessage = Res.GetString(Res.SqlMisc_InvalidDateTimeMessage); 64internal static readonly String TimeZoneSpecifiedMessage = Res.GetString(Res.SqlMisc_TimeZoneSpecifiedMessage); 66internal static readonly String InvalidArraySizeMessage = Res.GetString(Res.SqlMisc_InvalidArraySizeMessage); 68internal static readonly String InvalidPrecScaleMessage = Res.GetString(Res.SqlMisc_InvalidPrecScaleMessage); 70internal static readonly String FormatMessage = Res.GetString(Res.SqlMisc_FormatMessage); 72internal static readonly String NotFilledMessage = Res.GetString(Res.SqlMisc_NotFilledMessage); 74internal static readonly String AlreadyFilledMessage = Res.GetString(Res.SqlMisc_AlreadyFilledMessage); 76internal static readonly String ClosedXmlReaderMessage = Res.GetString(Res.SqlMisc_ClosedXmlReaderMessage); 78internal static String InvalidOpStreamClosed(String method) 83internal static String InvalidOpStreamNonWritable(String method) 88internal static String InvalidOpStreamNonReadable(String method) 93internal static String InvalidOpStreamNonSeekable(String method)
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (2)
114public override String ToString() { 121public static SqlSingle Parse(String s) {
fx\src\data\System\Data\SQLTypes\SQLString.cs (9)
61private String m_value; 209public SqlString(String data, int lcid, SqlCompareOptions compareOptions) { 229public SqlString(String data, int lcid) : this(data, lcid, x_iDefaultFlag) { 237public SqlString(String data) : this(data, System.Globalization.CultureInfo.CurrentCulture.LCID, x_iDefaultFlag) { 240private SqlString(int lcid, SqlCompareOptions compareOptions, String data, CompareInfo cmpInfo) { 273public String Value { 342public static implicit operator SqlString(String x) { 350public static explicit operator String(SqlString x) { 359public override String ToString() {
fx\src\data\System\Data\SQLTypes\SQLUtility.cs (12)
60public SqlTypeException(String message) : this(message, null) { 63public SqlTypeException(String message, Exception e) : base(message, e) { // MDAC 82931 90public SqlNullValueException(String message) : this(message, null) { 93public SqlNullValueException(String message, Exception e) : base(message, e) { // MDAC 82931 120public SqlTruncateException(String message) : this(message, null) { 123public SqlTruncateException(String message, Exception e) : base(message, e) { // MDAC 82931 152 public SqlNotFilledException(String message) : this(message, null) { 155 public SqlNotFilledException(String message, Exception e) : base(message, e) { // MDAC 82931 175 public SqlAlreadyFilledException(String message) : this(message, null) { 178 public SqlAlreadyFilledException(String message, Exception e) : base(message, e) { // MDAC 82931 198internal static void Check(bool condition, String conditionString, string message) { 203internal static void Check(bool condition, String conditionString) {
fx\src\data\System\Data\UniqueConstraint.cs (6)
37public UniqueConstraint(String name, DataColumn column) { 56public UniqueConstraint(String name, DataColumn[] columns) { 75public UniqueConstraint(String name, string[] columnNames, bool isPrimaryKey) { 85public UniqueConstraint(String name, DataColumn column, bool isPrimaryKey) { 106public UniqueConstraint(String name, DataColumn[] columns, bool isPrimaryKey) { 350private void Create(String constraintName, DataColumn[] columns) {
fx\src\data\System\Data\XDRSchema.cs (10)
20internal String _schemaName; 21internal String _schemaUri; 28_schemaUri = String.Empty; 29_schemaName = String.Empty; 205public String name; 207public NameType(String n, Type t) { 211public int CompareTo(object obj) { return String.Compare(name, (string)obj, StringComparison.Ordinal); } 423column.Namespace = (isAttribute) ? String.Empty : _schemaUri; 437String targetNamespace = node.GetAttribute(Keywords.TARGETNAMESPACE); 629String tbName = XmlConvert.DecodeName(typeName);
fx\src\data\System\Data\XmlDataLoader.cs (4)
153value = String.Empty; 182value = String.Empty; 840string diffId = String.Empty; // Diffgram ID string 1081string text = String.Empty; // Column text. Assume empty string
fx\src\data\System\Data\XMLDiffLoader.cs (3)
343String ln =XmlConvert.DecodeName( row.LocalName) ; 344String ns = row.NamespaceURI; 394String text = row.ReadString();
fx\src\data\System\Data\xmlsaver.cs (37)
71String s, v; 74s = (String) SqlConvert.ChangeTypeForXML(entry.Key, typeof(string)); 78s = (String) Convert.ToString(entry.Key, CultureInfo.InvariantCulture); 82v = (String) SqlConvert.ChangeTypeForXML(entry.Value, typeof(string)); 88v = (String) Convert.ToString(entry.Value, CultureInfo.InvariantCulture); 1590 == String.Compare(pd.Name, "Namespace" , StringComparison.Ordinal) || 1600 == String.Compare(pd.Name, "PrimaryKey" , StringComparison.Ordinal) || 1610 == String.Compare(pd.Name, "ColumnName" , StringComparison.Ordinal) || 1620 == String.Compare(pd.Name, "DefaultValue" , StringComparison.Ordinal) || 1630 == String.Compare(pd.Name, "TableName" , StringComparison.Ordinal) || 1640 == String.Compare(pd.Name, "DataSetName" , StringComparison.Ordinal) || 1650 == String.Compare(pd.Name, "AllowDBNull" , StringComparison.Ordinal) || 1660 == String.Compare(pd.Name, "Unique" , StringComparison.Ordinal) || 1670 == String.Compare(pd.Name, "NestedInDataSet" , StringComparison.Ordinal) || 1680 == String.Compare(pd.Name, "Locale" , StringComparison.Ordinal) || 1690 == String.Compare(pd.Name, "CaseSensitive", StringComparison.Ordinal) || 1700 == String.Compare(pd.Name, "RemotingFormat" , StringComparison.Ordinal) 176if (0 == String.Compare(pd.Name, "DataType", StringComparison.Ordinal)) { 191if (0 == String.Compare(pd.Name, "Attribute", StringComparison.Ordinal)) { 249return String.Empty; 1135if (col.DataType != typeof(String)) { 1206String refString = (col.ColumnMapping != MappingType.Element) ? Keywords.XSD_ATTRIBUTE : Keywords.XSD_ELEMENT; 1603root.SetAttribute(Keywords.XSD_NILLABLE, String.Empty, Keywords.TRUE); 1707String xpathprefix = (_ds != null)? (_ds.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : String.Empty) : String.Empty; 1710xpathprefix = table.Namespace.Length != 0 ? (string) prefixes[table.Namespace] +':' : String.Empty; 1934if (!String.IsNullOrEmpty(result)) 1951if (String.IsNullOrEmpty(result)) 2107string prefix = (table.Namespace.Length != 0) ? table.Prefix : String.Empty; 2123string columnPrefix = (column.Namespace.Length != 0) ? column.Prefix : String.Empty; 2176string tablePrefix = (table.Namespace.Length != 0) ? table.Prefix : String.Empty; 2216string colPrefix = (col.Namespace.Length != 0) ? col.Prefix : String.Empty; 2537internal void XmlDataRowWriter(DataRow row, String encodedTableName) { 2791public override void WriteRaw(String data) { 2996public override String LookupNamespace( String prefix ) {
fx\src\data\System\Data\XMLSchema.cs (42)
74internal static bool FEqualIdentity(XmlNode node, String name, String ns) { 81internal static bool GetBooleanAttribute(XmlElement element, String attrName, String attrNS, bool defVal) { 127String _schemaName = null; 333internal static String GetMsdataAttribute(XmlSchemaAnnotated node, String ln) { 385if (0 == String.Compare(rels[i].RelationName, strName, StringComparison.Ordinal)) 675String typeName = GetInstanceName(element); 715if (this.FromInference && ds.Tables.Count == 0 && String.Compare(ds.DataSetName, "NewDataSet", StringComparison.Ordinal) == 0) 990String colName = field; 997String [] split = colName.Split(':'); 1026internal bool GetBooleanAttribute(XmlSchemaAnnotated element, String attrName, bool defVal) { 1041internal String GetStringAttribute(XmlSchemaAnnotated element, String attrName, String defVal) { 1089String tableName = GetTableName(keyref); 1179String name = null; 1189String tableName = GetTableName(keyNode); 1228String typeName = XmlConvert.DecodeName(GetInstanceName(node)); 1229String _TableUri; 1336String typeName = GetInstanceName(node); 1339String _TableUri; 1369String value= GetStringAttribute(typeNode, Keywords.MSD_CASESENSITIVE, "") ; 1529public readonly String name; 1531public NameType(String n, Type t) { 1535public int CompareTo(object obj) { return String.Compare(name, (string)obj, StringComparison.Ordinal); } 1673String _type = isAttr ? attr.SchemaTypeName.Name : el.SchemaTypeName.Name; 1674String _typeNs = isAttr ? attr.SchemaTypeName.Namespace : el.SchemaTypeName.Namespace; 1751String tmp = (-1).ToString(CultureInfo.CurrentCulture); 1809internal void HandleSimpleContentColumn(String strType, DataTable table, bool isBase, XmlAttribute[] attrs, bool isNillable){ 1850String tmp = (-1).ToString(CultureInfo.CurrentCulture); 1906String strType = null; 2015String defValue = GetMsdataAttribute(attr, Keywords.MSD_DEFAULTVALUE); 2048String strType = null; 2168column.Namespace = String.Empty; 2176column.Namespace = String.Empty; 2185String tmp = GetStringAttribute(elem, Keywords.MSD_ORDINAL, (-1).ToString(CultureInfo.CurrentCulture)); 2220String value = GetMsdataAttribute(node, Keywords.MSD_LOCALE); 2388private String GetTableNamespace(XmlSchemaIdentityConstraint key) { 2408private String GetTableName(XmlSchemaIdentityConstraint key) { 2411String tableName = split[split.Length - 1]; //get the last string after '/' and ':'
fx\src\data\System\Data\XmlToDatasetMap.cs (3)
35(String.Compare(this.LocalName, id.LocalName, StringComparison.OrdinalIgnoreCase) == 0) && 36(String.Compare(this.NamespaceURI, id.NamespaceURI, StringComparison.OrdinalIgnoreCase) == 0) 74id.NamespaceURI = String.Empty;
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (2)
56public override String BaseURI { get { return _curNode.BaseURI; } } 58public override String XmlLang { get { return _curNode.XmlLang; } }
fx\src\data\System\NewXml\DataPointer.cs (11)
338String name = node.LocalName; 341return String.Empty; 345return String.Empty; 380String name = node.Name; 384return String.Empty; 561internal String PublicId { 582internal String SystemId { 603internal String InternalSubset { 622internal String Encoding { 636internal String Standalone { 650internal String Version {
fx\src\data\System\NewXml\RegionIterator.cs (3)
111internal bool NextInitialTextLikeNodes( out String value ) { 152return String.Empty; 173value = String.Empty;
fx\src\data\System\NewXml\XmlDataDocument.cs (5)
322prefix = String.Empty; 324namespaceURI = String.Empty; 357public override XmlEntityReference CreateEntityReference(String name) { 433ns = String.Empty; 1306value = String.Empty;
fx\src\data\System\NewXml\XPathNodePointer.cs (8)
192return String.Empty; 221return String.Empty; 341internal String BaseURI { 347return String.Empty; 351internal String XmlLang { 372return (String) colVal; 387return String.Empty; 1234String retVal = null;
System.Data.DataSetExtensions (9)
System\Data\DataRowComparer.cs (3)
81return DataRowComparer.CompareEquatableArray<String>((String[])a, (String[])b);
System\Data\LinqDataView.cs (6)
105base.RowFilter = String.Empty; //INDEX rebuild twice 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)) 256base.Sort = String.Empty;
System.Data.Entity (487)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
247return new DbSortClause(key, true, String.Empty); 260return new DbSortClause(key, false, String.Empty);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1478if (!String.IsNullOrEmpty(function.CommandTextAttribute) && !function.HasUserDefinedBody)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (2)
213var @string = e.Value as string; 671if (!String.IsNullOrEmpty(clause.Collation))
System\Data\Common\EntitySql\AST\AliasedExpr.cs (1)
31if (String.IsNullOrEmpty(alias.Name))
System\Data\Common\EntitySql\AST\Literal.cs (3)
69_originalValue = String.Empty; 445if (String.IsNullOrEmpty(binaryLiteralValue)) 541string[] timeParts = new String[datetimeParts.Length - 2];
System\Data\Common\EntitySql\CqlErrorHelper.cs (3)
67throw EntityUtil.EntitySqlError(errCtx, String.Format(CultureInfo.InvariantCulture, "{0} {1}", System.Data.Entity.Strings.AliasNameAlreadyUsed(aliasName), contextMessage)); 101string errorMessage = String.Empty; 258string typeKindName = String.Empty;
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\CqlParser.cs (4)
70void debug(String msg) 1585static String [] yyname = { 1615static String [] yyrule = { 1838String s=null;
System\Data\Common\EntitySql\CqlParserHelpers.cs (4)
59if (String.IsNullOrEmpty(query) || query.Trim().Length == 0) 151if (!String.IsNullOrEmpty(term)) 156if (null != astNode && (null != astNode.ErrCtx) && (!String.IsNullOrEmpty(astNode.ErrCtx.ErrorContextInfo))) 173syntaxContextInfo = String.Format(CultureInfo.CurrentCulture, "{0} '{1}'", syntaxContextInfo, term);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
359Debug.Assert(!String.IsNullOrEmpty(name), "function name must not be null or empty"); 1021string targetEndId = String.Join(":", new String[] { relshipTarget.TargetEnd.DeclaringType.Identity, relshipTarget.TargetEnd.Identity }); 3773Debug.Assert(aggregates.Any((aggregate) => String.CompareOrdinal(aggregate.Key, groupAggregateVarRef.VariableName) == 0),
System\Data\Common\EntitySql\SemanticResolver.cs (2)
476Debug.Assert(!String.IsNullOrEmpty(name), "name must not be null or empty"); 805return GenerateInternalName(String.Empty);
System\Data\Common\EntitySql\TypeResolver.cs (7)
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"); 454var functionName = multipart[multipart.Length - 1]; 455var namespaceName = name.Substring(0, name.Length - functionName.Length - 1); 537Debug.Assert(!String.IsNullOrEmpty(rightName), "rightName must not be empty"); 610return String.Join(".", names);
System\Data\Common\EntityUtil.cs (5)
532return Metadata(String.Format(CultureInfo.CurrentCulture, EntityRes.GetString(EntityRes.InvalidSchemaEncountered), errors)); 923if (String.IsNullOrEmpty(propertyName)) 1016Debug.Assert(!String.IsNullOrEmpty(relationshipName), "empty relationshipName"); 1526if (String.IsNullOrEmpty(argument)) 1844var assemblyQualifiedTypeName = (string)row[AssemblyQualifiedNameIndex];
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (4)
195Append(prefix, String.Format(CultureInfo.InvariantCulture, "{0}", value)); 258String description = String.Format(CultureInfo.InvariantCulture, 280Append(String.Format(CultureInfo.InvariantCulture, "MD-{0}", Guid.NewGuid()));
System\Data\Common\Internal\Materialization\Translator.cs (2)
556private static readonly MethodInfo IEqualityComparerOfString_Equals = typeof(IEqualityComparer<String>).GetMethod("Equals", new Type[] { typeof(string), typeof(string) }); 2223throw EntityUtil.InvalidOperation(String.Empty);
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
34private ConcurrentDictionary<String, ObjectQueryExecutionPlan> _plans;
System\Data\Common\QueryCache\EntityClientCacheKey.cs (1)
201return String.Join("|", new string[] { Enum.GetName(typeof(CommandType), _commandType), _eSqlStatement, _parametersToken });
System\Data\Common\QueryCache\EntitySqlQueryCacheKey.cs (1)
154return String.Join("|", new string[] { _defaultContainer, _eSqlStatement, _parametersToken, _includePathsToken, Enum.GetName(typeof(MergeOption), _mergeOption) });
System\Data\Common\QueryCache\LinqQueryCacheKey.cs (1)
144return String.Join("|", new string[] { _expressionKey, _parametersToken, _includePathsToken, Enum.GetName(typeof(MergeOption), _mergeOption), _useCSharpNullComparisonBehavior.ToString() });
System\Data\Common\QueryCache\QueryCacheKey.cs (1)
118return String.Equals(s, t, _stringComparison);
System\Data\Common\Utils\AliasGenerator.cs (3)
50_prefix = prefix ?? String.Empty; 106name = String.Concat(_prefix, index.ToString(CultureInfo.InvariantCulture)); 119_cache[index] = name = String.Concat(_prefix, name);
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
475return String.Format(CultureInfo.InvariantCulture, "!{0}", Child);
System\Data\Common\Utils\Boolean\Literal.cs (1)
76_isTermPositive ? String.Empty : "!",
System\Data\Common\Utils\Boolean\Vertex.cs (1)
137return String.Format(CultureInfo.InvariantCulture, "<{0}, {1}>", Variable, StringUtil.ToCommaSeparatedString(Children));
System\Data\Common\Utils\Helpers.cs (1)
26Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
System\Data\Common\Utils\StringUtil.cs (3)
35if (null == values) { return String.Empty; } 207return String.Format(CultureInfo.InvariantCulture, format, args); 236return String.Format(CultureInfo.InvariantCulture, "{0}", value);
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
268String name = ((EntityParameter)value).ParameterName;
System\Data\EntityClient\EntityConnection.cs (6)
46private static readonly DbConnectionOptions s_emptyConnectionOptions = new DbConnectionOptions(String.Empty, null); 76: this(String.Empty) 263return String.Empty; 305return String.Empty; 822this.ChangeConnectionString(String.Empty); 840if (!String.IsNullOrEmpty(newConnectionString))
System\Data\EntityKey.cs (13)
376if (String.IsNullOrEmpty(_entityContainerName) || String.IsNullOrEmpty(_entitySetName)) 458if (_isLocked || (!String.IsNullOrEmpty(_entitySetName) && 459!String.IsNullOrEmpty(_entityContainerName) && 582if (!String.Equals(key1._keyNames[0], key2._keyNames[0])) 619if (!String.Equals(key1._entitySetName, key2._entitySetName) || 620!String.Equals(key1._entityContainerName, key2._entityContainerName)) 654if (String.Equals(keyName, key2._keyNames[i])) 687if (String.Equals(keyName, key2._keyNames[i])) 890if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 909if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 1245if (String.IsNullOrEmpty(name)) 1389return String.Format(System.Globalization.CultureInfo.CurrentCulture, "[{0}, {1}]", _keyName, _keyValue);
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (1)
156if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty))
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (4)
226if (!String.IsNullOrEmpty(_unresolvedExtendedEntityContainerName)) 494if (String.IsNullOrEmpty(entitySet.DbSchema)) 505if (String.IsNullOrEmpty(entitySet.Table)) 516string tableKey = String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}.{1}", schema, 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\Parameter.cs (3)
112if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty)) 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\ReferenceTypeElement.cs (1)
65Debug.Assert(UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty));
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
104Debug.Assert(!String.IsNullOrEmpty(this.Name), "RoleName should never be empty");
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (1)
155if (UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty))
System\Data\EntityModel\SchemaObjectModel\Schema.cs (3)
170String expectedNamespacesString = Helper.GetCommaDelimitedString(expectedNamespaces); 439if (String.IsNullOrEmpty(Namespace)) 446if (!String.IsNullOrEmpty(Alias) && EdmItemCollection.IsSystemNamespace(ProviderManifest, Alias))
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 (1)
90Debug.Assert(!String.IsNullOrEmpty(alias), "alias must never be null");
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
320string fullyQualifiedName = String.IsNullOrEmpty(namespaceName) ? typeName : namespaceName + "." + typeName;
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (1)
87Debug.Assert(UnresolvedType != null && !UnresolvedType.Trim().Equals(String.Empty));
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (2)
26private readonly Dictionary<String, object> _facetValues; 666if (String.IsNullOrEmpty(reader.Value))
System\Data\EntitySqlException.cs (6)
151return _errorDescription ?? String.Empty; 162return _errorContext ?? String.Empty; 208errorContextInfo = !String.IsNullOrEmpty(errorContextInfo) ? EntityRes.GetString(errorContextInfo) : String.Empty; 245if (!String.IsNullOrEmpty(errorContextInfo)) 273if (!String.IsNullOrEmpty(errorContext))
System\Data\Mapping\BaseMetadataMappingVisitor.cs (4)
206Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", relationshipType.BuiltInTypeKind)); 247Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", edmType.BuiltInTypeKind)); 326Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entityTypeBase.BuiltInTypeKind)); 385Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", storagePropertyMapping.GetType()));
System\Data\Mapping\FunctionImportMapping.cs (1)
554return String.Format(CultureInfo.InvariantCulture, "Values={0}, Types={1}",
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (1)
66internal IEnumerable<String> GetDiscriminatorColumns()
System\Data\Mapping\ObjectTypeMapping.cs (1)
112internal ObjectPropertyMapping GetPropertyMap(String propertyName)
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
265internal StorageSetMapping GetEntitySetMapping(String entitySetName) {
System\Data\Mapping\StorageMappingItemCollection.cs (1)
238String.Format(System.Globalization.CultureInfo.CurrentCulture,
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (4)
281Helpers.StringTraceLine(String.Empty); 282Helpers.StringTraceLine(String.Empty); 284Helpers.StringTraceLine(String.Empty); 285Helpers.StringTraceLine(String.Empty);
System\Data\Mapping\StorageMappingItemLoader.cs (13)
834if (String.IsNullOrEmpty(entityTypeName)) 853if (!(String.IsNullOrEmpty(tableName))) 942foreach (var name in entityTypeNames) 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))
System\Data\Mapping\StorageModificationFunctionMapping.cs (7)
55return String.Format(CultureInfo.InvariantCulture, 110return String.Format(CultureInfo.InvariantCulture, 184return String.Format(CultureInfo.InvariantCulture, 252return String.Format(CultureInfo.InvariantCulture, 287return String.Format(CultureInfo.InvariantCulture, 324return String.Format(CultureInfo.InvariantCulture, "{0}{1}", 325null == AssociationSetEnd ? String.Empty : "[" + AssociationSetEnd.ParentAssociationSet.ToString() + "]",
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
171internal void AddResultColumn(UpdateTranslator translator, String columnName, PropagatorResult result) 195private void AddOutputIdentifier(String columnName, int identifier)
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
70typeDefaultMap[PrimitiveTypeKind.String] = String.Empty;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
482return String.Format(CultureInfo.InvariantCulture, "{0}.{1}-->{2}: {3}",
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
664builder.ToString(), m_viewgenContext.AllWrappersForExtent, String.Empty));
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
108var projectionVariableName = project.Input.VariableName;
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\QueryRewriting\FragmentQuery.cs (2)
108return String.Format(CultureInfo.InvariantCulture, "{0}: [{1} where {2}]", Description, b, this.Condition); 112return String.Format(CultureInfo.InvariantCulture, "[{0} where {1}]", b, this.Condition);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
150FragmentQuery derivedView = new FragmentQuery(String.Format(CultureInfo.InvariantCulture, "project({0})", view.Description), view.FromVariable,
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (7)
425ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty); 468private static List<String> GetTypeBasedMemberPathList(IEnumerable<MemberPath> nonConditionalScalarAttributes) 471List<String> typeBasedMembers = new List<string>(); 488ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.AttributesUnrecoverable, builder.ToString(), _context.AllWrappersForExtent, String.Empty); 575ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.AmbiguousMultiConstants, builder.ToString(), _context.AllWrappersForExtent, String.Empty); 627_errorLog.AddEntry(new ErrorLog.Record(true, ViewGenErrorCode.NoDefaultValue, builder.ToString(), _context.AllWrappersForExtent, String.Empty)); 723ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ImpopssibleCondition, Strings.Viewgen_QV_RewritingNotFound(fragment.RightExtent.ToString()), fragment.Cells, String.Empty);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (4)
99String message = Strings.ViewGen_CQ_PartitionConstraint(extentName); 220Debug.Fail(String.Format(CultureInfo.InvariantCulture, "No cached rewriting for {0}={1}", column, domainValue)); 533new LeftCellWrapper[] { m_wrapper, node.LeftCellWrapper }, String.Empty); 572return String.Format(CultureInfo.InvariantCulture, "{0}={1}", Member, Value);
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (3)
153return String.Format(CultureInfo.InvariantCulture, "{0}: [{1}]", this.Description, this.Query); 157return String.Format(CultureInfo.InvariantCulture, "[{0}]", this.Query); 239return String.Format(CultureInfo.InvariantCulture, descriptionFormat, this.Arg1.Description, this.Arg2.Description);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (3)
269ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.DuplicateCPropertiesMapped, builder.ToString(), sourceCell, String.Empty); 369ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.NotNullNoProjectedSlot, builder.ToString(), sourceCell, String.Empty); 514ErrorLog.Record error = new ErrorLog.Record(true, errorCode, message, ownerCell, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
204ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.NoDefaultValue, message, wrappersForErrorReporting, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
400return String.CompareOrdinal(x.OriginalCellNumberString, y.OriginalCellNumberString);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
123ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.InvalidCondition, message, cell, String.Empty);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
400Strings.Viewgen_NoJoinKeyOrFK, ViewgenContext.AllWrappersForExtent, String.Empty));
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\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (10)
143Trace.WriteLine(String.Empty); 144Trace.WriteLine(String.Empty); 167ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyMissingTableMapping, message, parentRewriter.UsedCells, String.Empty); 177ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyMissingTableMapping, message, childRewriter.UsedCells, String.Empty); 243ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyNotGuaranteedInCSpace, message, allWrappers, String.Empty); 339ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyMissingRelationshipMapping, message, bothExtentWrappers, String.Empty); 467ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyUpperBoundMustBeOne, message, cell, String.Empty); 478ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyLowerBoundMustBeOne, message, cell, String.Empty); 518ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyParentTableNotMappedToEnd, message, cell, String.Empty); 782ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ForeignKeyColumnOrderIncorrect, message, new Cell[] { errorParentCell, childCell }, String.Empty);
System\Data\Mapping\ViewGeneration\Validator.cs (3)
84Trace.WriteLine(String.Empty); 101Trace.WriteLine(String.Empty); 298Strings.Viewgen_MultipleFragmentsBetweenCandSExtentWithDistinct(cExtent.Name, sExtent.Name), cellsToReport, String.Empty);
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (2)
259ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ConcurrencyDerivedClass, message, m_cellWrappers, String.Empty); 278ErrorLog.Record record = new ErrorLog.Record(true, ViewGenErrorCode.ConcurrencyTokenHasCondition, builder.ToString(), new LeftCellWrapper[] { wrapper }, String.Empty);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (13)
251Helpers.StringTraceLine(String.Empty); 252Helpers.StringTraceLine(String.Empty); 256Helpers.StringTraceLine(String.Empty); 257Helpers.StringTraceLine(String.Empty); 300Helpers.StringTraceLine(String.Empty); 301Helpers.StringTraceLine(String.Empty); 304Helpers.StringTraceLine(String.Empty); 305Helpers.StringTraceLine(String.Empty); 318Helpers.StringTraceLine(String.Empty); 319Helpers.StringTraceLine(String.Empty); 322Helpers.StringTraceLine(String.Empty); 323Helpers.StringTraceLine(String.Empty); 424Helpers.StringTraceLine(String.Empty);
System\Data\Mapping\ViewValidator.cs (1)
609private Dictionary<String, DbExpressionEntitySetInfo> m_entitySetInfos;
System\Data\Metadata\ClrPerspective.cs (2)
62internal override bool TryGetMember(StructuralType type, String memberName, bool ignoreCase, out EdmMember outMember) 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\EdmFunction.cs (1)
151return this.IsModelDefinedFunction && !String.IsNullOrEmpty(this.CommandTextAttribute);
System\Data\Metadata\Edm\EdmMember.cs (1)
55public String Name
System\Data\Metadata\Edm\EdmType.cs (2)
106public String Name 123public String NamespaceName
System\Data\Metadata\Edm\EntityContainer.cs (1)
69public String Name
System\Data\Metadata\Edm\EntitySetBase.cs (1)
126public String Name
System\Data\Metadata\Edm\EntityType.cs (6)
249System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(cspaceNamespaceName) && 250!String.IsNullOrEmpty(cspaceTypeName), "Mapping information must never be null"); 341foreach (var navProp in navProps) 347foreach (var member in KeyMemberNames) 352foreach (var key in keys) 366foreach (var scalar in scalars)
System\Data\Metadata\Edm\EntityTypeBase.cs (2)
73String[] keyNames = _keyMemberNames; 154internal void CheckAndAddKeyMembers(IEnumerable<String> keyMembers)
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\Facet.cs (1)
137public String Name
System\Data\Metadata\Edm\FunctionParameter.cs (1)
84public String Name
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
388Debug.Assert(null != (Action<Object,Type,String,String>)EntityUtil.ThrowSetInvalidValue, "missing method ThrowSetInvalidValue(object,Type,string,string)");
System\Data\Metadata\Edm\MetadataCollection.cs (4)
64Debug.Assert(!String.IsNullOrEmpty(item.Identity), "Identity of the item must never be null or empty"); 221Debug.Assert(!String.IsNullOrEmpty(identity), "empty identity"); 522if (String.Equals(collectionData.OrderedList[i].Identity, identity, StringComparison.OrdinalIgnoreCase)) 655(ignoreCase && String.Equals(_collectionData.OrderedList[index].Identity, identity, StringComparison.OrdinalIgnoreCase)) ||
System\Data\Metadata\Edm\MetadataItem.cs (1)
134internal abstract String Identity { get; }
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
222primitiveTypes[(int)PrimitiveTypeKind.String] = CreatePrimitiveType(typeof(String), PrimitiveTypeKind.String);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (2)
70get { return String.Empty; } 169InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.String], PrimitiveTypeKind.String, EdmConstants.String, typeof(String));
System\Data\Metadata\Edm\TypeUsage.cs (2)
497internal override String Identity 583builder.Append(facet.Value ?? String.Empty);
System\Data\Metadata\EdmItemCollection.cs (1)
309List<String> tempCTypeFunctionIdentity = new List<string>();
System\Data\Metadata\EdmSchemaError.cs (3)
129if (String.IsNullOrEmpty(SchemaName) && Line < 0 && Column < 0) 131text = String.Format(System.Globalization.CultureInfo.CurrentCulture, "{0} {1:0000}: {2}", 138text = String.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}({1},{2}) : {3} {4:0000}: {5}",
System\Data\Metadata\Helper.cs (1)
183internal static String GetCommaDelimitedString(IEnumerable<string> stringList)
System\Data\Metadata\MetadataArtifactLoader.cs (2)
367if(String.IsNullOrEmpty(resource)) 436if (!String.IsNullOrEmpty(path))
System\Data\Metadata\ObjectItemCollection.cs (3)
136public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 157internal void ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 301bool loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action<String> logLoadMessage)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (1)
40KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action<String> logLoadMessage, ref object loaderCookie, out Dictionary<string, EdmType> typesInLoading, out List<EdmItemError> errors)
System\Data\Metadata\ObjectLayer\LoadMessageLogger.cs (2)
19private Action<String> _logLoadMessage; 22internal LoadMessageLogger(Action<String> logLoadMessage)
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\ObjectLayer\ObjectItemLoadingSessionData.cs (1)
130internal ObjectItemLoadingSessionData(KnownAssembliesSet knownAssemblies, LockedAssemblyCache lockedAssemblyCache, EdmItemCollection edmItemCollection, Action<String> logLoadMessage, object loaderCookie)
System\Data\Metadata\Perspective.cs (6)
56internal virtual bool TryGetMember(StructuralType type, String memberName, bool ignoreCase, out EdmMember outMember) 63internal bool TryGetEnumMember(EnumType type, String memberName, bool ignoreCase, out EnumMember outMember) 79internal bool TryGetExtent(EntityContainer entityContainer, String extentName, bool ignoreCase, out EntitySetBase outSet) 89internal bool TryGetFunctionImport(EntityContainer entityContainer, String functionImportName, bool ignoreCase, out EdmFunction functionImport) 96functionImport = entityContainer.FunctionImports.Where(fi => String.Equals(fi.Name, functionImportName, StringComparison.OrdinalIgnoreCase)).SingleOrDefault(); 150var fullName = namespaceName + "." + functionName;
System\Data\Metadata\TypeHelpers.cs (1)
54throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, "PrimitiveType must be CSpace '{0}'", typeUsage.ToString()));
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\RelationshipNavigation.cs (1)
186return String.Format(CultureInfo.InvariantCulture,
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1147if (!String.IsNullOrEmpty(clrType.Namespace))
System\Data\Objects\ELinq\Funcletizer.cs (1)
312return String.Format(CultureInfo.InvariantCulture, "{0}{1}",
System\Data\Objects\ELinq\MethodCallTranslator.cs (23)
805if (String.IsNullOrEmpty(parameterValue)) 838typeof(String).GetMethod("Replace", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(String), typeof(String) }, null), 839typeof(String).GetMethod("ToLower", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { }, null), 840typeof(String).GetMethod("ToUpper", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { }, null), 841typeof(String).GetMethod("Trim", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { }, null), 980yield return typeof(String).GetMethod("Contains", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string) }, null); 1010yield return typeof(String).GetMethod("IndexOf", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string) }, null); 1032yield return typeof(String).GetMethod("StartsWith", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string) }, null); 1063yield return typeof(String).GetMethod("EndsWith", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string) }, null); 1096yield return typeof(String).GetMethod("Substring", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(int) }, null); 1097yield return typeof(String).GetMethod("Substring", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(int), typeof(int) }, null); 1135yield return typeof(String).GetMethod("Remove", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(int) }, null); 1136yield return typeof(String).GetMethod("Remove", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(int), typeof(int) }, null); 1217yield return typeof(String).GetMethod("Insert", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(int), typeof(string) }, null); 1260yield return typeof(String).GetMethod("IsNullOrEmpty", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 1289yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string) }, null); 1290yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string), typeof(string) }, null); 1291yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) }, null); 1365yield return typeof(String).GetMethod("Trim", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(Char[]) }, null); 1375yield return typeof(String).GetMethod("TrimStart", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(Char[]) }, null); 1385yield return typeof(String).GetMethod("TrimEnd", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(Char[]) }, null);
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
31Dictionary<String, SequenceMethod> map = new Dictionary<string, SequenceMethod>();
System\Data\Objects\ELinq\Translator.cs (4)
537yield return typeof(String).GetProperty("Length", BindingFlags.Public | BindingFlags.Instance); 598String canonicalFunctionName = s_propertyRenameMap[property]; 721List<KeyValuePair<String, DbExpression>> recordColumns = 824List<KeyValuePair<String, DbExpression>> recordColumns =
System\Data\Objects\EntityFunctions.cs (6)
484public static System.String Left(System.String stringArgument, System.Int64? length) 494public static System.String Right(System.String stringArgument, System.Int64? length) 504public static System.String Reverse(System.String stringArgument)
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
69AssemblyName assemblyName = new AssemblyName(String.Format(CultureInfo.InvariantCulture, "EntityFrameworkDynamicProxies-{0}", assembly.FullName)); 461Debug.Assert(property != null, String.Format(CultureInfo.CurrentCulture, "Expected property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName)); 464Debug.Assert(interceptorField != null, String.Format(CultureInfo.CurrentCulture, "Expected interceptor field for property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName)); 715string proxyTypeName = String.Format(CultureInfo.InvariantCulture, ProxyTypeNameFormat, baseName, _ospaceEntityType.HashedDescription);
System\Data\Objects\ObjectContext.cs (8)
307return ((null != container) ? container.Name : String.Empty); 521if (!String.IsNullOrEmpty(entitySetName)) 789var navProp = ParsePropertySelectorExpression<TEntity>(selector, out removedConvert); 814var navProp = ParsePropertySelectorExpression<TEntity>(selector, out removedConvert); 1840if (String.IsNullOrEmpty(entityContainerName)) 1892if (context != null && String.IsNullOrEmpty(container) && (context.Perspective.GetDefaultContainer() == null)) 2127string prefix = String.Empty; 3295public String CreateDatabaseScript()
System\Data\Objects\ObjectParameterCollection.cs (1)
472if (0 == String.Compare(name, parameter.Name, StringComparison.OrdinalIgnoreCase))
System\Data\Objects\ObjectQuery.cs (1)
162return String.Empty;
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
197return String.Format(
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\Objects\ObjectViewFactory.cs (1)
275Debug.Assert(typeUsage.EdmType.DataSpace == DataSpace.CSpace, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Expected EdmType.DataSpace to be C-Space, but instead it is {0}.", typeUsage.EdmType.DataSpace.ToString()));
System\Data\Objects\SqlClient\SqlFunctions.cs (89)
63public static System.Int32? Ascii(System.String arg) 72public static System.String Char(System.Int32? arg) 81public static System.Int32? CharIndex(System.String toSearch, System.String target) 99public static System.Int32? CharIndex(System.String toSearch, System.String target, System.Int32? startLocation) 117public static System.Int64? CharIndex(System.String toSearch, System.String target, System.Int64? startLocation) 136public static System.Int32? Difference(System.String string1, System.String string2) 145public static System.String NChar(System.Int32? arg) 155public static System.Int32? PatIndex(System.String stringPattern, System.String target) 165public static System.String QuoteName(System.String stringArg) 175public static System.String QuoteName(System.String stringArg, System.String quoteCharacter) 184public static System.String Replicate(System.String target, System.Int32? count) 193public static System.String SoundCode(System.String arg) 202public static System.String Space(System.Int32? arg1) 211public static System.String StringConvert(System.Double? number) 220public static System.String StringConvert(System.Decimal? number) 229public static System.String StringConvert(System.Double? number, System.Int32? length) 238public static System.String StringConvert(System.Decimal? number, System.Int32? length) 247public static System.String StringConvert(System.Double? number, System.Int32? length, System.Int32? decimalArg) 256public static System.String StringConvert(System.Decimal? number, System.Int32? length, System.Int32? decimalArg) 266public static System.String Stuff(System.String stringInput, System.Int32? start, System.Int32? length, System.String stringReplacement) 275public static System.Int32? Unicode(System.String arg) 653public static System.DateTime? DateAdd(System.String datePartArg, System.Double? number, System.DateTime? date) 662public static System.TimeSpan? DateAdd(System.String datePartArg, System.Double? number, System.TimeSpan? time) 671public static System.DateTimeOffset? DateAdd(System.String datePartArg, System.Double? number, System.DateTimeOffset? dateTimeOffsetArg) 680public static System.DateTime? DateAdd(System.String datePartArg, System.Double? number, System.String date) 689public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.DateTime? endDate) 698public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.DateTimeOffset? endDate) 707public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.TimeSpan? endDate) 716public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.DateTime? endDate) 725public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.DateTimeOffset? endDate) 734public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.TimeSpan? endDate) 743public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.String endDate) 752public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.String endDate) 761public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.String endDate) 770public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.String endDate) 779public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.DateTime? endDate) 788public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.DateTimeOffset? endDate) 797public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.TimeSpan? endDate) 806public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.TimeSpan? endDate) 815public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.DateTimeOffset? endDate) 824public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.DateTime? endDate) 833public static System.String DateName(System.String datePartArg, System.DateTime? date) 842public static System.String DateName(System.String datePartArg, System.String date) 851public static System.String DateName(System.String datePartArg, System.TimeSpan? date) 860public static System.String DateName(System.String datePartArg, System.DateTimeOffset? date) 869public static System.Int32? DatePart(System.String datePartArg, System.DateTime? date) 878public static System.Int32? DatePart(System.String datePartArg, System.DateTimeOffset? date) 887public static System.Int32? DatePart(System.String datePartArg, System.String date) 896public static System.Int32? DatePart(System.String datePartArg, System.TimeSpan? date) 977public static System.Int32? DataLength(System.String arg) 1031public static System.Int32? Checksum(System.String arg1) 1112public static System.Int32? Checksum(System.String arg1, System.String arg2) 1193public static System.Int32? Checksum(System.String arg1, System.String arg2, System.String arg3) 1256public static System.String CurrentUser() 1265public static System.String HostName() 1274public static System.String UserName(System.Int32? arg) 1283public static System.String UserName() 1292public static System.Int32? IsNumeric(System.String arg) 1301public static System.Int32? IsDate(System.String arg)
System\Data\Objects\SqlClient\SqlSpatialFunctions.cs (4)
44public static System.String AsTextZM(System.Data.Spatial.DbGeography geographyValue) 89public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeography geographyValue, System.String geometryTypeName) 137public static System.String AsTextZM(System.Data.Spatial.DbGeometry geometryValue) 155public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeometry geometryValue, System.String geometryTypeName)
System\Data\Query\InternalTrees\ColumnMap.cs (11)
109Debug.Assert(!String.IsNullOrEmpty(value), "invalid name?"); 227return String.Format(CultureInfo.InvariantCulture, "S({0},{1})", this.CommandId, this.ColumnPos); 270string separator = String.Empty; 423string separator = String.Empty; 510string separator = String.Empty; 578string str = String.Format(CultureInfo.InvariantCulture, "C{0}", base.ToString()); 641string str = String.Format(CultureInfo.InvariantCulture, "E{0}", base.ToString()); 877string str = String.Format(CultureInfo.InvariantCulture, "M{{{0}}}", this.Element.ToString()); 947string separator = String.Empty; 1011string separator = String.Empty; 1091return this.IsNamed ? this.Name : String.Format(CultureInfo.InvariantCulture, "{0}", m_var.Id);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
177String.Join(", ", memberGroup.Select(tuple => tuple.Item3.Name).ToArray())));
System\Data\Query\InternalTrees\Dump.cs (1)
226WriteString(String.Format(CultureInfo.InvariantCulture,"{0}",op.Value));
System\Data\Query\InternalTrees\Metadata.cs (1)
268return String.Format(CultureInfo.InvariantCulture, "{0}::{1}", m_tableMetadata.ToString(), this.TableId); ;
System\Data\Query\InternalTrees\Vars.cs (3)
99return String.Format(CultureInfo.InvariantCulture, "{0}", this.Id); ; 523string separator = String.Empty; 583string separator = String.Empty;
System\Data\Query\PlanCompiler\PlanCompiler.cs (15)
269string beforePreProcessor = String.Empty; 270string beforeAggregatePushdown = String.Empty; 271string beforeNormalization = String.Empty; 272string beforeNTE = String.Empty; 273string beforeProjectionPruning1 = String.Empty; 274string beforeNestPullup = String.Empty; 275string beforeProjectionPruning2 = String.Empty; 276string beforeTransformationRules1 = String.Empty; 277string beforeProjectionPruning3 = String.Empty; 278string beforeTransformationRules2 = String.Empty; 279string beforeJoinElimination1 = String.Empty; 280string beforeTransformationRules3 = String.Empty; 281string beforeJoinElimination2 = String.Empty; 282string beforeTransformationRules4 = String.Empty; 283string beforeCodeGen = String.Empty;
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
588AssignRootTypeId(kv.Value, String.Format(CultureInfo.InvariantCulture, "{0}X", typeNum)); 631typeInfo.TypeId = String.Format(CultureInfo.InvariantCulture, "{0}{1}X", typeInfo.SuperType.TypeId, subtypeNum);
System\Data\Query\ResultAssembly\BridgeDataReader.cs (1)
744override public String GetString(int ordinal) {
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (2)
607override public String GetString(int ordinal) { 608return (String)GetValue(ordinal);
System\Data\Spatial\Internal\SpatialExceptions.cs (2)
81internal static Exception CouldNotCreateWellKnownGeometryValueNoSrid(String argumentName) 87internal static Exception CouldNotCreateWellKnownGeometryValueNoWkbOrWkt(String argumentName)
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (2)
410return (String.Equals(instance1.VariableName, expr1BindingVariableName, StringComparison.Ordinal) 411&& String.Equals(instance2.VariableName, expr2BindingVariableName, StringComparison.Ordinal));
System\Data\SqlClient\SqlGen\SqlBuilder.cs (1)
86string str = (o as String);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
1722if (String.IsNullOrEmpty(function.Schema))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (14)
448if (String.IsNullOrEmpty(function.CommandTextAttribute)) 454string schemaName = String.IsNullOrEmpty(function.Schema) ? 458string functionName = String.IsNullOrEmpty(function.StoreFunctionNameAttribute) ? 611throw EntityUtil.InvalidOperation(String.Empty); 656throw EntityUtil.InvalidOperation(String.Empty); 758throw EntityUtil.InvalidOperation(String.Empty); 835String functionFullName = function.FullName; 1230throw EntityUtil.InvalidOperation(String.Empty); 2485if (inputColumns.Any(c => String.Equals(c.Name, row_numberName, StringComparison.OrdinalIgnoreCase))) 2663&& String.Equals(functionAggregate.Function.Name, "BigCount", StringComparison.Ordinal)) 3286column.NewName = String.Concat("Internal_", member.Name); 3699if (!String.IsNullOrEmpty(sortClause.Collation)) 4026throw EntityUtil.InvalidOperation(String.Empty); 4039Debug.Assert(!String.IsNullOrEmpty(name));
System\Data\SqlClient\SqlProviderServices.cs (3)
828logFileName = Path.Combine(directory.FullName, String.Concat(Path.GetFileNameWithoutExtension(dataFileName), "_log.ldf")); 852string databaseName = databaseName = String.Format(CultureInfo.InvariantCulture, "{0}_{1}", strippedFileName, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture)); 1007foreach (var databaseName in databaseNames)
System.Data.Entity.Design (14)
System\Data\Entity\Design\AspNet\EntityDesignerBuildProvider.cs (1)
79string virtualPathPrefix = base.VirtualPath.Replace(EntityDesignerUtils._edmxFileExtension, String.Empty);
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
110comment = comment.Replace(XmlConstants.XmlCommentStartString, String.Empty); 114comment = comment.Replace(XmlConstants.XmlCommentEndString, String.Empty);
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
200return String.Format(CultureInfo.InvariantCulture, format, args);
System\Data\Entity\Design\EntityCodeGenerator.cs (5)
461message = String.Format(CultureInfo.InvariantCulture, "{0}({1})", error.ErrorText, error.ErrorNumber); 608_sourceCsdlPath = type.GetProperty("SourceCsdlPath", flags, null, typeof(String), new Type[0], null); 611_referenceCsdlPaths = type.GetProperty("ReferenceCsdlPaths", flags, null, typeof(IEnumerable<String>), new Type[0], null); 626internal IEnumerable<String> ReferenceCsdlPaths 638return (String)_sourceCsdlPath.GetValue(_instance, null);
System\Data\Entity\Design\EntityDesignerUtils.cs (1)
96metadataArtifactProcessingValue = String.Empty;
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
774List<String> keyMemberNames = new List<string>();
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1619Debug.Assert(!String.IsNullOrEmpty(entitySet.DefiningQuery), "DefiningQuery must not be null or empty");
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
608foreach (var viewString in viewStrings)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
200String parameterName = uniqueIdentifierService.AdjustIdentifier(propertyEmitter.PropertyName);
System.Data.Linq (61)
DbConvert.cs (1)
162return ((String)value).ToCharArray();
Mapping\MappedMetaModel.cs (2)
44if (this.providerType == null && !String.IsNullOrEmpty(this.mapping.Provider)) { 703if(String.Compare(mi.Name, orphan.Value.MemberName, StringComparison.Ordinal)==0) {
Mapping\MappingSource.cs (30)
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\Common\SqlNodeAnnotations.cs (1)
25uniqueTypes[annotation.GetType()] = String.Empty;
SqlClient\Query\MethodCallConverter.cs (1)
165SqlValue emptyStr = new SqlValue(strValue.ClrType, strValue.SqlType, String.Empty, strValue.IsClientSpecified, strValue.SourceExpression);
SqlClient\Query\SqlFormatter.cs (1)
690if (name != inferredName && !String.IsNullOrEmpty(name)) {
SqlClient\Query\SqlIdentifier.cs (3)
65return String.Concat(QuoteCompoundIdentifier(left), SchemaSeparatorChar + right); 78return String.Concat(left + SchemaSeparatorChar, QuoteCompoundIdentifier(right)); 88return String.Concat(QuoteCompoundIdentifier(left) + SchemaSeparatorChar, QuoteCompoundIdentifier(right));
SqlClient\Query\SqlMethodCallConverter.cs (1)
918else if (declType == typeof(System.String)) {
SqlClient\Query\SqlNamer.cs (2)
137return String.IsNullOrEmpty(name) || string.Compare(name, colRef.Column.Name, StringComparison.OrdinalIgnoreCase) == 0; 256if (!String.IsNullOrEmpty(col.Name)) {
SqlClient\SqlBuilder.cs (6)
50if (String.Compare(schema, "DBO", StringComparison.OrdinalIgnoreCase) != 0 && 51String.Compare(schema, "[DBO]", StringComparison.OrdinalIgnoreCase) != 0) { 67string name = String.Format(Globalization.CultureInfo.InvariantCulture, "PK_{0}", table.TableName); 145internal static IEnumerable<String> GetCreateForeignKeyCommands(MetaTable table) { 153private static IEnumerable<String> GetCreateForeignKeyCommands(MetaType type) { 166name = String.Format(Globalization.CultureInfo.InvariantCulture, "FK_{0}_{1}", tableName, mm.Name);
SqlClient\SqlProvider.cs (6)
153if (String.CompareOrdinal(con.GetType().FullName, SqlCeConnectionTypeName) == 0) { 599if (String.IsNullOrEmpty(catalog)) { 600if (!String.IsNullOrEmpty(filename)) { 603else if (!String.IsNullOrEmpty(this.dbName)) { 628if (!String.IsNullOrEmpty(command)) { 635if (!String.IsNullOrEmpty(command)) {
SqlClient\SqlTypeSystemProvider.cs (7)
179return String.Empty; 857if (String.Compare(typeName, "rowversion", StringComparison.OrdinalIgnoreCase) == 0) { 861if (String.Compare(typeName, "numeric", StringComparison.OrdinalIgnoreCase) == 0) { 865if (String.Compare(typeName, "sql_variant", StringComparison.OrdinalIgnoreCase) == 0) { 869if (String.Compare(typeName, "filestream", StringComparison.OrdinalIgnoreCase) == 0) { 886if (String.Compare(param1.Trim(), "max", StringComparison.OrdinalIgnoreCase) == 0) { 897if (String.Compare(param2.Trim(), "max", StringComparison.OrdinalIgnoreCase) == 0) {
System.Data.Services (319)
parent\Client\System\Data\Services\Client\BatchStream.cs (8)
296if (String.Equals(XmlConstants.MimeMultiPartMixed, mime, StringComparison.OrdinalIgnoreCase)) 302if (String.Equals(parameter.Key, XmlConstants.HttpMultipartBoundary, StringComparison.OrdinalIgnoreCase)) 316if (String.IsNullOrEmpty(boundary)) 473if (String.IsNullOrEmpty(delimiter)) 478if (String.IsNullOrEmpty(delimiter)) 549if (String.Equals(contentType, XmlConstants.MimeApplicationHttp, StringComparison.OrdinalIgnoreCase)) 705if (!String.IsNullOrEmpty(contentType)) 941private String ReadLine()
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
52if (!String.IsNullOrEmpty(value))
System\Data\Services\DataService.cs (23)
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)) 1843host.ResponseContentType = String.Format( 2408Debug.Assert(!String.IsNullOrEmpty(changesetBoundary), "!String.IsNullOrEmpty(changesetBoundary)"); 2626if (batchStream.ContentHeaders.TryGetValue(XmlConstants.HttpContentID, out contentIdValue) && !String.IsNullOrEmpty(contentIdValue))
System\Data\Services\DataServiceConfiguration.cs (1)
373public void SetEntitySetPageSize(String name, int size)
System\Data\Services\DataServiceException.cs (1)
166this.errorCode = errorCode ?? String.Empty;
System\Data\Services\DataServiceHostWrapper.cs (1)
253if (String.IsNullOrEmpty(this.requestHttpMethod))
System\Data\Services\Epm\EpmAttributeNameBuilder.cs (8)
23private String postFix; 28this.postFix = String.Empty; 32internal String EpmKeepInContent 41internal String EpmSourcePath 50internal String EpmTargetPath 59internal String EpmContentKind 68internal String EpmNsPrefix 77internal String EpmNsUri
System\Data\Services\Epm\EpmContentDeSerializer.cs (9)
132internal void AddAppliedProperty(String propertyPath, bool wholePathCovered) 140internal void AddPropertyToTypeMapItem(String propertyPath, String typeName) 148internal bool Lookup(String propertyPath) 158internal String MapPropertyToType(String propertyPath) 175public String PropertyPath 193public String PropertyPath 200public String TypeName
System\Data\Services\Epm\EpmContentSerializer.cs (3)
111this.targetItem.Authors.Add(new SyndicationPerson(null, String.Empty, null)); 150foreach (var segment in epmInfo.Attribute.SourcePath.Split('/')) 327internal String Name
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (5)
72String elementName = reader.LocalName; 73String namespaceUri = reader.NamespaceURI; 92resourceType.SetEpmValue(currentRoot, element, String.Empty, this); 160String attribValue = WebUtil.GetAttributeEx(reader, attributeSegment.SegmentName.Substring(1), attributeSegment.SegmentNamespaceUri); 190return this.elementValue ?? String.Empty;
System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (2)
108internal String Data 217this.Data = String.Empty;
System\Data\Services\Epm\EpmHelper.cs (17)
59private static IEnumerable<EpmPropertyInformation> GetEpmPropertyInformation(IEnumerable<MetadataProperty> extendedProperties, String typeName, String memberName) 99String epmSourcePath; 115String epmTargetPath = Convert.ToString(epmTargetPathProperty.Value, CultureInfo.InvariantCulture); 157String epmNsPrefix = epmNsPrefixProperty != null ? Convert.ToString(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null; 158String epmNsUri = epmNsUriProperty != null ? Convert.ToString(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null; 214private static MetadataProperty FindSingletonExtendedProperty(IEnumerable<MetadataProperty> metadataExtendedProperties, String propertyName, String typeName, String memberName) 244private static SyndicationItemProperty MapEpmTargetPathToSyndicationProperty(String targetPath) 300private static SyndicationTextContentKind MapEpmContentKindToSyndicationTextContentKind(String strContentKind, String typeName, String memberName) 344internal String SourcePath 358internal String TargetPath 379internal String NsPrefix 386internal String NsUri
System\Data\Services\Epm\EpmSourcePathSegment.cs (3)
25private String propertyName; 36internal EpmSourcePathSegment(String propertyName) 45internal String PropertyName
System\Data\Services\Epm\EpmSourceTree.cs (3)
68String sourceName = epmInfo.Attribute.SourcePath; 73Debug.Assert(!String.IsNullOrEmpty(sourceName), "Must have been validated during EntityPropertyMappingAttribute construction"); 74foreach (String propertyName in sourceName.Split('/'))
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (7)
70this.author.Name = String.Empty; 105String textPropertyValue = propertyValue != null ? PlainXmlSerializer.PrimitiveToString(propertyValue) : String.Empty; 179else if (propertyValue is String) 181if (!DateTimeOffset.TryParse((String)propertyValue, out date)) 184if (!DateTime.TryParse((String)propertyValue, out result)) 215this.author = createNull ? new SyndicationPerson(null, String.Empty, null) : new SyndicationPerson();
System\Data\Services\Epm\EpmTargetPathSegment.cs (9)
27private String segmentName; 30private String segmentNamespaceUri; 33private String segmentNamespacePrefix; 57internal EpmTargetPathSegment(String segmentName, String segmentNamespaceUri, String segmentNamespacePrefix, EpmTargetPathSegment parentSegment) 67internal String SegmentName 76internal String SegmentNamespaceUri 85internal String SegmentNamespacePrefix
System\Data\Services\Epm\EpmTargetTree.cs (12)
70String targetName = epmInfo.Attribute.TargetPath; 72String namespaceUri = epmInfo.Attribute.TargetNamespaceUri; 73String namespacePrefix = epmInfo.Attribute.TargetNamespacePrefix; 78Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 79String[] targetSegments = targetName.Split('/'); 83String targetSegment = targetSegments[i]; 145String targetName = epmInfo.Attribute.TargetPath; 147String namespaceUri = epmInfo.Attribute.TargetNamespaceUri; 152Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 153String[] targetSegments = targetName.Split('/'); 156String targetSegment = targetSegments[i]; 230private static String GetPropertyNameFromEpmInfo(EntityPropertyMappingInfo epmInfo)
System\Data\Services\ErrorHandler.cs (4)
305string exceptionMessage = exception.Message ?? String.Empty; 313string exceptionStackTrace = exception.StackTrace ?? String.Empty; 343string exceptionMessage = exception.Message ?? String.Empty; 353string exceptionStackTrace = exception.StackTrace ?? String.Empty;
System\Data\Services\HttpContextServiceHost.cs (2)
321if (!String.IsNullOrEmpty(this.absoluteServiceUri.Fragment)) 326if (!String.IsNullOrEmpty(this.absoluteServiceUri.Query))
System\Data\Services\HttpProcessUtility.cs (13)
96if (!String.IsNullOrEmpty(acceptTypesText)) 177if (!String.IsNullOrEmpty(acceptTypesText)) 269if (String.Compare("utf-8", part.Charset, StringComparison.OrdinalIgnoreCase) == 0) 310if (String.IsNullOrEmpty(contentType)) 593if (String.Compare(text, textIndex, literal, 0, literal.Length, StringComparison.Ordinal) != 0) 633Debug.Assert(!String.IsNullOrEmpty(text), "!String.IsNullOrEmpty(text)"); 851Debug.Assert(!String.IsNullOrEmpty(headerValue), "!String.IsNullOrEmpty(headerValuer)"); 1083if (String.Equals(parameter.Key, XmlConstants.HttpQValueParameter, StringComparison.OrdinalIgnoreCase)) 1119if (String.Equals(parameter.Key, XmlConstants.HttpCharsetParameter, StringComparison.OrdinalIgnoreCase)) 1131if (String.Equals(this.type, XmlConstants.MimeTextType, StringComparison.OrdinalIgnoreCase)) 1139if (String.Equals(this.subType, XmlConstants.MimeXmlSubType, StringComparison.OrdinalIgnoreCase)) 1148else if (String.Equals(this.type, XmlConstants.MimeApplicationType, StringComparison.OrdinalIgnoreCase) && 1149String.Equals(this.subType, XmlConstants.MimeJsonSubType, StringComparison.OrdinalIgnoreCase))
System\Data\Services\IgnorePropertiesAttribute.cs (1)
87if (String.IsNullOrEmpty(propertyName))
System\Data\Services\Parsing\ExpressionLexer.cs (7)
348return String.CompareOrdinal(tokenText, 0, XmlConstants.XmlNaNLiteral, 0, 3) == 0; 363return String.CompareOrdinal(text, 0, XmlConstants.XmlInfinityLiteral, 0, text.Length) == 0; 380String.CompareOrdinal(tokenText, 0, XmlConstants.XmlNaNLiteral, 0, 3) == 0; 397String.CompareOrdinal(text, 0, XmlConstants.XmlInfinityLiteral, 0, 3) == 0; 425if (String.Equals(tokenText, "datetime", StringComparison.OrdinalIgnoreCase)) 429else if (String.Equals(tokenText, "guid", StringComparison.OrdinalIgnoreCase)) 433else if (String.Equals(tokenText, "binary", StringComparison.OrdinalIgnoreCase) || tokenText == "X" || tokenText == "x")
System\Data\Services\Parsing\RequestQueryParser.cs (8)
290this.GenerateNullAwareComparison(fixedLambda, (String)v.Value, comparisonExp)); 296this.GenerateComparison(fixedLambda, (String)v.Value, Token.EqualsTo)); 341internal object ParseSkipTokenLiteral(String literal) 1014private static int Compare(String left, String right) 1325return token.Id == TokenId.Identifier && String.Equals(id, token.Text, StringComparison.OrdinalIgnoreCase); 1429private Expression GenerateComparison(Expression left, String rightLiteral, Token op) 1445private Expression GenerateNullAwareComparison(Expression left, String rightLiteral, Token op)
System\Data\Services\Parsing\Token.cs (1)
90return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} @ {1}: [{2}]", this.Id, this.Position, this.Text);
System\Data\Services\Parsing\WebConvert.cs (4)
205Debug.Assert(!String.IsNullOrEmpty(text), "!String.IsNullOrEmpty(text)"); 397if (typeof(String) == targetType) 506if (typeof(String) == targetType) 623if (typeof(String) == valueType)
System\Data\Services\Providers\BasicExpandProvider.cs (4)
518Debug.Assert(property == null || String.Equals(property.Name, name, StringComparison.Ordinal), "The name of the property must match the specified name."); 549return String.Equals(x.name, y.name, StringComparison.Ordinal) && x.property == y.property; 882if (String.Equals(child.Node.PropertyName, name, StringComparison.Ordinal)) 1220Debug.Assert(!String.IsNullOrEmpty(name), "!String.IsNullOrEmpty(name)");
System\Data\Services\Providers\DataServiceProviderMethods.cs (2)
117public static int Compare(String left, String right)
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
197String propertyName = srcPathSegments[currentSegment];
System\Data\Services\Providers\ExpandedProjectionNode.cs (2)
266projectionNode => String.Equals(projectionNode.PropertyName, propertyName, StringComparison.Ordinal)); 389return String.Compare(x.PropertyName, y.PropertyName, StringComparison.Ordinal);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (21)
660internal static String MapSyndicationTextContentKindToEpmContentKind(SyndicationTextContentKind contentKind) 679internal static String MapSyndicationPropertyToEpmTargetPath(SyndicationItemProperty property) 726Debug.Assert(!String.IsNullOrEmpty(containerName), "container name must not be empty"); 1143if (String.IsNullOrEmpty(text)) 1457String epmPropertyName, 1458String typeName, 1459String memberName) 2208private ResourceProperty GetResourcePropertyFromEpmPath(ResourceType baseResourceType, String sourcePath) 2210String[] propertyPath = sourcePath.Split('/'); 2219foreach (var pathSegment in propertyPath) 2248String epmSourcePath, 2249String epmTargetPath, 2250String epmNsPrefix, 2251String epmNsUri, 2256String sourcePath = epmSourcePath + "/" + subProperty.Name; 2257String targetPath = epmTargetPath + "/" + subProperty.Name; 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 (5)
769String[] segments, 776String currentSegment = segments[currentIndex]; 790String foundTypeName = deserializer.PropertiesApplied.MapPropertyToType(String.Join("/", segments, 0, currentIndex + 1)); 1163String propertyToLookFor = indexOfSeparator == -1 ? epmAttr.SourcePath : epmAttr.SourcePath.Substring(0, indexOfSeparator);
System\Data\Services\Providers\RootProjectionNode.cs (1)
62String.Empty,
System\Data\Services\Providers\ServiceOperation.cs (1)
133if (String.IsNullOrEmpty(value))
System\Data\Services\RequestQueryProcessor.cs (31)
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)) 862String skipToken = this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringSkipToken); 876if (!String.IsNullOrEmpty(skipToken)) 887if (!String.IsNullOrEmpty(skipToken)) 919if (!String.IsNullOrEmpty(skipToken)) 969if (!String.IsNullOrEmpty(count)) 1021const String Comma = ","; 1023const String AscendingOrderIdentifier = "asc"; 1047String separator = orderBy.Length > 0 ? Comma : String.Empty; 1074String orderByText = orderBy.ToString(); 1076if (!String.IsNullOrEmpty(orderByText)) 1126if (String.IsNullOrEmpty(this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringExpand)) 1127&& String.IsNullOrEmpty(this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringSelect))) 1211const String Comma = ","; 1218String separator = String.Empty; 1237private MemberBinding[] GetSkipTokenBindings(Type skipTokenWrapperType, String skipTokenDescription, ParameterExpression expandParameter) 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"); 238string slash = String.Empty; 1072if (String.IsNullOrEmpty(queryStringValue))
System\Data\Services\Serializers\BatchWriter.cs (1)
112if (!String.IsNullOrEmpty(text))
System\Data\Services\Serializers\DataStringEscapeBuilder.cs (1)
23private const String SensitiveCharacters = "+";
System\Data\Services\Serializers\JsonDeserializer.cs (3)
214if (String.IsNullOrEmpty(uri)) 293private static string ReadUri(Dictionary<String, Object> metadata) 679Dictionary<String, Object> jsonObjectTable,
System\Data\Services\Serializers\JsonReader.cs (7)
400if (String.IsNullOrEmpty(name)) 524private List<String> orderedKeys; 529private Dictionary<String, Object> entries; 537this.entries = new Dictionary<string, object>(EqualityComparer<String>.Default); 551public List<String> OrderedKeys 559public Dictionary<String, Object> Entries 569public void Add(String key, Object value)
System\Data\Services\Serializers\JsonSerializer.cs (1)
317if (typeof(String) == valueType)
System\Data\Services\Serializers\JsonWriter.cs (4)
129if (String.IsNullOrEmpty(name)) 280String.Format( 336if (String.IsNullOrEmpty(s)) 338return String.Empty;
System\Data\Services\Serializers\MetadataSerializer.cs (6)
62String dataServiceVersion = XmlConstants.DataServiceVersion1Dot0; 179returnTypeString = String.Format(CultureInfo.InvariantCulture, XmlConstants.EdmCollectionTypeFormat, returnTypeString); 198if (!String.IsNullOrEmpty(operation.MimeType)) 399if (!String.IsNullOrEmpty(attr.TargetNamespacePrefix)) 491if (!String.IsNullOrEmpty(resourceProperty.MimeType)) 895if (String.IsNullOrEmpty(typeNamespace))
System\Data\Services\Serializers\PlainXmlDeserializer.cs (13)
36private String currentPathPrefix; 63this.currentPathPrefix = String.Empty; 230if (String.IsNullOrEmpty(uri)) 246if (String.IsNullOrEmpty(uri)) 305return String.Empty; 365elementValue = String.Empty; 473if (String.IsNullOrEmpty(typeName)) 530String appliedPropertyName = resourceProperty != null ? resourceProperty.Name : propertyName; 562String savedPath = this.currentPathPrefix; 563this.currentPathPrefix = String.IsNullOrEmpty(this.currentPathPrefix) ? appliedPropertyName : this.currentPathPrefix + "/" + appliedPropertyName; 605private String BuildPropertyPath(String propertyName) 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 (10)
39private static readonly String[] NextPageQueryParametersToCopy = 356protected String GetNextLinkUri(object lastObject, IExpandedResult skipTokenExpandedResult, Uri absoluteUri) 713if (!String.IsNullOrEmpty(this.httpETagHeaderValue)) 733Debug.Assert(!String.IsNullOrEmpty(containerName), "container name must be specified"); 860foreach (String queryParameter in Serializer.NextPageQueryParametersToCopy) 862String value = this.service.OperationContext.Host.GetQueryStringItem(queryParameter); 863if (!String.IsNullOrEmpty(value)) 1100String topQueryItem = this.service.OperationContext.Host.GetQueryStringItem(XmlConstants.HttpQueryStringTop); 1101if (!String.IsNullOrEmpty(topQueryItem)) 1192String keyName = XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
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 (11)
45private static readonly SyndicationPerson EmptyPerson = new SyndicationPerson(null, String.Empty, null); 115Debug.Assert(!String.IsNullOrEmpty(propertyName), "!String.IsNullOrEmpty(propertyName)"); 357private static bool EpmNeedToSkip(EpmSourcePathSegment currentSourceRoot, String propertyName) 383private static EpmSourcePathSegment EpmGetComplexPropertySegment(EpmSourcePathSegment currentSourceRoot, String 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"); 472target.Title = new TextSyndicationContent(String.Empty); 750Debug.Assert(!String.IsNullOrEmpty(relativeUri), "!String.IsNullOrEmpty(relativeUri)"); 874if (String.IsNullOrEmpty(propertyName)) 1051linkType = String.Format(CultureInfo.InvariantCulture, "{0};{1}={2}", XmlConstants.MimeApplicationAtom, XmlConstants.AtomTypeAttributeName, linkType);
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 (17)
146if (!String.IsNullOrEmpty(requestHost)) 460Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationXml, XmlConstants.MimeTextXml))); 472Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationAtom, XmlConstants.MimeAny))); 481Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationXml, XmlConstants.MimeTextXml))); 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"); 1328internal static Type GetWrapperType(Type[] wrapperParameters, Func<object, String> errorGenerator) 1467return String.Equals(mimeType1, mimeType2, StringComparison.OrdinalIgnoreCase); 1488internal static object GetPropertyValue(DataServiceProviderWrapper provider, object resource, ResourceType resourceType, ResourceProperty resourceProperty, String propertyName) 1529if (!String.IsNullOrEmpty(versionText)) 1567if (!String.IsNullOrEmpty(versionText))
System.Data.Services.Client (168)
parent\Server\System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (2)
108internal String Data 213this.Data = propertyValue == null ? String.Empty : ClientConvert.ToString(propertyValue, false /* atomDateConstruct */);
parent\Server\System\Data\Services\Epm\EpmSourcePathSegment.cs (3)
25private String propertyName; 36internal EpmSourcePathSegment(String propertyName) 45internal String PropertyName
parent\Server\System\Data\Services\Epm\EpmSourceTree.cs (3)
68String sourceName = epmInfo.Attribute.SourcePath; 73Debug.Assert(!String.IsNullOrEmpty(sourceName), "Must have been validated during EntityPropertyMappingAttribute construction"); 74foreach (String propertyName in sourceName.Split('/'))
parent\Server\System\Data\Services\Epm\EpmTargetPathSegment.cs (9)
27private String segmentName; 30private String segmentNamespaceUri; 33private String segmentNamespacePrefix; 57internal EpmTargetPathSegment(String segmentName, String segmentNamespaceUri, String segmentNamespacePrefix, EpmTargetPathSegment parentSegment) 67internal String SegmentName 76internal String SegmentNamespaceUri 85internal String SegmentNamespacePrefix
parent\Server\System\Data\Services\Epm\EpmTargetTree.cs (12)
70String targetName = epmInfo.Attribute.TargetPath; 72String namespaceUri = epmInfo.Attribute.TargetNamespaceUri; 73String namespacePrefix = epmInfo.Attribute.TargetNamespacePrefix; 78Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 79String[] targetSegments = targetName.Split('/'); 83String targetSegment = targetSegments[i]; 145String targetName = epmInfo.Attribute.TargetPath; 147String namespaceUri = epmInfo.Attribute.TargetNamespaceUri; 152Debug.Assert(!String.IsNullOrEmpty(targetName), "Must have been validated during EntityPropertyMappingAttribute construction"); 153String[] targetSegments = targetName.Split('/'); 156String targetSegment = targetSegments[i]; 230private static String GetPropertyNameFromEpmInfo(EntityPropertyMappingInfo epmInfo)
parent\Server\System\Data\Services\HttpProcessUtility.cs (6)
310if (String.IsNullOrEmpty(contentType)) 1119if (String.Equals(parameter.Key, XmlConstants.HttpCharsetParameter, StringComparison.OrdinalIgnoreCase)) 1131if (String.Equals(this.type, XmlConstants.MimeTextType, StringComparison.OrdinalIgnoreCase)) 1139if (String.Equals(this.subType, XmlConstants.MimeXmlSubType, StringComparison.OrdinalIgnoreCase)) 1148else if (String.Equals(this.type, XmlConstants.MimeApplicationType, StringComparison.OrdinalIgnoreCase) && 1149String.Equals(this.subType, XmlConstants.MimeJsonSubType, StringComparison.OrdinalIgnoreCase))
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
623if (typeof(String) == valueType)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
136String srcPathPart = srcPathSegments[currentSegment];
System\Data\Services\Client\ALinq\ReflectionUtil.cs (1)
36Dictionary<String, SequenceMethod> map = new Dictionary<string, SequenceMethod>(EqualityComparer<string>.Default);
System\Data\Services\Client\AtomMaterializerLog.cs (9)
38private readonly Dictionary<String, AtomEntry> appendOnlyEntries; 41private readonly Dictionary<String, AtomEntry> foundEntriesWithMedia; 44private readonly Dictionary<String, AtomEntry> identityStack; 70this.appendOnlyEntries = new Dictionary<string, AtomEntry>(EqualityComparer<String>.Default); 73this.foundEntriesWithMedia = new Dictionary<String, AtomEntry>(EqualityComparer<String>.Default); 74this.identityStack = new Dictionary<String, AtomEntry>(EqualityComparer<String>.Default); 108foreach (KeyValuePair<String, AtomEntry> entity in this.identityStack)
System\Data\Services\Client\AtomParser.cs (13)
102Debug.Assert(!String.IsNullOrEmpty(currentDataNamespace), "currentDataNamespace is empty or null"); 439return String.Empty; 508return (String.Equals(XmlConstants.MimeApplicationXml, contentType, StringComparison.OrdinalIgnoreCase) || 509String.Equals(XmlConstants.MimeApplicationAtom, contentType, StringComparison.OrdinalIgnoreCase)); 521isFeed = String.Equals(XmlConstants.LinkMimeTypeFeed, linkType, StringComparison.OrdinalIgnoreCase); 522return isFeed ? true : String.Equals(XmlConstants.LinkMimeTypeEntry, linkType, StringComparison.OrdinalIgnoreCase); 603if (String.IsNullOrEmpty(href)) 614if (String.IsNullOrEmpty(href)) 624if (String.IsNullOrEmpty(href)) 753if (!String.IsNullOrEmpty(property.Text)) 772if (!String.IsNullOrEmpty(property.Text)) 813result.Text = result.IsNull ? null : String.Empty; 1043if (!uri.IsAbsoluteUri && !String.IsNullOrEmpty(this.reader.BaseURI))
System\Data\Services\Client\BatchStream.cs (8)
296if (String.Equals(XmlConstants.MimeMultiPartMixed, mime, StringComparison.OrdinalIgnoreCase)) 302if (String.Equals(parameter.Key, XmlConstants.HttpMultipartBoundary, StringComparison.OrdinalIgnoreCase)) 316if (String.IsNullOrEmpty(boundary)) 473if (String.IsNullOrEmpty(delimiter)) 478if (String.IsNullOrEmpty(delimiter)) 549if (String.Equals(contentType, XmlConstants.MimeApplicationHttp, StringComparison.OrdinalIgnoreCase)) 705if (!String.IsNullOrEmpty(contentType)) 941private String ReadLine()
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
95if (!String.IsNullOrEmpty(targetEntitySet)) 391public String EntitySet
System\Data\Services\Client\Binding\BindingObserver.cs (11)
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."); 770String sourceProperty, 771String targetEntitySet, 809String sourceProperty, 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\Binding\DataServiceCollectionOfT.cs (1)
672String entitySet,
System\Data\Services\Client\ClientConvert.cs (4)
264return String.IsNullOrEmpty(typeName) || ClientConvert.namedTypesMap.TryGetValue(typeName, out type); 335return (String)propertyValue; 477types[(int)StorageType.String] = typeof(String); 497Dictionary<string, Type> named = new Dictionary<string, Type>(EqualityComparer<String>.Default);
System\Data\Services\Client\ClientType.cs (5)
82Debug.Assert(!String.IsNullOrEmpty(typeName), "empty typeName"); 255var m = (from string a in dska.KeyNames 284this.properties.Sort<string>(ClientProperty.GetPropertyName, String.CompareOrdinal); 742return this.properties.IndexOf(propertyName, ClientProperty.GetPropertyName, String.Equals); 951return String.Equals(x.PropertyName, y.PropertyName);
System\Data\Services\Client\DataServiceContext.cs (28)
108private Dictionary<String, EntityDescriptor> identityToDescriptor; 164!String.IsNullOrEmpty(serviceRoot.Query) || 1502String identity = Util.ReferenceIdentity(editLink.AbsoluteUri); 1696if (String.IsNullOrEmpty(message)) 1710internal void AttachIdentity(String identity, Uri selfLink, Uri editLink, object entity, string etag) 1749String identity = Util.ReferenceIdentity(CommonUtil.UriToString(editLink)); 2047Debug.Assert(!String.IsNullOrEmpty(contentType), "Content-Type must be specified for non get operation"); 2109internal object TryGetEntity(String resourceUri, string etag, MergeOption merger, out EntityStates state) 2154if (String.IsNullOrEmpty(wireName)) 2200return ((null != resolve) ? resolve(type) : (String)null); 2265if (!String.IsNullOrEmpty(responseVersion)) 2311Debug.Assert(!String.IsNullOrEmpty(entitySetName) && !entitySetName.StartsWith("/", StringComparison.Ordinal), "entitySetName"); 2322string prefix = String.Empty; 2918if (!String.IsNullOrEmpty(typeName)) 2938writer.WriteElementString(XmlConstants.AtomTitleElementName, XmlConstants.AtomNamespace, String.Empty); 2940writer.WriteElementString(XmlConstants.AtomNameElementName, XmlConstants.AtomNamespace, String.Empty); 2953writer.WriteElementString(XmlConstants.AtomIdElementName, XmlConstants.AtomNamespace, String.Empty); 3059String targetEditLink = CommonUtil.UriToString(this.entityDescriptors[end.Target].EditLink); 3107String identity = Util.ReferenceIdentity(CommonUtil.UriToString(editLink)); 3271relativeUri = Util.CreateUri(propertyName + (null != property.CollectionType ? "()" : String.Empty), UriKind.Relative); 3346if (!String.IsNullOrEmpty(typeName)) 3560!String.IsNullOrEmpty(Util.CreateUri(this.baseUriWithSlash, tmp) 3572System.Threading.Interlocked.CompareExchange(ref this.identityToDescriptor, new Dictionary<String, EntityDescriptor>(EqualityComparer<String>.Default), null); 4648String mimeType = mimeTypeValue != null ? mimeTypeValue.ToString() : null; 4650if (String.IsNullOrEmpty(mimeType)) 5298if (String.Equals(XmlConstants.MimeTextPlain, mime)) 5560if (!String.Equals(XmlConstants.MimeApplicationAtom, mime, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\DataServiceRequest.cs (3)
81if (!String.IsNullOrEmpty(contentType)) 86if (String.Equals(mime, XmlConstants.MimeApplicationAtom, StringComparison.OrdinalIgnoreCase) || 87String.Equals(mime, XmlConstants.MimeApplicationXml, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\EntityDescriptor.cs (5)
25private String identity; 109internal EntityDescriptor(String identity, Uri selfLink, Uri editLink, object entity, EntityDescriptor parentEntity, string parentProperty, string entitySetName, string etag, EntityStates state) 146public String Identity 263public String ServerTypeName 477if (!String.IsNullOrEmpty(this.entitySetName))
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (18)
140private readonly String sourcePath; 145private readonly String targetPath; 161private readonly String targetNamespacePrefix; 167private readonly String targetNamespaceUri; 186public EntityPropertyMappingAttribute(String sourcePath, SyndicationItemProperty targetSyndicationItem, SyndicationTextContentKind targetTextContentKind, bool keepInContent) 188if (String.IsNullOrEmpty(sourcePath)) 211public EntityPropertyMappingAttribute(String sourcePath, String targetPath, String targetNamespacePrefix, String targetNamespaceUri, bool keepInContent) 213if (String.IsNullOrEmpty(sourcePath)) 220if (String.IsNullOrEmpty(targetPath)) 236if (String.IsNullOrEmpty(targetNamespaceUri)) 257public String SourcePath 265public String TargetPath 282public String TargetNamespacePrefix 291public String TargetNamespaceUri 321internal static String SyndicationItemPropertyToPath(SyndicationItemProperty targetSyndicationItem)
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (8)
82String contentType; 83Action<String> contentWriter; 101Action<String, bool, bool> textSyndicationWriter = (c, nonTextPossible, atomDateConstruct) => 106this.Target.WriteAttributeString(XmlConstants.AtomTypeAttributeName, String.Empty, contentType); 114String textPropertyValue = 117String.Empty; 191this.Target.WriteElementString(XmlConstants.AtomNameElementName, XmlConstants.AtomNamespace, String.Empty); 211this.Target.WriteElementString(XmlConstants.AtomNameElementName, XmlConstants.AtomNamespace, String.Empty);
System\Data\Services\Client\MaterializeFromAtom.cs (2)
566return (empty ? String.Empty : null); 574return result ?? (empty ? String.Empty : null);
System\Data\Services\Client\Util.cs (6)
112internal static String ReferenceIdentity(String uri) 126internal static String DereferenceIdentity(String uri) 278Debug.Assert(String.IsNullOrEmpty(baseUri.Query) && String.IsNullOrEmpty(baseUri.Fragment), "baseUri has query or fragment");
System\Data\Services\Client\Xml\XmlAtomErrorReader.cs (3)
71return (empty ? String.Empty : null); 79return result ?? (empty ? String.Empty : null); 134return String.Empty;
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 (57)
parent\Server\System\Data\Services\Epm\EpmAttributeNameBuilder.cs (8)
23private String postFix; 28this.postFix = String.Empty; 32internal String EpmKeepInContent 41internal String EpmSourcePath 50internal String EpmTargetPath 59internal String EpmContentKind 68internal String EpmNsPrefix 77internal String EpmNsUri
parent\Server\System\Data\Services\Epm\EpmHelper.cs (17)
59private static IEnumerable<EpmPropertyInformation> GetEpmPropertyInformation(IEnumerable<MetadataProperty> extendedProperties, String typeName, String memberName) 99String epmSourcePath; 115String epmTargetPath = Convert.ToString(epmTargetPathProperty.Value, CultureInfo.InvariantCulture); 157String epmNsPrefix = epmNsPrefixProperty != null ? Convert.ToString(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null; 158String epmNsUri = epmNsUriProperty != null ? Convert.ToString(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null; 214private static MetadataProperty FindSingletonExtendedProperty(IEnumerable<MetadataProperty> metadataExtendedProperties, String propertyName, String typeName, String memberName) 244private static SyndicationItemProperty MapEpmTargetPathToSyndicationProperty(String targetPath) 300private static SyndicationTextContentKind MapEpmContentKindToSyndicationTextContentKind(String strContentKind, String typeName, String memberName) 344internal String SourcePath 358internal String TargetPath 379internal String NsPrefix 386internal String NsUri
System\Data\EntityModel\DataServiceBuildProvider.cs (7)
120errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 183return String.Empty; 202return String.Join(".", chunks); 238if (String.IsNullOrEmpty(typeName)) 294Debug.Assert(!String.IsNullOrEmpty(mapFilePath), "mapFilePath cannot be null or empty"); 490String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", VersionParameterName, UseCollectionParameterName))); 552String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", Version1Dot0, Version2Dot0)));
System\Data\EntityModel\Emitters\AttributeEmitter.cs (15)
223bool IsOpenPropertyOnPath(StructuralType baseEntityType, String sourcePath) 226if (String.IsNullOrEmpty(sourcePath)) 231String[] propertyPath = sourcePath.Split('/'); 250return IsOpenPropertyOnPath(entityPropertyType, String.Join("/", propertyPath, 1, propertyPath.Length - 1)); 265private static EdmMember GetEntityPropertyFromEpmPath(StructuralType baseEntityType, String sourcePath) 269String[] propertyPath = sourcePath.Split('/'); 278foreach (var pathSegment in propertyPath) 311String epmSourcePath, 312String epmTargetPath, 313String epmNsPrefix, 314String epmNsUri, 327String sourcePath = epmSourcePath + "/" + subProperty.Name; 328String targetPath = epmTargetPath + "/" + subProperty.Name; 397String originalPath = propertyInformation.SourcePath; 540if (!String.Equals(Convert.ToString(hasStreamMetadataProperty.Value, CultureInfo.InvariantCulture),
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (5)
296FixUps.Do(reader, target.GetOrCreateTextWriter(), Language, !String.IsNullOrEmpty(SourceObjectNamespaceName)); 388String.Equals(Identity(item), Identity(member), StringComparison.OrdinalIgnoreCase)) 600if (!String.IsNullOrEmpty(sourceEdmNamespaceName)) 734if (eventArgs.BaseType != null && !String.IsNullOrEmpty(eventArgs.BaseType.BaseType)) 785propertyChangedMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(System.String), CodeTypeReferenceOptions.GlobalReference), "property"));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
201TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(Type)), TypeReference.ForType(typeof(String))), 215TypeReference.ForType(typeof(Func<,>), TypeReference.ForType(typeof(String)), TypeReference.ForType(typeof(Type))), 322resolveNameFromType.ReturnType = TypeReference.ForType(typeof(String));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
191String parameterName = uniqueIdentifierService.AdjustIdentifier(Utils.FixParameterName(propertyEmitter.PropertyName, "argument"));
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 (60)
System\Xml\Xsl\QIL\QilPatternFactory.cs (3)
55return f.LiteralQName(local, uri, System.String.Empty); 59return f.LiteralQName(local, System.String.Empty, System.String.Empty);
System\Xml\Xsl\XsltOld\Compiler.cs (11)
40public Sort(int sortkey, String xmllang, XmlDataType datatype, XmlSortOrder xmlorder, XmlCaseOrder xmlcaseorder) { 253internal bool IsExtensionNamespace(String nspace) { 257internal bool IsExcludedNamespace(String nspace) { 345internal void AddNamespaceAlias(String StylesheetURI, NamespaceInfo AliasInfo){ 355internal bool IsNamespaceAlias(String StylesheetURI){ 362internal NamespaceInfo FindNamespaceAlias(String StylesheetURI) { 369internal String ResolveXmlNamespace(String prefix) { 373internal String ResolveXPathNamespace(String prefix) { 377internal String DefaultNamespace {
System\Xml\Xsl\XsltOld\ContainerAction.cs (14)
22internal String prefix; 23internal String nameSpace; 26internal NamespaceInfo(String prefix, String nameSpace, int stylesheetId) { 367info.NegativeInfinitySymbol = String.Concat(info.NegativeSign, info.PositiveInfinitySymbol); 386String value = compiler.GetSingleAttribute(compiler.Input.Atoms.Elements); 387String[] elements = XmlConvert.SplitString(value); 395double NameTest(String name) { 751String.Compare(langName, "jscript" , StringComparison.OrdinalIgnoreCase) == 0 || 752String.Compare(langName, "javascript", StringComparison.OrdinalIgnoreCase) == 0 756String.Compare(langName, "c#" , StringComparison.OrdinalIgnoreCase) == 0 || 757String.Compare(langName, "csharp", StringComparison.OrdinalIgnoreCase) == 0 763String.Compare(langName, "vb" , StringComparison.OrdinalIgnoreCase) == 0 || 764String.Compare(langName, "visualbasic", StringComparison.OrdinalIgnoreCase) == 0
System\Xml\Xsl\XsltOld\InputScope.cs (4)
56internal void InsertExtensionNamespace(String nspace) { 63internal bool IsExtensionNamespace(String nspace) { 70internal void InsertExcludedNamespace(String nspace) { 77internal bool IsExcludedNamespace(String nspace) {
System\Xml\Xsl\XsltOld\InputScopeManager.cs (2)
126internal bool IsExtensionNamespace(String nspace) { 144internal bool IsExcludedNamespace(String nspace) {
System\Xml\Xsl\XsltOld\NumberAction.cs (11)
63internal String FormatItem(object value) { 108String str; 137private String level; 138private String countPattern; 140private String from; 142private String value; 151private String lang; 152private String letter; 153private String groupingSep; 154private String groupingSize; 509private static void mapFormatToken(String wsToken, int startLen, int tokLen, out NumberingSequence seq, out int pminlen) {
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (1)
159prefix = String.Format(CultureInfo.InvariantCulture, format, this.prefixIndex ++);
System\Xml\Xsl\XsltOld\Processor.cs (3)
210parameter is String 523internal String ValueOf(ActionFrame context, int key) { 539internal String ValueOf(XPathNavigator n) {
System\Xml\Xsl\XsltOld\ReaderOutput.cs (3)
530private bool FindAttribute(String localName, String namespaceURI, out int attrIndex) { 552private bool FindAttribute(String name, out int attrIndex) {
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
326if (node.NamespaceURI.Length == 0 && String.Compare("html", node.LocalName, StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Xsl\XsltOld\SortAction.cs (1)
59String prefix, localname;
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
62internal void AddSpace(Compiler compiler, String query, double Priority, bool PreserveSpace) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (5)
48return String.Compare(baseUri, nextbaseUri, StringComparison.Ordinal); 272private static void AddKeyValue(Hashtable keyTable, String key, XPathNavigator value, bool checkDuplicates) { 315String key = XmlConvert.ToXPathString(result); 424private String SystemProperty(string qname) { 425String result = string.Empty;
System.Drawing (91)
commonui\System\Drawing\Advanced\ColorTranslator.cs (2)
256if (c.IsEmpty && String.Equals(htmlColor, "LightGrey", StringComparison.OrdinalIgnoreCase)) 288string colorString = String.Empty;
commonui\System\Drawing\Advanced\Font.cs (7)
99if (String.Equals(sie.Name, "Name", StringComparison.OrdinalIgnoreCase)) 101else if (String.Equals(sie.Name, "Size", StringComparison.OrdinalIgnoreCase)) 103if (sie.Value is System.String) 112else if (String.Compare(sie.Name, "Style", true, CultureInfo.InvariantCulture) == 0) 114else if (String.Compare(sie.Name, "Unit", true, CultureInfo.InvariantCulture) == 0) 133si.AddValue("Name", String.IsNullOrEmpty(OriginalFontName) ? Name : OriginalFontName); 1054return !String.IsNullOrEmpty(this.systemFontName);
commonui\System\Drawing\Advanced\FontFamily.cs (2)
305public String Name 320public String GetName(int language)
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
4249public String lpszDocName; 4250public String lpszOutput; 4251public String lpszDatatype;
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
1361public void AddString(String s, FontFamily family, int style, float emSize, 1384public void AddString(String s, FontFamily family, int style, float emSize, 1407public void AddString(String s, FontFamily family, int style, float emSize, 1429public void AddString(String s, FontFamily family, int style, float emSize,
commonui\System\Drawing\Advanced\ImageAttributes.cs (2)
555public void SetOutputChannelColorProfile(String colorProfileFilename) 564public void SetOutputChannelColorProfile(String colorProfileFilename,
commonui\System\Drawing\Advanced\Metafile.cs (4)
167public Metafile(IntPtr referenceHdc, EmfType emfType, String description) { 230public Metafile(IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, String description) 356public Metafile(string fileName, IntPtr referenceHdc, EmfType type, String description) 433MetafileFrameUnit frameUnit, EmfType type, String description)
commonui\System\Drawing\Bitmap.cs (3)
55public Bitmap(String filename) { 91public Bitmap(String filename, bool useIcm) { 371public static Bitmap FromResource(IntPtr hinstance, String bitmapName)
commonui\System\Drawing\BitmapSelector.cs (1)
34var value = section.BitmapSuffix;
commonui\System\Drawing\Design\CategoryNameCollection.cs (7)
14/// A collection that stores <see cref='System.String'/> objects. 33/// Initializes a new instance of <see cref='System.Drawing.Design.CategoryNameCollection'/> containing any array of <see cref='System.String'/> objects. 36public CategoryNameCollection(String[] value) { 42/// <para>Represents the entry at the specified index of the <see cref='System.String'/>.</para> 53/// <see cref='System.Drawing.Design.CategoryNameCollection'/> contains the specified <see cref='System.String'/>.</para> 64public void CopyTo(String[] array, int index) { 70/// <para>Returns the index of a <see cref='System.String'/> in
commonui\System\Drawing\Design\IToolboxService.cs (2)
118ToolboxItemCollection GetToolboxItems(String category); 124ToolboxItemCollection GetToolboxItems(String category, IDesignerHost host);
commonui\System\Drawing\Design\ToolboxItem.cs (2)
285return String.Empty; 609if (!String.IsNullOrEmpty(typeName)) {
commonui\System\Drawing\FontConverter.cs (1)
495if (String.Equals(UnitName.names[i].name, units, StringComparison.OrdinalIgnoreCase)) {
commonui\System\Drawing\Graphics.cs (14)
2455public void DrawString(String s, Font font, Brush brush, float x, float y) { 2462public void DrawString(String s, Font font, Brush brush, PointF point) { 2469public void DrawString(String s, Font font, Brush brush, float x, float y, StringFormat format) { 2476public void DrawString(String s, Font font, Brush brush, PointF point, StringFormat format) { 2483public void DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle) { 2490public void DrawString(String s, Font font, Brush brush, 2513public SizeF MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat, 2541public SizeF MeasureString(String text, Font font, PointF origin, StringFormat stringFormat) { 2572public SizeF MeasureString(String text, Font font, SizeF layoutArea) { 2579public SizeF MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat) { 2608public SizeF MeasureString(String text, Font font) { 2615public SizeF MeasureString(String text, Font font, int width) { 2622public SizeF MeasureString(String text, Font font, int width, StringFormat format) { 2631public Region[] MeasureCharacterRanges(String text, Font font, RectangleF layoutRect,
commonui\System\Drawing\Image.cs (3)
94if (String.Equals(sie.Name, "Data", StringComparison.OrdinalIgnoreCase)) 151public static Image FromFile(String filename) { 161public static Image FromFile(String filename,
commonui\System\Drawing\Printing\PaperSize.cs (1)
44this.name = String.Empty;
commonui\System\Drawing\Printing\PaperSource.cs (1)
37this.name = String.Empty;
commonui\System\Drawing\Printing\PrinterSettings.cs (7)
1297private static String ReadOneDEVNAME(IntPtr pDevnames, int slot) { 1806private String[] array; 1814public StringCollection(String[] array) { 1836public virtual String this[int index] { 1920public Int32 Add(String value) 1922String[] newArray = new String[this.Count + 1];
commonui\System\Drawing\Printing\PrintingPermission.cs (4)
195String className = esd.Attribute("class"); 201String unrestricted = esd.Attribute("Unrestricted"); 203if (unrestricted != null && String.Equals(unrestricted, "true", StringComparison.OrdinalIgnoreCase)) 211String printing = esd.Attribute("Level");
commonui\System\Drawing\ToolboxBitmapAttribute.cs (2)
428if (String.Compare(Path.GetExtension(imageName), ".ico", true, CultureInfo.CurrentCulture) == 0) { 431else if (String.Compare(Path.GetExtension(imageName), ".bmp", true, CultureInfo.CurrentCulture) == 0) {
misc\DbgUtil.cs (6)
232string message = String.Empty; 259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 291string trace = String.Empty; 337string args = String.Empty; 357trace += String.Format(CultureInfo.CurrentCulture, "at {0} {1}.{2}({3})\r\n", fileName, mi.DeclaringType, mi.Name, args ); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
misc\DpiHelper.cs (1)
135var value = dpiAwarenessValue.ToLowerInvariant();
misc\GDI\UnsafeNativeMethods.cs (1)
84public static IntPtr CreateDC(String lpszDriverName, string lpszDeviceName, string lpszOutput, HandleRef /*DEVMODE*/ lpInitData)
misc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
System.IdentityModel (135)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
System\IdentityModel\CanonicalizationDriver.cs (1)
103writer.WriteStartElement("a", reader.LookupNamespace(String.Empty));
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
50if (String.Equals(claimset[i].Right, System.IdentityModel.Claims.Rights.PossessProperty, StringComparison.Ordinal))
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
533return String.Empty;
System\IdentityModel\Configuration\Properties.cs (4)
38properties.Add(new ConfigurationProperty("value", typeof(System.String), " ", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 135properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 191properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 219properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\IdentityModel\DelegatingXmlDictionaryWriter.cs (2)
408_tracingWriter.WriteAttributeString(prefix, String.Empty, namespaceUri, String.Empty);
System\IdentityModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
21String traceName; 22internal SecurityTraceRecord(String traceName)
System\IdentityModel\Diagnostics\TraceUtility.cs (1)
64TraceEvent( eventType, TraceCode.IdentityModel, String.Format( CultureInfo.InvariantCulture, formatString, args ) );
System\IdentityModel\Metadata\MetadataSerializer.cs (37)
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)) 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\RijndaelCryptoServiceProvider.cs (1)
378string reason = (err != 0) ? new Win32Exception(err).Message : String.Empty;
System\IdentityModel\SafeCryptHandles.cs (1)
116string reason = (err != 0) ? new Win32Exception(err).Message : String.Empty;
System\IdentityModel\SecurityMessageSerializationException.cs (2)
15public SecurityMessageSerializationException(String message) 20public SecurityMessageSerializationException(String message, Exception innerException)
System\IdentityModel\SecurityTokenService.cs (1)
853throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.ID4010, request == null ? String.Empty : request.TokenType)));
System\IdentityModel\SecurityUtils.cs (1)
46anonymousIdentity = SecurityUtils.CreateIdentity(String.Empty);
System\IdentityModel\Selectors\X509CertificateStore.cs (2)
282if (0 != String.Compare((string)findValue, cert.SubjectName.Name, StringComparison.OrdinalIgnoreCase)) 291if (0 != String.Compare((string)findValue, cert.IssuerName.Name, StringComparison.OrdinalIgnoreCase))
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
236return String.Empty;
System\IdentityModel\SignedXml.cs (5)
831string _defaultNamespace = String.Empty; 926_defaultNamespace = reader.LookupNamespace(String.Empty); 1145if (StringComparer.OrdinalIgnoreCase.Equals(uri, String.Empty)) 1147return String.Empty; 1172if (!String.IsNullOrEmpty(uri))
System\IdentityModel\SspiHelper.cs (1)
187PackageList = String.Join(",", additionalPackages);
System\IdentityModel\SspiWrapper.cs (1)
346if (String.Compare(supportedSecurityPackages[i].Name, packageName, StringComparison.OrdinalIgnoreCase) == 0)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (5)
87String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 88String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} and {1}", ConfigurationStrings.Thumbprint, ConfigurationStrings.Name))); 94string issuerName = ((nameAttribute == null) || string.IsNullOrEmpty(nameAttribute.Value)) ? String.Empty : String.Intern(nameAttribute.Value); 104String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName),
System\IdentityModel\Tokens\Saml2AssertionKeyIdentifierClause.cs (1)
104/// Returns a <see cref="String"/> that represents the current <see cref="Object"/>.
System\IdentityModel\Tokens\Saml2Attribute.cs (1)
133if (value == String.Empty)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (7)
1690string issuer = (samlToken.Assertion.Issuer.Value != null) ? samlToken.Assertion.Issuer.Value : String.Empty; 3022if (originalIssuer == String.Empty) 3052attributeValueXsiTypePrefix = reader.LookupNamespace(String.Empty); 3066attribute.AttributeValueXsiType = String.Concat(attributeValueXsiTypePrefix, "#", attributeValueXsiTypeSuffix); 3151string result = String.Empty; 3152string whiteSpace = String.Empty; 3247writer.WriteAttributeString("type", XmlSchema.InstanceNamespace, String.Concat(ProductConstants.ClaimValueTypeSerializationPrefixWithColon, xsiTypeSuffix));
System\IdentityModel\Tokens\Saml2SubjectLocality.cs (2)
33/// <param name="address">A <see cref="String"/> indicating the address.</param> 34/// <param name="dnsName">A <see cref="String"/> indicating the DNS name.</param>
System\IdentityModel\Tokens\SamlAttribute.cs (3)
61if (!(claim.Resource is String)) 71this.nameSpace = String.Empty; 126if (value == String.Empty)
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (10)
38_friendlyName = String.Empty; 40_nameFormat = String.Empty; 41_namespace = attribute.Namespace ?? String.Empty; 42_valueType = attribute.AttributeValueXsiType ?? String.Empty; 43_originalIssuer = attribute.OriginalIssuer ?? String.Empty; 55_friendlyName = attribute.FriendlyName ?? String.Empty; 57_nameFormat = attribute.NameFormat == null ? String.Empty : attribute.NameFormat.AbsoluteUri; 58_namespace = String.Empty; 59_valueType = attribute.AttributeValueXsiType ?? String.Empty; 60_originalIssuer = attribute.OriginalIssuer ?? String.Empty;
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (2)
139prefix = String.Empty; 186writer.WriteAttributeString(String.Empty, dictionary.NamespaceAttributePrefix.Value, null, this.authorityKind.Namespace);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (8)
2627if (originalIssuer == String.Empty) 2648attributeValueXsiTypePrefix = reader.LookupNamespace(String.Empty); 2662attribute.AttributeValueXsiType = String.Concat(attributeValueXsiTypePrefix, "#", attributeValueXsiTypeSuffix); 2727string result = String.Empty; 2728string whiteSpace = String.Empty; 2808writer.WriteAttributeString("type", XmlSchema.InstanceNamespace, String.Concat(ProductConstants.ClaimValueTypeSerializationPrefixWithColon, xsiTypeSuffix)); 3011prefix = String.Empty; 3068writer.WriteAttributeString(String.Empty, SamlConstants.AttributeNames.NamespaceAttributePrefix, null, authorityBinding.AuthorityKind.Namespace);
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (2)
179throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value)); 187throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value));
System\IdentityModel\Tokens\SecurityTokenException.cs (2)
17public SecurityTokenException(String message) 22public SecurityTokenException(String message, Exception innerException)
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
286if (String.IsNullOrEmpty(tokenString)) 402if (String.IsNullOrEmpty(tokenString))
System\IdentityModel\Tokens\SecurityTokenHandlerCollectionManager.cs (1)
27/// <param name="serviceName">A <see cref="String"/> indicating the name of the associated service.</param>
System\IdentityModel\Tokens\SecurityTokenValidationException.cs (2)
17public SecurityTokenValidationException(String message) 22public SecurityTokenValidationException(String message, Exception innerException)
System\IdentityModel\Tokens\SessionDictionary.cs (1)
105_emptyString = Add(String.Empty);
System\IdentityModel\Tokens\SessionSecurityToken.cs (8)
104: this(claimsPrincipal, new SysUniqueId(), context, String.Empty, validFrom, validTo, null) 372string cookieContext = String.Empty; 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))
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\UnsupportedTokenTypeBadRequestException.cs (1)
28_tokenType = String.Empty;
System\IdentityModel\XmlUtil.cs (1)
159string prefix = String.Empty;
System.IdentityModel.Selectors (26)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
310if (String.IsNullOrEmpty(fileName))
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (5)
230string v2AndAboveImplementationDll = String.Empty; 241if (!String.IsNullOrEmpty(v2AndAboveImplementationDll)) 253v2AndAboveImplementationDll = String.Empty; 264if (String.IsNullOrEmpty(v2AndAboveImplementationDll)) 269IDT.Assert(!String.IsNullOrEmpty(v2AndAboveImplementationDll), "v2AndAboveImplementationDll should not be empty");
infocard\client\System\IdentityModel\Selectors\InfoCardRSACryptoProvider.cs (4)
60public override String SignatureAlgorithm 65public override String KeyExchangeAlgorithm 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\NativePolicyElement.cs (4)
21public String targetEndpointAddress; 23public String issuerEndpointAddress; 25public String issuedTokenParameters; 27public String policyNoticeLink;
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 (7)
229message = String.Format(CultureInfo.InvariantCulture, format, parameters); 461if (String.IsNullOrEmpty(parameter)) 609String errString = ex.Message + "\n"; 615errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 620errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 627if (!String.IsNullOrEmpty(Environment.StackTrace)) 629errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture,
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 (7)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
System.IO.Log (3)
System\IO\Log\Error.cs (1)
120return new ObjectDisposedException(String.Empty);
System\IO\Log\LogStore.cs (2)
100if (0 == String.Compare(path, 246if (0 == String.Compare(path,
System.Management (288)
Instrumentation\AssemblyNameUtility.cs (1)
23 sz += String.Format("{0:x2}", rg[i]);
Instrumentation\Attributes.cs (1)
65|| (once && String.Compare(namespacePart, "root", StringComparison.OrdinalIgnoreCase) != 0) // Must start with 'root'
Instrumentation\CodeSpit.cs (4)
16public static explicit operator String(CodeWriter writer) 62return AddChild(String.Concat(parts)); 86Line(String.Concat(parts)); 111usingCode.Line(String.Format("using {0};", type.Namespace));
Instrumentation\EventSource.cs (2)
66return String.Format("{{{0}}} - {1} - {2}", LogicalThreadId, ApartmentType, ThreadType); 741if(0==String.Compare(ManagedNameAttribute.GetMemberName(type), strFilter, StringComparison.Ordinal))
Instrumentation\ManagementInstaller.cs (1)
150if(String.Compare(mofFile.Substring(mofFile.Length-4,4),".mof",StringComparison.OrdinalIgnoreCase)!=0)
Instrumentation\SchemaMapping.cs (56)
40 throw new ArgumentException(String.Format(RC.GetString("UNSUPPORTEDMEMBER_EXCEPT"), mi.Name), mi.Name, innerException); 174 codeToWMI.Line(String.Format("{0} instNET = ({0})obj;", type.FullName.Replace('+', '.'))); // bug#92918 - watch for nested classes 240 String propName = ManagedNameAttribute.GetMemberName(field); 282 codeCCTOR.Line(String.Format("mapTypeToConverter[typeof({0})] = typeof({1});", ((Type)entry.Key).FullName.Replace('+', '.'), (string)entry.Value)); // bug#92918 - watch for nested classes 293 codeCCTOR.Line(String.Format("IWOA.GetPropertyHandle_f27(27, wbemObjectAccessIP, \"{0}\", out cimType, out {1});", propName, handleFieldName)); 297 codeCTOR.Line(String.Format("{0} = instance.Properties[\"{1}\"];", propFieldName, propName)); 301 CodeWriter codeNotNull = codeToWMI.AddChild(String.Format("if(instNET.{0} != null)", field.Name)); 303 codeElse.Line(String.Format("{0}.Value = null;", propFieldName)); 306 codeNotNull.Line(String.Format("int len = instNET.{0}.Length;", field.Name)); 312 CodeWriter codeFoundType = codeForLoop.AddChild(String.Format("if((instNET.{0}[i] != null) && mapTypeToConverter.Contains(instNET.{0}[i].GetType()))", field.Name)); 313 codeFoundType.Line(String.Format("Type type = (Type)mapTypeToConverter[instNET.{0}[i].GetType()];", field.Name)); 315 codeFoundType.Line(String.Format("embeddedConverters[i].ToWMI(instNET.{0}[i]);", field.Name)); 318 codeForLoop.AddChild("else").Line(String.Format("embeddedObjects[i] = SafeAssign.GetManagementObject(instNET.{0}[i]);", field.Name)); 320 codeNotNull.Line(String.Format("{0}.Value = embeddedObjects;", propFieldName)); 324 CodeWriter codeFoundType = codeNotNull.AddChild(String.Format("if(mapTypeToConverter.Contains(instNET.{0}.GetType()))", field.Name)); 325 codeFoundType.Line(String.Format("Type type = (Type)mapTypeToConverter[instNET.{0}.GetType()];", field.Name)); 327 codeFoundType.Line(String.Format("converter.ToWMI(instNET.{0});", field.Name)); 328 codeFoundType.Line(String.Format("{0}.Value = converter.GetInstance();", propFieldName)); 330 codeNotNull.AddChild("else").Line(String.Format("{0}.Value = SafeAssign.GetInstance(instNET.{1});", propFieldName, field.Name)); 341 codeNotNull = codeToWMI.AddChild(String.Format("if(instNET.{0} != null)", field.Name)); 343 codeElse.Line(String.Format("{0}.Value = null;", propFieldName)); 348 codeNotNull.Line(String.Format("int len = instNET.{0}.Length;", field.Name)); 350 codeNotNull.Line(String.Format("{0}[] embeddedConverters = new {0}[len];", embeddedConverterName)); 353 codeForLoop.Line(String.Format("embeddedConverters[i] = new {0}();", embeddedConverterName)); 358 codeForLoop.Line(String.Format("embeddedConverters[i].ToWMI(instNET.{0}[i]);", field.Name)); 362 CodeWriter codeArrayElementNotNull = codeForLoop.AddChild(String.Format("if(instNET.{0}[i] != null)", field.Name)); 363 codeArrayElementNotNull.Line(String.Format("embeddedConverters[i].ToWMI(instNET.{0}[i]);", field.Name)); 367 codeNotNull.Line(String.Format("{0}.Value = embeddedObjects;", propFieldName)); 377 codeOneLineMembers.Line(String.Format("{0} lazy_embeddedConverter_{1} = null;", embeddedConverterName, propFieldName)); 378 CodeWriter codeConverterProp = codeClass.AddChild(String.Format("{0} embeddedConverter_{1}", embeddedConverterName, propFieldName)); 380 CodeWriter codeIf = codeGet.AddChild(String.Format("if(null == lazy_embeddedConverter_{0})", propFieldName)); 381 codeIf.Line(String.Format("lazy_embeddedConverter_{0} = new {1}();", propFieldName, embeddedConverterName)); 382 codeGet.Line(String.Format("return lazy_embeddedConverter_{0};", propFieldName)); 384 codeNotNull.Line(String.Format("embeddedConverter_{0}.ToWMI(instNET.{1});", propFieldName, field.Name)); 385 codeNotNull.Line(String.Format("{0}.Value = embeddedConverter_{0}.instance;", propFieldName)); 397 codeToWMI.Line(String.Format("{0} instNET_{1} = instNET.{1} ;", t2, field.Name)); 398 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 1, ref instNET_{1});", handleFieldName, field.Name)); 406 codeToWMI.Line(String.Format("{0} instNET_{1} = instNET.{1} ;", t2, field.Name)); 407 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 2, ref instNET_{1});", handleFieldName, field.Name)); 410 codeToWMI.Line(String.Format("IWOA.WriteDWORD_f31(31, instWbemObjectAccessIP, {0}, instNET.{1});", handleFieldName, field.Name)); 412 codeToWMI.Line(String.Format("IWOA.WriteQWORD_f33(33, instWbemObjectAccessIP, {0}, instNET.{1});", handleFieldName, field.Name)); 417 codeToWMI.Line(String.Format("if(instNET.{0})", field.Name)); 418 codeToWMI.Line(String.Format(" IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 2, ref SafeAssign.boolTrue);", handleFieldName)); 420 codeToWMI.Line(String.Format(" IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 2, ref SafeAssign.boolFalse);", handleFieldName)); 422 else if(t2 == typeof(String)) 424 CodeWriter codeQuickString = codeToWMI.AddChild(String.Format("if(null != instNET.{0})", field.Name)); 425 codeQuickString.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, (instNET.{1}.Length+1)*2, instNET.{1});", handleFieldName, field.Name)); 427 codeToWMI.AddChild("else").Line(String.Format("IWOA.Put_f5(5, instWbemObjectAccessIP, \"{0}\", 0, ref nullObj, 8);", propName)); 440 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 52, SafeAssign.WMITimeToString(instNET.{1}));", handleFieldName, field.Name)); 444 codeToWMI.Line(String.Format("{0}.Value = instNET.{1};", propFieldName, field.Name)); 451 codeToWMI.AddChild(String.Format("if(null == instNET.{0})", field.Name)).Line(String.Format("{0}.Value = null;", propFieldName)); 452 codeToWMI.AddChild("else").Line(String.Format("{0}.Value = SafeAssign.WMITimeArrayToStringArray(instNET.{1});", propFieldName, field.Name)); 457 codeToWMI.Line(String.Format("{0}.Value = instNET.{1};", propFieldName, field.Name)); 495 throw new ArgumentException(String.Format(RC.GetString("MEMBERCONFLILCT_EXCEPT"), field.Name), field.Name); 538 else if(t2 == typeof(String))
Instrumentation\SchemaRegistration.cs (10)
162return (0==String.Compare(AssemblyUniqueIdentifier,inst["RegisteredBuild"].ToString(),StringComparison.OrdinalIgnoreCase)); 179 bRet = (0 != String.Compare(AssemblyUniqueIdentifier, obj["RegisteredBuild"].ToString(), StringComparison.OrdinalIgnoreCase)); 247return String.Concat( 249String.Format("//* {0}\r\n", DecoupledProviderInstanceName), 250String.Format("//* {0}\r\n", AssemblyUniqueIdentifier), 273String.Concat(mofs), 378 codeCCTOR.Line(String.Format("mapTypeToConverter[typeof({0})] = typeof({1});", mapping.ClassType.FullName.Replace('+', '.'), mapping.CodeClassName)); // bug#92918 - watch for nested classes 867throw new ArgumentException(String.Format(strformat, classPath, newClass.GetText(TextFormat.Mof)), e); 878return String.Format("#pragma namespace(\"\\\\\\\\.\\\\{0}\")\r\n\r\n", namespaceName.Replace("\\", "\\\\")); 883return String.Format("{0}instance of __Namespace\r\n{{\r\n Name = \"{1}\";\r\n}};\r\n\r\n", PragmaNamespace(baseNamespace), childNamespaceName);
Instrumentation\WMICapabilities.cs (1)
102if(String.Compare(mof, path, StringComparison.OrdinalIgnoreCase) == 0)
InteropClasses\WMIInterop.cs (1)
161if(String.Compare(wszName, "__path", StringComparison.OrdinalIgnoreCase) == 0)
managementbaseobject.cs (5)
466classPath.Server = String.Empty; 467classPath.NamespacePath = String.Empty; 468classPath.ClassName = String.Empty; 712int compareRes = String.Compare(((ManagementObject)this).Path.Path, 835return String.Empty;
managementclass.cs (3)
357 result.AddRange((String [])val); 1489 public bool GetStronglyTypedClassCode(CodeLanguage lang, String filePath,String classNamespace)
ManagementDatetime.cs (5)
145 string tempString = System.String.Empty; 257 string UtcString = String.Empty; 298 String strMicrosec = microsec.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))); 363 string tempString = System.String.Empty; 453 String strMicrosec = microsec.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)));
managementeventargs.cs (1)
257 return (null != message) ? message : String.Empty;
managementeventwatcher.cs (3)
650if((0==String.Compare(eventWatcher.Scope.Path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 651(0==String.Compare(eventWatcher.Scope.Path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase))) 707String message,
managementobject.cs (5)
382string nsPath = String.Empty; 718classPath.Server = String.Empty; 719classPath.NamespacePath = String.Empty; 720classPath.ClassName = String.Empty; 2841if (String.Compare(propertyName, RETURNVALUE, StringComparison.OrdinalIgnoreCase) == 0)
managementoptions.cs (2)
1283get { return (null != locale) ? locale : String.Empty; } 1427get { return (null != authority) ? authority : String.Empty; }
managementpath.cs (21)
143if (String.Compare("root", nsPath, StringComparison.OrdinalIgnoreCase) != 0) 276if (String.Compare(path, "root", StringComparison.OrdinalIgnoreCase) == 0) 298String pathStr = String.Empty; 501String pathStr = String.Empty; 571string newPath = String.Empty; 575newPath = String.Concat(nsPath, ":", relPath); 603String pathStr = String.Empty; 634String oldValue = Server; 637if (0 != String.Compare(oldValue,value,StringComparison.OrdinalIgnoreCase)) 694if (String.Compare(nsOrg, nsNew, StringComparison.OrdinalIgnoreCase) != 0) 759if (status >= 0 && String.Compare(serverOrg, serverNew, StringComparison.OrdinalIgnoreCase) != 0) 792string pathStr = String.Empty; 886String oldValue = ClassName; 889if (0 != String.Compare(oldValue,value,StringComparison.OrdinalIgnoreCase)) 902String pathStr = String.Empty; 916pathStr = String.Empty; 1106ConstructorInfo ctor = typeof(ManagementPath).GetConstructor(new Type[] {typeof(System.String)});
managementquery.cs (62)
80 get {return (null != queryString) ? queryString : String.Empty;} 98 public virtual String QueryLanguage 100 get {return (null != queryLanguage) ? queryLanguage : String.Empty;} 845 get { return (null != className) ? className : String.Empty; } 864 get { return (null != condition) ? condition : String.Empty; } 891 foreach (String s in src) 916 SetQueryString (String.Empty); 976 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //select clause found 1019 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //from clause found 1026 if ((q.Length >= keyword.Length) && (String.Compare(q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase) == 0)) //where clause exists 1038 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1053 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1062 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1074 (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 1088 condition = String.Empty; 1112 strArray = new String [count]; 1403 get { return (null != sourceObject) ? sourceObject : String.Empty; } 1431 get { return (null != relatedClass) ? relatedClass : String.Empty; } 1459 get { return (null != relationshipClass) ? relationshipClass : String.Empty; } 1477 get { return (null != relatedQualifier) ? relatedQualifier : String.Empty; } 1495 get { return (null != relationshipQualifier) ? relationshipQualifier : String.Empty; } 1513 get { return (null != relatedRole) ? relatedRole : String.Empty; } 1530 get { return (null != thisRole) ? thisRole : String.Empty; } 1563 SetQueryString (String.Empty); 1647 if (0 != String.Compare(q, 0, tokenAssociators, 0, tokenAssociators.Length, StringComparison.OrdinalIgnoreCase)) 1660 if (0 != String.Compare(q, 0, tokenOf, 0, tokenOf.Length, StringComparison.OrdinalIgnoreCase)) 1684 if (0 != String.Compare (q, 0, tokenWhere, 0, tokenWhere.Length, StringComparison.OrdinalIgnoreCase)) 1708 if ((q.Length >= tokenResultClass.Length) && (0 == String.Compare (q, 0, tokenResultClass, 0, tokenResultClass.Length, StringComparison.OrdinalIgnoreCase))) 1710 else if ((q.Length >= tokenAssocClass.Length) && (0 == String.Compare (q, 0, tokenAssocClass, 0, tokenAssocClass.Length, StringComparison.OrdinalIgnoreCase))) 1712 else if ((q.Length >= tokenResultRole.Length) && (0 == String.Compare (q, 0, tokenResultRole, 0, tokenResultRole.Length, StringComparison.OrdinalIgnoreCase))) 1714 else if ((q.Length >= tokenRole.Length) && (0 == String.Compare (q, 0, tokenRole, 0, tokenRole.Length, StringComparison.OrdinalIgnoreCase))) 1716 else if ((q.Length >= tokenRequiredQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredQualifier, 0, tokenRequiredQualifier.Length, StringComparison.OrdinalIgnoreCase))) 1718 else if ((q.Length >= tokenRequiredAssocQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredAssocQualifier, 0, tokenRequiredAssocQualifier.Length, StringComparison.OrdinalIgnoreCase))) 1720 else if ((q.Length >= tokenSchemaOnly.Length) && (0 == String.Compare (q, 0, tokenSchemaOnly, 0, tokenSchemaOnly.Length, StringComparison.OrdinalIgnoreCase))) 1725 else if ((q.Length >= tokenClassDefsOnly.Length) && (0 == String.Compare (q, 0, tokenClassDefsOnly, 0, tokenClassDefsOnly.Length, StringComparison.OrdinalIgnoreCase))) 2011 get { return (null != sourceObject) ? sourceObject : String.Empty; } 2029 get { return (null != relationshipClass) ? relationshipClass : String.Empty; } 2047 get { return (null != relationshipQualifier) ? relationshipQualifier : String.Empty; } 2065 get { return (null != thisRole) ? thisRole : String.Empty; } 2096 SetQueryString(String.Empty); 2162 if (0 != String.Compare(q, 0, tokenReferences, 0, tokenReferences.Length, StringComparison.OrdinalIgnoreCase)) 2175 if (0 != String.Compare(q, 0, tokenOf, 0, tokenOf.Length, StringComparison.OrdinalIgnoreCase)) 2199 if (0 != String.Compare (q, 0, tokenWhere, 0, tokenWhere.Length, StringComparison.OrdinalIgnoreCase)) 2220 if ((q.Length >= tokenResultClass.Length) && (0 == String.Compare (q, 0, tokenResultClass, 0, tokenResultClass.Length, StringComparison.OrdinalIgnoreCase))) 2222 else if ((q.Length >= tokenRole.Length) && (0 == String.Compare (q, 0, tokenRole, 0, tokenRole.Length, StringComparison.OrdinalIgnoreCase))) 2224 else if ((q.Length >= tokenRequiredQualifier.Length) && (0 == String.Compare (q, 0, tokenRequiredQualifier, 0, tokenRequiredQualifier.Length, StringComparison.OrdinalIgnoreCase))) 2226 else if ((q.Length >= tokenClassDefsOnly.Length) && (0 == String.Compare (q, 0, tokenClassDefsOnly, 0, tokenClassDefsOnly.Length, StringComparison.OrdinalIgnoreCase))) 2231 else if ((q.Length >= tokenSchemaOnly.Length) && (0 == String.Compare (q, 0, tokenSchemaOnly, 0, tokenSchemaOnly.Length, StringComparison.OrdinalIgnoreCase))) 2755 get { return (null != eventClassName) ? eventClassName : String.Empty; } 2789 get { return (null != condition) ? condition : String.Empty; } 2904 foreach (String s in src) 2945 get { return (null != havingCondition) ? havingCondition : String.Empty; } 2959 SetQueryString (String.Empty); 3030 if ((q.Length < keyword.Length) || (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3040 if ((q.Length < keyword.Length) || (0 != String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3046 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3067 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3106 if ((q.Length >= keyword.Length) && (0 == String.Compare (q, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) 3122 if ((w.Length >= keyword.Length) && (0 == String.Compare (w, 0, keyword, 0, keyword.Length, StringComparison.OrdinalIgnoreCase))) //where clause exists 3147 strArray = new String [count]; 3222 ConstructorInfo ctor = typeof(EventQuery).GetConstructor(new Type[] {typeof(System.String)}); 3232 ConstructorInfo ctor = typeof(ObjectQuery).GetConstructor(new Type[] {typeof(System.String)});
managementscope.cs (1)
1696ConstructorInfo ctor = typeof(ManagementScope).GetConstructor(new Type[] {typeof(System.String)});
method.cs (1)
218className = String.Empty; // Interpret as an unspecified property - return ""
property.cs (14)
226 className = String.Empty; // Interpret as an unspecified property - return "" 303 ((UInt64[])val) [i] = Convert.ToUInt64((String)(wmiValueArray.GetValue(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.UInt64))); 317 ((Int64[])val) [i] = Convert.ToInt64((String)(wmiValueArray.GetValue(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.Int64))); 356 val = Convert.ToUInt64((String)wmiValue,(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.UInt64))); 360 val = Convert.ToInt64((String)wmiValue,(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.Int64))); 452 wmiValue = new String [length]; 454 ((String[])(wmiValue))[i] = (Convert.ToInt64(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.Int64))); 458 wmiValue = new String [length]; 460 ((String[])(wmiValue))[i] = (Convert.ToUInt64(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.UInt64))); 494 if (val is String[]) 498 wmiValue = new String [length]; 500 ((String[])(wmiValue))[i] = (valArray.GetValue(i)).ToString(); 737 if (elementType == typeof(System.String)) 830 else if (valueType == typeof(System.String))
qualifier.cs (4)
107 if ((qualVal is Int32[]) || (qualVal is Double[]) || (qualVal is String[]) || (qualVal is Boolean[])) 130 else if (elementType == typeof(String)) 132 wmiValue = new String [length]; 134 ((String[])(wmiValue))[i] = (valArray.GetValue(i)).ToString();
qualifierset.cs (1)
345qualifierNames = new String[]{};
wmieventsink.cs (5)
94if((0==String.Compare(this.path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 95(0==String.Compare(this.path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase))) 106if((0==String.Compare(this.scope.Path.Server, ".", StringComparison.OrdinalIgnoreCase)) || 107(0==String.Compare(this.scope.Path.Server, System.Environment.MachineName, StringComparison.OrdinalIgnoreCase))) 170String message,
WmiGenerator.cs (78)
196public bool GenerateCode(CodeLanguage lang ,String filePath,String netNamespace) 625if (String.Compare(q.Name,"singleton",StringComparison.OrdinalIgnoreCase) == 0) 739foreach(String s in PublicNamesUsed.Values) 763foreach(String s in PublicProperties.Values) 775foreach(String s in PublicMethods.Values) 788foreach(String s in PublicProperties.Values) 819private String ResolveCollision(string inString,bool bCheckthisFirst) 1292String description = ProcessPropertyQualifiers(prop,ref bRead,ref bWrite,ref bStatic,bDynamicClass,out bNullable); 1632string description = String.Empty; 1635if (String.Compare(q.Name,"description",StringComparison.OrdinalIgnoreCase) == 0) 1640if (String.Compare(q.Name,"Not_Null",StringComparison.OrdinalIgnoreCase) == 0) 1645if (String.Compare(q.Name,"key",StringComparison.OrdinalIgnoreCase) == 0) 4627int IsContainedIn(String strToFind, ref SortedList sortedList) 4632if (String.Compare(sortedList.GetByIndex(i).ToString(),strToFind,StringComparison.OrdinalIgnoreCase) == 0) 4834string strRet = String.Empty; 4836string strToAdd = String.Empty; 4874strRet = String.Concat(strRet,strToAdd); 4888string strToAdd = String.Empty; 4915static bool IsContainedInArray(String strToFind, ArrayList arrToSearch) 4919if (String.Compare(arrToSearch[i].ToString(),strToFind,StringComparison.OrdinalIgnoreCase) == 0) 5006throw new ArgumentOutOfRangeException(String.Format(GetString("UNABLE_TOCREATE_GEN_EXCEPT") , strProvider )); 5015throw new ArgumentOutOfRangeException(String.Format(GetString("UNABLE_TOCREATE_GEN_EXCEPT") , strProvider)); 5116static Int32 ConvertBitMapValueToInt32(String bitMap) 5118String strTemp = "0x"; 5123strTemp = String.Empty; 5144String GetConversionFunction(CimType cimType) 5146String retFunctionName = String.Empty; 5242static bool IsDesignerSerializationVisibilityToBeSet(String propName) 5244if (String.Compare(propName,"Path",StringComparison.OrdinalIgnoreCase) != 0) 5295string retFunctionName = String.Empty; 5296enumType = String.Empty; 5708if(String.Compare(strType,PublicNamesUsed["PathClass"].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 6241if(String.Compare(prop.Qualifiers["SubType"].Value.ToString() ,"interval",StringComparison.OrdinalIgnoreCase) == 0) 6424String dmtfParam = "dmtfDate"; 6425String year = "year"; 6426String month = "month"; 6427String day = "day"; 6428String hour = "hour"; 6429String minute = "minute"; 6430String second = "second"; 6431String ticks = "ticks"; 6432String dmtf = "dmtf"; 6433String tempStr = "tempString"; 6434String datetimeVariable = "datetime"; 6739String tickoffset = "tickOffset"; 6748String utcOffset = "UTCOffset"; 6750String offsetAdjust = "OffsetToBeAdjusted"; 6753String OffsetMins = "OffsetMins"; 6850String toCompare, 6851String tempVarName, 6852String dmtfVarName, 6853String toAssign, 6883String dmtfTimeSpan = "dmtftimespan"; 6884String timespan = "timespan"; 6885String tsTemp = "tsTemp"; 6886String microsec = "microsec"; 6887String strmicrosec = "strMicroSec"; 7146String strUtc = "utcString"; 7147String dateParam = "date"; 7180String tickoffset = "tickOffset"; 7189String OffsetMins = "OffsetMins"; 7293String dmtfDateTime = "dmtfDateTime"; 7345String dtTemp = "dtTemp"; 7361String microsec = "microsec"; 7387String strmicrosec = "strMicrosec"; 7446String dmtfDateTime = "dmtfDateTime"; 7447String dateParam = "date"; 7471String tsParam = "dmtfTimespan"; 7472String days = "days"; 7473String hours = "hours"; 7474String minutes = "minutes"; 7475String seconds = "seconds"; 7476String ticks = "ticks"; 7777static void ToTimeSpanHelper(int start,int numOfCharacters,String strVarToAssign,CodeStatementCollection statCol) 7779String strTemp = "tempString"; 7780String tsParam = "dmtfTimespan";
System.Messaging (39)
parent\parent\inc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
System\Messaging\Design\MessageQueueConverter.cs (1)
56if (text == String.Empty)
System\Messaging\Design\QueuePathDialog.cs (9)
48private string path = String.Empty; 49private string queuePath = String.Empty; 141if (this.path != null && this.path != String.Empty) 171if (this.queuePath != null && String.Compare(this.queuePath, tempPath, true, CultureInfo.InvariantCulture) != 0) 177MessageBox.Show(e.Message, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error); 179if (this.queuePath == String.Empty) 424MessageBox.Show(Res.GetString(Res.QueueNetworkProblems), String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error); 441if (String.Compare(machineName, machine.Text, true, CultureInfo.InvariantCulture) == 0) 450if (queueNode.Text != null && String.Compare(queueName, queueNode.Text, true, CultureInfo.InvariantCulture) == 0)
System\Messaging\Design\QueuePathEditor.cs (1)
63if (dialog.Path != String.Empty)
System\Messaging\Message.cs (3)
781return String.Empty; 1234return String.Empty; 1787return String.Empty;
System\Messaging\MessageQueue.cs (17)
168this.path = String.Empty; 1009return String.Empty; 1079value = String.Empty; 1084if (!String.IsNullOrEmpty(this.path)) 2031if (machineName == "." || (String.Compare(machineName, MessageQueue.ComputerName, true, CultureInfo.InvariantCulture) == 0)) 2136DirectorySearcher localComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", ComputerName)); 2146if (machineName != "." && String.Compare(machineName, ComputerName, true, CultureInfo.InvariantCulture) != 0) 2148DirectorySearcher remoteComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", machineName)); 2170queues[index] = new MessageQueue(String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", machineName, queueName)); 2636if ((compareId && String.Compare(message.Id, id, true, CultureInfo.InvariantCulture) == 0) || 2637(!compareId && String.Compare(message.CorrelationId, id, true, CultureInfo.InvariantCulture) == 0)) 3318if (String.Compare(name, SUFIX_DEADLETTER, true, CultureInfo.InvariantCulture) == 0 || 3319String.Compare(name, SUFIX_DEADXACT, true, CultureInfo.InvariantCulture) == 0 || 3320String.Compare(name, SUFIX_JOURNAL, true, CultureInfo.InvariantCulture) == 0) 3336if (String.Compare(name, SUFIX_DEADXACT, true, CultureInfo.InvariantCulture) == 0) 3338else if (String.Compare(name, SUFIX_DEADLETTER, true, CultureInfo.InvariantCulture) == 0) 3551String upperPath = path.ToUpper(CultureInfo.InvariantCulture);
System\Messaging\MessageQueueEnumerator.cs (1)
214String.Compare(machineName, 0, currentItem, 0, machineName.Length, true, CultureInfo.InvariantCulture) != 0));
System\Messaging\MessageQueueInstaller.cs (3)
38private string label = String.Empty; 41private string multicastAddress = String.Empty; 42private string path = String.Empty;
System.Net (3)
net\Logging.cs (2)
125sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset)); 128sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' '));
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
309if (String.Compare(installType, InstallTypeStringServerCore, StringComparison.OrdinalIgnoreCase) == 0) {
System.Numerics (38)
System\Numerics\BigInteger.cs (12)
373public override String ToString() { 377public String ToString(IFormatProvider provider) { 381public String ToString(String format) { 385public String ToString(String format, IFormatProvider provider) { 809public static BigInteger Parse(String value) { 813public static BigInteger Parse(String value, NumberStyles style) { 817public static BigInteger Parse(String value, IFormatProvider provider) { 821 public static BigInteger Parse(String value, NumberStyles style, IFormatProvider provider) { 825public static Boolean TryParse(String value, out BigInteger result) { 829public static Boolean TryParse(String value, NumberStyles style, IFormatProvider provider, out BigInteger result) {
System\Numerics\BigNumber.cs (12)
322internal unsafe static Boolean TryParseBigInteger(String value, NumberStyles style, NumberFormatInfo info, out BigInteger result) { 353internal unsafe static BigInteger ParseBigInteger(String value, NumberStyles style, NumberFormatInfo info) { 437internal static char ParseFormatSpecifier(String format, out Int32 digits) { 439if (String.IsNullOrEmpty(format)) { 465private static String FormatBigIntegerToHexString(BigInteger value, char format, int digits, NumberFormatInfo info) { 468String fmt = null; 484fmt = String.Format(CultureInfo.InvariantCulture, "{0}1", format); 490fmt = String.Format(CultureInfo.InvariantCulture, "{0}2", format); 512static String FormatBigInteger(BigInteger value, String format, NumberFormatInfo info) { 530format = String.Format(CultureInfo.InvariantCulture, "D{0}", digits.ToString(CultureInfo.InvariantCulture)); 649String negativeSign = info.NegativeSign;
System\Numerics\Complex.cs (10)
258public override String ToString() { 259return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real, this.m_imaginary)); 262public String ToString(String format) { 263return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real.ToString(format, CultureInfo.CurrentCulture), this.m_imaginary.ToString(format, CultureInfo.CurrentCulture))); 266public String ToString(IFormatProvider provider) { 267return (String.Format(provider, "({0}, {1})", this.m_real, this.m_imaginary)); 270public String ToString(String format, IFormatProvider provider) { 271return (String.Format(provider, "({0}, {1})", this.m_real.ToString(format, provider), this.m_imaginary.ToString(format, provider)));
System\Numerics\Matrix3x2.cs (1)
792return String.Format(ci, "{{ {{M11:{0} M12:{1}}} {{M21:{2} M22:{3}}} {{M31:{4} M32:{5}}} }}",
System\Numerics\Matrix4x4.cs (1)
2193return String.Format(ci, "{{ {{M11:{0} M12:{1} M13:{2} M14:{3}}} {{M21:{4} M22:{5} M23:{6} M24:{7}}} {{M31:{8} M32:{9} M33:{10} M34:{11}}} {{M41:{12} M42:{13} M43:{14} M44:{15}}} }}",
System\Numerics\Plane.cs (1)
354return String.Format(ci, "{{Normal:{0} D:{1}}}", Normal.ToString(), D.ToString(ci));
System\Numerics\Quaternion.cs (1)
780return String.Format(ci, "{{X:{0} Y:{1} Z:{2} W:{3}}}", X.ToString(ci), Y.ToString(ci), Z.ToString(ci), W.ToString(ci));
System.Runtime.Caching (47)
Resources\RH.cs (1)
9return String.Format(CultureInfo.CurrentCulture, resource, args);
System\Caching\CacheEntryChangeMonitor.cs (1)
12public abstract String RegionName { get; }
System\Caching\CacheEntryUpdateArguments.cs (6)
8private String _key; 10private String _regionName; 15public String Key { 23public String RegionName { 41public CacheEntryUpdateArguments(ObjectCache source, CacheEntryRemovedReason reason, String key, String regionName) {
System\Caching\Dbg.cs (1)
742public static void TraceException(String tagName, Exception e) {
System\Caching\FileChangeNotificationSystem.cs (4)
29if (String.IsNullOrEmpty(s1) && String.IsNullOrEmpty(s2)) { 32if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) {
System\Caching\HostFileChangeMonitor.cs (6)
21private readonly ReadOnlyCollection<String> _filePaths; 22private String _uniqueId; 127public override ReadOnlyCollection<String> FilePaths { get { return _filePaths; } } 128public override String UniqueId { get { return _uniqueId; } } 131public HostFileChangeMonitor(IList<String> filePaths) { 151if (String.IsNullOrEmpty(path)) {
System\Caching\Hosting\IApplicationIdentifier.cs (1)
8String GetApplicationId();
System\Caching\MemoryCache.cs (10)
293if (name == String.Empty) { 296if (String.Equals(name, "default", StringComparison.OrdinalIgnoreCase)) { 311if (name == String.Empty) { 314if (String.Equals(name, "default", StringComparison.OrdinalIgnoreCase)) { 368public override CacheEntryChangeMonitor CreateCacheEntryChangeMonitor(IEnumerable<String> keys, String regionName = null) { 375List<String> keysClone = new List<String>(keys); 435internal MemoryCacheEntry GetEntry(String key) { 706public override IDictionary<string, object> GetValues(IEnumerable<String> keys, string regionName = null) {
System\Caching\MemoryCacheEntry.cs (1)
92internal MemoryCacheEntry(String key,
System\Caching\MemoryCacheEntryChangeMonitor.cs (5)
17private ReadOnlyCollection<String> _keys; 18private String _regionName; 19private String _uniqueId; 115internal MemoryCacheEntryChangeMonitor(ReadOnlyCollection<String> keys, String regionName, MemoryCache cache) {
System\Caching\MemoryCacheKey.cs (3)
10private String _key; 14internal String Key { get { return _key; } } 16internal MemoryCacheKey(String key) {
System\Caching\MemoryCacheKeyEqualityComparer.cs (1)
18return (String.Compare(a.Key, b.Key, StringComparison.Ordinal) == 0);
System\Caching\ObjectCache.cs (3)
51public abstract CacheEntryChangeMonitor CreateCacheEntryChangeMonitor(IEnumerable<String> keys, String regionName = null); 105public abstract IDictionary<string, object> GetValues(IEnumerable<String> keys, string regionName = null);
System\Caching\PerfCounters.cs (2)
44if (String.IsNullOrEmpty(appId)) { 51if (String.IsNullOrEmpty(appId)) {
System\Caching\SqlChangeMonitor.cs (2)
9private String _uniqueId; 12public override String UniqueId { get { return _uniqueId; } }
System.Runtime.Remoting (1487)
channels\core\basetransportheaders.cs (16)
35private String _requestUri; // 2) CommonTransportKeys.RequestUri 36private String _contentType; // 3) "Content-Type" 49public String RequestUri 56public String ContentType 82String strKey = key as String; 100String strKey = key as String; 137internal int MapHeaderNameToIndex(String headerName) 144if (String.Compare(headerName, CommonTransportKeys.ConnectionId, StringComparison.OrdinalIgnoreCase) == 0) 147if (String.Compare(headerName, CommonTransportKeys.IPAddress, StringComparison.OrdinalIgnoreCase) == 0) 150if (String.Compare(headerName, CommonTransportKeys.RequestUri, StringComparison.OrdinalIgnoreCase) == 0) 153if (String.Compare(headerName, "Content-Type", StringComparison.OrdinalIgnoreCase) == 0) 160internal String MapHeaderIndexToName(int index) 219case 2: _requestUri = (String)value; break; 220case 3: _contentType = (String)value; break;
channels\core\commonchannelkeys.cs (3)
20public const String IPAddress = "__IPAddress"; 23public const String ConnectionId = "__ConnectionId"; 26public const String RequestUri = "__RequestUri";
channels\core\corechannel.cs (51)
71internal const String SOAPMimeType = "text/xml"; 72internal const String BinaryMimeType = "application/octet-stream"; 74internal const String SOAPContentType = "text/xml; charset=\"utf-8\""; 76private static String s_hostName = null; 77private static String s_MachineName = null; 78private static String s_MachineIp = null; 165internal static String GetHostName() 180internal static String GetMachineName() 184String machineName = GetHostName(); 233internal static String DecodeMachineName(String machineName) 242internal static String GetMachineIp() 246String hostName = GetMachineName(); 316String key = (String)e.Key; 318(String.CompareOrdinal(key, 0, "__", 0, 2) == 0) 375(String)key, e.Value, false, 524String _uri = null; 526internal UriHeaderHandler(String uri) 570String objectUri, 598internal static Stream SerializeMessage(String mimeType, IMessage msg, bool includeVersions) 607internal static void SerializeMessage(String mimeType, IMessage msg, Stream outputStream, 630internal static IMessage DeserializeMessage(String mimeType, Stream xstm, bool methodRequest, IMessage msg) 635internal static IMessage DeserializeMessage(String mimeType, Stream xstm, bool methodRequest, IMessage msg, Header[] h) 670String base64String = Encoding.ASCII.GetString(byteArray,0, byteArray.Length); 726internal static IRemotingFormatter MimeTypeToFormatter(String mimeType, bool serialize) 749internal static String RemoveApplicationNameFromUri(String uri) 754String appName = RemotingConfiguration.ApplicationName; 763if (String.Compare(appName, 0, uri, 0, appName.Length, StringComparison.OrdinalIgnoreCase) == 0) 808internal static void VerifyNoProviderData(String providerTypeName, ICollection providerData) 813String.Format( 820internal static void ReportUnknownProviderConfigProperty(String providerTypeName, 821String propertyName) 824String.Format( 834String objectUri; 835String channelUri = channel.Parse("http://foo.com/foo", out objectUri); 890String[] bashInfo = new String[2]; 937sidString.Append(String.Format(CultureInfo.CurrentCulture, "{0:x2}{1:x2}{2:x2}{3:x2}{4:x2}{5:x2}", 952sidString.Append(String.Format(CultureInfo.CurrentCulture, "{0:x12}", number)); 963sidString.Append(String.Format(CultureInfo.CurrentCulture, "-{0:x12}", number)); 983internal static String GetResourceString(String key) 987String s = SystemResMgr.GetString(key, null); 994internal static void DebugOut(String s) 1000internal static void DebugOutXMLStream(Stream stm, String tag) 1078internal static void DebugException(String name, Exception e) 1124private static String _iisAppUrl = null; 1133String mdPath = request.ServerVariables["APPL_MD_PATH"]; 1158internal static String ApplicationUrl
channels\core\socketcache.cs (6)
29String machineAndPort); 43private String _machineAndPort; 51internal RemoteConnection(SocketCache socketCache, String machineAndPort) 403internal SocketHandler CreateSocketHandler(Socket socket, String machineAndPort) 411public SocketHandler GetSocket(String machinePortAndSid, bool openNew) 429public void ReleaseSocket(String machinePortAndSid, SocketHandler socket)
channels\core\socketmanager.cs (6)
596protected String ReadToChar(char ch) 601protected String ReadToChar(char ch, ValidateByteDelegate validator) 607return String.Empty; 609String str = Encoding.ASCII.GetString(strBytes); 615public String ReadToEndOfLine() 617String str = ReadToChar('\r');
channels\core\stringhelper.cs (3)
25internal static bool StartsWithDoubleUnderscore(String str) 33internal static bool StartsWithAsciiIgnoreCasePrefixLower(String str, String asciiPrefix)
channels\http\combinedhttpchannel.cs (14)
36private String _channelName = "http"; // channel name 64switch ((String)entry.Key) 67case "name": _channelName = (String)entry.Value; break; 68case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 120public String ChannelName 128public String Parse(String url, out String objectURI) 143public IMessageSink CreateMessageSink(String url, Object remoteChannelData, 144out String objectURI) 166public String[] GetUrlsForUri(String objectURI) 193public String ChannelScheme { 213public void AddHookChannelUri(String channelUri)
channels\http\httpchannelhelper.cs (32)
25private const String _http = "http://"; 27private const String _https = "https://"; 37internal static int StartsWithHttp(String url) 55internal static String ParseURL(String url, out String objectURI) 72String channelURI = url.Substring(0, separator); 85internal static String GetObjectUriFromRequestUri(String uri) 137internal static void ParseContentType(String contentType, 138out String value, 139out String charset) 149String[] parts = contentType.Split(s_semicolonSeparator); 157foreach (String part in parts) 162String key = part.Substring(0, index).Trim(); 163if (String.Compare(key, "charset", StringComparison.OrdinalIgnoreCase) == 0) 182internal static String ReplaceChannelUriWithThisString(String url, String channelUri) 187String oldChannelUri; 188String objUri; 198internal static String ReplaceMachineNameWithThisString(String url, String newMachineName) 200String objectUri; 201String channelUri = ParseURL(url, out objectUri); 214String newUrl = url.Substring(0, index) + newMachineName + url.Substring(colonIndex); 308internal static String EncodeUriAsXLinkHref(String uri) 355internal static String DecodeUri(String uri) 362String newUri = Encoding.UTF8.GetString(uriBytes, 0, length);
channels\http\httpclientchannel.cs (63)
43private const String ProxyNameKey = "proxyname"; 44private const String ProxyPortKey = "proxyport"; 53private String _channelName = "http client"; // channel name 57private String _proxyName = null; 75public HttpClientChannel(String name, IClientChannelSinkProvider sinkProvider) 91switch ((String)entry.Key) 93case "name": _channelName = (String)entry.Value; break; 165public String ChannelName 173public String Parse(String url, out String objectURI) 189public virtual IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI) 193String channelURI = null; 210String simpleChannelUri = Parse(cds.ChannelUris[0], out objectURI); 273String keyStr = key as String; 288String keyStr = key as String; 294case ProxyNameKey: _proxyName = (String)value; UpdateProxy(); break; 342String[] bypassList = new String[]{ CoreChannel.GetMachineIp() }; 383public IClientChannelSink CreateSink(IChannelSender channel, String url, 405private const String s_defaultVerb = "POST"; 407private static String s_userAgent = 415private const String UserNameKey = "username"; 416private const String PasswordKey = "password"; 417private const String DomainKey = "domain"; 418private const String PreAuthenticateKey = "preauthenticate"; 419private const String CredentialsKey = "credentials"; 420private const String ClientCertificatesKey = "clientcertificates"; 421private const String ProxyNameKey = "proxyname"; 422private const String ProxyPortKey = "proxyport"; 423private const String TimeoutKey = "timeout"; 424private const String AllowAutoRedirectKey = "allowautoredirect"; 425private const String UnsafeAuthenticatedConnectionSharingKey = "unsafeauthenticatedconnectionsharing"; 426private const String ConnectionGroupNameKey = "connectiongroupname"; 433private String _securityUserName = null; 434private String _securityPassword = null; 435private String _securityDomain = null; 438private String _connectionGroupName = null; 449private String _proxyName = null; 455private String _channelURI; // complete url to remote object 461internal HttpClientTransportSink(HttpClientChannel channel, String channelURI) : base() 560String msgUri = (String)headers[CommonTransportKeys.RequestUri]; 568msgUri = (String)msg.Properties["__Uri"]; 571String fullPath; 589String verb = (String)headers["__RequestVerb"]; 671String key = header.Key as String; 777String keyString = key.ToString(); 792String keyStr = key as String; 817String keyStr = key as String; 823case UserNameKey: _securityUserName = (String)value; break; 824case PasswordKey: _securityPassword = (String)value; break; 825case DomainKey: _securityDomain = (String)value; break; 831case ProxyNameKey: _proxyName = (String)value; UpdateProxy(); break; 845case ConnectionGroupNameKey: _connectionGroupName = (String)value; break; 910internal static String UserAgent
channels\http\httpremotinghandler.cs (31)
42private static String ApplicationConfigurationFile = "web.config"; 105String filename = String.Concat(httpRequest.PhysicalApplicationPath, 132if (String.Compare(hook.ChannelScheme, "http", StringComparison.OrdinalIgnoreCase) == 0) 152String scheme = null; 158String hookChannelUri = 162String restOfUri = ":" + port + "/" + RemotingConfiguration.ApplicationName; 227if (String.Compare(context.Request.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) != 0) { 237if (values.Length != 1 || String.Compare(values[0], "wsdl", StringComparison.OrdinalIgnoreCase) != 0) 241if (String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0) 263String rawUrl = context.Request.RawUrl; 265String channelUri; 266String requestUri; 272String appName = RemotingConfiguration.ApplicationName; 399bool bVerbIsGET = (String.Compare(httpRequest.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) == 0); 416String machineAndAppName = Dns.GetHostName() + httpRequest.ApplicationPath; 419String[] urlComponents = httpRequest.PhysicalPath.Split(new char[]{'\\'}); 420String uri = urlComponents[urlComponents.Length - 1] ; 466throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_AssemblyLoadFailed"), "System.Web.Services")); 493public static void RegisterType(String machineAndAppName, Type type, String uri) 504private static void RegisterSingleType(String machineAndAppName, Type type) 506String xmlName = type.Name; 507String xmlNamespace = "http://" + machineAndAppName + "/" + type.FullName; 557String[] allKeys = headers.AllKeys; 561String headerName = allKeys[httpKeyCount]; 562String headerValue = headers[headerName]; 623String serverHeader = (String)responseHeaders["Server"]; 656String key = (String)entry.Key;
channels\http\httpserverchannel.cs (37)
44private String _channelName = "http server"; // channel name 45private String _machineName = null; // machine name 49private String _forcedMachineName = null; // an explicitly configured machine name 85public HttpServerChannel(String name, int port) : base() 93public HttpServerChannel(String name, int port, IServerChannelSinkProvider sinkProvider) : base() 109switch ((String)entry.Key) 111case "name": _channelName = (String)entry.Value; break; 112case "bindTo": _bindToAddr = IPAddress.Parse((String)entry.Value); break; 114case "machineName": _forcedMachineName = (String)entry.Value; break; 183String channelUri = GetChannelUri(); 184_channelData.ChannelUris = new String[1]; 240public String ChannelName 248public String Parse(String url, out String objectURI) 280public String GetChannelUri() 294public virtual String[] GetUrlsForUri(String objectUri) 296String[] retVal = new String[1]; 335String channelUri = GetChannelUri(); 336_channelData.ChannelUris = new String[1]; 370public String ChannelScheme { 388public void AddHookChannelUri(String channelUri) 411_channelData.ChannelUris = new String[] { channelUri }; 457String.Format( 537private static String s_serverHeader = 674internal static String ServerHeader 692public String Uri { get{ return m_URI; } } 693public String MethodName { get{ return m_MethodName; }} 694public String TypeName { get{ return m_TypeName; } } 698public String GetArgName(int index) { return m_ArgName; } 708public String GetInArgName(int index) { return null; } 712String m_URI = "Exception"; 713String m_MethodName = "Unknown"; 714String m_TypeName = "Unknown"; 717String m_ArgName = "Unknown";
channels\http\httpsocketmanager.cs (18)
56String header = ReadToEndOfLine(); 63String headerName = header.Substring(0,sep); 64String headerValue = header.Substring(sep+1+1); // skip semi-colon and space 66if (String.Compare(headerName, "Transfer-Encoding", StringComparison.OrdinalIgnoreCase) == 0) 68if (String.Compare(headerValue, "chunked", StringComparison.OrdinalIgnoreCase) == 0) 74if (String.Compare(headerName, "Connection", StringComparison.OrdinalIgnoreCase) == 0) 76if (String.Compare(headerValue, "Keep-Alive", StringComparison.OrdinalIgnoreCase) == 0) 79if (String.Compare(headerValue, "Close", StringComparison.OrdinalIgnoreCase) == 0) 83if (String.Compare(headerName, "Expect", StringComparison.OrdinalIgnoreCase) == 0) 85if (String.Compare(headerValue, "100-continue", StringComparison.OrdinalIgnoreCase) == 0) 89if (String.Compare(headerName, "Content-Length", StringComparison.OrdinalIgnoreCase) == 0) 108String headerName = (String)header.Key; 112WriteHeader(headerName, (String)header.Value, outputStream); 120private void WriteHeader(String name, String value, Stream outputStream) 131protected void WriteResponseFirstLine(String statusCode, String reasonPhrase, Stream outputStream)
channels\http\httpstreams.cs (16)
205String str = ""; 411String trailerHeader; 591String verb, requestURI, version; 620String channelURI; 621String objectURI; 663public Stream GetResponseStream(String statusCode, String reasonPhrase, 672String userReasonPhrase = headers["__HttpReasonPhrase"] as String; 721private bool ReadFirstLine(out String verb, out String requestURI, out String version) 751String statusCode, String reasonPhrase, 771String serverHeader = (String)headers["Server"];
channels\ipc\ipcchannel.cs (13)
31private String _channelName = "ipc"; // channel name 40public IpcChannel(String portName) : this() 67switch ((String)entry.Key) 70case "name": _channelName = (String)entry.Value; break; 71case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 128public String ChannelName 136public String Parse(String url, out String objectURI) 151public IMessageSink CreateMessageSink(String url, Object remoteChannelData, 152out String objectURI) 180public String[] GetUrlsForUri(String objectURI)
channels\ipc\ipcchannelhelper.cs (6)
23private const String _ipc = "ipc://"; 26internal static bool StartsWithIpc(String url) 33internal static String ParseURL(String url, out String objectURI) 63String channelURI = url.Substring(0, separator);
channels\ipc\ipcclientchannel.cs (24)
37private String _channelName = "ipc client"; // channel name 50public IpcClientChannel(String name, IClientChannelSinkProvider sinkProvider) 67switch ((String)entry.Key) 69case "name": _channelName = (String)entry.Value; break; 117public String ChannelName 125public String Parse(String url, out String objectURI) 141public virtual IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI) 145String channelURI = null; 162String simpleChannelUri = Parse(cds.ChannelUris[0], out objectURI); 219public IClientChannelSink CreateSink(IChannelSender channel, String url, 252private String _portName; 253private const String TokenImpersonationLevelKey = "tokenimpersonationlevel"; 255private const String ConnectionTimeoutKey = "connectiontimeout"; 260internal IpcClientTransportSink(String channelURI, IpcClientChannel channel) 262String objectURI; 265String simpleChannelUri = IpcChannelHelper.ParseURL(channelURI, out objectURI); 388String keyStr = key as String; 405String keyStr = key as String; 413(String)value, true));
channels\ipc\ipcclientmanager.cs (2)
58String.Format( 98String uri = mcm.Uri;
channels\ipc\ipcmanager.cs (11)
81String statusPhrase = null; 88String headerName = ReadCountedString(); 89String headerValue = ReadCountedString(); 99String uri = ReadCountedString(); 101String channelURI; 102String objectURI; 133String contentType = ReadCountedString(); 153String.Format( 173String.Format( 179private void ReadAndVerifyHeaderFormat(String headerName, byte expectedFormat) 186String.Format(
channels\ipc\ipcport.cs (13)
65internal static IpcPort Create(String portName, CommonSecurityDescriptor securityDescriptor, bool exclusive) 104throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_CreateIpcFailed"), GetMessage(error))); 118internal static IpcPort Connect(String portName, bool secure, TokenImpersonationLevel impersonationLevel, int timeout) 162throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ConnectIpcFailed"), GetMessage(error))); 167throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_Busy"), GetMessage(error))); 174internal static String GetMessage(int errorCode) { 183String s = sb.ToString(); 187return String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_UnknownError_Num"), errorCode.ToString(CultureInfo.InvariantCulture)); 198throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ImpersonationFailed"), GetMessage(error))); 212throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 246throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 290throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(ar._errorCode))); 307throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_WriteFailure"), GetMessage(error)));
channels\ipc\ipcserverchannel.cs (18)
34private String _channelName = "ipc server"; // channel name 35private String _portName = null; 67public IpcServerChannel(String name, string portName) 77public IpcServerChannel(String name, string portName, IServerChannelSinkProvider sinkProvider) 99switch ((String)entry.Key) 101case "name": _channelName = (String)entry.Value; break; 102case "portName": _portName = (String)entry.Value; break; 107case "authorizedGroup": _authorizedGroup = (String)entry.Value; break; 150_channelData.ChannelUris = new String[1]; 194public String ChannelName 202public String Parse(String url, out String objectURI) 232public String GetChannelUri() 239public virtual String[] GetUrlsForUri(String objectUri) 244String[] retVal = new String[1];
channels\ipc\portcache.cs (1)
90public IpcPort GetConnection(String portName, bool secure, TokenImpersonationLevel level, int timeout)
channels\ipc\win32namedpipes.cs (5)
40private const String Kernel32 = "kernel32.dll"; 41private const String AdvApi32 = "advapi32.dll"; 101public static extern PipeHandle CreateNamedPipe(String lpName, // pipe name 126public static extern PipeHandle CreateFile(String lpFileName, // file name 162public static extern bool WaitNamedPipe(String name,
channels\sinks\binaryformattersinks.cs (14)
58String keyStr = entry.Key.ToString(); 76public IClientChannelSink CreateSink(IChannelSender channel, String url, 330String keyStr = entry.Key.ToString(); 371String uri = channel.GetUrlsForUri("")[0]; 372if (String.Compare("http", 0, uri, 0, 4, StringComparison.OrdinalIgnoreCase) == 0) 484String verb = null; 485String contentType = null; 490String contentTypeHeader = null; 494contentTypeHeader = requestHeaders["Content-Type"] as String; 497String charsetValue; 504(String.CompareOrdinal(contentType, CoreChannel.BinaryMimeType) != 0)) 512verb = (String)requestHeaders["__RequestVerb"]; 551String objectUri = null; 563objectUri = (String)requestHeaders[CommonTransportKeys.RequestUri];
channels\sinks\soapformattersinks.cs (29)
59String keyStr = entry.Key.ToString(); 77public IClientChannelSink CreateSink(IChannelSender channel, String url, 260String contentTypeHeader = headers["Content-Type"] as String; 261String contentTypeValue, charsetValue; 265if (String.Compare(contentTypeValue, CoreChannel.SOAPMimeType, StringComparison.Ordinal) == 0) 382String keyStr = entry.Key.ToString(); 422String uri = channel.GetUrlsForUri("")[0]; 423if (String.Compare("http", 0, uri, 0, 4, StringComparison.OrdinalIgnoreCase) == 0) 535String verb = null; 536String contentType = null; 541String contentTypeHeader = null; 545contentTypeHeader = requestHeaders["Content-Type"] as String; 548String charsetValue; 555(String.Compare(contentType, CoreChannel.SOAPMimeType, StringComparison.Ordinal) != 0)) 563verb = (String)requestHeaders["__RequestVerb"]; 602String objectUri = null; 606objectUri = (String)requestHeaders[CommonTransportKeys.RequestUri]; 614String userAgent = (String)requestHeaders["User-Agent"]; 636String soapActionToVerify; 670String.Format( 833out String soapActionToVerify) 838String objectURI = (String)requestHeaders[CommonTransportKeys.RequestUri]; 843String soapAction = (String) requestHeaders["SOAPAction"]; 850String typeName, methodName; 859String.Format(
channels\tcp\combinedtcpchannel.cs (12)
32private String _channelName = "tcp"; // channel name 60switch ((String)entry.Key) 63case "name": _channelName = (String)entry.Value; break; 64case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 120public String ChannelName 128public String Parse(String url, out String objectURI) 143public IMessageSink CreateMessageSink(String url, Object remoteChannelData, 144out String objectURI) 172public String[] GetUrlsForUri(String objectURI)
channels\tcp\tcpchannelhelper.cs (5)
22private const String _tcp = "tcp://"; 26internal static String ParseURL(String url, out String objectURI) 53String channelURI = url.Substring(0, separator);
channels\tcp\tcpclientchannel.cs (52)
41private String _channelName = "tcp"; // channel name 54public TcpClientChannel(String name, IClientChannelSinkProvider sinkProvider) 71switch ((String)entry.Key) 73case "name": _channelName = (String)entry.Value; break; 119public String ChannelName 127public String Parse(String url, out String objectURI) 143public virtual IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI) 147String channelURI = null; 164String simpleChannelUri = Parse(cds.ChannelUris[0], out objectURI); 221public IClientChannelSink CreateSink(IChannelSender channel, String url, 253Socket socket, SocketCache socketCache, String machinePortAndSid) 271private Stream CreateAuthenticatedStream(Stream netStream, String machinePortAndSid) 293String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_AuthenticationFailed")), e); 302private String GetSid() 316private String m_machineName; 320private String _machineAndPort; 321private const String UserNameKey = "username"; 322private const String PasswordKey = "password"; 323private const String DomainKey = "domain"; 324private const String ProtectionLevelKey = "protectionlevel"; 325private const String ConnectionGroupNameKey = "connectiongroupname"; 327private const String TokenImpersonationLevelKey = "tokenimpersonationlevel"; 329private const String SocketCacheTimeoutKey = "socketcachetimeout"; 330private const String ReceiveTimeoutKey = "timeout"; 331private const String SocketCachePolicyKey = "socketcachepolicy"; 332private const String SPNKey = "serviceprincipalname"; 333private const String RetryCountKey = "retrycount"; 336private String _securityUserName = null; 337private String _securityPassword = null; 338private String _securityDomain = null; 339private String _connectionGroupName = null; 343private String _spn = string.Empty; 351internal TcpClientTransportSink(String channelURI, TcpClientChannel channel) 353String objectURI; 355String simpleChannelUri = TcpChannelHelper.ParseURL(channelURI, out objectURI); 365String.Format( 465String machinePortAndSid = _machineAndPort + (_channel.IsSecured ? "/" + GetSid() : null); 557String keyStr = key as String; 588String keyStr = key as String; 594case UserNameKey: _securityUserName = (String)value; break; 595case PasswordKey: _securityPassword = (String)value; break; 596case DomainKey: _securityDomain = (String)value; break; 612(String)value, true)); 616case ConnectionGroupNameKey: _connectionGroupName = (String)value; break; 620(String)value, true)); 626(String)value, true)); 629case SPNKey: _spn = (String)value; authSet = true; break;
channels\tcp\tcpclientsocketmanager.cs (4)
36private String _machinePortAndSid; // "machineName:port:Sid" 47public TcpClientSocketHandler(Socket socket, String machinePortAndSid, Stream stream, TcpClientTransportSink sink) : 90String.Format( 109String uri = mcm.Uri;
channels\tcp\tcpserverchannel.cs (24)
40private String _channelName = "tcp"; // channel name 41private String _machineName = null; // machine name 45private String _forcedMachineName = null; // an explicitly configured machine name 72public TcpServerChannel(String name, int port) 80public TcpServerChannel(String name, int port, IServerChannelSinkProvider sinkProvider) 101switch ((String)entry.Key) 103case "name": _channelName = (String)entry.Value; break; 104case "bindTo": _bindToAddr = IPAddress.Parse((String)entry.Value); break; 111(String)entry.Value, true)); 115case "machineName": _forcedMachineName = (String)entry.Value; break; 138_authorizeRemotingConnection = (IAuthorizeRemotingConnection) Activator.CreateInstance(Type.GetType((String)entry.Value, true)); 210_channelData.ChannelUris = new String[1]; 256public String ChannelName 264public String Parse(String url, out String objectURI) 295public String GetChannelUri() 302public virtual String[] GetUrlsForUri(String objectUri) 304String[] retVal = new String[1]; 329_channelData.ChannelUris = new String[1]; 398String.Format( 510String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ServerAuthenticationFailed")), false);
channels\tcp\tcpsocketmanager.cs (23)
79String.Format( 108String.Format( 119String statusPhrase = null; 126String headerName = ReadCountedString(); 127String headerValue = ReadCountedString(); 137String uri = ReadCountedString(); 139String channelURI; 140String objectURI; 171String contentType = ReadCountedString(); 191String.Format( 211String.Format( 248String headerName = (String)header.Key; 252String headerValue = header.Value.ToString(); 256if (String.Compare(headerName, "Content-Type", StringComparison.OrdinalIgnoreCase) == 0) 273private void WriteContentTypeHeader(String value, Stream outputStream) 280private void WriteCustomHeader(String name, String value, Stream outputStream) 289protected String ReadCountedString() 314String.Format( 326protected void WriteCountedString(String str, Stream outputStream) 358private void ReadAndVerifyHeaderFormat(String headerName, byte expectedFormat) 365String.Format(
channels\tcp\tcpstreams.cs (1)
309String.Format(
metadata\metadata.cs (33)
39public static void ConvertTypesToSchemaToFile(Type[] types, SdlType sdlType, String path) 60public static void ConvertTypesToSchemaToFile(ServiceType[] types, SdlType sdlType, String path) 72String.Format( 81public static void RetrieveSchemaFromUrlToStream(String url, Stream outputStream) 97public static void RetrieveSchemaFromUrlToFile(String url, String path) 106public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList, String proxyUrl, String proxyNamespace) 117public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList, String proxyUrl) 123public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList) 130public static void ConvertCodeSourceStreamToAssemblyFile(ArrayList outCodeStreamList, String assemblyPath, String strongNameFilename) 139String stfilename = "__Sn.cs"; 167String[] sourceTexts = new String[outCodeStreamList.Count]; 168String[] sourceTextNames = new String[outCodeStreamList.Count]; 177if (outCodeStreamList[item] is String) 180String filename = (String)outCodeStreamList[item]; 181sourceTextNames[item] = (String)filename; 204String target = assemblyPath; 206String[] imports = new String[5]; 254public static void ConvertCodeSourceFileToAssemblyFile(String codePath, String assemblyPath, String strongNameFilename) 264public static void SaveStreamToFile(Stream inputStream, String path) 283private String _url; // This may be null if no address is available. 291public ServiceType(Type type, String url) 298public String Url { get { return _url; } }
metadata\sdlchannelsink.cs (26)
48switch ((String)entry.Key) 54this.GetType().Name, (String)entry.Key); 185String requestVerb = requestHeaders["__RequestVerb"] as String; 186String requestURI = requestHeaders["__RequestUri"] as String; 198String queryString = requestURI.Substring(index).ToLower(CultureInfo.InvariantCulture); 201if ((String.CompareOrdinal(queryString, "?sdl") == 0) || 202(String.CompareOrdinal(queryString, "?sdlx") == 0)) 209if (String.CompareOrdinal(queryString, "?wsdl") == 0) 228String requestUri = requestHeaders[CommonTransportKeys.RequestUri] as String; 229String objectUri = HttpChannelHelper.GetObjectUriFromRequestUri(requestUri); 232(String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0)) 236String hostName = (String)requestHeaders["Host"]; 247String iisHostOverride = SetupUrlBashingForIisIfNecessary(hostName); 253if (String.Compare(objectUri, "RemoteApplicationMetadata.rem", StringComparison.OrdinalIgnoreCase) == 0) 288String[] urls = _receiver.GetUrlsForUri(entry.ObjectUri); 289String url = urls[0]; 311String.Format( 316String[] urls = _receiver.GetUrlsForUri(objectUri); 317String url = urls[0]; 351String iisHostOverride = null; 365String iisHostOverride = null; 370String scheme = null;
metadata\sudscommon.cs (20)
68internal static String Xsd1999 = "http://www.w3.org/1999/XMLSchema"; 69internal static String Xsi1999 = "http://www.w3.org/1999/XMLSchema-instance"; 70internal static String Xsd2000 = "http://www.w3.org/2000/10/XMLSchema"; 71internal static String Xsi2000 = "http://www.w3.org/2000/10/XMLSchema-instance"; 72internal static String Xsd2001 = "http://www.w3.org/2001/XMLSchema"; 73internal static String Xsi2001 = "http://www.w3.org/2001/XMLSchema-instance"; 117internal static Type typeofString = typeof(String); 126internal static String GetXsdVersion(XsdVersion xsdVersion) 128String version = null; 138internal static String GetXsiVersion(XsdVersion xsdVersion) 140String version = null; 150internal static String MapClrTypeToXsdType(Type clrType) 152String typeName = null; 270internal static String MapXsdToClrTypes(String xsdType) 272String lxsdType = xsdType.ToLower(CultureInfo.InvariantCulture); 273String clrType = null; 426internal static void Log(String message) 448String strbuffer = input.ReadToEnd(); 457internal static void LogString(String strbuffer)
metadata\sudsparser.cs (4)
31internal SUDSParserException(String message) 49internal SUDSParser(TextReader input, String outputDir, ArrayList outCodeStreamList, String locationURL, bool bWrappedProxy, String proxyNamespace)
metadata\sudswriter.cs (1)
30 internal SUDSGeneratorException(String msg)
metadata\wsdlparser.cs (663)
38internal WsdlParser(TextReader input, String outputDir, ArrayList outCodeStreamList, String locationURL, bool bWrappedProxy, String proxyNamespace) 70internal String SchemaNamespaceString 74String schemaStr = null; 91internal String ProxyNamespace 144private URTComplexType ParseComplexType(URTNamespace parsingNamespace, String typeName) 152String typeNS = ParseQName(ref typeName, parsingNamespace, out xns); 165String baseType = LookupAttribute(s_baseString, null, false); 169String baseNS = ParseQName(ref baseType, parsingNamespace); 183String elementName; 236private URTSimpleType ParseSimpleType(URTNamespace parsingNamespace, String typeName) 242String enumType = LookupAttribute(s_enumTypeString, s_wsdlSudsNamespaceString, false); 248String baseType = LookupAttribute(s_baseString, null, false); 251String baseNS = ParseQName(ref baseType, parsingNamespace); 320String valueString = LookupAttribute(s_valueString, null, true); 340String fieldTypeName, fieldTypeXmlNS; 341String fieldName = LookupAttribute(s_nameString, null, true); 344String minOccurs = LookupAttribute(s_minOccursString, null, false); 345String maxOccurs = LookupAttribute(s_maxOccursString, null, false); 354String arraySize = null; 359arraySize = String.Empty; 390String elementName; 437String attrTypeName, attrTypeNS; 438String attrName = LookupAttribute(s_nameString, null, true); 442String minOccurs = LookupAttribute(s_minOccursString, null, false); 477String elementName; 516String attrName = LookupAttribute(s_baseString, null, true); 517String baseNS = ParseQName(ref attrName, parsingNamespace); 524String elementName; 525String arrayNS; 526String arrayType; 534String refValue = LookupAttribute(s_refString, null, true); 535String refNS = ParseQName(ref refValue, parsingNamespace); 577String elmName = LookupAttribute(s_nameString, null, true); 578String elmNS = parsingNamespace.Name; 579String typeName = LookupAttribute(s_typeString, null, false); 582String typeNS; 605String elementName; 634private void ResolveTypeNames(ref String typeNS, ref String typeName, 678String name = (String) LookupAttribute(s_targetNamespaceString, null, false); 725String location = reader.Location; 731throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_Import"), reader.Location)); 744String protocol = location.Substring(0, index).ToLower(CultureInfo.InvariantCulture); 745String value = location.Substring(index+1); 764String ns = LookupAttribute(s_namespaceString, null, true); 765String location = null; 812String elementName = _XMLReader.LocalName; 836throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_UnknownElementAtRootLevel"), elementName)); 856String elementName = _XMLReader.LocalName; 949String elementName = _XMLReader.LocalName; 987String ns = null; 990String location = null; 1042String elementName = _XMLReader.LocalName; 1064String elementName = _XMLReader.LocalName; 1104String elementName = _XMLReader.LocalName; 1132String elementName = _XMLReader.LocalName; 1144throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortTypesOperationName"), portTypeOperation.name)); 1152throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortSectionName"), portContent.name)); 1209String elementName = _XMLReader.LocalName; 1243String use = LookupAttribute(s_rootTypeString, null, false); 1257String use = LookupAttribute(s_rootTypeString, null, false); 1289String elementName = _XMLReader.LocalName; 1318private SudsUse ProcessSudsUse(String use, String elementName) 1357String elementName = _XMLReader.LocalName; 1411private WsdlBindingOperationSection ParseWsdlBindingOperationSection(WsdlBindingOperation op, String inputElementName, ref bool bSoapEncoded) 1433String elementName = _XMLReader.LocalName; 1498String elementName = _XMLReader.LocalName; 1526String elementName = _XMLReader.LocalName; 1547throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_RpcBindingsMissing"))); 1569String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveElementInNS"), 1662String name = binding.name; 1735String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1792String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1802String className = suds.typeName; 1803String ns = nested.ns; 1804String nestedName = nested.name; 1805String nestedTypeName = nested.typeName; 1809String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedTypeNS"), 1819String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedType"), 1893String propertyName = methodInfo.methodName.Substring(4); 1929String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 1952String newOpName = opSec.name.Substring(0, index); 2002String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2009methodInfo.inputNames = new String[message.parts.Count]; 2010methodInfo.inputNamesNs = new String[message.parts.Count]; 2011methodInfo.inputElements = new String[message.parts.Count]; 2012methodInfo.inputElementsNs = new String[message.parts.Count]; 2013methodInfo.inputTypes = new String[message.parts.Count]; 2014methodInfo.inputTypesNs = new String[message.parts.Count]; 2046String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2053methodInfo.outputNames = new String[message.parts.Count]; 2054methodInfo.outputNamesNs = new String[message.parts.Count]; 2055methodInfo.outputElements = new String[message.parts.Count]; 2056methodInfo.outputElementsNs = new String[message.parts.Count]; 2057methodInfo.outputTypes = new String[message.parts.Count]; 2058methodInfo.outputTypesNs = new String[message.parts.Count]; 2082String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 2105String elementName = _XMLReader.LocalName; 2151private String LookupAttribute(String attrName, String attrNS, bool throwExp) 2154String value = s_emptyString; 2168String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AttributeNotFound"), 2176private void ResolveTypeAttribute(ref String typeName, out String typeNS, 2201private String ParseQName(ref String qname) 2205private String ParseQName(ref String qname, URTNamespace defaultNS) 2211private String ParseQName(ref String qname, URTNamespace defaultNS, out URTNamespace returnNS) 2215String ns = null; 2250String prefix = qname.Substring(0, colonIndex); 2272private bool Qualify(String typeNS, String curNS) 2286private bool MatchingNamespace(String elmNS) 2531String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 2565String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 2598private static bool MatchingStrings(String left, String right) 2604private bool MatchingSchemaStrings(String left) 2628internal String Atomize(String str) 2636private String MapSchemaTypesToCSharpTypes(String xsdType) 2639String stype = xsdType; 2644String clrType = SudsConverter.MapXsdToClrTypes(stype); 2648String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 2660private bool IsPrimitiveType(String typeNS, String typeName) 2674private URTNamespace LookupNamespace(String name) 2698internal URTNamespace AddNewNamespace(String ns) 2752String fileName = urtNS.IsURTNamespace ? urtNS.AssemName : urtNS.EncodedNS; 2759String completeFileName = ""; 2770internal UrtType IsURTExportedType(String name, out String ns, out String assemName) 2792assemName = typeof(String).Assembly.GetName().Name; 2815internal String GetTypeString(String curNS, bool bNS, URTNamespace urtNS, String typeName, String typeNS) 2818String type; 2825String arrayName = ct.GetArray(); 2838String encodedNS = null; 2898s_emptyString = newTable.Add(String.Empty); 3018private String _proxyNamespace; 3022private String _outputDir; 3039static private String s_emptyString; 3040static private String s_complexTypeString; 3041static private String s_simpleTypeString; 3042static private String s_elementString; 3043static private String s_enumerationString; 3044static private String s_encodingString; 3045static private String s_attributeString; 3046static private String s_attributesString; 3047static private String s_allString; 3048static private String s_sequenceString; 3049static private String s_choiceString; 3050static private String s_minOccursString; 3051static private String s_maxOccursString; 3052static private String s_unboundedString; 3053static private String s_oneString; 3054static private String s_zeroString; 3055static private String s_nameString; 3056static private String s_enumTypeString; 3057static private String s_typeString; 3058static private String s_baseString; 3059static private String s_valueString; 3060static private String s_interfaceString; 3061static private String s_serviceString; 3062static private String s_extendsString; 3063static private String s_addressesString; 3064static private String s_addressString; 3065static private String s_uriString; 3066static private String s_implementsString; 3067static private String s_nestedTypeString; 3068static private String s_requestString; 3069static private String s_responseString; 3070static private String s_requestResponseString; 3071static private String s_messageString; 3072static private String s_locationString; 3073static private String s_schemaLocationString; 3074static private String s_importString; 3075static private String s_includeString; 3076static private String s_onewayString; 3077static private String s_refString; 3078static private String s_refTypeString; 3079static private String s_referenceString; 3080static private String s_arrayString; 3081static private String s_objectString; 3082static private String s_urTypeString; 3083static private String s_methodString; 3084static private String s_sudsString; 3085static private String s_useString; 3086static private String s_rootTypeString; 3087static private String s_soapString; 3088static private String s_serviceDescString; 3089static private String s_schemaString; 3090static private String s_targetNamespaceString; 3091static private String s_namespaceString; 3092static private String s_idString; 3093static private String s_soapActionString; 3094static private String s_instanceNamespaceString; 3095static private String s_schemaNamespaceString; 3096static private String s_instanceNamespaceString1999; 3097static private String s_schemaNamespaceString1999; 3098static private String s_instanceNamespaceString2000; 3099static private String s_schemaNamespaceString2000; 3100static private String s_soapNamespaceString; 3101static private String s_sudsNamespaceString; 3102static private String s_serviceNamespaceString; 3105static private String s_definitionsString; 3106static private String s_wsdlNamespaceString; 3107static private String s_wsdlSoapNamespaceString; 3108static private String s_wsdlSudsNamespaceString; 3109static private String s_typesString; 3110static private String s_partString; 3111static private String s_portTypeString; 3112static private String s_operationString; 3113static private String s_inputString; 3114static private String s_outputString; 3115static private String s_bindingString; 3116static private String s_classString; 3117static private String s_structString; 3118static private String s_ISerializableString; 3119static private String s_marshalByRefString; 3120static private String s_delegateString; 3121static private String s_servicedComponentString; 3122static private String s_comObjectString; 3123static private String s_portString; 3124static private String s_styleString; 3125static private String s_transportString; 3126static private String s_encodedString; 3127static private String s_faultString; 3128static private String s_bodyString; 3129static private String s_partsString; 3130static private String s_headerString; 3131static private String s_encodingStyleString; 3132static private String s_restrictionString; 3133static private String s_complexContentString; 3134static private String s_soapEncodingString; 3135static private String s_arrayTypeString; 3136static private String s_parameterOrderString; 3148internal ReaderStream(String location) 3152_name = String.Empty; 3153_targetNS = String.Empty; 3158internal String Location 3163internal String Name 3167internal String TargetNS 3213private String _location; 3214private String _name; 3215private String _targetNS; 3225private WriterStream(String fileName, TextWriter writer) 3258internal static WriterStream GetWriterStream(ref WriterStream outputStreams, String outputDir, String fileName, ref String completeFileName) 3269String diskFileName = fileName; 3272String _completeFileName = outputDir + diskFileName + ".cs"; 3293private String _fileName; 3307internal URTParam(String name, String typeName, String typeNS, String encodedNS, 3343internal String Name 3347internal String TypeName 3351internal String TypeNS 3356internal String GetTypeString(String curNS, bool bNS) 3361internal void PrintCSC( StringBuilder sb, String curNS) 3380static private String[] PTypeString = { "", "out ", "ref "}; 3381private String _name; 3382private String _typeName; 3383private String _typeNS; 3384private String _encodedNS; 3432internal URTMethod(String name, String soapAction, String methodAttributes, URTComplexType complexType) 3445String[] attributes = methodAttributes.Split(' '); 3446foreach (String attribute in attributes) 3467internal String Name 3472internal String SoapAction 3482internal String GetTypeString(String curNS, bool bNS) 3714internal void PrintSignature(StringBuilder sb, String curNS) 3733internal virtual void PrintCSC(TextWriter textWriter, String indentation, 3734String namePrefix, String curNS, MethodPrintEnum methodPrintEnum, bool bURTType, 3735String bodyPrefix, StringBuilder sb) 3815String newIndentation = indentation + " "; 3836String returnString = ValueString(GetTypeString(curNS, true)); 3875private void PrintSoapAction(String action, StringBuilder sb) 3882private void PrintPropertyBody(TextWriter textWriter, String indentation, StringBuilder sb, String bodyPrefix) 3897String newIndentation = indentation + " "; 3943private void PrintMethodName(StringBuilder sb, String bodyPrefix, String name) 3954String iface = name.Substring(0,index); 3955String methodName = name.Substring(index+1); 3976internal static String ValueString(String paramType) 3978String valueString; 4018protected void ResolveWsdlParams(WsdlParser parser, String targetNS, String targetName, 4035String element = null; 4036String elementNs = null; 4037String name = null; 4038String nameNs = null; 4039String typeName = null;; 4040String typeNameNs = null;; 4070String actualType; 4071String actualTypeNs; 4088String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4098String arrayName = ct.GetArray(); 4107String clrtypeName = parser.MapSchemaTypesToCSharpTypes(actualType); 4112String foundTypeName = null; 4144private String _methodName; 4145private String _soapAction; 4148protected String[] _paramNamesOrder; // parameterOrder names from wsdl 4172internal void AddRequest(String name, String ns) 4180internal void AddResponse(String name, String ns) 4210internal override void PrintCSC(TextWriter textWriter, String indentation, 4211String namePrefix, String curNS, MethodPrintEnum methodPrintEnum, 4212bool bURTType, String bodyPrefix, StringBuilder sb) 4264private String _requestElementName; 4265private String _requestElementNS; 4268private String _responseElementName; 4269private String _responseElementNS; 4279internal OnewayMethod(String name, String soapAction, URTComplexType complexType) 4300internal void AddMessage(String name, String ns) 4331internal override void PrintCSC(TextWriter textWriter, String indentation, 4332String namePrefix, String curNS, MethodPrintEnum methodPrintEnum, 4333bool bURTType, String bodyPrefix, StringBuilder sb) 4382private String _messageElementName; 4383private String _messageElementNS; 4392internal BaseInterface(String name, String urlNS, String ns, String encodedNS, WsdlParser parser) 4401internal String Name 4405internal String UrlNS 4409internal String Namespace 4418internal String GetName(String curNS) 4420String name; 4435String indentation, 4436String curNS, 4439private String _name; 4440private String _urlNS; 4441private String _namespace; 4442private String _encodedNS; 4449internal SystemInterface(String name, String urlNS, String ns, WsdlParser parser, String assemName) 4454String fullName = ns + '.' + name; 4465throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 4470String indentation, 4471String curNS, 4553String newIndentation = indentation + " "; 4575String valueString = URTMethod.ValueString(CSharpTypeString(method.ReturnType.FullName)); 4625private static String CSharpTypeString(String typeName) 4628String CSCTypeName = typeName; 4668internal URTInterface(String name, String urlNS, String ns, String encodedNS, WsdlParser parser) 4678internal void Extends(String baseName, String baseNS, WsdlParser parser) 4743String baseIFaceName = (String) _baseIFaceNames[i]; 4744String baseIFaceXmlNS = (String) _baseIFaceNames[i+1]; 4745String baseIFaceNS, baseIFaceAssemName; 4761String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4768String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 4777internal void PrintCSC(TextWriter textWriter, String indentation, 4778String curNS, StringBuilder sb) 4844String newIndentation = indentation + " "; 4845String namePrefix = " "; 4862String indentation, 4863String curNS, 4891String ifaceName = GetName(curNS); 4894String namePrefix = sb.ToString(); 4896String bodyPrefix = null; 4938internal URTField(String name, String typeName, String xmlNS, WsdlParser parser, 4940bool bArray, String arraySize, URTNamespace urtNamespace) 4946String typeAssemName; 4961internal String TypeName 4970internal String TypeNS 4982internal String GetTypeString(String curNS, bool bNS) 4987internal void PrintCSC(TextWriter textWriter, String indentation, 4988String curNS, StringBuilder sb) 5007private String _name; 5008private String _typeName; 5009private String _typeNS; 5010private String _encodedNS; 5016private String _arraySize; 5029internal abstract void PrintCSC(TextWriter textWriter, String newIndentation, 5030String curNS, StringBuilder sb); 5035internal EnumFacet(String valueString, int value) 5042internal override void PrintCSC(TextWriter textWriter, String newIndentation, 5043String curNS, StringBuilder sb) 5056private String _valueString; 5063internal BaseType(String name, String urlNS, String ns, String encodedNS) 5074internal String Name 5080internal String SearchName 5086internal String OuterTypeName 5093internal String NestedTypeName 5099internal String FullNestedTypeName 5116internal String UrlNS 5121internal String Namespace 5126internal String ElementName 5130internal String ElementNS 5142internal virtual String GetName(String curNS) 5144String name; 5162internal abstract String FieldName 5167internal abstract String FieldNamespace 5177private String _name; 5178private String _searchName; 5179private String _urlNS; 5180private String _namespace; 5181private String _elementName; 5182private String _elementNS; 5183private String _encodedNS; 5185internal String _nestedTypeName; //If this type is nested, name of nested type (without + mangle) 5186internal String _fullNestedTypeName; //If this type is nested, name of nested type (without + mangle) with outer class qualifier 5187internal String _outerTypeName; 5195internal SystemType(String name, String urlNS, String ns, String assemName) 5201String fullName = ns + '.' + name; 5212throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 5240internal override String FieldName 5244internal override String FieldNamespace 5259internal URTSimpleType(String name, String urlNS, String ns, String encodedNS, bool bAnonymous, WsdlParser parser) 5274internal void Extends(String baseTypeName, String baseTypeNS) 5288internal String EnumType 5291String typeName = value; 5292String typeNS = _parser.ParseQName(ref typeName); 5299private String MapToEnumType(String type) 5301String etype = null; 5320String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_InvalidEnumType"), type)); 5344_fieldString = String.Empty; 5347return(_fieldString != String.Empty); 5350internal override String FieldName 5355internal override String FieldNamespace 5358String schemaStr = null; 5374internal override String GetName(String curNS) 5376if ((_fieldString != null) && (_fieldString != String.Empty)) 5383internal void PrintCSC(TextWriter textWriter, String indentation, 5384String curNS, StringBuilder sb) 5458String newIndentation = indentation + " "; 5476private String _baseTypeName; 5477private String _baseTypeXmlNS; 5479private String _fieldString; 5482private String _encoding; 5484private String _enumType; 5491internal URTComplexType(String name, String urlNS, String ns, String encodedNS, 5517String outerType = parser.Atomize(name.Substring(0,index)); 5551internal void Extends(String baseTypeName, String baseTypeNS) 5557internal void Implements(String iFaceName, String iFaceNS, WsdlParser parser) 5615internal String WireType 5634internal String GetArray() 5643internal String GetClassName() 5645String cname = null; 5676_fieldString = String.Empty; 5679return(_fieldString != String.Empty); 5682internal override String FieldName 5686internal override String FieldNamespace 5694internal override String GetName(String curNS) 5696if ((_fieldString != null) && (_fieldString != String.Empty)) 5727private URTMethod GetMethod(String name) 5743String baseTypeNS = null; 5744String baseTypeAssemName = null; 5777String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5826String implIFaceName = (String) _implIFaceNames[i]; 5827String implIFaceXmlNS = (String) _implIFaceNames[i+1]; 5828String implIFaceNS, implIFaceAssemName; 5845String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5852String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 5892internal void PrintCSC(TextWriter textWriter, String indentation, String curNS, StringBuilder sb) 5907String baseName = _baseType.GetName(curNS); 5917String typeString = invokeMethod.GetTypeString(curNS, true); 5921String printName = Name; 6003String baseString = null; 6063String newIndentation = indentation + " "; 6078String bodyPrefix = null; 6149private void PrintClientProxy(TextWriter textWriter, String indentation, String curNS, StringBuilder sb) 6152String indent1 = indentation + " "; 6153String indent2 = indent1 + " "; 6268private void PrintISerializable(TextWriter textWriter, String indentation, String curNS, StringBuilder sb, String baseString) 6271String indent1 = indentation + " "; 6272String indent2 = indent1 + " "; 6353internal void AddArray(String arrayType, URTNamespace arrayNS) 6379String actualElementType = null; 6380String wireElementType = _arrayType; 6385String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidArraySyntax"), 6413private String FilterDimensions(String value) 6427private String _baseTypeName; 6428private String _baseTypeXmlNS; 6435private String _wireType; 6437private String _fieldString; 6446private String _arrayType; 6448private String _clrarray; 6458internal ElementDecl(String elmName, String elmNS, String typeName, String typeNS, 6469internal String Name{ 6472internal String Namespace{ 6475internal String TypeName{ 6478internal String TypeNS{ 6493String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 6515private String _elmName; 6516private String _elmNS; 6517private String _typeName; 6518private String _typeNS; 6526internal URTNamespace(String name, WsdlParser parser) 6549internal static String EncodeInterop(String name, WsdlParser parser) 6551String _encodedNS = name; 6554String countStr = ""; 6575internal String GetNextAnonymousName(){ 6614internal String Namespace{ 6630internal String EncodedNS{ 6641internal String Name{ 6646internal String AssemName{ 6689internal URTComplexType LookupComplexType(String typeName){ 6709internal URTComplexType LookupComplexTypeEqual(String typeName){ 6727internal URTSimpleType LookupSimpleType(String typeName){ 6740internal BaseType LookupType(String typeName){ 6785internal URTInterface LookupInterface(String iFaceName){ 6911String indentation = String.Empty; 6976private String _name; 6979private String _namespace; 6980private String _encodedNS; 6981private String _assemName; 7003internal String name; 7004internal String nameNs; 7031internal String name; 7032internal String nameNs; 7033internal String element; 7034internal String elementNs; 7035internal String typeName; 7036internal String typeNameNs; 7061internal String name; 7089internal String name; 7090internal String nameNs; 7091internal String parameterOrder; 7116internal String element; 7117internal String name; 7118internal String nameNs; 7119internal String message; 7120internal String messageNs; 7144internal String name; 7146internal String type; 7147internal String typeNs; 7193internal String name; 7194internal String nameNs; 7195internal String methodAttributes; 7225internal String name; 7226internal String elementName; 7248internal String style; 7249internal String transport; 7267internal String parts; 7268internal String use; 7269internal String encodingStyle; 7270internal String namespaceUri; 7288internal String message; 7289internal String messageNs; 7290internal String part; 7291internal String use; 7292internal String encodingStyle; 7293internal String namespaceUri; 7316internal String soapAction; 7317internal String style; 7333internal String name; 7334internal String use; 7335internal String encodingStyle; 7336internal String namespaceUri; 7369internal String elementName; 7370internal String typeName; 7371internal String ns; 7372internal String extendsTypeName; 7373internal String extendsNs; 7409internal String typeName; 7410internal String ns; 7429internal String name; 7430internal String typeName; 7431internal String ns; 7444internal String name; 7469internal String name; 7470internal String nameNs; 7471internal String binding; 7472internal String bindingNs; 7494foreach (String item in locations) 7504internal String soapAction; 7505internal String methodName; 7506internal String methodNameNs; 7507internal String methodAttributes; 7508internal String[] paramNamesOrder; 7509internal String inputMethodName; 7510internal String inputMethodNameNs; 7511internal String outputMethodName; 7512internal String outputMethodNameNs; 7513internal String[] inputNames; 7514internal String[] inputNamesNs; 7515internal String[] inputElements; 7516internal String[] inputElementsNs; 7517internal String[] inputTypes; 7518internal String[] inputTypesNs; 7519internal String[] outputNames; 7520internal String[] outputNamesNs; 7521internal String[] outputElements; 7522internal String[] outputElementsNs; 7523internal String[] outputTypes; 7524internal String[] outputTypesNs; 7525internal String propertyName; 7529internal String propertyType; 7530internal String propertyNs; 7531internal String soapActionGet; 7532internal String soapActionSet; 7542foreach(String pname in paramNamesOrder)
metadata\wsdlwriter.cs (174)
87internal WsdlGenerator(Type[] types, TextWriter output, Assembly assembly, String url) 96internal WsdlGenerator(Type[] types, SdlType sdlType, TextWriter output, Assembly assembly, String url) 147internal static void QualifyName(StringBuilder sb, String ns, String name) 158internal static String RefName(Type type) 160String refName = type.Name; 228String ns; 235String searchName = WsdlGenerator.RefName(type); 263String connectURL = null; 351String methodNSString = null; 414String refTypeName = type.FullName; 418String parentName = refTypeName.Substring(0, index); 437String ns; 450String typeString = SudsConverter.MapClrTypeToXsdType(type); //see if this is a xsd type 471private static bool GetNSAndAssembly(Type type, out String ns, out Assembly assem) 475String xmlNamespace = null; 476String xmlElement = null; 497private XMLNamespace LookupNamespace(String name, Assembly assem) 510private XMLNamespace AddNamespace(String name, Assembly assem) 515private XMLNamespace AddNamespace(String name, Assembly assem, bool bInteropType) 533String ns = null; 567String indent = ""; 568String indent1 = IndentP(indent); 569String indent2 = IndentP(indent1); 570String indent3 = IndentP(indent2); 571String indent4 = IndentP(indent3); 632private void PrintWsdlNamespaces(TextWriter textWriter, StringBuilder sb, String indent) 690private void PrintTypesBeginWsdl(TextWriter textWriter, StringBuilder sb, String indent) 699private void PrintTypesEndWsdl(TextWriter textWriter, StringBuilder sb, String indent) 708internal void PrintServiceWsdl(TextWriter textWriter, StringBuilder sb, String indent, ArrayList refNames) 711String indent1 = IndentP(indent); 712String indent2 = IndentP(indent1); 713String indent3 = IndentP(indent2); 743foreach (String url in (ArrayList)_typeToServiceEndpoint[refNames[i]]) 776private String UrlEncode(String url) 801private String _name; 802private String _targetNS; 803private String _targetNSPrefix; 806private String _serviceEndpoint; //service endpoint for all types 829void Print(TextWriter textWriter, StringBuilder sb, String indent); 834internal EnumElement(String value) 840public void Print(TextWriter textWriter, StringBuilder sb, String indent) 853private String _value; 899internal Restriction(String baseName, XMLNamespace baseNS) 913public override String Name() 918public override void Print(TextWriter textWriter, StringBuilder sb, String indent) 921String indent1 = IndentP(indent); 950String _baseName; 964internal void AddArray(String wireQname) 970public void Print(TextWriter textWriter, StringBuilder sb, String indent) 983private String _wireQname; 990public abstract String Name(); 991public abstract void Print(TextWriter textWriter, StringBuilder sb, String indent); 996internal SchemaElement(String name, Type type, bool bEmbedded, XMLNamespace xns) 1005public override String Name() 1010public override void Print(TextWriter textWriter, StringBuilder sb, String indent){ 1012String indent1 = IndentP(indent); 1043private String _name; 1044private String _typeString; 1050internal abstract void PrintSchemaType(TextWriter textWriter, StringBuilder sb, String indent, bool bAnonymous); 1070internal String FullRefName 1075internal String BaseName{ 1079internal override void PrintSchemaType(TextWriter textWriter, StringBuilder sb, String indent, bool bAnonymous){ 1147String baseName = RealSchemaType.TypeName(Enum.GetUnderlyingType(type), true, xns); 1149String[] values = Enum.GetNames(type); 1162internal String _baseName = null; //get rid of warning, not used for now 1165private String _fullRefName; 1172internal ComplexSchemaType(String name, bool bSealed) 1184internal ComplexSchemaType(String name, SchemaBlockType blockType, bool bSealed) 1215internal String Name{ 1219internal String FullRefName 1224protected String BaseName{ 1229internal String ElementName{ 1251protected void PrintBody(TextWriter textWriter, StringBuilder sb, String indent){ 1254String indent1 = IndentP(indent); 1255String indent2 = IndentP(indent1); 1286private String _name; 1288private String _fullRefName; 1289private String _baseName; 1290private String _elementName; 1296static private String[] schemaBlockBegin = { "<all>", "<sequence>", "<choice>", "<complexContent>"}; 1297static private String[] schemaBlockEnd = { "</all>", "</sequence>", "</choice>", "</complexContent>"}; 1302internal PhonySchemaType(String name) : base(name, true) 1313internal override void PrintSchemaType(TextWriter textWriter, StringBuilder sb, String indent, bool bAnonymous){ 1326internal String _returnType; 1327internal String _returnName; 1332internal ArraySchemaType(Type type, String name, SchemaBlockType blockType, bool bSealed) 1345internal override void PrintSchemaType(TextWriter textWriter, StringBuilder sb, String indent, bool bAnonymous) 1348String indent1 = IndentP(indent); 1369internal RealSchemaType(Type type, XMLNamespace xns, String serviceEndpoint, Hashtable typeToServiceEndpoint, bool bUnique, WsdlGenerator WsdlGenerator) 1432_methodTypes = new String[2*_methods.Length]; 1513_implIFaces = new String[_iFaces.Length]; 1516String ns; 1534String useNS = null; 1551String methodRequestName = method.Name; 1572String paramName = param.Name; 1578String stringType = TypeName(type, true, methodXNS); 1602String returnName = null; 1609String responseName = null; 1687internal override void PrintSchemaType(TextWriter textWriter, StringBuilder sb, String indent, bool bAnonymous) 1743internal void PrintMessageWsdl(TextWriter textWriter, StringBuilder sb, String indent, ArrayList refNames) 1747String indent1 = IndentP(indent); 1748String indent2 = IndentP(indent1); 1749String indent3 = IndentP(indent2); 1750String ns = null; 1751String nsPrefix = null; 1753String methodName = null; 1754String overloadedName = null; 1757String useNS = null; 1902foreach (String param in phony._paramNamesOrder) 1988String[] implIFaces = null; 1992implIFaces = new String[iFaces.Length]; 1995String fns; 2037String soapAction = SoapServices.GetSoapActionFromMethodBase(method); 2075String interopNamespace = SoapServices.GetXmlNamespaceForMethodCall(method); 2126private void PrintSuds(Type type, String[] implIFaces, Type[] nestedTypes, TextWriter textWriter, StringBuilder sb, String indent) 2129String indent1 = IndentP(indent); 2130String indent2 = IndentP(indent1); 2131String indent3 = IndentP(indent2); 2133String sudsEnd = null; 2187String extendAttribute = null; 2198if (!(implIFaces[j] == null || implIFaces[j] == String.Empty)) 2237private static String ProcessArray(Type type, XMLNamespace xns) 2240String qname = null; 2243String elementTypeName = "ArrayOf"; 2252String prefix = qname.Substring(0, index); 2253String wireName = qname.Substring(index+1); 2256String rankStr = ""; 2259String csname =elementTypeName+wireName.Substring(0,1).ToUpper(CultureInfo.InvariantCulture)+wireName.Substring(1)+rankStr; 2271String arrayTypeName = type.Name; 2281String returnStr = xns.Prefix+":"+csname; 2288internal static String TypeName(Type type, bool bEmbedded, XMLNamespace thisxns) 2291String typeName = null; 2295String clrTypeName = WsdlGenerator.RefName(type); 2311String ns = type.Namespace; 2366static private void FindMethodAttributes(Type type, MethodInfo[] infos, ref String[] methodAttributes, BindingFlags bFlags) 2440static private MethodInfo[] GetIntroducedMethods(Type type, ref String[] methodAttributes) 2454methodAttributes = new String[methodInfos.Length]; 2489internal static String PrintMethodName(MethodInfo methodInfo) 2491String methodName = methodInfo.Name; 2504String iname = methodName; 2554private String _serviceEndpoint; 2559private String[] _implIFaces; 2563private String[] _methodAttributes; 2564private String[] _methodTypes; 2577internal XMLNamespace(String name, Assembly assem, String serviceEndpoint, Hashtable typeToServiceEndpoint, String prefix, bool bInteropType, WsdlGenerator generator ){ 2585Assembly systemAssembly = typeof(String).Module.Assembly; 2619internal String Name{ 2625internal String Prefix{ 2628internal String Namespace{ 2662internal Type LookupSchemaType(String name) 2681internal SimpleSchemaType LookupSimpleSchemaType(String name){ 2719internal RealSchemaType LookupRealSchemaType(String name){ 2732internal ArraySchemaType LookupArraySchemaType(String name){ 2781internal PhonySchemaType LookupPhonySchemaType(String name){ 2803internal XMLNamespace LookupSchemaNamespace(String ns, Assembly assem){ 2826private XMLNamespace LookupSUDSNamespace(String ns, Assembly assem){ 2856internal void PrintDependsOnWsdl(TextWriter textWriter, StringBuilder sb, String indent, Hashtable usedNames) 2880internal void PrintSchemaWsdl(TextWriter textWriter, StringBuilder sb, String indent){ 2904String indent1 = IndentP(indent); 2905String indent2 = IndentP(indent1); 2906String indent3 = IndentP(indent2); 2907String indent4 = IndentP(indent3); 2977internal void PrintMessageWsdl(TextWriter textWriter, StringBuilder sb, String indent, ArrayList refNames) 2993private String _name; 2995private String _namespace; 2996private String _prefix; 3009private String _serviceEndpoint; 3020internal static String IndentP(String indentStr){
services\remotingclientproxy.cs (13)
25protected String _url; 27protected void ConfigureProxy(Type type, String url) 76public String Path 92public String Url 111public String UserAgent 118public String Username 120get { return(String)ChannelServices.GetChannelSinkProperties(_tp)["username"];} 125public String Password 127get { return(String)ChannelServices.GetChannelSinkProperties(_tp)["password"];} 132public String Domain 134get { return(String)ChannelServices.GetChannelSinkProperties(_tp)["domain"];} 139public String ProxyName 141get { return(String)ChannelServices.GetChannelSinkProperties(_tp)["proxyname"];}
System.Runtime.Serialization (112)
System\Runtime\Serialization\ClassDataContract.cs (5)
1049&& String.CompareOrdinal(membersInHierarchy[endIndex].member.Name, membersInHierarchy[endIndex + 1].member.Name) == 0 1050&& String.CompareOrdinal(membersInHierarchy[endIndex].ns, membersInHierarchy[endIndex + 1].ns) == 0) 1377int nsCompare = String.CompareOrdinal(x.ns, y.ns); 1381int nameCompare = String.CompareOrdinal(x.member.Name, y.member.Name); 1557return String.CompareOrdinal(x.Name, y.Name);
System\Runtime\Serialization\CodeExporter.cs (9)
82clrNamespace = String.Empty; 132if (String.Compare(existingName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0) 216get { return (CodeProvider == null) ? String.Empty : CodeProvider.FileExtension; } 757if (String.Compare(typeName, type.Name, StringComparison.OrdinalIgnoreCase) == 0) 782if (String.Compare(typeName, ((CodeTypeDeclaration)member).Name, StringComparison.OrdinalIgnoreCase) == 0) 1489return String.Empty; 1516return String.Empty; 1759if (EnableDataBinding && SupportsDeclareEvents && String.CompareOrdinal(FileExtension, "vb") != 0) 1854loop.InitStatement = loop.IncrementStatement = new CodeSnippetStatement(String.Empty);
System\Runtime\Serialization\CollectionDataContract.cs (1)
669if (String.CompareOrdinal(KeyName, ValueName) == 0)
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 (3)
21if (String.IsNullOrEmpty(typeName)) 65if (String.IsNullOrEmpty(value)) 67value = String.Empty;
System\Runtime\Serialization\Configuration\ParameterElementCollection.cs (1)
73if (String.IsNullOrEmpty(typeName))
System\Runtime\Serialization\Configuration\Properties.cs (3)
39properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Runtime.Serialization.Configuration.DeclaredTypeValidator(), System.Configuration.ConfigurationPropertyOptions.IsKey)); 89properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 138properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
System\Runtime\Serialization\Configuration\TypeElement.cs (2)
23if (String.IsNullOrEmpty(typeName)) 77if (String.IsNullOrEmpty(type))
System\Runtime\Serialization\DataContract.cs (7)
764type = typeof(String); 1701clrNs = String.Empty; 1763if (clrNs == null) clrNs = String.Empty; 1789return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName; 1822return String.Format(CultureInfo.InvariantCulture, "{0}{1}{2}", 1853ns = String.Empty; 1924clrNsInAttribute = String.Empty;
System\Runtime\Serialization\DictionaryGlobals.cs (1)
99EmptyString = dictionary.Add(String.Empty);
System\Runtime\Serialization\EnumDataContract.cs (1)
432if (memberName.Length == count && String.CompareOrdinal(value, index, memberName, 0, count) == 0)
System\Runtime\Serialization\ExtensionDataObject.cs (1)
201element.AddAttribute(elementPrefix, elementNs, elementName, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, valueName));
System\Runtime\Serialization\ExtensionDataReader.cs (19)
70AddPrefix(String.Empty, String.Empty); 231this.value = String.Empty; 317this.prefix = String.Empty; 318this.ns = String.Empty; 319this.localName = String.Empty; 326this.prefix = String.Empty; 327this.ns = String.Empty; 328this.localName = String.Empty; 329this.value = String.Empty; 339this.prefix = String.Empty; 340this.ns = String.Empty; 341this.localName = String.Empty; 342this.value = String.Empty; 590SetNextElement(member.Value, member.Name, String.Empty, String.Empty); 716this.value = (bytes == null) ? String.Empty : Convert.ToBase64String(bytes); 795ns = ns ?? String.Empty; 802prefix = (ns == null || ns.Length == 0) ? String.Empty : "p" + nsToPrefixTable.Count;
System\Runtime\Serialization\ImportOptions.cs (2)
74public IDictionary<String, String> Namespaces
System\Runtime\Serialization\InvalidDataContractException.cs (2)
17public InvalidDataContractException(String message) 22public InvalidDataContractException(String message, Exception innerException)
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
850LocalBuilder pairValue = ReadValue(valueType, String.Empty);
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
64name = ns = String.Empty;
System\Runtime\Serialization\SchemaExporter.cs (2)
679typeNs = String.Empty; 796any.Namespace = (datasetSchema.TargetNamespace == null) ? String.Empty : datasetSchema.TargetNamespace;
System\Runtime\Serialization\SchemaHelper.cs (1)
129if (ns == null) { ns = String.Empty; }
System\Runtime\Serialization\SchemaImporter.cs (3)
489ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, String.Empty); 990memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1097XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
396return String.Format(CultureInfo.InvariantCulture, "{0} {1}", SR.GetString(SR.ErrorInLine, reader.LineNumber, reader.LinePosition), errorMessage);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (5)
585value = GetExistingObject(attributes.Ref, null, name, String.Empty); 594value = InternalDeserialize(xmlReader, Globals.TypeOfObject, name, String.Empty); 980couldBeCollectionData = (String.CompareOrdinal(elementName, name) == 0) && 981(String.CompareOrdinal(elementNs, ns) == 0); 1049ns = ns ?? String.Empty;
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
692xmlWriter.WriteStartElement(member.Name, String.Empty);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
387return isEndOfEmptyElement ? String.Empty : reader.ReadContentAsString(); 814name = ns = String.Empty;
System\Runtime\Serialization\XmlSerializableWriter.cs (1)
88public override void WriteRaw(String data) { xmlWriter.WriteRaw(data); }
System\Runtime\Serialization\XmlWriterDelegator.cs (2)
86writer.WriteAttributeString("xmlns", String.Empty, null, ns); 96prefix = String.Format(CultureInfo.InvariantCulture, "d{0}p{1}", depth, prefixes);
System\Xml\XmlC14NWriter.cs (1)
271if (String.Compare(Encoding.UTF8.GetString(xmlnsBuffer, xmlnsAttribute.prefixOffset, xmlnsAttribute.prefixLength), this.inclusivePrefixes[i], StringComparison.Ordinal) == 0)
System\Xml\XmlMtomReader.cs (17)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "encodings[{0}]", i)); 150if (String.Compare(MtomGlobals.MediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0 151|| String.Compare(MtomGlobals.MediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0) 175if (String.Compare(MtomGlobals.XopMediaType, header.MediaType, StringComparison.OrdinalIgnoreCase) != 0 176|| String.Compare(MtomGlobals.XopMediaSubtype, header.MediaSubtype, StringComparison.OrdinalIgnoreCase) != 0) 186if (String.Compare(charset, expectedEncodings[i].WebName, StringComparison.OrdinalIgnoreCase) == 0) 195if (String.Compare(charset, "utf-16LE", StringComparison.OrdinalIgnoreCase) == 0) 199if (String.Compare(expectedEncodings[i].WebName, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 206else if (String.Compare(charset, "utf-16BE", StringComparison.OrdinalIgnoreCase) == 0) 210if (String.Compare(expectedEncodings[i].WebName, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 275return String.Format(CultureInfo.InvariantCulture, "<{0}>", startUri); 360contentID = String.Format(CultureInfo.InvariantCulture, "<{0}>", Uri.UnescapeDataString(uri.Substring(MimeGlobals.ContentIDScheme.Length))); 1339return String.Empty; 1548return (readState == ReadState.Interactive) ? String.Empty : parentReader.LocalName; 1590return (readState == ReadState.Interactive) ? String.Empty : parentReader.Name; 1598return (readState == ReadState.Interactive) ? String.Empty : parentReader.NamespaceURI; 1611return (readState == ReadState.Interactive) ? String.Empty : parentReader.Prefix;
System\Xml\XmlMtomWriter.cs (11)
153String.Format(CultureInfo.InvariantCulture, "{0}/{1};{2}=\"{3}\";{4}=\"{5}\"", 169string contentType = String.Format(CultureInfo.InvariantCulture, "{0};{1}={2}", MtomGlobals.XopType, MtomGlobals.CharsetParam, CharSet(encoding)); 172contentType = String.Format(CultureInfo.InvariantCulture, "{0};{1}=\"{2}\"", contentType, MtomGlobals.TypeParam, startInfo); 180if (String.Compare(name, Encoding.UTF8.WebName, StringComparison.OrdinalIgnoreCase) == 0) 182if (String.Compare(name, Encoding.Unicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 184if (String.Compare(name, Encoding.BigEndianUnicode.WebName, StringComparison.OrdinalIgnoreCase) == 0) 354Writer.WriteValue(String.Format(CultureInfo.InvariantCulture, "{0}{1}", MimeGlobals.ContentIDScheme, contentID)); 366return String.Format(CultureInfo.InvariantCulture, "http://tempuri.org/{0}/{1}", index, DateTime.Now.Ticks); 425mimeWriter.WriteHeader(MimeGlobals.ContentIDHeader, String.Format(CultureInfo.InvariantCulture, "<{0}>", contentID)); 884return String.Format(CultureInfo.InvariantCulture, "{0}{1}", prefix, nextId); 930internal static string XopIncludeHrefNamespace = String.Empty;
System\Xml\XmlStreamNodeWriter.cs (1)
111Fx.Assert(count >= 0 && count <= bufferLength, String.Empty);
System.Security (140)
system\security\cryptography\cryptoapi.cs (4)
34internal const String ADVAPI32 = "advapi32.dll"; 35internal const String CRYPT32 = "crypt32.dll"; 36internal const String CRYPTUI = "cryptui.dll"; 37internal const String KERNEL32 = "kernel32.dll";
system\security\cryptography\cryptographicattribute.cs (3)
55if (0 != String.Compare(asn.Oid.Value, oid.Value, StringComparison.Ordinal)) 160if ((szOid1 != null && szOid2 != null) && (String.Compare(szOid1, szOid2, StringComparison.OrdinalIgnoreCase) == 0)) { 165if (String.Compare(szOid1, CAPI.szOID_RSA_signingTime, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\dataprotection.cs (2)
67String.Empty, 243throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int) scope));
system\security\cryptography\dataprotector.cs (3)
35if (String.IsNullOrWhiteSpace(applicationName)) 37if (String.IsNullOrWhiteSpace(primaryPurpose)) 45if (String.IsNullOrWhiteSpace(purpose))
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
464if (String.Compare(this.ContentInfo.ContentType.Value, CAPI.szOID_RSA_data, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\pkcs\pkcs7signer.cs (3)
89throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 92throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 139throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value"));
system\security\cryptography\pkcs\pkcs9attribute.cs (2)
191if (String.IsNullOrEmpty(documentName)) 248if (String.IsNullOrEmpty(documentDescription))
system\security\cryptography\pkcs\pkcsmisc.cs (3)
65if (String.Compare(CAPI.DummySignerCommonName, dummyName.Name, StringComparison.OrdinalIgnoreCase) == 0) { 77m_value = String.Empty; 97if (String.Compare(CAPI.szOID_KEYID_RDN, certRdnAttr.pszObjId, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\pkcs\pkcsutils.cs (6)
404return String.Empty; 408return String.Empty; 499if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 536if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 721if (0 == String.Compare( 855if (String.Compare(parameters.ProviderName, CAPI.MS_DEF_PROV, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\pkcs\signedpkcs7.cs (1)
318if (String.Compare(this.ContentInfo.ContentType.Value, CAPI.szOID_RSA_data, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\pkcs\signerinfo.cs (6)
188if (String.Compare(attribute.Oid.Value, CAPI.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase) == 0) { 198if ((String.Compare(issuerSerial1.IssuerName, issuerSerial2.IssuerName, StringComparison.OrdinalIgnoreCase) == 0) && 199(String.Compare(issuerSerial1.SerialNumber, issuerSerial2.SerialNumber, StringComparison.OrdinalIgnoreCase) == 0)) { 209if (String.Compare(keyIdentifier1, keyIdentifier2, StringComparison.OrdinalIgnoreCase) == 0) { 564if (String.Compare(attr.pszObjId, CAPI.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase) == 0) { 702if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) {
system\security\cryptography\x509\x509ui.cs (1)
93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "selectionFlag"));
system\security\cryptography\x509\x509utils.cs (3)
54String result = null; 74String result = null; 247if (String.Compare(certificate.SubjectName.Name, certificate.IssuerName.Name, StringComparison.OrdinalIgnoreCase) == 0)
system\security\cryptography\xml\c14nutil.cs (3)
670int namespaceCompare = String.CompareOrdinal(nodeA.NamespaceURI, nodeB.NamespaceURI); 672return String.CompareOrdinal(nodeA.LocalName, nodeB.LocalName); 689return String.CompareOrdinal(nodeA.LocalName, nodeB.LocalName);
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 (6)
35m_recipient = String.Empty; 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 (3)
30protected EncryptedReference () : this (String.Empty, new TransformChain()) { 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\encryptedxml.cs (1)
195m_recipient = String.Empty;
system\security\cryptography\xml\keyinfo.cs (12)
42public String Id { 56if (!String.IsNullOrEmpty(m_id)) { 84String kicString = elem.NamespaceURI + " " + elem.LocalName; 185public String Value { 367private String m_uri; 368private String m_type; 380public KeyInfoRetrievalMethod (String strUri, String typeName) { 389public String Uri { 395public String Type { 410if (!String.IsNullOrEmpty(m_uri)) 412if (!String.IsNullOrEmpty(m_type))
system\security\cryptography\xml\reference.cs (5)
172if (!String.IsNullOrEmpty(m_id)) 178if (!String.IsNullOrEmpty(m_type)) 186if (String.IsNullOrEmpty(m_digestMethod)) 355throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"), m_uri)); 369throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"),m_uri));
system\security\cryptography\xml\signature.cs (2)
100if (!String.IsNullOrEmpty(m_id)) 115if (!String.IsNullOrEmpty(m_signatureValueId))
system\security\cryptography\xml\signedinfo.cs (3)
98throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_CreateTransformFailed"), this.CanonicalizationMethod)); 152if (!String.IsNullOrEmpty(m_id)) 160if (String.IsNullOrEmpty(m_signatureMethod))
system\security\cryptography\xml\signedxml.cs (6)
317if (String.Compare(extension.Oid.Value, CAPI.szOID_KEY_USAGE, StringComparison.OrdinalIgnoreCase) == 0) { 623if (String.Equals(safeAlgorithm, SignedInfo.CanonicalizationMethod, StringComparison.OrdinalIgnoreCase)) { 652if (String.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase)) { 658if (String.Equals(safeAlgorithm, transformAlgorithm, StringComparison.OrdinalIgnoreCase)) { 751if (!String.IsNullOrWhiteSpace(stringValue)) { 797String idref = Utils.ExtractIdFromLocalUri(reference.Uri);
system\security\cryptography\xml\SignedXmlDebugLog.cs (40)
227keyName = String.Format(CultureInfo.InvariantCulture, 232keyName = String.Format(CultureInfo.InvariantCulture, 237keyName = String.Format(CultureInfo.InvariantCulture, 245return String.Format(CultureInfo.InvariantCulture, "{0}#{1}", key.GetType().Name, keyName); 254return String.Format(CultureInfo.InvariantCulture, 266if (String.IsNullOrEmpty(friendlyName)) 282string logMessage = String.Format(CultureInfo.InvariantCulture, 293string canonicalizationSettings = String.Format(CultureInfo.InvariantCulture, 316string logMessage = String.Format(CultureInfo.InvariantCulture, 335string logMessage = String.Format(CultureInfo.InvariantCulture, 358string contextData = String.Format(CultureInfo.InvariantCulture, 385string contextData = String.Format(CultureInfo.InvariantCulture, 407string logMessage = String.Format(CultureInfo.InvariantCulture, 453string logMessage = String.Format(CultureInfo.InvariantCulture, 498string logMessage = String.Format(CultureInfo.InvariantCulture, 518string propagationMessage = String.Format(CultureInfo.InvariantCulture, 564string logMessage = String.Format(CultureInfo.InvariantCulture, 600string logMessage = String.Format(CultureInfo.InvariantCulture, 626string logMessage = String.Format(CultureInfo.InvariantCulture, 649string logMessage = String.Format(CultureInfo.InvariantCulture, 672string logMessage = String.Format(CultureInfo.InvariantCulture, 696string logMessage = String.Format(CultureInfo.InvariantCulture, 718string logMessage = String.Format(CultureInfo.InvariantCulture, 741string logMessage = String.Format(CultureInfo.InvariantCulture, 774string logMessage = String.Format(CultureInfo.InvariantCulture, 813string logMessage = String.Format(CultureInfo.InvariantCulture, 826string hashLog = String.Format(CultureInfo.InvariantCulture, 831string signatureLog = String.Format(CultureInfo.InvariantCulture, 854string logMessage = String.Format(CultureInfo.InvariantCulture, 864string hashLog = String.Format(CultureInfo.InvariantCulture, 869string signatureLog = String.Format(CultureInfo.InvariantCulture, 888string buildMessage = String.Format(CultureInfo.InvariantCulture, 899string revocationMode = String.Format(CultureInfo.InvariantCulture, 904string revocationFlag = String.Format(CultureInfo.InvariantCulture, 909string verificationFlags = String.Format(CultureInfo.InvariantCulture, 914string verificationTime = String.Format(CultureInfo.InvariantCulture, 919string urlTimeout = String.Format(CultureInfo.InvariantCulture, 929string logMessage = String.Format(CultureInfo.InvariantCulture, 972string logMessage = String.Format(CultureInfo.InvariantCulture, 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\security\cryptography\xml\utils.cs (2)
126internal static String DiscardWhiteSpaces (string inputBuffer) { 131internal static String DiscardWhiteSpaces (string inputBuffer, int inputOffset, int inputCount) {
system\security\permissions\dataprotectionpermission.cs (5)
68throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 83throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 100throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 134if (unrestricted != null && String.Compare(unrestricted, "true", StringComparison.OrdinalIgnoreCase) == 0) { 150throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int)flags));
system\security\securityresources.cs (2)
30internal static String GetResourceString(String key)
System.ServiceModel (974)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (3)
34&& String.Equals((string)instance.GetProperty(AdministrationStrings.Name), AppDomainInfo.Current.Name, StringComparison.Ordinal)) 45return String.Format(CultureInfo.InvariantCulture, AdministrationStrings.AppDomainInfo + 139&& String.Equals((string)instance.GetProperty(AdministrationStrings.Name), AppDomainInfo.Current.Name, StringComparison.Ordinal))
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
22return String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Administration\EndpointInstanceProvider.cs (16)
23return EndpointReference(null != uri ? uri.ToString() : String.Empty, contractName, true); 28Fx.Assert(!String.IsNullOrEmpty(address), "address cannot be null"); 30string endpointReference = String.Format(CultureInfo.InvariantCulture, 43null != contractName ? contractName : String.Empty, 56string machineAddress = String.Format(CultureInfo.InvariantCulture, 106instance.SetProperty(AdministrationStrings.Address, endpoint.Address == null ? String.Empty : endpoint.Address.ToString()); 107instance.SetProperty(AdministrationStrings.ListenUri, endpoint.ListenUri == null ? String.Empty : endpoint.ListenUri.ToString()); 108instance.SetProperty(AdministrationStrings.Identity, endpoint.Identity == null ? String.Empty : endpoint.Identity.ToString()); 123instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.PerformanceCountersEnabled ? EndpointPerformanceCounters.GetFriendlyInstanceName(endpoint.ServiceName, endpoint.Contract.Name, endpoint.Address.AbsoluteUri.ToUpperInvariant()) : String.Empty); 465string result = String.Format(CultureInfo.InvariantCulture, 472string result = String.Format(CultureInfo.InvariantCulture, 489string result = String.Format(CultureInfo.InvariantCulture, 628if (String.IsNullOrEmpty(operationName)) 649if (null != endpointInfo.ListenUri && String.Equals(endpointInfo.ListenUri.ToString(), address, StringComparison.OrdinalIgnoreCase) 650&& null != endpointInfo.Contract && null != endpointInfo.Contract.Name && String.CompareOrdinal(endpointInfo.Contract.Name, contractName) == 0) 667string result = String.Empty;
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\ServiceInstanceProvider.cs (18)
45if (String.Equals((string)instance.GetProperty(AdministrationStrings.DistinguishedName), info.DistinguishedName, StringComparison.OrdinalIgnoreCase)) 60return String.Format(CultureInfo.InvariantCulture, AdministrationStrings.Service + 135instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.PerformanceCountersEnabled ? ServicePerformanceCounters.GetFriendlyInstanceName(info.Service) : String.Empty); 167result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.ClientCertificate.Certificate); 173result += String.Format(CultureInfo.InvariantCulture, "AllowUntrustedRsaIssuers: {0}\n", specificBehavior.IssuedTokenAuthentication.AllowUntrustedRsaIssuers); 174result += String.Format(CultureInfo.InvariantCulture, "CertificateValidationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.CertificateValidationMode); 175result += String.Format(CultureInfo.InvariantCulture, "RevocationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.RevocationMode); 176result += String.Format(CultureInfo.InvariantCulture, "TrustedStoreLocation: {0}\n", specificBehavior.IssuedTokenAuthentication.TrustedStoreLocation); 181result += String.Format(CultureInfo.InvariantCulture, "Known certificate: {0}\n", certificate.FriendlyName); 184result += String.Format(CultureInfo.InvariantCulture, "AudienceUriMode: {0}\n", specificBehavior.IssuedTokenAuthentication.AudienceUriMode); 191result += String.Format(CultureInfo.InvariantCulture, "Allowed Uri: {0}\n", str); 201result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.Peer.Certificate.ToString(true)); 211result += String.Format(CultureInfo.InvariantCulture, "ClaimType: {0}\n", claimType); 222instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.UserNameAuthentication.UserNamePasswordValidationMode.ToString())); 226instance.SetProperty(AdministrationStrings.WindowsAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.AllowAnonymous, specificBehavior.WindowsAuthentication.AllowAnonymousLogons.ToString())); 365string uri = serviceChannel.RemoteAddress == null ? String.Empty : serviceChannel.RemoteAddress.ToString(); 367string contractName = null != serviceChannel.ClientRuntime ? serviceChannel.ClientRuntime.ContractName : String.Empty; 370instance.SetProperty(AdministrationStrings.LocalAddress, serviceChannel.LocalAddress == null ? String.Empty : serviceChannel.LocalAddress.ToString());
System\ServiceModel\Administration\WbemProvider.cs (2)
801if (!String.IsNullOrEmpty(match.Groups["ival"].Value)) 895if (String.IsNullOrEmpty(className))
System\ServiceModel\ChannelFactory.cs (2)
589public ChannelFactory(Binding binding, String remoteAddress) 872protected static TChannel CreateChannel(String endpointConfigurationName)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
448sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 449sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\Binding.cs (2)
227return this.BuildChannelListener<TChannel>(listenUriBuilder.Uri, String.Empty, ListenUriMode.Unique, parameters); 233return this.BuildChannelListener<TChannel>(listenUriBaseAddress, String.Empty, ListenUriMode.Explicit, parameters);
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
90context.ListenUriRelativeAddress = String.Empty;
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
434TD.SessionPreambleUnderstood((serverSessionPreambleReader.Via != null) ? serverSessionPreambleReader.Via.ToString() : String.Empty);
System\ServiceModel\Channels\ContentOnlyMessage.cs (1)
86return String.IsNullOrEmpty(this.data);
System\ServiceModel\Channels\CustomBinding.cs (1)
162return String.Empty;
System\ServiceModel\Channels\DnsCache.cs (1)
46machineName = Dns.GetHostEntry(String.Empty).HostName;
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
307else if (message.Version.Envelope == EnvelopeVersion.Soap12 && !String.IsNullOrEmpty(ContentType)) 3390if (String.Compare(headerName, "Referer", StringComparison.OrdinalIgnoreCase) == 0) 3861String responseExcerpt = GetResponseStreamString(response, out bytesRead);
System\ServiceModel\Channels\HttpChannelListener.cs (6)
521WriteAuditEvent(AuditLevel.Failure, (authenticationContext.LogonUserIdentity != null) ? authenticationContext.LogonUserIdentity.Name : String.Empty, exception); 528WriteAuditEvent(AuditLevel.Success, (authenticationContext.LogonUserIdentity != null) ? authenticationContext.LogonUserIdentity.Name : String.Empty, null); 581WriteAuditEvent(AuditLevel.Failure, (identity != null) ? identity.Name : ((wid != null) ? wid.Name : String.Empty), exception); 590WriteAuditEvent(AuditLevel.Success, (identity != null) ? identity.Name : ((wid != null) ? wid.Name : String.Empty), null); 674WriteAuditEvent(AuditLevel.Failure, String.Empty, exception); 699WriteAuditEvent(AuditLevel.Failure, String.Empty, exception);
System\ServiceModel\Channels\HttpRequestContext.cs (1)
214if (!String.IsNullOrEmpty(e2eId))
System\ServiceModel\Channels\HttpsChannelListener.cs (6)
219WriteAuditEvent(AuditLevel.Failure, (certificate != null) ? SecurityUtils.GetCertificateId(certificate) : String.Empty, exception); 226WriteAuditEvent(AuditLevel.Success, (certificate != null) ? SecurityUtils.GetCertificateId(certificate) : String.Empty, null); 280WriteAuditEvent(AuditLevel.Failure, (certificateEx != null) ? SecurityUtils.GetCertificateId(certificateEx) : String.Empty, exception); 287WriteAuditEvent(AuditLevel.Success, (certificateEx != null) ? SecurityUtils.GetCertificateId(certificateEx) : String.Empty, null); 339WriteAuditEvent(AuditLevel.Failure, (clientCertificate != null) ? SecurityUtils.GetCertificateId(clientCertificate) : String.Empty, exception); 387WriteAuditEvent(AuditLevel.Failure, (certificateEx != null) ? SecurityUtils.GetCertificateId(certificateEx) : String.Empty, exception);
System\ServiceModel\Channels\Message.cs (2)
780throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 787throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this);
System\ServiceModel\Channels\MessageFault.cs (7)
139if (String.Compare(code.Name, MessageStrings.MustUnderstandFault, StringComparison.Ordinal) != 0) 144if ((String.Compare(code.Namespace, EnvelopeVersion.Soap11.Namespace, StringComparison.Ordinal) != 0) && 145(String.Compare(code.Namespace, EnvelopeVersion.Soap12.Namespace, StringComparison.Ordinal) != 0)) 234if ((String.Compare(headerInfo.Name, Message12Strings.NotUnderstood, StringComparison.Ordinal) == 0) && 235(String.Compare(headerInfo.Namespace, Message12Strings.Namespace, StringComparison.Ordinal) == 0)) 247(String.Compare(name, actualName, StringComparison.Ordinal) == 0) && 248(String.Compare(ns, actualNamespace, StringComparison.Ordinal) == 0))
System\ServiceModel\Channels\MessageVersion.cs (1)
198throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "MessageVersion.Addressing cannot be null")));
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
249String primaryIdentity = String.Empty;
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
247Fx.Assert(String.Format("Unexpected messageId size: {0}", messageId.Buffer.Length));
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (1)
354private bool TryEnumerateSubqueues(out List<String> subqueues)
System\ServiceModel\Channels\MsmqUri.cs (7)
141if (String.IsNullOrEmpty(uri.Host)) 148if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 191if (String.IsNullOrEmpty(uri.Host)) 199if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 239if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 243if (0 == String.Compare(DnsCache.MachineName, DnsCache.Resolve(uri).HostName, StringComparison.OrdinalIgnoreCase)) 271if (String.IsNullOrEmpty(uri.Host))
System\ServiceModel\Channels\MtomMessageEncoder.cs (2)
134throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid MessageVersion"))); 300return String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (2)
154if (address == null || ((binding == null) && (String.IsNullOrEmpty(this.bindingSection) || String.IsNullOrEmpty(this.bindingConfiguration))))
System\ServiceModel\Channels\PeerSecurityHelpers.cs (5)
567return ((String.Compare(first, second, StringComparison.Ordinal) == 0) 568&& (String.Compare(firstNS, secondNS, StringComparison.OrdinalIgnoreCase) == 0)); 618if (String.Compare(response.TokenType, PeerHashToken.TokenTypeString, StringComparison.OrdinalIgnoreCase) != 0) 635if (String.Compare(code, ValidString, StringComparison.OrdinalIgnoreCase) != 0) 899String remoteUri = "";
System\ServiceModel\Channels\PeerSecurityManager.cs (4)
36string meshId = String.Empty; 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)
1688string matchPath = String.Empty; 2783Fx.Assert(!String.IsNullOrEmpty(appContainerInfo.NamedObjectPath),
System\ServiceModel\Channels\PnrpPeerResolver.cs (11)
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)) 379if (input == null || String.IsNullOrEmpty(input.Comment)) 399pathBuilder.Append(PathSeparator + String.Format(CultureInfo.InvariantCulture, "{0}", guid.ToString())); 402uriBuilder.Path = String.Format(CultureInfo.InvariantCulture, "{0}", pathBuilder.ToString()); 567if ((ProtocolFromName(uri.Scheme) != 0) && !String.IsNullOrEmpty(uri.AbsolutePath)) 571if ((0 == String.Compare(parts[0], PeerStrings.KnownServiceUriPrefix, StringComparison.OrdinalIgnoreCase))) 856if (!String.IsNullOrEmpty(message))
System\ServiceModel\Channels\RedirectionException.cs (1)
121string result = String.Empty;
System\ServiceModel\Channels\SecurityBindingElement.cs (11)
1833sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 1834sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", this.defaultAlgorithmSuite.ToString())); 1835sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", this.includeTimestamp.ToString())); 1836sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", this.keyEntropyMode.ToString())); 1837sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.MessageSecurityVersion.ToString())); 1838sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", this.securityHeaderLayout.ToString())); 1839sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", this.protectTokens.ToString())); 1846sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters: none")); 1852sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction)); 1858sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters: none")); 1864sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (1)
226string contractAssociationName = String.Format("{0}:{1}:{2}", ContractProtectionLevelKey, policyContext.Contract.Name, policyContext.Contract.Namespace);
System\ServiceModel\Channels\ServiceChannel.cs (1)
996if (String.CompareOrdinal(operation.ReplyAction, rpc.Reply.Headers.Action) != 0)
System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
29const String activityIdSlotName = "E2ETrace.ActivityID"; 193throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid proxy method type")));
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
633String primaryIdentity = String.Empty;
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
617TD.SharedListenerProxyRegisterStart((this.baseAddress != null) ? this.baseAddress.ToString() : String.Empty);
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
859String primaryIdentity = String.Empty;
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (2)
406sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 407sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
92return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
System\ServiceModel\Channels\TransportChannelListener.cs (4)
572if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0) || 573(String.Compare(this.Uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 580else if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0) || 581(String.Compare(this.Uri.Scheme, Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
541if (!String.IsNullOrEmpty(relativeAddress))
System\ServiceModel\Channels\UnsafeNativeMethods.cs (3)
1143private static extern IntPtr GetProcAddress(IntPtr hModule, String methodName); 1146private static bool DoesWin32MethodExist(String moduleName, String methodName)
System\ServiceModel\ComIntegration\AdminSDK.cs (82)
42String bstrCollName); 46Object Connect([In, MarshalAs(UnmanagedType.BStr)] String connectStr); 57String collName, 62void ImportComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 63[In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgId); 66void InstallComponent([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 67[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 68[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 69[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 72void ShutdownApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 75void ExportApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 76[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 80void InstallApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 81[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationDirectory, 83[In, MarshalAs(UnmanagedType.BStr)] String bstrUserId, 84[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 85[In, MarshalAs(UnmanagedType.BStr)] String bstrRSN); 103void InstallMultipleComponents([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 108void GetMultipleComponentsInfo([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 119void BackupREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 122void RestoreREGDB([In, MarshalAs(UnmanagedType.BStr)] String bstrBackupFilePath); 125void QueryApplicationFile([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile, 126[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationName, 127[Out, MarshalAs(UnmanagedType.BStr)] out String bstrApplicationDescription, 133void StartApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName); 139void InstallMultipleEventClasses([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 144void InstallEventClass([In, MarshalAs(UnmanagedType.BStr)] String bstrApplIdOrName, 145[In, MarshalAs(UnmanagedType.BStr)] String bstrDLL, 146[In, MarshalAs(UnmanagedType.BStr)] String bstrTLB, 147[In, MarshalAs(UnmanagedType.BStr)] String bstrPSDLL); 150void GetEventClassesForIID([In] String bstrIID, 158[In, MarshalAs(UnmanagedType.BStr)] String bstrCollectionName, 163String GetApplicationInstanceIDFromProcessID([In, MarshalAs(UnmanagedType.I4)] int lProcessID); 185String DumpApplicationInstance( 186[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationInstanceID, 187[In, MarshalAs(UnmanagedType.BStr)] String bstrDirectory, 196[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 197[In, MarshalAs(UnmanagedType.BStr)] String bstrServiceName, 198[In, MarshalAs(UnmanagedType.BStr)] String bstrStartType, 199[In, MarshalAs(UnmanagedType.BStr)] String bstrErrorControl, 200[In, MarshalAs(UnmanagedType.BStr)] String bstrDependencies, 201[In, MarshalAs(UnmanagedType.BStr)] String bstrRunAs, 202[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 206void DeleteServiceForApplication([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 210String GetPartitionID([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 214String GetPartitionName([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName); 217void CurrentPartition([In, MarshalAs(UnmanagedType.BStr)]String bstrPartitionIDOrName); 221String CurrentPartitionID(); 225String CurrentPartitionName(); 229String GlobalPartitionID(); 236[In, MarshalAs(UnmanagedType.BStr)] String bstrSourcePartitionIDOrName, 238[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationPartitionIDOrName); 242[In, MarshalAs(UnmanagedType.BStr)] String bstrSourceApplicationIDOrName, 244[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationApplicationIDOrName); 248[In, MarshalAs(UnmanagedType.BStr)] String bstrSourceApplicationIDOrName, 250[In, MarshalAs(UnmanagedType.BStr)] String bstrDestinationApplicationIDOrName); 254[In, MarshalAs(UnmanagedType.BStr)] String bstrSrcApplicationIDOrName, 255[In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgID, 256[In, MarshalAs(UnmanagedType.BStr)] String bstrDestApplicationIDOrName, 257[In, MarshalAs(UnmanagedType.BStr)] String bstrNewProgId, 258[In, MarshalAs(UnmanagedType.BStr)] String bstrNewClsid); 262Object IsSafeToDelete([In, MarshalAs(UnmanagedType.BStr)] String bstrDllName); 266[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 272[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 278[In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationIDOrName, 288[In, MarshalAs(UnmanagedType.BStr)] String bstrPartitionIDOrName, 289[In, MarshalAs(UnmanagedType.BStr)] String bstrPartitionFileName, 294[In, MarshalAs(UnmanagedType.BStr)] String bstrFileName, 295[In, MarshalAs(UnmanagedType.BStr)] String bstrDestDirectory, 297[In, MarshalAs(UnmanagedType.BStr)] String bstrUserID, 298[In, MarshalAs(UnmanagedType.BStr)] String bstrPassword, 299[In, MarshalAs(UnmanagedType.BStr)] String bstrRSN); 303Object QueryApplicationFile2([In, MarshalAs(UnmanagedType.BStr)] String bstrApplicationFile); 307int GetComponentVersionCount([In, MarshalAs(UnmanagedType.BStr)] String bstrCLSIDOrProgID); 315Object GetValue([In, MarshalAs(UnmanagedType.BStr)] String propName); 318void SetValue([In, MarshalAs(UnmanagedType.BStr)] String propName, 329bool IsPropertyReadOnly([In, MarshalAs(UnmanagedType.BStr)] String bstrPropName); 340bool IsPropertyWriteOnly([In, MarshalAs(UnmanagedType.BStr)] String bstrPropName); 373Object GetCollection([In, MarshalAs(UnmanagedType.BStr)] String bstrCollName, 413void PopulateByQuery([In, MarshalAs(UnmanagedType.BStr)] String bstrQueryString,
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 (18)
16internal static void GenerateManifestCollectionFile(Guid[] manifests, String strAssemblyManifestFileName, String assemblyName) 18String title = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"; 19String asmTitle = "<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersion=\"1.0\">"; 20String asmEnd = "</assembly>"; 22String path = Path.GetDirectoryName(strAssemblyManifestFileName); 23if (!String.IsNullOrEmpty(path) && !Directory.Exists(path)) 75internal static void GenerateWin32ManifestFile(Type[] aTypes, String strAssemblyManifestFileName, String assemblyName) 77String title = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"; 78String asmTitle = "<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersion=\"1.0\">"; 80String path = Path.GetDirectoryName(strAssemblyManifestFileName); 81if (!String.IsNullOrEmpty(path) && !Directory.Exists(path)) 120String asmEnd = "</assembly>"; 129String name = null; 143String strClsId = "{" + Marshal.GenerateGuidForType(t).ToString().ToUpperInvariant() + "}"; 163static void WriteUTFChars(Stream s, String value, int offset) 172static void WriteUTFChars(Stream s, String value)
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
312if (!String.IsNullOrEmpty(wsdlText))
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (3)
39string tempPath = String.Empty; 154string tempPath = String.Empty; 193String guidStr = g.ToString();
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
164string identityName = String.Empty;
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
75if (String.IsNullOrEmpty(contractConfigElement.Name) || String.IsNullOrEmpty(contractConfigElement.Namespace))
System\ServiceModel\ComIntegration\IMoniker.cs (2)
42void GetDisplayName(IBindCtx pbc, IMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] out String ppszDisplayName); 43void ParseDisplayName(IBindCtx pbc, IMoniker pmkToLeft, [MarshalAs(UnmanagedType.LPWStr)] String pszDisplayName, out int pchEaten, out IMoniker ppmkOut);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
317if (!String.IsNullOrEmpty(serializer))
System\ServiceModel\ComIntegration\MonikerUtility.cs (2)
82if (!String.IsNullOrEmpty(moniker)) 141if (!String.IsNullOrEmpty(value))
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (12)
252internal const String KERNEL32 = "kernel32.dll"; 253internal const String ADVAPI32 = "advapi32.dll"; 254internal const String OLE32 = "ole32.dll"; 255internal const String OLEAUT32 = "oleaut32.dll"; 256internal const String COMSVCS = "comsvcs.dll"; 257internal const String SECUR32 = "secur32.dll"; 258internal const String NETAPI32 = "netapi32.dll"; 310internal static extern int RegOpenKeyEx(RegistryHandle hKey, String lpSubKey, 315internal static extern int RegSetValueEx(RegistryHandle hKey, String lpValueName, 316int Reserved, int dwType, String val, int cbData); 324internal static extern int RegQueryValueEx(RegistryHandle hKey, String lpValueName, 333internal static extern int RegDeleteKey(RegistryHandle hKey, String lpValueName);
System\ServiceModel\ComIntegration\TypeCacheManager.cs (16)
67private Guid GettypeLibraryIDFromIID(Guid iid, bool isServer, out String version) 76keyName = String.Concat("software\\classes\\interface\\{", iid.ToString(), "}\\typelib"); 81keyName = String.Concat("interface\\{", iid.ToString(), "}\\typelib"); 113if (String.IsNullOrEmpty(version)) 165String version; 193String assembly = opaqueData as String; 194if (String.IsNullOrEmpty(assembly)) 353string keyName = String.Concat("software\\classes\\clsid\\{", clsid.ToString(), "}\\InprocServer32"); 367if (String.IsNullOrEmpty(keyName)) 372if (String.IsNullOrEmpty(assemblyName)) 383if (String.IsNullOrEmpty(assemblyName)) 402using (RegistryHandle clsidKey = hkcr.OpenSubKey(String.Concat("CLSID\\{", clsid.ToString(), "}\\InprocServer32"))) 413if (String.IsNullOrEmpty(keyName)) 418if (String.IsNullOrEmpty(assemblyName)) 429if (String.IsNullOrEmpty(assemblyName))
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (3)
105String strGuid = guid.ToString(); 125if (String.IsNullOrEmpty(namespaceName)) 129assemblyName = String.Concat(namespaceName, GetRandomName(), ".dll");
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (3)
235if (!String.IsNullOrEmpty(serializer)) 254if (String.IsNullOrEmpty(contractNamespace)) 257if (String.IsNullOrEmpty(bindingNamespace))
System\ServiceModel\Configuration\AddressHeaderCollectionElement.cs (1)
78protected override bool SerializeToXmlElement(XmlWriter writer, String elementName)
System\ServiceModel\Configuration\AllowedAudienceUriElement.cs (2)
21if (String.IsNullOrEmpty(value)) 23value = String.Empty;
System\ServiceModel\Configuration\AuthorizationPolicyTypeElement.cs (3)
17if (String.IsNullOrEmpty(policyType)) 31if (String.IsNullOrEmpty(value)) 33value = String.Empty;
System\ServiceModel\Configuration\BaseAddressElement.cs (2)
22if (String.IsNullOrEmpty(value)) 24value = String.Empty;
System\ServiceModel\Configuration\BehaviorsSection.cs (2)
62if (!String.IsNullOrEmpty(behaviorConfiguration)) 90if (!String.IsNullOrEmpty(behaviorConfiguration))
System\ServiceModel\Configuration\BindingCollectionElement.cs (3)
24if (String.IsNullOrEmpty(this.bindingName)) 50string configuredSectionName = String.Empty; 85if (String.IsNullOrEmpty(configuredSectionName))
System\ServiceModel\Configuration\BindingsSection.cs (2)
316if (!String.IsNullOrEmpty(binding)) 337if (!String.IsNullOrEmpty(bindingConfiguration))
System\ServiceModel\Configuration\CertificateElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\CertificateReferenceElement.cs (2)
53if (String.IsNullOrEmpty(value)) 55value = String.Empty;
System\ServiceModel\Configuration\ChannelEndpointElement.cs (7)
107value = String.Empty; 150if (String.IsNullOrEmpty(value)) 152value = String.Empty; 192if (String.IsNullOrEmpty(value)) 194value = String.Empty; 207if (String.IsNullOrEmpty(value)) 209value = String.Empty;
System\ServiceModel\Configuration\ClaimTypeElement.cs (2)
32if (String.IsNullOrEmpty(value)) 34value = String.Empty;
System\ServiceModel\Configuration\ClientCredentialsElement.cs (2)
30if (String.IsNullOrEmpty(value)) 32value = String.Empty;
System\ServiceModel\Configuration\ComContractElement.cs (6)
31if (String.IsNullOrEmpty(value)) 33value = String.Empty; 53if (String.IsNullOrEmpty(value)) 55value = String.Empty; 69if (String.IsNullOrEmpty(value)) 71value = String.Empty;
System\ServiceModel\Configuration\ComMethodElement.cs (2)
34if (String.IsNullOrEmpty(value)) 36value = String.Empty;
System\ServiceModel\Configuration\ComPersistableTypeElement.cs (4)
33if (String.IsNullOrEmpty(value)) 35value = String.Empty; 49if (String.IsNullOrEmpty(value)) 51value = String.Empty;
System\ServiceModel\Configuration\ComUdtElement.cs (8)
33if (String.IsNullOrEmpty(value)) 35value = String.Empty; 49if (String.IsNullOrEmpty(value)) 51value = String.Empty; 65if (String.IsNullOrEmpty(value)) 67value = String.Empty; 81if (String.IsNullOrEmpty(value)) 83value = String.Empty;
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
93if (String.IsNullOrEmpty(name))
System\ServiceModel\Configuration\DefaultPortElement.cs (2)
29if (String.IsNullOrEmpty(value)) 31value = String.Empty;
System\ServiceModel\Configuration\DnsElement.cs (3)
23public String Value 28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\EncodingConverter.cs (1)
41if (String.Compare(encoding, TextEncoderDefaults.EncodingString, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Configuration\EndpointCollectionElement.cs (3)
24if (String.IsNullOrEmpty(this.endpointName)) 52string configuredSectionName = String.Empty; 87if (String.IsNullOrEmpty(configuredSectionName))
System\ServiceModel\Configuration\ExtensionElement.cs (5)
21if (String.IsNullOrEmpty(name)) 32if (String.IsNullOrEmpty(type)) 47if (String.IsNullOrEmpty(value)) 49value = String.Empty; 62if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\ExtensionsSection.cs (7)
160string collectionName = String.Empty; 184Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 185DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 234Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 235DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 288Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 289DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName));
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (1)
59if (String.IsNullOrEmpty(value))
System\ServiceModel\Configuration\HttpTransportElement.cs (2)
131if (String.IsNullOrEmpty(value)) 133value = String.Empty;
System\ServiceModel\Configuration\HttpTransportSecurityElement.cs (2)
51if (String.IsNullOrEmpty(value)) 53value = String.Empty;
System\ServiceModel\Configuration\IssuedTokenClientBehaviorsElement.cs (4)
26if (String.IsNullOrEmpty(value)) 28value = String.Empty; 41if (String.IsNullOrEmpty(value)) 43value = String.Empty;
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (2)
35if (String.IsNullOrEmpty(value)) 37value = String.Empty;
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (3)
108if (String.IsNullOrEmpty(value)) 110value = String.Empty; 286protected override bool SerializeToXmlElement(XmlWriter writer, String elementName)
System\ServiceModel\Configuration\IssuedTokenParametersEndpointAddressElement.cs (5)
25if (String.IsNullOrEmpty(value)) 27value = String.Empty; 40if (String.IsNullOrEmpty(value)) 42value = String.Empty; 59if (context != null && !String.IsNullOrEmpty(this.Binding))
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (4)
43if (String.IsNullOrEmpty(value)) 45value = String.Empty; 83if (String.IsNullOrEmpty(value)) 85value = String.Empty;
System\ServiceModel\Configuration\NamedPipeConnectionPoolSettingsElement.cs (2)
27if (String.IsNullOrEmpty(value)) 29value = String.Empty;
System\ServiceModel\Configuration\NamedServiceModelExtensionCollectionElement.cs (5)
18if (!String.IsNullOrEmpty(name)) 24this.Name = String.Empty; 35if (String.IsNullOrEmpty(value)) 37value = String.Empty; 51this.properties.Add(new ConfigurationProperty(ConfigurationStrings.Name, typeof(System.String), null, null, new StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
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 (2)
37if (String.IsNullOrEmpty(value)) 39value = String.Empty;
System\ServiceModel\Configuration\Properties.cs (108)
245properties.Add(new ConfigurationProperty("packageFullName", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 270properties.Add(new ConfigurationProperty("allowedAudienceUri", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 318properties.Add(new ConfigurationProperty("serviceAuthenticationManagerType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 343properties.Add(new ConfigurationProperty("policyType", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 367properties.Add(new ConfigurationProperty("baseAddress", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 595properties.Add(new ConfigurationProperty("encodedValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 622properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 648properties.Add(new ConfigurationProperty("behaviorConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 649properties.Add(new ConfigurationProperty("binding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 650properties.Add(new ConfigurationProperty("bindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 651properties.Add(new ConfigurationProperty("contract", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 654properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 655properties.Add(new ConfigurationProperty("kind", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 656properties.Add(new ConfigurationProperty("endpointConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 730properties.Add(new ConfigurationProperty("claimType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 828properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1017properties.Add(new ConfigurationProperty("scheme", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 1042properties.Add(new ConfigurationProperty("type", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 1070properties.Add(new ConfigurationProperty("etwProviderId", typeof(System.String), "{c651f5f6-1c0d-492e-8ae1-b4efd7c9d503}", null, new System.Configuration.StringValidator(32, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1094properties.Add(new ConfigurationProperty("value", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1174properties.Add(new ConfigurationProperty("issuedTokenType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1311properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1371properties.Add(new ConfigurationProperty("realm", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1403properties.Add(new ConfigurationProperty("realm", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1457properties.Add(new ConfigurationProperty("localIssuerChannelBehaviors", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1488properties.Add(new ConfigurationProperty("customCertificateValidatorType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1492properties.Add(new ConfigurationProperty("samlSerializerType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1518properties.Add(new ConfigurationProperty("issuerAddress", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 1519properties.Add(new ConfigurationProperty("behaviorConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1550properties.Add(new ConfigurationProperty("tokenType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1575properties.Add(new ConfigurationProperty("binding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 1576properties.Add(new ConfigurationProperty("bindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2033properties.Add(new ConfigurationProperty("groupName", typeof(System.String), "default", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2213properties.Add(new ConfigurationProperty("subProtocol", typeof(System.String), "soap", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2240properties.Add(new ConfigurationProperty("subProtocol", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2523properties.Add(new ConfigurationProperty("binding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2524properties.Add(new ConfigurationProperty("bindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2525properties.Add(new ConfigurationProperty("resolverType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2652properties.Add(new ConfigurationProperty("type", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 2701properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 2838properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 2911properties.Add(new ConfigurationProperty("value", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 2966properties.Add(new ConfigurationProperty("securityStateEncoderType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3055properties.Add(new ConfigurationProperty("relativeAddress", typeof(System.String), null, null, new System.ServiceModel.Configuration.ServiceActivationElement.RelativeAddressValidator(), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3056properties.Add(new ConfigurationProperty("service", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3057properties.Add(new ConfigurationProperty("factory", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3082properties.Add(new ConfigurationProperty("roleProviderName", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3085properties.Add(new ConfigurationProperty("serviceAuthorizationManagerType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3110properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3115properties.Add(new ConfigurationProperty("identityConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3143properties.Add(new ConfigurationProperty("behaviorConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3146properties.Add(new ConfigurationProperty("name", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3171properties.Add(new ConfigurationProperty("behaviorConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3172properties.Add(new ConfigurationProperty("binding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3173properties.Add(new ConfigurationProperty("bindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3174properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3175properties.Add(new ConfigurationProperty("bindingName", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3176properties.Add(new ConfigurationProperty("bindingNamespace", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3177properties.Add(new ConfigurationProperty("contract", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3183properties.Add(new ConfigurationProperty("kind", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3184properties.Add(new ConfigurationProperty("endpointConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3208properties.Add(new ConfigurationProperty("name", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3209properties.Add(new ConfigurationProperty("type", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 3287properties.Add(new ConfigurationProperty("scheme", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3288properties.Add(new ConfigurationProperty("binding", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 3289properties.Add(new ConfigurationProperty("bindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3318properties.Add(new ConfigurationProperty("httpGetBinding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3319properties.Add(new ConfigurationProperty("httpGetBindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3320properties.Add(new ConfigurationProperty("httpsGetBinding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3321properties.Add(new ConfigurationProperty("httpsGetBindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3450properties.Add(new ConfigurationProperty("value", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3606properties.Add(new ConfigurationProperty("name", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3607properties.Add(new ConfigurationProperty("transportConfigurationType", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 3631properties.Add(new ConfigurationProperty("value", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3657properties.Add(new ConfigurationProperty("membershipProviderName", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3658properties.Add(new ConfigurationProperty("customUserNamePasswordValidatorType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 3759properties.Add(new ConfigurationProperty("type", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 3971properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 3998properties.Add(new ConfigurationProperty("customCertificateValidatorType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4027properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4054properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4081properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4160properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4188properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4215properties.Add(new ConfigurationProperty("customCertificateValidatorType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4242properties.Add(new ConfigurationProperty("contract", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 4244properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4245properties.Add(new ConfigurationProperty("namespace", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4296properties.Add(new ConfigurationProperty("exposedMethod", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 4320properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4321properties.Add(new ConfigurationProperty("ID", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 4345properties.Add(new ConfigurationProperty("name", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4346properties.Add(new ConfigurationProperty("typeLibID", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 4347properties.Add(new ConfigurationProperty("typeLibVersion", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 4348properties.Add(new ConfigurationProperty("typeDefID", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 4448properties.Add(new ConfigurationProperty("findValue", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4475properties.Add(new ConfigurationProperty("customCertificateValidatorType", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4506properties.Add(new ConfigurationProperty("httpHelpPageBinding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4507properties.Add(new ConfigurationProperty("httpHelpPageBindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4508properties.Add(new ConfigurationProperty("httpsHelpPageBinding", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4509properties.Add(new ConfigurationProperty("httpsHelpPageBindingConfiguration", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4540properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetBinding, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4541properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetBinding, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4542properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetBindingConfiguration, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4543properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetBindingConfiguration, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4592properties.Add(new ConfigurationProperty("groupName", typeof(System.String), "default", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4622properties.Add(new ConfigurationProperty("realm", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 4671properties.Add(new ConfigurationProperty("name", typeof(System.String), null, null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired));
System\ServiceModel\Configuration\ProtocolMappingElement.cs (9)
19if (String.IsNullOrEmpty(schemeType)) 40if (String.IsNullOrEmpty(value)) 42value = String.Empty; 53get { return (String)base[ConfigurationStrings.Binding]; } 56if (String.IsNullOrEmpty(value)) 58value = String.Empty; 69get { return (String)base[ConfigurationStrings.BindingConfiguration]; } 72if (String.IsNullOrEmpty(value)) 74value = String.Empty;
System\ServiceModel\Configuration\RsaElement.cs (3)
23public String Value 28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\SecureConversationServiceElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
812protected override bool SerializeToXmlElement(XmlWriter writer, String elementName)
System\ServiceModel\Configuration\ServiceAuthenticationElement.cs (3)
27if (String.IsNullOrEmpty(value)) 29value = String.Empty; 55if (!String.IsNullOrEmpty(serviceAuthenticationManagerType))
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (6)
39if (String.IsNullOrEmpty(value)) 41value = String.Empty; 68if (String.IsNullOrEmpty(value)) 70value = String.Empty; 106if (!String.IsNullOrEmpty(roleProviderName)) 120if (!String.IsNullOrEmpty(serviceAuthorizationManagerType))
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (2)
29if (String.IsNullOrEmpty(value)) 31value = String.Empty;
System\ServiceModel\Configuration\ServiceDebugElement.cs (2)
111if (!String.IsNullOrEmpty(this.HttpHelpPageBinding)) 113if (!String.IsNullOrEmpty(this.HttpsHelpPageBinding))
System\ServiceModel\Configuration\ServiceElement.cs (4)
32if (String.IsNullOrEmpty(value)) 34value = String.Empty; 59if (String.IsNullOrEmpty(value)) 61value = String.Empty;
System\ServiceModel\Configuration\ServiceEndpointElement.cs (17)
110if (String.IsNullOrEmpty(value)) 112value = String.Empty; 125if (String.IsNullOrEmpty(value)) 127value = String.Empty; 140if (String.IsNullOrEmpty(value)) 142value = String.Empty; 155if (String.IsNullOrEmpty(value)) 170if (String.IsNullOrEmpty(value)) 172value = String.Empty; 185if (String.IsNullOrEmpty(value)) 187value = String.Empty; 200if (String.IsNullOrEmpty(value)) 202value = String.Empty; 249if (String.IsNullOrEmpty(value)) 251value = String.Empty; 264if (String.IsNullOrEmpty(value)) 266value = String.Empty;
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 (1)
30if (!String.IsNullOrEmpty(elementName))
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (7)
26string configurationElementName = String.Empty; 27string extensionCollectionName = String.Empty; 101if (String.IsNullOrEmpty(this.configurationElementName)) 189string configurationElementName = String.Empty; 199if (String.IsNullOrEmpty(this.extensionCollectionName)) 219if (String.IsNullOrEmpty(this.extensionCollectionName)) 256if (String.IsNullOrEmpty(configurationElementName))
System\ServiceModel\Configuration\ServicePrincipalNameElement.cs (3)
23public String Value 28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\StandardBindingElement.cs (3)
27if (!String.IsNullOrEmpty(name)) 45if (String.IsNullOrEmpty(value)) 47value = String.Empty;
System\ServiceModel\Configuration\StandardEndpointElement.cs (2)
37if (String.IsNullOrEmpty(value)) 39value = String.Empty;
System\ServiceModel\Configuration\StandardEndpointsSection.cs (2)
217if (!String.IsNullOrEmpty(endpoint)) 238if (!String.IsNullOrEmpty(endpointConfiguration))
System\ServiceModel\Configuration\TcpConnectionPoolSettingsElement.cs (2)
27if (String.IsNullOrEmpty(value)) 29value = String.Empty;
System\ServiceModel\Configuration\TransportConfigurationTypeElement.cs (6)
19if (String.IsNullOrEmpty(name)) 29if (String.IsNullOrEmpty(transportConfigurationTypeName)) 43if (String.IsNullOrEmpty(value)) 45value = String.Empty; 59if (String.IsNullOrEmpty(value)) 61value = String.Empty;
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (3)
57protected override bool SerializeToXmlElement(XmlWriter writer, String elementName) 66WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:binding name='{0}'>", this.wsdlBinding.Name), indent, writer, settings); 77WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:operation name='{0}'>", operation.Name), indent, writer, settings);
System\ServiceModel\Configuration\UserNameServiceElement.cs (4)
44if (String.IsNullOrEmpty(value)) 46value = String.Empty; 59if (String.IsNullOrEmpty(value)) 61value = String.Empty;
System\ServiceModel\Configuration\UserPrincipalNameElement.cs (3)
23public String Value 28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\WsdlImporterElement.cs (2)
37if (String.IsNullOrEmpty(value)) 39value = String.Empty;
System\ServiceModel\Configuration\WSHttpTransportSecurityElement.cs (2)
49if (String.IsNullOrEmpty(value)) 51value = String.Empty;
System\ServiceModel\Configuration\X509CertificateTrustedIssuerElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\X509ClientCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 31value = String.Empty;
System\ServiceModel\Configuration\X509ClientCertificateCredentialsElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\X509DefaultServiceCertificateElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\X509InitiatorCertificateClientElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\X509PeerCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 31value = String.Empty;
System\ServiceModel\Configuration\X509PeerCertificateElement.cs (2)
27if (String.IsNullOrEmpty(value)) 29value = String.Empty;
System\ServiceModel\Configuration\X509RecipientCertificateServiceElement.cs (2)
28if (String.IsNullOrEmpty(value)) 30value = String.Empty;
System\ServiceModel\Configuration\X509ScopedServiceCertificateElement.cs (2)
35if (String.IsNullOrEmpty(value)) 37value = String.Empty;
System\ServiceModel\Configuration\X509ServiceCertificateAuthenticationElement.cs (2)
29if (String.IsNullOrEmpty(value)) 31value = String.Empty;
System\ServiceModel\Configuration\XmlElementElement.cs (3)
69protected override bool SerializeToXmlElement(XmlWriter writer, String elementName) 74if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal)) 84if (!String.Equals(elementName, ConfigurationStrings.XmlElement, StringComparison.Ordinal))
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (4)
31string nodeQuotaStringValue = String.Empty; 69if (String.IsNullOrEmpty(filterString)) 90if (!String.IsNullOrEmpty(nodeQuotaStringValue)) 103protected override bool SerializeToXmlElement(XmlWriter writer, String elementName)
System\ServiceModel\Configuration\XPathMessageFilterElementCollection.cs (1)
127if (String.Equals(oldKey, newKey, StringComparison.Ordinal))
System\ServiceModel\Configuration\XPathMessageFilterElementComparer.cs (5)
22return String.Compare(elementKey1, elementKey2, StringComparison.Ordinal); 39string retVal = String.Empty; 50if (!String.IsNullOrEmpty(nsPrefix)) 53if (!String.IsNullOrEmpty(ns)) 94if (String.IsNullOrEmpty(elementKey))
System\ServiceModel\Description\ClientClassGenerator.cs (10)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 424if (String.Compare(operationContext.SyncMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 428if (String.Compare(operationContext.BeginMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 430if (String.Compare(operationContext.EndMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 435if (String.Compare(operationContext.TaskMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 445if (String.Compare(method.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 450if (String.Compare(p.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 937String.Compare(interfaceName, 0, Strings.InterfaceTypePrefix, 0, Strings.InterfaceTypePrefix.Length, StringComparison.Ordinal) == 0 && 996return method.ReturnType == null || String.Compare(method.ReturnType.BaseType, typeof(void).FullName, StringComparison.Ordinal) == 0;
System\ServiceModel\Description\ConfigLoader.cs (8)
471if (String.IsNullOrEmpty(endpointElement.Kind)) 615string endpointConfiguration = channelEndpointElement.EndpointConfiguration ?? String.Empty; 684if (retval == null && String.IsNullOrEmpty(endpointConfiguration)) 788string endpointConfiguration = serviceEndpointElement.EndpointConfiguration ?? String.Empty; 857if (retval == null && String.IsNullOrEmpty(endpointConfiguration)) 1027internal static ProtocolMappingItem LookupProtocolMapping(String scheme) 1394if (contractName == String.Empty) 1459return String.Equals(endpointConfigurationName, "*", StringComparison.Ordinal);
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
199Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)); 201throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)));
System\ServiceModel\Description\DispatcherBuilder.cs (1)
559listenUriRelativeAddress = String.Empty;
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Each set must have at least one item in it")));
System\ServiceModel\Description\MessageContractExporter.cs (3)
543string faultNameBase = String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_{2}_FaultMessage", portTypeName, operationName, faultName); 586if (String.IsNullOrEmpty(typeName.Name)) 1219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Header cannot be Document Wrapped")));
System\ServiceModel\Description\MessageContractImporter.cs (6)
171Dictionary<String, String> ht = new Dictionary<string, string>(2) 1467return new XmlQualifiedName(part.Name, String.Empty); 1491bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.Name, String.Empty) : new MessagePartDescription(part.Name, String.Empty); 1557internal const String FailedReferenceTypeExceptionKey = "System.Runtime.Serialization.FailedReferenceType";
System\ServiceModel\Description\MetadataExchangeBindings.cs (4)
134if (String.Compare(scheme, "http", StringComparison.OrdinalIgnoreCase) == 0) 138else if (String.Compare(scheme, "https", StringComparison.OrdinalIgnoreCase) == 0) 142else if (String.Compare(scheme, "net.tcp", StringComparison.OrdinalIgnoreCase) == 0) 146else if (String.Compare(scheme, "net.pipe", StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\MetadataExchangeClient.cs (3)
592if (!String.IsNullOrEmpty(external.SchemaLocation)) 607if (!String.IsNullOrEmpty(import.Location)) 1349if (String.IsNullOrEmpty(contentTypeStr))
System\ServiceModel\Description\MetadataSet.cs (3)
347WriteAttribute(@"Dialect", @"", ((global::System.String)o.@Dialect)); 348WriteAttribute(@"Identifier", @"", ((global::System.String)o.@Identifier)); 414WriteValue(((global::System.String)o.@Location));
System\ServiceModel\Description\OperationGenerator.cs (10)
423Fx.Assert(System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(name), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", name)); 488if (String.Compare(name, methodName, StringComparison.OrdinalIgnoreCase) == 0) 517if (String.Compare(parameter.Name, name, StringComparison.OrdinalIgnoreCase) == 0) 590Fx.Assert(String.IsNullOrEmpty(typeName) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(typeName), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", typeName)); 913if (!String.Equals(parent.Request.Body.WrapperName, defaultName.EncodedName, StringComparison.Ordinal)) 921if (!String.Equals(parent.Response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal)) 950return overrideValue == null || String.Equals(overrideValue, defaultValue, StringComparison.Ordinal); 997return String.Compare(a.Name, b.Name, StringComparison.Ordinal); 1037Fx.Assert(String.Format(System.Globalization.CultureInfo.InvariantCulture, "Attribute generation is not supported for argument type {0}", type));
System\ServiceModel\Description\SchemaHelper.cs (2)
75if (ns == null) { ns = String.Empty; } 98return String.Empty;
System\ServiceModel\Description\ServiceContractGenerator.cs (6)
80if (String.Compare(existingName, assemblyName, StringComparison.OrdinalIgnoreCase) == 0) 732int i = String.CompareOrdinal(p1.Namespace, p2.Namespace); 735i = String.CompareOrdinal(p1.Name, p2.Name); 769string target = String.Empty; 779return String.Empty; 819CodeTypeReference codeTypeReference = new CodeTypeReference(String.IsNullOrEmpty(codeNamespace.Name) ? codeType.Name : codeNamespace.Name + '.' + codeType.Name);
System\ServiceModel\Description\ServiceDescription.cs (3)
33internal ServiceDescription(String serviceName) 35if (String.IsNullOrEmpty(serviceName)) 132if (String.IsNullOrEmpty(serviceBehavior.ConfigurationName))
System\ServiceModel\Description\ServiceEndpoint.cs (1)
109return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
24static readonly Uri emptyUri = new Uri(String.Empty, UriKind.Relative);
System\ServiceModel\Description\ServiceMetadataExtension.cs (23)
27static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.Relative); 827if (String.Compare(query, HealthQueryString, StringComparison.OrdinalIgnoreCase) != 0) 848if (String.IsNullOrEmpty(query)) 892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table"))); 898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table"))); 909if (String.Compare(query, WsdlQueryString, StringComparison.OrdinalIgnoreCase) == 0) 936if (String.Compare(query, SingleWsdlQueryString, StringComparison.OrdinalIgnoreCase) == 0) 993if (String.Compare(q, start, WsdlQueryString, 0, WsdlQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0) 995else if (String.Compare(q, start, XsdQueryString, 0, XsdQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0) 997else if (String.Compare(q, start, SingleWsdlQueryString, 0, SingleWsdlQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0) 999else if (String.Compare(q, start, HealthQueryString, 0, HealthQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0) 1001else if (parent.HelpPageEnabled && (String.Compare(q, start, DiscoQueryString, 0, DiscoQueryString.Length, StringComparison.OrdinalIgnoreCase) == 0)) 1197if (!String.IsNullOrEmpty(import.Location)) continue; 1199WsdlNS.ServiceDescription targetDoc = this.wsdls[import.Namespace ?? String.Empty]; 1221if (external == null || !String.IsNullOrEmpty(external.SchemaLocation)) continue; 1225foreach (XmlSchema targetXsd in this.xsds.Schemas(targetNs ?? String.Empty)) 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)) 1630writer.WriteRaw(String.Format(CultureInfo.InvariantCulture, 1635writer.WriteRaw(String.Format(CultureInfo.InvariantCulture, 1892text = String.Empty;
System\ServiceModel\Description\ServiceReflector.cs (4)
30if (Uri.IsWellFormedUriString(path, UriKind.Absolute) || path == String.Empty) 89return new XmlName(String.IsNullOrEmpty(name) ? logicalMethodName : name); 109if (String.IsNullOrEmpty(contractName.Namespace)) 140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Cannot generate unique name for name {0}", baseName)));
System\ServiceModel\Description\TypedMessageConverter.cs (4)
34public static TypedMessageConverter Create(Type messageContract, String action, String defaultNamespace, XmlSerializerFormatAttribute formatterAttribute) 45public static TypedMessageConverter Create(Type messageContract, String action, String defaultNamespace, DataContractFormatAttribute formatterAttribute)
System\ServiceModel\Description\TypeLoader.cs (1)
625String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (2)
90if (String.IsNullOrEmpty(identifier)) 153if (String.Compare(codeType.Name, typeName, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\WsdlExporter.cs (2)
975throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "You must pass at least one namespaceScope"))); 1216endpointIdentifier = String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Description\WsdlImporter.cs (11)
1796wsdlNs = ((WsdlNS.ServiceDescription)item).TargetNamespace ?? String.Empty; 1801wsdlNs = ((WsdlNS.PortType)item).ServiceDescription.TargetNamespace ?? String.Empty; 1806wsdlNs = ((WsdlNS.Binding)item).ServiceDescription.TargetNamespace ?? String.Empty; 1811wsdlNs = ((WsdlNS.ServiceDescription)item).TargetNamespace ?? String.Empty; 1816wsdlNs = ((WsdlNS.Service)item).ServiceDescription.TargetNamespace ?? String.Empty; 1821wsdlNs = ((WsdlNS.Message)item).ServiceDescription.TargetNamespace ?? String.Empty; 1828wsdlNs = wsdlService.ServiceDescription.TargetNamespace ?? String.Empty; 1836wsdlNs = wsdlPortType.ServiceDescription.TargetNamespace ?? String.Empty; 1844wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.TargetNamespace ?? String.Empty; 1851wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.TargetNamespace ?? String.Empty; 2337if (String.IsNullOrEmpty(key))
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
337if (String.IsNullOrEmpty(anyElement.Name)) 1020if (member.XmlAttributes.XmlArray.ElementName == String.Empty) 1048if (elementAttribute.ElementName == String.Empty)
System\ServiceModel\Diagnostics\CollectionTraceRecord.cs (2)
20this.collectionName = String.IsNullOrEmpty(collectionName) ? "Elements" : collectionName; 21this.elementName = String.IsNullOrEmpty(elementName) ? "Element" : elementName;
System\ServiceModel\Diagnostics\EndpointPerformanceCountersBase.cs (1)
83return String.Format("{0}.{1}@{2}", service, contract, uri);
System\ServiceModel\Diagnostics\MessageLogger.cs (2)
380if (String.IsNullOrEmpty(action)) 388if (0 == String.CompareOrdinal(action, securityAction))
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
208if (0 == String.CompareOrdinal(reader.LocalName, "Header"))
System\ServiceModel\Diagnostics\OperationPerformanceCountersBase.cs (1)
79return String.Format("{0}.{1}.{2}@{3}", service, contract, operation, uri);
System\ServiceModel\Diagnostics\PerformanceCounters.cs (3)
404if (!String.IsNullOrEmpty(id)) 414if (!String.IsNullOrEmpty(baseId)) 855if (!String.IsNullOrEmpty(uri))
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (7)
38return String.Format("{0}{1}", instanceName, StringUtil.GetNonRandomizedHashCode(fullInstanceName).ToString("X", CultureInfo.InvariantCulture)); 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 (4)
24String traceName; 25internal SecurityTraceRecord(String traceName) 27if (String.IsNullOrEmpty(traceName)) 900if (!String.IsNullOrEmpty(action))
System\ServiceModel\Diagnostics\ServicePerformanceCountersBase.cs (1)
162return String.Format("{0}@{1}", serviceName, uri);
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\Dispatcher\ChannelHandler.cs (1)
428throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "No DispatchOperationRuntime found to process message.")));
System\ServiceModel\Dispatcher\FlowThrottle.cs (4)
24String propertyName; 25String configName; 30internal FlowThrottle(WaitCallback release, int capacity, String propertyName, String configName)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
782SR.GetString(SR.TraceCodeServiceOperationMissingReply, rpc.Operation.Name ?? String.Empty), 789SR.GetString(SR.TraceCodeServiceOperationMissingReplyContext, rpc.Operation.Name ?? String.Empty),
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (1)
481return (String.CompareOrdinal(message.Headers.Action, action) == 0);
System\ServiceModel\Dispatcher\QuotaThrottle.cs (1)
38internal String Owner
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (9)
456if (String.CompareOrdinal(this.dom.nodes[a].name, name) == 0 && String.CompareOrdinal(this.dom.nodes[a].ns, ns) == 0) 513if (String.CompareOrdinal(this.dom.nodes[ns].name, name) == 0) 710if (String.CompareOrdinal(this.dom.nodes[n].name, localName) == 0 && 711String.CompareOrdinal(this.dom.nodes[n].ns, namespaceURI) == 0) 884if ((nodeName.Length > 0 || nodeVal.Length > 0) && String.CompareOrdinal(nodeName, name) == 0) 1525if (String.CompareOrdinal(nodeName, XmlP) == 0) 1909if (String.CompareOrdinal(name, XmlP) == 0 || String.CompareOrdinal(name, XmlnsP) == 0)
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
53String.Format(Globalization.CultureInfo.CurrentCulture, SR.GetString(resource), name, binding.Name)));
System\ServiceModel\DuplexChannelFactory.cs (5)
26public DuplexChannelFactory(Type callbackInstanceType, Binding binding, String remoteAddress) 49public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, String remoteAddress) 126public DuplexChannelFactory(object callbackObject, Binding binding, String remoteAddress) 272public static TChannel CreateChannel(object callbackObject, String endpointConfigurationName) 287public static TChannel CreateChannel(InstanceContext callbackInstance, String endpointConfigurationName)
System\ServiceModel\ExceptionMapper.cs (2)
39return FromException(ex, String.Empty, String.Empty);
System\ServiceModel\FaultException.cs (1)
455return SR.GetString(SR.SFxFaultExceptionToString3, this.GetType(), this.Message, this.detail != null ? this.detail.ToString() : String.Empty);
System\ServiceModel\InvalidMessageContractException.cs (2)
17public InvalidMessageContractException(String message) 22public InvalidMessageContractException(String message, Exception innerException)
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\EncryptedHeader.cs (1)
89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MessageHeaderVersionNotSupported, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.Namespace, this.Name), version.ToString()), "version"));
System\ServiceModel\Security\ExpiredSecurityTokenException.cs (2)
21public ExpiredSecurityTokenException(String message) 26public ExpiredSecurityTokenException(String message, Exception innerException)
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (3)
129if ( String.IsNullOrEmpty( tokenType ) ) 597return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName{1}", listenUri.Scheme, listenUri.AbsolutePath ); 601return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName:{1}{2}", listenUri.Scheme, listenUri.Port, listenUri.AbsolutePath );
System\ServiceModel\Security\IdentityVerifier.cs (1)
98void EnsureIdentity(EndpointAddress serviceReference, AuthorizationContext authorizationContext, String errorString)
System\ServiceModel\Security\InfoCardHelper.cs (1)
577Fx.Assert(!String.IsNullOrEmpty(errorString), "Must have an error string");
System\ServiceModel\Security\IssuedTokensHeader.cs (1)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "tokenIssuances[{0}]", index));
System\ServiceModel\Security\MessagePartSpecification.cs (1)
204if (String.IsNullOrEmpty(qname.Name))
System\ServiceModel\Security\MessageSecurityException.cs (3)
30public MessageSecurityException(String message) 35public MessageSecurityException(String message, Exception innerException) 51internal MessageSecurityException(String message, bool isReplay)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
843string primaryIdentity = (negotiationState != null) ? negotiationState.GetRemoteIdentityName() : String.Empty;
System\ServiceModel\Security\NegotiationTokenAuthenticatorState.cs (1)
69return String.Empty;
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (1)
94if (!String.IsNullOrEmpty(strId))
System\ServiceModel\Security\RequestSecurityToken.cs (1)
274throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index)));
System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "rstrCollection[{0}]", index));
System\ServiceModel\Security\SctClaimDictionary.cs (1)
130this.emptyString = this.Add(String.Empty);
System\ServiceModel\Security\SctClaimSerializer.cs (9)
41return String.IsNullOrEmpty(right) ? Rights.PossessProperty : right; 188writer.WriteElementString(dictionary.SystemClaimSet, dictionary.EmptyString, String.Empty); 192writer.WriteElementString(dictionary.WindowsClaimSet, dictionary.EmptyString, String.Empty); 196writer.WriteElementString(dictionary.AnonymousClaimSet, dictionary.EmptyString, String.Empty); 443if (!String.IsNullOrEmpty(authenticationType)) 453if (!String.IsNullOrEmpty(wsid.AuthenticationType)) 462if (!String.IsNullOrEmpty(genericIdentity.AuthenticationType)) 507identity = new WindowsSidIdentity(sid, name, authenticationType ?? String.Empty); 515identity = SecurityUtils.CreateIdentity(name, authenticationType ?? String.Empty);
System\ServiceModel\Security\SecurityAccessDeniedException.cs (2)
18public SecurityAccessDeniedException(String message) 23public SecurityAccessDeniedException(String message, Exception innerException)
System\ServiceModel\Security\SecurityNegotiationException.cs (2)
18public SecurityNegotiationException(String message) 23public SecurityNegotiationException(String message, Exception innerException)
System\ServiceModel\Security\SecurityPolicyVersion.cs (6)
14readonly String spNamespace; 15readonly String prefix; 17internal SecurityPolicyVersion(String ns, String prefix) 23public String Namespace 31public String Prefix
System\ServiceModel\Security\SecuritySessionFilter.cs (3)
20static readonly string SessionContextIdsProperty = String.Format(CultureInfo.InvariantCulture, "{0}/SecuritySessionContextIds", DotNetSecurityStrings.Namespace); 56if (String.Equals(action, excludedActions[i], StringComparison.Ordinal)) 247Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Unknown filter type {0}", filter.GetType()));
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
169if (String.IsNullOrEmpty(actor))
System\ServiceModel\Security\SecurityUtils.cs (17)
363anonymousIdentity = SecurityUtils.CreateIdentity(String.Empty); 445identity = EndpointIdentity.CreateSpnIdentity(String.Format(CultureInfo.InvariantCulture, "host/{0}", DnsCache.MachineName)); 745spn = String.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource); 999return String.Empty; 1052return str.Length <= 0 ? String.Empty : str.ToString(); 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); 1961String.IsNullOrEmpty(UnsafeGetUsername(credential)) && 1962String.IsNullOrEmpty(UnsafeGetDomain(credential)) && 1963String.IsNullOrEmpty(UnsafeGetPassword(credential)) 2315if ((Environment.OSVersion.ServicePack == string.Empty) || String.Equals(Environment.OSVersion.ServicePack, ServicePack1, StringComparison.OrdinalIgnoreCase) || String.Equals(Environment.OSVersion.ServicePack, ServicePack2, StringComparison.OrdinalIgnoreCase)) 2327if (Environment.OSVersion.ServicePack == string.Empty || String.Equals(Environment.OSVersion.ServicePack, ServicePack1, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Security\SecurityVersion.cs (1)
128if (headerIndex < 0 && String.IsNullOrEmpty(actor))
System\ServiceModel\Security\SessionKeyExpiredException.cs (2)
22public SessionKeyExpiredException(String message) 27public SessionKeyExpiredException(String message, Exception innerException)
System\ServiceModel\Security\SpnegoTokenProvider.cs (1)
73String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.SpnegoImpersonationLevelCannotBeSetToNone))));
System\ServiceModel\Security\TlsnegoTokenProvider.cs (2)
80tlsNegotiation = new TlsSspiNegotiation(String.Empty, SchProtocols.Ssl3Client | SchProtocols.TlsClient, clientCertificate); 85tlsNegotiation = new TlsSspiNegotiation(String.Empty, protocol, clientCertificate);
System\ServiceModel\Security\TlsSspiNegotiation.cs (2)
321return String.Empty; 326return String.Empty;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (17)
23static readonly string wsidPPIClaim = String.Format(CultureInfo.InvariantCulture, "{0}/claims/privatepersonalidentifier", wsidNamespace); 277if (String.IsNullOrEmpty(optional)) 542string encryptionAlgorithm = String.Empty; 545string canonicalizationAlgoritm = String.Empty; 920sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "TokenType: {0}", this.tokenType == null ? "null" : this.tokenType)); 921sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", this.keyType.ToString())); 922sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", this.keySize.ToString(CultureInfo.InvariantCulture))); 923sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", this.issuerAddress == null ? "null" : this.issuerAddress.ToString())); 924sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", this.issuerMetadataAddress == null ? "null" : this.issuerMetadataAddress.ToString())); 925sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", this.defaultMessageSecurityVersion == null ? "null" : this.defaultMessageSecurityVersion.ToString())); 926sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", this.useStrTransform.ToString())); 930sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding: null")); 934sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding:")); 938sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture))); 945sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements: none")); 949sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements:")); 952sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", this.claimTypeRequirements[i].ClaimType, this.claimTypeRequirements[i].IsOptional));
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (3)
212sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.requireCancellation.ToString())); 215sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement: null")); 219sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement:"));
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", this.contextId, this.keyGeneration);
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (2)
23string endpointId = String.Empty; 85return new SessionSecurityToken(claimsPrincipal, sct.ContextId, sct.Id, String.Empty, sct.GetKeyBytes(), endpointId, sct.ValidFrom, sct.ValidTo, sct.KeyGeneration, sct.KeyEffectiveTime, sct.KeyExpirationTime, sctAuthPolicy, new Uri(version.Namespace.Value));
System\ServiceModel\Security\Tokens\SecurityContextTokenValidationException.cs (2)
19public SecurityContextTokenValidationException(String message) 24public SecurityContextTokenValidationException(String message, Exception innerException)
System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (4)
197sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 198sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "InclusionMode: {0}", this.inclusionMode.ToString())); 199sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ReferenceStyle: {0}", this.referenceStyle.ToString())); 200sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireDerivedKeys: {0}", this.requireDerivedKeys.ToString()));
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (4)
236sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 240sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyName: {0}", propertyName)); 241sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyValue: {0}", propertyValue)); 242sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "---"));
System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (2)
132sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString())); 133sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireClientCertificate: {0}", this.RequireClientCertificate.ToString()));
System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
112sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString()));
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (4)
121sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Endorsing[{0}]", k.ToString(CultureInfo.InvariantCulture))); 130sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Signed[{0}]", k.ToString(CultureInfo.InvariantCulture))); 139sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEncrypted[{0}]", k.ToString(CultureInfo.InvariantCulture))); 148sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEndorsing[{0}]", k.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\Tokens\WindowsSidIdentity.cs (1)
24this.authenticationType = String.Empty;
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
146sb.Append(String.Format(CultureInfo.InvariantCulture, "X509ReferenceStyle: {0}", this.x509ReferenceStyle.ToString()));
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
228if (String.IsNullOrEmpty(actor))
System\ServiceModel\Security\WindowsSspiNegotiation.cs (1)
247return String.Empty;
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 (2)
1930if (String.IsNullOrEmpty(optionalAttribute)) 2975return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}",
System\ServiceModel\Security\WSTrust.cs (1)
967if (!String.IsNullOrEmpty(strId))
System\ServiceModel\Security\WSTrustChannel.cs (1)
556|| String.IsNullOrEmpty(keyType))
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
225writer.WriteElementString(this.DriverDictionary.RequestedTokenClosed, this.DriverDictionary.Namespace, String.Empty);
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\Security\X509ClientCertificateAuthentication.cs (1)
296return String.Empty;
System\ServiceModel\ServiceAuthenticationManager.cs (1)
96!String.IsNullOrEmpty(message.Headers.Action) &&
System\ServiceModel\ServiceHost.cs (1)
637internal static String GetBaseAddressSchemes(UriSchemeKeyedCollection uriSchemeKeyedCollection)
System\ServiceModel\Syndication\FeedUtils.cs (1)
20error = String.Format(CultureInfo.InvariantCulture, "{0} {1}", SR.GetString(SR.ErrorInLine, lineInfo.LineNumber, lineInfo.LinePosition), SR.GetString(error));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
54return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (2)
46public abstract String Version 55return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\UriTemplate.cs (2)
624if (!String.Equals(originalHostHeader, host, StringComparison.OrdinalIgnoreCase)) 626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
System\UriTemplateTable.cs (1)
166Collection<String> relativeSegments;
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\ServiceParser.cs (1)
462string ret = String.Empty;
System\ServiceModel\Activation\ServiceRoute.cs (1)
46|| routePrefix.Equals(String.Empty, StringComparison.CurrentCultureIgnoreCase))
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (2)
82string serviceNamespace = String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath)); 126String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath))));
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1230normalizedVirtualPath = String.Format(CultureInfo.CurrentCulture, "{0}{1}", pathSegment, fileName);
System.ServiceModel.Activities (40)
System\ServiceModel\Activities\Configuration\EtwTrackingBehaviorElement.cs (1)
57properties.Add(new ConfigurationProperty(profileNameParameter, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Configuration\WorkflowInstanceManagementElement.cs (1)
65properties.Add(new ConfigurationProperty(authorizedWindowsGroup, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, int.MaxValue, null), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
205if (String.IsNullOrEmpty(action)) 693noActionQuery.Where = new CorrelationActionMessageFilter { Action = String.Empty };
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
334if (targetMessage.Body.WrapperName != null && targetMessage.Body.WrapperName != String.Empty) 339if (targetMessage.Body.WrapperNamespace != null && targetMessage.Body.WrapperNamespace != String.Empty)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
231noActionReplyQuery = CorrelationQuery.FindCorrelationQueryForAction(this.queries, String.Empty); 290noActionReplyQuery = CreateDefaultCorrelationQuery(noActionReplyQuery, String.Empty, data, ref shouldPreserveMessage);
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
593new WorkflowApplicationAbortedException(!String.IsNullOrEmpty(reason) ? reason : SR.DefaultAbortReason),
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (4)
1151Fx.Assert(!String.IsNullOrEmpty(reason), "reason string must not be null or empty!"); 5655Fx.Assert(instance != null, String.Empty); 5783Fx.Assert(this.timeToUnload > this.timeToPersist, String.Empty); 5793Fx.Assert(timer != null && ts >= TimeSpan.Zero, String.Empty);
System\ServiceModel\Activities\InternalSendMessage.cs (1)
1500String contextValue;
System\ServiceModel\Activities\ReceiveReply.cs (1)
131MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, true, this.DisplayName, (this.Request != null ? this.Request.OperationName : String.Empty));
System\ServiceModel\Activities\SendReply.cs (1)
133MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, true, this.DisplayName, (this.Request != null ? this.Request.OperationName : String.Empty));
System\ServiceModel\Activities\Tracking\Configuration\ActivityScheduledQueryElement.cs (2)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 25properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ChildActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\ActivityStateQueryElement.cs (1)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\AnnotationElement.cs (2)
23properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Value, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired));
System\ServiceModel\Activities\Tracking\Configuration\ArgumentElement.cs (1)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\BookmarkResumptionQueryElement.cs (1)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), "*", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\CancelRequestedQueryElement.cs (2)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 25properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ChildActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Tracking\Configuration\CustomTrackingQueryElement.cs (2)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), "*", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 25properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\FaultPropagationQueryElement.cs (2)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.FaultSourceActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey)); 25properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.FaultHandlerActivityName, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\ProfileElement.cs (1)
26properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\ProfileWorkflowElement.cs (1)
25properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.ActivityDefinitionId, typeof(System.String), "*", null, new System.Configuration.StringValidator(1, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\StateElement.cs (1)
23properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), "*", null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\Tracking\Configuration\TrackingConfigurationElement.cs (1)
22return String.Format(CultureInfo.InvariantCulture, "{0}-{1}{2}",
System\ServiceModel\Activities\Tracking\Configuration\VariableElement.cs (1)
24properties.Add(new ConfigurationProperty(TrackingConfigurationStrings.Name, typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey));
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
410ServiceEndpoint endpoint = AddServiceEndpoint(contractName, defaultBinding, String.Empty);
System\ServiceModel\CorrelationQuery.cs (1)
104string localAction = action != null ? action : String.Empty;
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (4)
40String stringValue = value as String; 47if (stringValue == String.Empty) 97if (String.IsNullOrEmpty(prefix))
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
328if (!String.Equals(this.MulticastInterfaceId, udpTransport.MulticastInterfaceId, StringComparison.OrdinalIgnoreCase))
System\ServiceModel\Configuration\Properties.cs (2)
43properties.Add(new ConfigurationProperty("multicastInterfaceId", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None)); 96properties.Add(new ConfigurationProperty("multicastInterfaceId", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Discovery (6)
System\ServiceModel\Discovery\Configuration\AnnouncementEndpointElement.cs (2)
110if (!String.IsNullOrEmpty(channelEndpointElement.Contract)) 118if (!String.IsNullOrEmpty(serviceEndpointElement.Contract))
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (2)
29if (!(channelEndpointElement.Address == null || String.IsNullOrEmpty(channelEndpointElement.Address.ToString()))) 38if (!(serviceEndpointElement.Address == null || String.IsNullOrEmpty(serviceEndpointElement.Address.ToString())))
System\ServiceModel\Discovery\Configuration\DiscoveryEndpointElement.cs (2)
134if (!String.IsNullOrEmpty(channelEndpointElement.Contract)) 142if (!String.IsNullOrEmpty(serviceEndpointElement.Contract))
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
349return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
System\Runtime\Diagnostics\EventLogger.cs (1)
97stringValue = String.Empty;
System\Runtime\Interop\UnsafeNativeMethods.cs (1)
22public const String ADVAPI32 = "advapi32.dll";
System.ServiceModel.WasHosting (1)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (1)
631if (String.Equals((string)element[attributeName], value, StringComparison.OrdinalIgnoreCase))
System.ServiceModel.Web (53)
SR.cs (2)
33string resourceSet = String.Empty; 51String localizedString = rm.GetString(value);
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (4)
91!String.IsNullOrEmpty(this.JavascriptResponseMessageProperty.CallbackFunctionName)) 96byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)this.JavascriptResponseMessageProperty.StatusCode)); 153!String.IsNullOrEmpty(this.JavascriptResponseMessageProperty.CallbackFunctionName)) 155byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", this.JavascriptResponseMessageProperty.CallbackFunctionName));
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (4)
323&& !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 329byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", javascriptResponseMessageProperty.CallbackFunctionName)); 338&& !String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 342byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)javascriptResponseMessageProperty.StatusCode));
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (1)
72return String.Format(CultureInfo.InvariantCulture, SR2.GetString(SR2.WebBodyFormatPropertyToString, this.Format.ToString()));
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (6)
271!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 279!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 311!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 320!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 484!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName)) 495!String.IsNullOrEmpty(javascriptResponseMessageProperty.CallbackFunctionName))
System\ServiceModel\Configuration\WebHttpBindingElement.cs (2)
131if (String.IsNullOrEmpty(value)) 133value = String.Empty;
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (2)
103if (String.IsNullOrEmpty(value)) 105value = String.Empty;
System\ServiceModel\Configuration\WebMessageEncodingElement.cs (2)
59if (String.IsNullOrEmpty(value)) 61value = String.Empty;
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (2)
103if (String.IsNullOrEmpty(value)) 105value = String.Empty;
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (3)
86return !String.IsNullOrEmpty(GetJsonpCallbackParameterName()); 168return String.Empty; 204return String.Empty;
System\ServiceModel\Description\WebHttpBehavior.cs (3)
419return String.Empty; 1317if (!String.IsNullOrEmpty(callbackParameterName) && 1326if (!String.IsNullOrEmpty(callbackName))
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
46if (String.IsNullOrEmpty(proxy))
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
306metadataEndpointDispatcher.DispatchRuntime.SingletonInstanceContext = new InstanceContext(host, new WebScriptClientGenerator(endpoint, debugMode, !String.IsNullOrEmpty(this.JavascriptCallbackParameterName)));
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (6)
192if (String.IsNullOrEmpty(content)) 240if (contentElement.QualifiedName.Namespace != element.QualifiedName.Namespace && !String.IsNullOrEmpty(contentElement.QualifiedName.Namespace)) 248value = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, contentElement.QualifiedName.Name); 327if (String.IsNullOrEmpty(content)) 401context.writer.WriteString(String.Format(CultureInfo.InvariantCulture, "{0}:#{1}", derivedType.Name, derivedType.Namespace)); 538else if (!String.IsNullOrEmpty(value))
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (7)
72if (String.IsNullOrEmpty(description)) 80new XAttribute(HtmlHrefAttributeName, String.Format(CultureInfo.InvariantCulture, HelpOperationPageUrl, operationHelpInfo.Name)), operationHelpInfo.Method)), 85XElement td = new XElement(HtmlTdElementName, operationUri == lastOperation ? String.Empty : operationUri); 125if (!String.IsNullOrEmpty(operationInfo.JavascriptCallbackParameterName)) 170div.Add(new XElement(HtmlPElementName, error.StackTrace ?? String.Empty)); 185div.Add(new XElement(HtmlPElementName, error.StackTrace ?? String.Empty)); 358if (String.IsNullOrEmpty(title))
System\ServiceModel\Dispatcher\HelpPage.cs (2)
53if (String.IsNullOrEmpty(helpPage)) 68if (String.IsNullOrEmpty(helpPage))
System\ServiceModel\Dispatcher\NameValueCache.cs (1)
50if (!String.IsNullOrEmpty(currentKeys[nextAvailableCacheIndex]))
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
43this.defaultSupportedQueryStringTypes.Add(typeof(String), null);
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (1)
96if (String.Compare(key, kvp.Key, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Web\HttpDateParse.cs (1)
247internal static bool ParseHttpDate(String DateString, out DateTime dtOut)
System\ServiceModel\Web\WebOperationContext.cs (1)
341if (String.IsNullOrEmpty(operationName))
System.Transactions (13)
System\Transactions\Trace\DiagnosticTrace.cs (4)
276LogEvent(TraceEventType.Error, String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToCreateTraceSource), e), true); 281LogEvent(TraceEventType.Error, String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToInitializeTraceSource), e), true); 504message = String.Format(CultureInfo.CurrentCulture, "{0}: {1}\n{2}: {3}\n{4}", DiagnosticStrings.ProcessName, DiagnosticTrace.ProcessName, DiagnosticStrings.ProcessId, DiagnosticTrace.ProcessId, message); 569traceString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToTraceEvent), e, traceString != null ? traceString : "");
System\Transactions\Trace\PlainXmlWriter.cs (1)
199public override void WriteRaw(String data)
System\Transactions\TransactionException.cs (8)
41messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId); 109return new TransactionException(String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), message, distributedTxId)); 118messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId); 133messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId); 149messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId); 167messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId); 230String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), SR.GetString(SR.TransactionAborted), distributedTxId) 261messagewithTxId = String.Format(SR.GetString(SR.DistributedTxIDInTransactionException), messagewithTxId, distributedTxId);
System.Web (4635)
Abstractions\HttpRequestBase.cs (26)
23public virtual String[] AcceptTypes { 29public virtual String ApplicationPath { 37public virtual String AnonymousID { 43public virtual String AppRelativeCurrentExecutionFilePath { 82public virtual String ContentType { 97public virtual String CurrentExecutionFilePath { 109public virtual String FilePath { 136public virtual String HttpMethod { 182public virtual String Path { 188public virtual String PathInfo { 194public virtual String PhysicalApplicationPath { 200public virtual String PhysicalPath { 208public virtual String RawUrl { 229public virtual String RequestType { 280public virtual String UserAgent { 288public virtual String[] UserLanguages { 294public virtual String UserHostAddress { 300public virtual String UserHostName { 318public virtual String this[String key] { 354public virtual int[] MapImageCoordinates(String imageFieldName) { 358public virtual double[] MapRawImageCoordinates(String imageFieldName) { 362public virtual String MapPath(String virtualPath) { 366public virtual String MapPath(string virtualPath, string baseVirtualDir, bool allowCrossAppMapping) { 376public virtual void SaveAs(String filename, bool includeHeaders) {
Abstractions\HttpResponseBase.cs (17)
57public virtual String Charset { 171public virtual String RedirectLocation { 198public virtual String StatusDescription { 276public virtual void AddFileDependency(String filename) { 292public virtual void AddHeader(String name, String value) { 305public virtual void AppendHeader(String name, String value) { 311public virtual void AppendToLog(String param) { 371public virtual void Pics(String value) { 377public virtual void Redirect(String url) { 383public virtual void Redirect(String url, bool endResponse) { 429public virtual void RedirectPermanent(String url) { 435public virtual void RedirectPermanent(String url, bool endResponse) { 487public virtual void WriteFile(String filename) { 493public virtual void WriteFile(String filename, bool readIntoMemory) { 499public virtual void WriteFile(String filename, long offset, long size) {
Abstractions\HttpResponseWrapper.cs (2)
376public override void RedirectPermanent(String url) { 380public override void RedirectPermanent(String url, bool endResponse) {
Cache\CacheEntry.cs (3)
32internal CacheKey(String key, bool isPublic) { 53internal String Key { 128String key,
Cache\FileResponseElement.cs (3)
10private String _path; 14public String Path { get { return _path; } } 20public FileResponseElement(String path, long offset, long length) {
Cache\OutputCache.cs (19)
136private static OutputCacheProvider GetFragmentProvider(String providerName) { 289private static CachedVary UtcAdd(String key, CachedVary cachedVary) { 294private static ControlCachedVary UtcAdd(String key, ControlCachedVary cachedVary) { 379String kernelCacheUrl = cachedRawResponse._kernelCacheUrl; 430internal static void ThrowIfProviderNotFound(String providerName) { 469if (String.Compare(dep.GetUniqueID(), 0, depKey, idStartIndex, idLength, StringComparison.Ordinal) == 0) { 516internal static Object Get(String key) { 550internal static Object GetFragment(String key, String providerName) { 586internal static void Remove(String key, HttpContext context) { 617internal static void RemoveFromProvider(String key, String providerName) { 638internal static void RemoveFragment(String key, String providerName) { 653internal static void InsertFragment(String cachedVaryKey, ControlCachedVary cachedVary, 654String fragmentKey, PartialCachingCacheEntry fragment, 657String providerName) { 765internal static void InsertResponse(String cachedVaryKey, CachedVary cachedVary, 766String rawResponseKey, CachedRawResponse rawResponse,
Cache\OutputCacheEntry.cs (1)
18private String _statusDescription;
Cache\OutputCacheProvider.cs (4)
10public abstract Object Get(String key); 12public abstract Object Add(String key, Object entry, DateTime utcExpiry); 14public abstract void Set(String key, Object entry, DateTime utcExpiry); 16public abstract void Remove(String key);
Cache\SqlCacheDependency.cs (5)
428public DatabaseNotEnabledForNotificationException(String message) 452public TableNotEnabledForNotificationException(String message) 1507sqlCmd.CommandText = String.Format(CultureInfo.InvariantCulture, 1520sqlCmd.CommandText = String.Format(CultureInfo.InvariantCulture, 1539sqlCmd.CommandText = String.Empty;
CachedPathData.cs (11)
183if (!String.IsNullOrEmpty(physicalFilePath)) { 246if (!String.IsNullOrEmpty(physicalPath)) { 403throw new HttpException(404, String.Empty); 548internal void ValidatePath(String physicalPath) { 549if (String.IsNullOrEmpty(_physicalPath) && String.IsNullOrEmpty(physicalPath)) { 552if (!String.IsNullOrEmpty(_physicalPath) && !String.IsNullOrEmpty(physicalPath)) { 555if (0 == String.Compare(_physicalPath, 0, physicalPath, 0, physicalPath.Length, StringComparison.OrdinalIgnoreCase)) { 562&& (0 == String.Compare(_physicalPath, 0, physicalPath, 0, physicalPath.Length, StringComparison.OrdinalIgnoreCase))) { 569&& (0 == String.Compare(_physicalPath, 0, physicalPath, 0, _physicalPath.Length, StringComparison.OrdinalIgnoreCase))) {
Compilation\AssemblyBuilder.cs (9)
135foreach (String typeName in typeNames) { 286String filename; 412if (!String.IsNullOrEmpty(extension) && extension[0] == '.') { 549if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyFile)) { 559if (!String.IsNullOrEmpty(BuildManager.StrongNameKeyContainer)) { 734s_vbImportsString = String.Empty; 813CodeDomUtility.PrependCompilerOption(compilParams, "/nowarn:" + String.Join(";", noWarnStrings)); 838CodeDomUtility.PrependCompilerOption(compilParams, "/nowarn:" + String.Join(",", noWarnStrings)); 996fileNames = String.Format(CultureInfo.InstalledUICulture, SR.Resources.GetString(SR.Etw_Batch_Compilation, CultureInfo.InstalledUICulture), new object[1] {_buildProviders.Count});
Compilation\AssemblyResolver.cs (2)
82var fxPath35 = ToolLocationHelper.GetPathToDotNetFramework(TargetDotNetFrameworkVersion.Version35); 591return String.Empty;
Compilation\BaseCodeDomTreeGenerator.cs (2)
796String line = null; 842if (String.IsNullOrEmpty(virtualPath))
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
98String s) { 741String localVariableRef = null; 1039if (String.Compare(previousControlName, entry.ControlID, StringComparison.Ordinal) != 0) { 1682string value = String.Empty;
Compilation\BrowserCapabilitiesCompiler.cs (7)
43String publicKeyToken = BrowserCapabilitiesCodeGenerator.BrowserCapAssemblyPublicKeyToken; 216private static void AddStringToHashtable(OrderedDictionary table, object key, String content, bool before) { 235return list[0] as String; 245String parentName = bd.ParentName; 323String parentID = firstBrowserDefinition.ParentID; 415String parentID = firstDefaultBrowserDefinition.ParentID; 502String filePath = HostingEnvironment.MapPathInternal(virtualPath);
Compilation\BuildManager.cs (28)
99internal static String WebHashFilePath { 223private Dictionary<String, AssemblyReferenceInfo> _topLevelAssembliesIndexTable; 224private IDictionary<String, AssemblyReferenceInfo> TopLevelAssembliesIndexTable { get { return _topLevelAssembliesIndexTable; } } 226private Dictionary<String, String> _generatedFileTable; 227internal static Dictionary<String, String> GenerateFileTable { 230_theBuildManager._generatedFileTable = new Dictionary<String, String>(StringComparer.OrdinalIgnoreCase); 380if (String.IsNullOrEmpty(dependency)) { 537String.IsNullOrEmpty(AppSettings.PortableCompilationOutputSnapshotType)) { 736if (String.Compare(assemblyName, CodeDirectoryAssemblyName, 738String.Compare(assemblyName, ResourcesDirectoryAssemblyName, 740String.Compare(assemblyName, WebRefDirectoryAssemblyName, 742String.Compare(assemblyName, GlobalAsaxAssemblyName, 838Debug.Assert(!String.IsNullOrEmpty(path)); 839Debug.Assert(!assemblies.Any(String.IsNullOrEmpty)); 905string message = (e.InnerException != null ? e.InnerException.Message : String.Empty); 950if (attribute.Type != null && !String.IsNullOrEmpty(attribute.MethodName) && attribute.Type.Assembly == assembly) { 960(attribute.Type != null ? attribute.Type.FullName : String.Empty), 971Debug.Assert(!String.IsNullOrEmpty(methodName)); 1190new Dictionary<String, AssemblyReferenceInfo>(StringComparer.OrdinalIgnoreCase); 1568private const String CircularReferenceCheckerSlotName = "CircRefChk"; 1849foreach (String dependency in dependencies) { 1867private const String BatchCompilationSlotName = "BatchCompileChk"; 2077else if (String.Compare(virtualCodeDir.VirtualPathString, 0, 2087else if (String.Compare(virtualCodeDir.FileName, HttpRuntime.LocalResourcesDirectoryName, 3297String normalizedName = GetNormalizedCodeAssemblyName(name);
Compilation\BuildManagerHost.cs (15)
107internal void RegisterAssembly(String assemblyName, String assemblyLocation) { 128String assemblyLocation = (String)_assemblyCollection[e.Name]; 312Dictionary<String, String>.Enumerator e = BuildManager.GenerateFileTable.GetEnumerator(); 314KeyValuePair<String, String> pair = e.Current; 330internal String[] GetTopLevelAssemblyReferences(VirtualPath virtualPath) { 445foreach (String assemblyString in compilerParameters.ReferencedAssemblies) { 652String _virtualFileString = (String)_stringDictionary[virtualPath]; 686internal void RegisterVirtualFile(VirtualPath virtualPath, String virtualFileString) { 695String _virtualFileString; 697internal ClientVirtualFile(string virtualPath, String virtualFileString) : base(virtualPath) {
Compilation\BuildProvider.cs (1)
193if (String.IsNullOrEmpty(extension)) {
Compilation\BuildResult.cs (3)
322return String.Empty; 1257String _ccuPreservationFileName = pfr.GetAttribute(fileNameAttribute); 1307String ccuPreservationFileName = pfr.GetAttribute(fileNameAttribute);
Compilation\BuildResultCache.cs (3)
342String assemblyPath = Util.GetAssemblyCodeBase(assembly); 372var pdbPath = Path.ChangeExtension(f.FullName, ".pdb"); 751String hashDirPath = Path.GetDirectoryName(hashFilePath);
Compilation\ClientBuildManager.cs (4)
203if (!String.IsNullOrEmpty(appPhysicalTargetDir)) { 357public String[] GetTopLevelAssemblyReferences(string virtualPath) { 425string virtualPath, String virtualFileString, out Type codeDomProviderType, 440string virtualPath, String virtualFileString, out IDictionary linePragmasTable) {
Compilation\CompilationLock.cs (5)
25private String _name; 26private String _comment; 42internal CompilationMutex(String name, String comment) { 153private String MutexDebugName {
Compilation\CompilationUtil.cs (4)
162if (!String.IsNullOrWhiteSpace(ps.ControlBuilderInterceptorType)) { 246if (!String.IsNullOrEmpty(option)) { 354if (String.IsNullOrEmpty(compilerOptions)) 521var language = CodeDomProvider.GetLanguageFromExtension(extension);
Compilation\ConnectionStringsExpressionBuilder.cs (1)
29string name = String.Empty;
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\IImplicitResourceProvider.cs (1)
175string filter = String.Empty;
Compilation\MultiTargetingUtil.cs (2)
247var runtimeVersion = runtime.Major + "." + runtime.Minor + "." + runtime.Build; 254if (String.Equals(name.FullName, supportedName.FullName, StringComparison.OrdinalIgnoreCase)) {
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
59CodeSnippetTypeMember dummySnippet = new CodeSnippetTypeMember(String.Empty);
Compilation\PageCodeDomTreeGenerator.cs (1)
93new CodeArrayCreateExpression(typeof(String), virtualDependencies.Count);
Compilation\PageThemeBuildProvider.cs (2)
32internal virtual String AssemblyNamePrefix { 72internal override String AssemblyNamePrefix {
Compilation\PageThemeCodeDomTreeGenerator.cs (8)
133CodeMemberField field = new CodeMemberField(typeof(String[]), _linkedStyleSheetsVarName); 138foreach(String cssFile in _themeParser.CssFileList) { 142CodeArrayCreateExpression initExpr = new CodeArrayCreateExpression(typeof(String), cssFiles); 160AddMemberOverride(_linkedStyleSheetsPropertyName, typeof(String[]), accessExpr); 171AddMemberOverride(templateSourceDirectoryName, typeof(String), 216if (String.IsNullOrEmpty(skinID)) { 337public String SkinID { 338get { return _id == null? String.Empty : _id; }
Compilation\ResourceExpressionBuilder.cs (4)
186string s = o as String; 319return new ResourceExpressionFields(String.Empty, resourceKey); 336return String.Empty; 346return String.Empty;
Compilation\RouteUrlExpressionBuilder.cs (1)
46if (String.IsNullOrEmpty(expression))
Compilation\RouteValueExpressionBuilder.cs (2)
53if (controlType != null && !String.IsNullOrEmpty(propertyName)) { 69if (page == null || String.IsNullOrEmpty(key) || page.RouteData == null) {
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
155bindMethod.Statements.Add(new CodeMethodReturnStatement(new CodePrimitiveExpression(String.Empty)));
Compilation\TimeStampChecker.cs (1)
17internal const String CallContextSlotName = "TSC";
Compilation\WebReferencesBuildProvider.cs (2)
65ns = String.Empty; 83ns = String.Join(".", chunks);
Compilation\XsdBuildProvider.cs (1)
45String content = doc.OuterXml;
Configuration\AssemblyCollection.cs (2)
52public new AssemblyInfo this[String assemblyName] { 62public void Remove(String key) {
Configuration\AuthenticationConfig.cs (9)
47internal static String GetCompleteLoginUrl(HttpContext context, String loginUrl) { 48if (String.IsNullOrEmpty(loginUrl)) { 49return String.Empty; 59internal static bool AccessingLoginPage(HttpContext context, String loginUrl) { 60if (String.IsNullOrEmpty(loginUrl)) { 65if (String.IsNullOrEmpty(loginUrl)) { 75String requestPath = context.Request.Path; 83String decodedLoginUrl;
Configuration\AuthorizationRule.cs (12)
62private const String _strAnonUserTag = "?"; 63private const String _strAllUsersTag = "*"; 120if (!String.IsNullOrEmpty(role)) { 128if (!String.IsNullOrEmpty(user)) { 190__verbs = String.Empty; 193__roles = String.Empty; 196__users = String.Empty; 438internal int IsUserAllowed(IPrincipal user, String verb) { 497private bool FindVerb(String verb) { 503if (String.Equals(sVerb, verb, StringComparison.OrdinalIgnoreCase)) { 510private bool FindUser(StringCollection users, String principal) { 512if (String.Equals(user, principal, StringComparison.OrdinalIgnoreCase)) {
Configuration\AuthorizationRuleCollection.cs (2)
75return String.Empty; //_LookUpInElement_ 99internal bool IsUserAllowed(IPrincipal user, String verb) {
Configuration\AuthorizationSection.cs (1)
89internal bool IsUserAllowed(IPrincipal user, String verb) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (18)
241ServiceController controller = services.SingleOrDefault(s => String.Equals(s.ServiceName, "W3SVC", StringComparison.OrdinalIgnoreCase)); 271ProcessBrowserFiles(false, String.Empty); 392if (String.Compare(nodeName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 396if (String.Compare(nodeName, treeRootName, StringComparison.OrdinalIgnoreCase) == 0) { 424foreach (String filePath in _browserFileList) { 509ProcessCustomBrowserFiles(false, String.Empty); 662while(!String.Equals(directory.Parent.Name, browserDirInfo.Name)) { 921new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 941new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 971foreach(String header in _headers) { 983GenerateProcessMethod(bd, ctd, String.Empty); 1138CodeMethodReferenceExpression emptyCheckMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty"); 1183_headers.Add(String.Empty); 1191new CodeTypeReferenceExpression(typeof(String)), "Empty") })); 1341_headers.Add(String.Empty); 1344new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty") }))); 1457return GenerateTrackedSingleProcessCall(stmts, bd, cmm, String.Empty); 1479GenerateSingleProcessCall(bd, cmm, String.Empty);
Configuration\BrowserCapabilitiesFactoryBase.cs (4)
86bool isFilter1DefaultFilter = String.IsNullOrEmpty(filter1); 87bool isFilter2DefaultFilter = String.IsNullOrEmpty(filter2); 134foreach(String key in headers.Keys) { 155values[String.Empty] = HttpCapabilitiesDefaultProvider.GetUserAgent(request);
Configuration\BrowserDefinition.cs (11)
159String parentID = null; 383match = String.Empty; 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)) { 580foreach (String key in definition.Capabilities.Keys) { 585foreach (String key in definition.Adapters.Keys) {
Configuration\BufferModesCollection.cs (1)
46public void Remove(String s) {
Configuration\BufferModeSettings.cs (2)
102public BufferModeSettings(String name, int maxBufferSize, int maxFlushSize, 123public String Name {
Configuration\BuildProvider.cs (2)
50public BuildProvider(String extension, String type)
Configuration\BuildProviderCollection.cs (1)
66public void Remove(String name) {
Configuration\CapabilitiesAssignment.cs (2)
28internal String _var; 31internal CapabilitiesAssignment(String var, CapabilitiesPattern pat) {
Configuration\CapabilitiesPattern.cs (9)
27internal String[] _strings; 42_strings = new String[1]; 43_strings[0] = String.Empty; 48internal CapabilitiesPattern(String text) { 94_strings = (String[])strings.ToArray(typeof(String)); 101internal virtual String Expand(CapabilitiesState matchstate) { 103String result = null; 133return String.Empty;
Configuration\CapabilitiesState.cs (13)
71internal virtual String ResolveReference(String refname) { 73return String.Empty; 89return String.Empty; 101internal virtual String ResolveServerVariable(String varname) { 111internal virtual String ResolveVariable(String varname) { 112String result; 114result = (String)_values[varname]; 117return String.Empty; 122internal virtual void SetVariable(String varname, String value) {
Configuration\CapabilitiesUse.cs (4)
28internal String _var; 29internal String _as; 31internal CapabilitiesUse(String var, String asParam) {
Configuration\ClientTargetCollection.cs (3)
39public String[] AllKeys { 45public String GetKey(int index) { 46return (String)BaseGetKey(index);
Configuration\CompilationSection.cs (7)
106String.Empty, ConfigurationPropertyOptions.None); 160String.Empty, ConfigurationPropertyOptions.None); 168String.Empty, ConfigurationPropertyOptions.None); 444if (_assemblyPostProcessorType == null && !String.IsNullOrEmpty(AssemblyPostProcessorType)) { 799if (String.IsNullOrEmpty(Message)) { 814String source = ElementInformation.Properties["assemblies"].Source; 922if (_controlBuilderInterceptorType == null && !String.IsNullOrWhiteSpace(ControlBuilderInterceptorType)) {
Configuration\Compiler.cs (8)
31new ConfigurationProperty("language", typeof(string), String.Empty, ConfigurationPropertyOptions.None ); 33new ConfigurationProperty("extension", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 35new ConfigurationProperty("type", typeof(string), String.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 44new ConfigurationProperty(compilerOptionsAttribName, typeof(string), String.Empty, ConfigurationPropertyOptions.None); 61public Compiler(String compilerOptions, String extension, String language, String type, int warningLevel)
Configuration\CompilerCollection.cs (2)
109public String GetKey(int index) { 110return (String) BaseGetKey(index);
Configuration\CustomErrorCollection.cs (4)
39public String[] AllKeys { 42String[] stringKeys = new String[objAllKeys.Length]; 107public String GetKey(int index) {
Configuration\CustomErrorsSection.cs (7)
137internal String DefaultAbsolutePath { 147internal String GetRedirectString(int code) { 148String r = null; 186internal static String GetAbsoluteRedirect(String path, String basePath) { 188if (String.IsNullOrEmpty(basePath))
Configuration\DelayedRegex.cs (4)
23private String _regstring; 26internal DelayedRegex(String s) { 31internal Match Match(String s) { 36internal int GroupNumberFromName(String name) {
Configuration\EventMappingSettings.cs (7)
35private static readonly ConfigurationProperty _propType = new ConfigurationProperty("type", typeof(string), String.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 72public EventMappingSettings(String name, String type, int startEventCode, int endEventCode) 81public EventMappingSettings(String name, String type) 95public String Name { 105public String Type {
Configuration\EventMappingSettingsCollection.cs (3)
87public int IndexOf(String name) { 92public void Remove(String name) { 96public bool Contains(String name) {
Configuration\ExpressionBuilderCollection.cs (1)
66public void Remove(String name) {
Configuration\ExpressServerConfig.cs (10)
87return String.Empty; 135string appRootRelativePath = (lenNoTrailingSlash > lenAppRoot) ? vpath.Substring(lenAppRoot, lenNoTrailingSlash - lenAppRoot) : String.Empty; 212foundCreds = (!String.IsNullOrEmpty(username) && !String.IsNullOrEmpty(password)); 280if ( String.IsNullOrEmpty(siteArgument) || 288siteName = String.Empty; 289siteID = String.Empty; 309if (!String.IsNullOrEmpty(resolvedName)) { 315siteID = String.Empty; 319Debug.Assert(!String.IsNullOrEmpty(siteName), "!String.IsNullOrEmpty(siteName), siteArg=" + siteArgument);
Configuration\FolderLevelBuildProvider.cs (2)
42public FolderLevelBuildProvider(String name, String type)
Configuration\FolderLevelBuildProviderCollection.cs (1)
58public void Remove(String name) {
Configuration\FormsAuthenticationConfiguration.cs (4)
236if (String.IsNullOrEmpty(value)) { 252if (String.IsNullOrEmpty(value)) { 268if (String.IsNullOrEmpty(value)) { 306if (String.IsNullOrEmpty(value)) {
Configuration\FormsAuthenticationUser.cs (2)
119public FormsAuthenticationUser(String name, String password)
Configuration\FormsAuthenticationUserCollection.cs (3)
105public String[] AllKeys { 179public String GetKey(int index) { 180return (String) BaseGetKey(index);
Configuration\FullTrustAssemblyCollection.cs (2)
25[ConfigurationCollection(typeof(String))] 56public void Remove(String key) {
Configuration\GlobalizationSection.cs (13)
46new ConfigurationProperty("fileEncoding", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 48new ConfigurationProperty("culture", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 50new ConfigurationProperty("uiCulture", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 56new ConfigurationProperty("resourceProviderFactoryType", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 65private String cultureCache = null; 66private String uiCultureCache = null; 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\HandlerFactoryWrapper.cs (3)
28public IHttpHandler GetHandler(HttpContext context, String requestType, String url, String pathTranslated) {
Configuration\HandlerMappingMemo.cs (3)
18internal HandlerMappingMemo(HttpHandlerAction mapping, String verb, VirtualPath path) { 25private String _verb; 28internal /*public*/ bool IsMatch(String verb, VirtualPath path) {
Configuration\HealthMonitoringSectionHelper.cs (5)
159if (!String.IsNullOrEmpty(provider)) { 170if (!String.IsNullOrEmpty(profile)) { 235String providerName; 241if (String.IsNullOrEmpty(providerName)) { 578internal WebEventProvider this[String name] {
Configuration\HostingEnvironmentSection.cs (1)
25internal const String sectionName = "system.web/hostingEnvironment";
Configuration\HttpCapabilitiesBase.cs (33)
165public virtual String this[String key] { 167return (String)_items[key]; 268if (String.IsNullOrEmpty(adapterTypename)) { 376else return String.Empty; 404if (String.IsNullOrEmpty(ua)) { 588if (String.IsNullOrEmpty(tagWriter)) { 801public virtual String MobileDeviceManufacturer { 812public virtual String MobileDeviceModel { 823public virtual String GatewayVersion { 863public virtual String PreferredRenderingType { 874public virtual String PreferredRequestEncoding { 886public virtual String PreferredResponseEncoding { 897public virtual String PreferredRenderingMime { 908public virtual String PreferredImageMime { 1083String isColorString = this["isColor"]; 1097public virtual String InputType { 1231public virtual String RequiredMetaTagNameValue { 1234String value = this["requiredMetaTagNameValue"]; 1235if (!String.IsNullOrEmpty(value)) { 1710String s = this["defaultSubmitButtonLimit"]; 1749if (String.IsNullOrEmpty(browserName)) { 1758if (String.Equals(browserName, (string)_browsers[i], StringComparison.OrdinalIgnoreCase)) { 1841volatile private String _mobileDeviceManufacturer; 1842volatile private String _mobileDeviceModel; 1843volatile private String _gatewayVersion; 1846volatile private String _preferredRenderingType; // 1847volatile private String _preferredRenderingMime; 1848volatile private String _preferredImageMime; 1849volatile private String _requiredMetaTagNameValue; 1850volatile private String _preferredRequestEncoding; 1851volatile private String _preferredResponseEncoding; 1858volatile private String _inputType;
Configuration\HttpCapabilitiesEvaluator.cs (5)
130AddDependency(String.Empty); 152public void AddDependency(String variable) { 154variable = String.Empty; 224if (String.IsNullOrEmpty(attribute)) { 228string value = (String)result.Capabilities[attribute];
Configuration\HttpCapabilitiesSectionHandler.cs (4)
126strAs = String.Empty; 139String matchpat = HandlerBase.RemoveAttribute(element, "match"); 140String testpat = HandlerBase.RemoveAttribute(element, "with"); 396static void AppendLines(ArrayList setlist, String text, XmlNode node) {
Configuration\HttpConfigurationSystem.cs (3)
249static internal void AddFileDependency(String file) { 250if (String.IsNullOrEmpty(file)) 272static internal String MsCorLibDirectory {
Configuration\HttpCookiesSection.cs (1)
25new ConfigurationProperty("domain", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
Configuration\HttpHandlerAction.cs (8)
62public HttpHandlerAction(String path, String type, String verb) 66public HttpHandlerAction(String path, String type, String verb, bool validate) { 145verb = verb.Replace(" ", String.Empty); // replace all " " with String.Empty in requestType 169internal bool IsMatch(String verb, VirtualPath path) {
Configuration\HttpHandlersSection.cs (1)
65internal HttpHandlerAction FindMapping(String verb, VirtualPath path) {
Configuration\HttpModuleAction.cs (5)
37new ConfigurationProperty("type", typeof(string), String.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 51public HttpModuleAction(String name, String type) 120internal static bool IsSpecialModule(String className) { 124internal static bool IsSpecialModuleName(String name) {
Configuration\HttpRuntimeSection.cs (6)
265private static String s_versionHeader = null; 559if (String.IsNullOrEmpty(targetFramework)) { 780internal String VersionHeader { 787String header = null; 790String version = VersionInfo.SystemWebVersion; 800header = String.Empty;
Configuration\IApplicationContext.cs (2)
16void Set([MarshalAs(UnmanagedType.LPWStr)] String szName, int pvValue, uint cbValue, uint dwFlags); 17void Get([MarshalAs(UnmanagedType.LPWStr)] String szName, out int pvValue, ref uint pcbValue, uint dwFlags);
Configuration\IAssemblyCache.cs (4)
15int UninstallAssembly(uint dwFlags, [MarshalAs(UnmanagedType.LPWStr)] String pszAssemblyName, IntPtr pvReserved, out uint pulDisposition); 17int QueryAssemblyInfo(uint dwFlags, [MarshalAs(UnmanagedType.LPWStr)] String pszAssemblyName, IntPtr pAsmInfo); 19int CreateAssemblyCacheItem(uint dwFlags, IntPtr pvReserved, out IAssemblyCacheItem ppAsmItem, [MarshalAs(UnmanagedType.LPWStr)] String pszAssemblyName); 23int InstallAssembly(uint dwFlags, [MarshalAs(UnmanagedType.LPWStr)] String pszManifestFilePath, IntPtr pvReserved);
Configuration\IAssemblyCacheItem.cs (1)
14void CreateStream([MarshalAs(UnmanagedType.LPWStr)] String pszName,uint dwFormat, uint dwFlags, uint dwMaxSize, out System.Runtime.InteropServices.ComTypes.IStream ppStream);
Configuration\IAssemblyName.cs (1)
26[MarshalAs(UnmanagedType.LPWStr)] String szCodeBase,
Configuration\IdentitySection.cs (10)
33new ConfigurationProperty("userName", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 35new ConfigurationProperty("password", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 45private String error = String.Empty; 174_password = String.Empty; 200error = String.Empty; 232internal static IntPtr CreateUserToken(String name, String password, out String error) { 267error = String.Empty;
Configuration\LowerCaseStringConverter.cs (1)
101return String.Empty;
Configuration\MachineKeySection.cs (1)
971static internal byte[] HexStringToByteArray(String str)
Configuration\MetabaseServerConfig.cs (7)
123if ( String.IsNullOrEmpty(siteArgument) || 131siteName = String.Empty; 132siteID = String.Empty; 149siteID = String.Empty; 228String cacheKey = CacheInternal.PrefixMapPath + siteID + path.VirtualPathString; 361siteName = String.Empty; 374siteID = String.Empty;
Configuration\NamespaceCollection.cs (1)
69public void Remove(String s) {
Configuration\NamespaceInfo.cs (1)
43public NamespaceInfo(String name)
Configuration\NativeConfig.cs (1)
62siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty;
Configuration\OutputCacheProfileCollection.cs (3)
41public String[] AllKeys { 93public String GetKey(int index) { 94return (String) BaseGetKey(index);
Configuration\OutputCacheSection.cs (2)
63typeof(String), 180public String DefaultProviderName {
Configuration\PagesSection.cs (12)
124new ConfigurationProperty("masterPageFile", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 126new ConfigurationProperty("theme", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 138new ConfigurationProperty("styleSheetTheme", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 140new ConfigurationProperty("pageParserFilterType", typeof(string), String.Empty, ConfigurationPropertyOptions.None); 421if (_pageParserFilterType == null && !String.IsNullOrEmpty(PageParserFilterType)) { 465String masterPageFile = MasterPageFile; 467if (!String.IsNullOrEmpty(masterPageFile)) { 508masterPageFile = String.Empty; 533if ((!String.IsNullOrEmpty(themeName)) && (!Util.ThemeExists(themeName))) { 561if (!String.IsNullOrEmpty(styleSheetThemeName) && 720if (!String.IsNullOrEmpty(tpi.TagName)) { 734else if (!String.IsNullOrEmpty(tpi.Namespace)) {
Configuration\PartialTrustVisibleAssemblyCollection.cs (2)
25[ConfigurationCollection(typeof(String))] 56public void Remove(String key) {
Configuration\ProcessHostConfigUtils.cs (1)
81siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty;
Configuration\ProcessHostMapPath.cs (9)
71if (String.IsNullOrEmpty(rootWeb)) { 77Debug.Assert(!String.IsNullOrEmpty(rootWeb), "rootWeb != null or empty"); 121if ( String.IsNullOrEmpty(siteArgument) || 129siteName = String.Empty; 130siteID = String.Empty; 150if (!String.IsNullOrEmpty(resolvedName)) { 156siteID = String.Empty; 160Debug.Assert(!String.IsNullOrEmpty(siteName), "!String.IsNullOrEmpty(siteName), siteArg=" + siteArgument); 226String cacheKey = CacheInternal.PrefixMapPath + siteID + path.VirtualPathString;
Configuration\ProcessHostServerConfig.cs (4)
77return String.Empty; 125string appRootRelativePath = (lenNoTrailingSlash > lenAppRoot) ? vpath.Substring(lenAppRoot, lenNoTrailingSlash - lenAppRoot) : String.Empty; 203foundCreds = (!String.IsNullOrEmpty(username) && !String.IsNullOrEmpty(password));
Configuration\ProcessModelSection.cs (1)
197new ConfigurationProperty("serverErrorMessageFile", typeof(string), String.Empty, ConfigurationPropertyOptions.None);
Configuration\ProfileGroupSettingsCollection.cs (4)
29ClearElementName = String.Empty; // This collection does not support Clear tags 40public String[] AllKeys { 132public String GetKey(int index) { 133return (String) BaseGetKey(index);
Configuration\ProfilePropertySettingsCollection.cs (4)
48protected override bool OnDeserializeUnrecognizedElement(String elementName, XmlReader reader) { 64public String[] AllKeys { 108public String GetKey(int index) { 109return (String) BaseGetKey(index);
Configuration\ProfileSection.cs (1)
115String.Empty,
Configuration\ProfileSettings.cs (6)
58String.Empty, 74public ProfileSettings(String name) 79public ProfileSettings(String name, int minInstances, 87public ProfileSettings(String name, int minInstances, 105public String Name { 149public String Custom {
Configuration\ProfileSettingsCollection.cs (3)
87public int IndexOf(String name) { 92public void Remove(String name) { 96public bool Contains(String name) {
Configuration\ProtocolsConfiguration.cs (3)
42String id = HandlerBase.RemoveRequiredAttribute(child, "id"); 43String phType = HandlerBase.RemoveRequiredAttribute(child, "processHandlerType"); 44String ahType = HandlerBase.RemoveRequiredAttribute(child, "appDomainHandlerType");
Configuration\ProtocolsConfigurationEntry.cs (8)
25private String _id; 26private String _processHandlerTypeName; 28private String _appDomainHandlerTypeName; 31private String _configFileName; 35String id, 36String processHandlerType, 37String appDomainHandlerType, 39String configFileName,
Configuration\RegexWorker.cs (2)
59result = (String)_groups[groupName]; 88target = String.Empty;
Configuration\RootProfilePropertySettingsCollection.cs (1)
53protected override bool OnDeserializeUnrecognizedElement(String elementName, XmlReader reader) {
Configuration\RuleInfoComparer.cs (1)
60return String.Compare(xType.ToString(), yType.ToString(), StringComparison.Ordinal);
Configuration\RuleSettings.cs (20)
43String.Empty, 49String.Empty, 55String.Empty, 85String.Empty, 104public RuleSettings(String name, String eventName, String provider) 111public RuleSettings(String name, String eventName, String provider, String profile, int minInstances, int maxLimit, TimeSpan minInterval) 119public RuleSettings(String name, String eventName, String provider, String profile, int minInstances, int maxLimit, TimeSpan minInterval, string custom) 136public String Name { 146public String EventName { 156public String Custom { 166public String Profile { 176public String Provider {
Configuration\RuleSettingsCollection.cs (3)
86public void Remove(String name) { 91public int IndexOf(String name) { 96public bool Contains(String name) {
Configuration\SessionStateSection.cs (3)
136String.Empty, 191String.Empty, 203String.Empty,
Configuration\SiteMapSection.cs (1)
132if (!String.IsNullOrEmpty(DefaultProvider)) // make sure the specified provider has a provider entry in the collection
Configuration\SqlCacheDependencyDatabaseCollection.cs (3)
34public String[] AllKeys { 87public String GetKey(int index) { 88return (String)BaseGetKey(index);
Configuration\TagMapInfo.cs (4)
51public TagMapInfo(String tagTypeName, String mappedTagTypeName) 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 (17)
39String.Empty, 47String.Empty, 55String.Empty, 63String.Empty, 81public TagPrefixInfo(String tagPrefix, String nameSpace, String assembly, String tagName, String source) 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\TrustLevel.cs (4)
50public TrustLevel(String name, String policyFile) { 87String strDir = filename.Substring(0, filename.LastIndexOf('\\') + 1); 117String strDir = filename.Substring(0, filename.LastIndexOf('\\') + 1);
Configuration\TrustSection.cs (2)
39String.Empty, 63String.Empty,
Configuration\UrlMappingCollection.cs (3)
40public String[] AllKeys { 46public String GetKey(int index) { 47return (String)BaseGetKey(index);
Configuration\UserMapPath.cs (3)
37if (!String.IsNullOrEmpty(fileMap.MachineConfigFilename)) { 58if (!String.IsNullOrEmpty(_webFileMap.Site)) { 86return String.IsNullOrEmpty(site) ||
Configuration\VirtualDirectoryMapping.cs (1)
76if (String.IsNullOrEmpty(physicalDirectory)) {
Configuration\WebConfigurationFileMap.cs (2)
28_site = String.Empty; 41_site = String.Empty;
Configuration\WebConfigurationHost.cs (21)
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)) { 230if (!String.IsNullOrEmpty(_appSiteID) && _appPath != null) { 281if (String.IsNullOrEmpty(physicalPath)) { 315if (!String.IsNullOrEmpty(site)) { 401if (String.IsNullOrEmpty(parentConfigPath)) { 405if (String.IsNullOrEmpty(childConfigPath)) { 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)) {
Configuration\WebPartsPersonalizationAuthorization.cs (1)
52internal bool IsUserAllowed(IPrincipal user, String verb) {
CrossSiteScriptingValidation.cs (2)
95if (String.IsNullOrEmpty(s)) { 125return (String.IsNullOrEmpty(id) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(id));
DataAccess\DataConnectionHelper.cs (4)
98return String.Empty; 173if (!String.IsNullOrEmpty(_UserName)) 232_UserName = (HttpRuntime.HasUnmanagedPermission() ? DataConnectionHelper.GetCurrentName() : String.Empty); 291if (!String.IsNullOrEmpty(_UserName))
DefaultHttpHandler.cs (3)
48public virtual String OverrideExecuteUrlPath() { 52internal static bool IsClassicAspRequest(String filePath) { 73String path = OverrideExecuteUrlPath();
DynamicModuleRegistry.cs (2)
25string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DynamicModuleRegistry_TypeIsNotIHttpModule), moduleType); 49return String.Format(CultureInfo.InvariantCulture, _moduleNameFormat, moduleType.AssemblyQualifiedName, Guid.NewGuid());
ErrorFormatter.cs (43)
155private Label CreateLabelFromText(String text) { 210String miscTitle = MiscSectionTitle; 211if (!String.IsNullOrEmpty(miscTitle)) { 219foreach (String contentLine in miscContent) { 226String sourceFilePath = GetDisplayPath(); 227if (!String.IsNullOrEmpty(sourceFilePath)) { 228String text = SR.GetString(SR.Error_Formatter_Source_File) + " " + sourceFilePath; 240foreach (String stack in stackTrace) { 270return String.Empty; 272return ((browser != null) ? browser["preferredRenderingType"] : String.Empty); 291if (String.Compare(context.Response.ContentType, 0, 310errorContent.Append(String.Format(CultureInfo.CurrentCulture, errorBeginTemplate, errorHeader, ErrorTitle)); 317String miscTitle = MiscSectionTitle; 326foreach (String contentLine in miscContent) { 333String sourceFilePath = GetDisplayPath(); 334if (!String.IsNullOrEmpty(sourceFilePath)) { 335String text = SR.GetString(SR.Error_Formatter_Source_File) + " " + sourceFilePath; 347foreach (String stack in stackTrace) { 456sb.Append(String.Format(CultureInfo.InvariantCulture, startExpandableBlock, "additionalConfigurationErrors", 543if (!String.IsNullOrEmpty(fusionLog)) { 727protected virtual String PostMessage { 785if (String.IsNullOrEmpty(linePragma)) 843protected String _message; 844protected String _postMessage; 849internal UnhandledErrorFormatter(Exception e, String message, String postMessage) { 877if (!String.IsNullOrEmpty(msg)) 916String errDesc = SR.GetString(SR.Unauthorized_Err_Desc1); 928String details = ((HostingEnvironmentException)_initialException).Details; 930if (!String.IsNullOrEmpty(details)) { 1052string ns = String.Empty; 1092sb.Append((k != 0 ? ", " : String.Empty) + arrParams[k].ParameterType.Name + " " + 1154protected override String PostMessage { 1261String extMessage = String.Empty; 1330String detailsTitle = SR.GetString(SR.Generic_Err_Details_Title); 1338String detailsDesc = SR.GetString( 1359String noteTitle = SR.GetString(SR.Generic_Err_Notes_Title); 1367String notesDesc = SR.GetString(SR.Generic_Err_Notes_Desc); 1503String linestr = i.ToString("G", CultureInfo.CurrentCulture); 1747sb.Append(String.Format(CultureInfo.CurrentCulture, startExpandableBlock, "compilerOutputDiv", 1764sb.Append(String.Format(CultureInfo.CurrentCulture, startExpandableBlock, "dynamicCodeDiv", 1931sb.Append(String.Format(CultureInfo.InvariantCulture, startExpandableBlock, "additionalConfigErrorInfo",
FileChangesMonitor.cs (15)
652if (String.IsNullOrEmpty(file)) { 1422String _appPathInternal; // HttpRuntime.AppDomainAppPathInternal 1432internal static string GenerateErrorMessage(FileAction action, String fileName = null) { 1728if (String.IsNullOrEmpty(file)) { 1774throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, String.Empty)); 1833if (!String.IsNullOrEmpty(file)) { 1859if (String.IsNullOrEmpty(file)) { 1899if (String.IsNullOrEmpty(dir)) { 1900throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, String.Empty)); 2100throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, String.Empty)); 2125if (String.IsNullOrEmpty(file)) { 2146internal void StopMonitoringPath(String alias, object target) { 2158throw new HttpException(SR.GetString(SR.Invalid_file_name_for_monitoring, String.Empty)); 2186if (!String.IsNullOrEmpty(file)) { 2251if (!String.IsNullOrEmpty(file)) {
Handlers\AssemblyResourceLoader.cs (26)
100if (!String.IsNullOrEmpty(handlerTypeString)) { 119return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&amp;t={1}", 124return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&t={1}", 200if (String.Equals(resourceName, "WebForms.js", StringComparison.Ordinal)) { 209else if (String.Equals(resourceName, "WebUIValidation.js", StringComparison.Ordinal)) { 218else if (String.Equals(resourceName, "SmartNav.htm", StringComparison.Ordinal)) { 227else if (String.Equals(resourceName, "SmartNav.js", StringComparison.Ordinal)) { 245if ((wra != null) && String.Equals(wra.WebResource, resourceName, StringComparison.Ordinal)) { 258return String.Format(CultureInfo.InvariantCulture, 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)) { 473if (String.Equals(requestPath, webResourceHandlerUrl, StringComparison.OrdinalIgnoreCase)) { 517if (String.IsNullOrEmpty(encryptedData)) { 528if (String.IsNullOrEmpty(assemblyName)) { 533if (String.IsNullOrEmpty(resourceName)) { 594string contentType = String.Empty; 672if (String.Equals(embeddedResourceName, resourceName, StringComparison.Ordinal)) {
Handlers\TraceHandler.cs (1)
293TableCell linkcell = AddCell(trow, String.Empty);
Hosting\AppDomainFactory.cs (15)
44String module, 46String typeName, 48String appId, 50String appPath, 52String strUrlOfAppOrigin, 96public Object Create(String module, String typeName, String appId, String appPath, 97String strUrlOfAppOrigin, int iZone) { 117Object Create([In, MarshalAs(UnmanagedType.BStr)] String appId, 118[In, MarshalAs(UnmanagedType.BStr)] String appPath); 146public Object Create(String appId, String appPath) { 193internal static String ConstructSimpleAppName(string virtPath, bool isDevEnvironment) {
Hosting\ApplicationHost.cs (4)
39public static Object CreateApplicationHost(Type hostType, String virtualDir, String physicalDir) { 52String appId = StringUtil.GetNonRandomizedHashCode(String.Concat(virtualDir, physicalDir)).ToString("x");
Hosting\ApplicationInfo.cs (3)
24public String ID { 29public String VirtualPath { 34public String PhysicalPath {
Hosting\ApplicationManager.cs (56)
209string appId = String.Concat(virtualPath.VirtualPathString, physicalPath); 211if (!String.IsNullOrEmpty(siteName)) { 212appId = String.Concat(appId, siteName); 232public IRegisteredObject CreateObject(String appId, Type type, string virtualPath, string physicalPath, bool failIfExists) { 237public IRegisteredObject CreateObject(String appId, Type type, string virtualPath, string physicalPath, 259internal IRegisteredObject CreateObjectInternal(String appId, Type type, IApplicationHost appHost, bool failIfExists) { 276String appId, 297String physicalPath, 300out String appId, 307String physicalPath, 310out String appId, 327String physicalPath, 332out String appId, 379public IRegisteredObject GetObject(String appId, Type type) { 443internal void RemoveFromTableIfRuntimeExists(String appId, Type runtimeType) { 471public void StopObject(String appId, Type type) { 508public void ShutdownApplication(String appId) { 732internal void HostingEnvironmentShutdownComplete(String appId, IApplicationHost appHost) { 747internal void HostingEnvironmentShutdownInitiated(String appId, HostingEnvironment env) { 826String appId, 828String physicalPath) { 846private HostingEnvironment GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) { 871String appId, 886String appId, 890String physicalPath = appHost.GetPhysicalPath(); 894String domainId = ConstructAppDomainId(appId); 895String appName = (StringUtil.GetStringHashCode(String.Concat(appId.ToLower(CultureInfo.InvariantCulture), 1075if (cacheConfig != null && cacheConfig.DefaultProvider != null && !String.IsNullOrWhiteSpace(cacheConfig.DefaultProvider)) { 1114if (trustSection == null || String.IsNullOrEmpty(trustSection.Level)) { 1219appDomain.SetData((String)e.Key, (String)e.Value); 1246String module = hostType.Module.Assembly.FullName; 1247String typeName = hostType.FullName; 1382throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.Level), String.Empty, 0); 1384String configFile = (String)securityPolicySection.TrustLevels[trustSection.Level].PolicyFileExpanded; 1389String appDir = FileUtil.RemoveTrailingDirectoryBackSlash(physicalPath); 1390String appDirUrl = HttpRuntime.MakeFileUrl(appDir); 1398if (compilationSection != null && !String.IsNullOrEmpty(compilationSection.TempDirectory)) { 1450String simpleAppName = System.Web.Hosting.AppManagerAppDomainFactory.ConstructSimpleAppName( 1452String binDir = Path.Combine(tempDirectory, simpleAppName); 1454String binDirUrl = HttpRuntime.MakeFileUrl(binDir); 1456String originUrl = trustSection.OriginUrl; 1459String strFileData = reader.ReadToEnd(); 1465originUrl = String.Empty; 1467String gacLocation = null; 1473gacLocation = String.Empty; 1639if (!String.IsNullOrEmpty(HttpRuntime.HostSecurityPolicyResolverType) && hostSecurityPolicyResolver == null) { 1667private static void PopulateDomainBindings(String domainId, String appId, String appName, 1668String appPath, VirtualPath appVPath, 1707private static String ConstructAppDomainId(String id) { 1810return String.Equals(envVar, "1", StringComparison.Ordinal);
Hosting\HostingEnvironment.cs (42)
114private String _appId; 116private String _appPhysicalPath; 117private String _siteName; 118private String _siteID; 119private String _appConfigPath; 129private String _shutDownStack; 321if (!String.IsNullOrEmpty(rootWebConfigPath)) { 742internal ObjectHandle CreateInstance(String assemblyQualifiedName) { 749internal ObjectHandle CreateWellKnownObjectInstance(String assemblyQualifiedName, bool failIfExists) { 752String key = type.FullName; 777String key = obj.GetType().FullName; 789internal ObjectHandle FindWellKnownObject(String assemblyQualifiedName) { 792String key = type.FullName; 803internal void StopWellKnownObject(String assemblyQualifiedName) { 806String key = type.FullName; 901String key = obj.GetType().FullName; 928private String GetSiteName() { 932String s = null; 958private String GetSiteID() { 962String s = null; 987private String GetAppConfigPath() { 1055if (String.CompareOrdinal(reqpath.VirtualPathString, _appVirtualPath.VirtualPathString) == 0) { 1094if (String.IsNullOrEmpty(result)) { 1244String process = VersionInfo.ExeName; 1335public static String ApplicationID { 1345internal static String ApplicationIDNoDemand { 1359public static String ApplicationPhysicalPath { 1373public static String ApplicationVirtualPath { 1392public static String SiteName { 1402internal static String SiteNameNoDemand { 1411internal static String SiteID { 1429internal static String AppConfigPath { 1463if (cacheConfig != null && cacheConfig.DefaultProvider != null && !String.IsNullOrWhiteSpace(cacheConfig.DefaultProvider)) { 1618String path = MapPathInternal(virtualPath); 1626internal static String MapPathInternal(string virtualPath) { 1630internal static String MapPathInternal(VirtualPath virtualPath) { 1638internal static String MapPathInternal(string virtualPath, bool permitNull) { 1642internal static String MapPathInternal(VirtualPath virtualPath, bool permitNull) { 1667internal static WebApplicationLevel GetPathLevel(String path) { 1670if (_theHostingEnvironment != null && !String.IsNullOrEmpty(path)) { 1671String appPath = ApplicationVirtualPath; 1742public static IDisposable Impersonate(IntPtr userToken, String virtualPath) {
Hosting\HostingEnvironmentException.cs (5)
15private String _details; 27internal HostingEnvironmentException(String message, String details) : base(message) { 31internal String Details { 32get { return (_details != null) ? _details : String.Empty; }
Hosting\IApplicationHost.cs (3)
25String GetPhysicalPath(); 37String GetSiteName(); 41String GetSiteID();
Hosting\IIS7UserPrincipal.cs (1)
32public bool IsInRole(String role) {
Hosting\IIS7WorkerRequest.cs (45)
62private String[][] _unknownRequestHeaders; 63private String[] _knownRequestHeaders; 151_pathTranslated = (pathTranslatedBufferSize <= 0) ? String.Empty : StringUtil.StringFromWCharPtr(pathTranslatedBuffer, pathTranslatedBufferSize); 177_pathInfo = String.Empty; 271string message = String.IsNullOrEmpty(eventData) ? String.Empty : eventData; 292string uri = String.Empty; 343return String.Empty; 394internal override String GetLocalPortAsString() 401String https = GetServerVariable("HTTPS"); 405public override String GetFilePath() { 714public override String GetKnownRequestHeader(int index) { 745public override String GetUnknownRequestHeader(String name) { 759public override String[][] GetUnknownRequestHeaders() { 766public override String GetServerVariable(String name) { 780statusDescription = String.Empty; 797String statusDescription) { 810public override void SendKnownResponseHeader(int index, String value) { 817public override void SendUnknownResponseHeader(String name, 818String value) { 986internal override void TransmitFile(String filename, long offset, long length, bool isImpersonating) { 1244_knownRequestHeaders = new String[RequestHeaderMaximum]; 1250String s = GetServerVariable("ALL_RAW"); 1274String name = s.Substring(i, ci-i).Trim(); 1289String value = s.Substring(ci+1, ni-ci-1).Trim(); 1307_unknownRequestHeaders = new String[n][]; 1311_unknownRequestHeaders[i] = new String[2]; 1312_unknownRequestHeaders[i][0] = (String)headers[j++]; 1313_unknownRequestHeaders[i][1] = (String)headers[j++]; 1490if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) { 1940userName = String.Empty; 1943authType = String.Empty; 2270string userName = String.Empty; 2275string authType = String.Empty; 2280if ( String.IsNullOrEmpty(userName) ) 2308internal bool IsUserInRole(String role) { 2381bool replaceQueryString = !String.IsNullOrEmpty(queryString); 2537public override String MapPath(String path) 2542public override String MachineConfigPath 2550public override String RootWebConfigPath 2558public override String MachineInstallDirectory 2595return String.Equals(GetServerVariableInternal("IIS_WEBSOCK"), "websockets", StringComparison.Ordinal);
Hosting\IPipelineRuntime.cs (2)
371String.Empty /*type*/, 719internal void SetThisAppDomainsIsapiAppId(String appId) {
Hosting\IProcessHostSupportFunctions.cs (11)
25[In, MarshalAs(UnmanagedType.LPWStr)] String appId, 26out String virtualPath, 27out String physicalPath, 28out String siteName, 29out String siteId); 34[In, MarshalAs(UnmanagedType.LPWStr)] String appId, 35[In, MarshalAs(UnmanagedType.LPWStr)] String virtualPath, 36out String physicalPath); 42[In, MarshalAs(UnmanagedType.LPWStr)] String appId); 47String GetAppHostConfigFilename(); 52String GetRootWebConfigFilename();
Hosting\ISAPIApplicationHost.cs (14)
26private String _appId; 27private String _siteID; 28private String _siteName; 30private String _physicalPath; 32private String _iisVersion; 102String IApplicationHost.GetPhysicalPath() { 116String username; 117String password; 122String error; 132String IApplicationHost.GetSiteName() { 136String IApplicationHost.GetSiteID() { 149private static String ExtractVPathFromAppId(string id) { 166private static String GetDefaultAppIdFromVPath(string virtualPath) { 175private static String ExtractSiteIdFromAppId(string id) {
Hosting\ISAPIRuntime.cs (3)
162String wrPath = wr.GetAppPathTranslated(); 163String adPath = HttpRuntime.AppDomainAppPathInternal; 238String appId = HttpRuntime.AppDomainAppId;
Hosting\ISAPIWorkerRequest.cs (98)
140internal void Append(String s) { 184public override String ToString() { 302internal String[] GetDecodedTabSeparatedStrings(Encoding encoding, int numStrings, int numSkipStrings) { 309String[] ss = new String[numStrings]; 328ss[iString] = String.Empty; 355ss[iString] = String.Empty; 608protected String _method; 609protected String _path; 610protected String _filePath; 611protected String _pathInfo; 612protected String _pathTranslated; 613protected String _appPath; 614protected String _appPathTranslated; 631private String[][] _unknownRequestHeaders; 632private String[] _knownRequestHeaders; 687private String[] ReadBasics(int[] contentInfo) { 704String[] ss = buf.GetDecodedTabSeparatedStrings(Encoding.Default, 6, 0); 719_knownRequestHeaders = new String[RequestHeaderMaximum]; 725String s = GetServerVariable("ALL_RAW"); 750String name = s.Substring(i, ci-i).Trim(); 764String value = s.Substring(ci+1, ni-ci-1).Trim(); 782_unknownRequestHeaders = new String[n][]; 786_unknownRequestHeaders[i] = new String[2]; 787_unknownRequestHeaders[i][0] = (String)headers[j++]; 788_unknownRequestHeaders[i][1] = (String)headers[j++]; 1022String[] basicStrings = ReadBasics(contentInfo); 1084public override String GetUriPath() { 1088public override String GetQueryString() { 1090return String.Empty; 1116public override String GetRawUrl() { 1117String qs = GetQueryString(); 1119if (!String.IsNullOrEmpty(qs)) 1125public override String GetHttpVerbName() { 1129public override String GetHttpVersion() { 1133public override String GetRemoteAddress() { 1137public override String GetRemoteName() { 1145public override String GetLocalAddress() { 1153internal override String GetLocalPortAsString() { 1157public override String GetServerName() { 1162String https = GetServerVariable("HTTPS"); 1166public override String GetFilePath() { 1170public override String GetFilePathTranslated() { 1174public override String GetPathInfo() { 1178public override String GetAppPath() { 1182public override String GetAppPathTranslated() { 1237public override String GetKnownRequestHeader(int index) { 1260public override String GetUnknownRequestHeader(String name) { 1274public override String[][] GetUnknownRequestHeaders() { 1281public override void SendStatus(int statusCode, String statusDescription) { 1292public override void SendKnownResponseHeader(int index, String value) { 1311public override void SendUnknownResponseHeader(String name, String value) { 1373internal virtual MemoryBytes PackageFile(String filename, long offset64, long length64, bool isImpersonating) { 1411public override void SendResponseFromFile(String filename, long offset, long length) { 1483public override String MapPath(String path) { 1487public override String MachineConfigPath { 1493public override String RootWebConfigPath { 1499public override String MachineInstallDirectory { 1602internal void AppendLogParameter(String logParam) { 1631internal abstract int MapUrlToPathCore(String url, byte[] buffer, int size); 1634internal abstract int AppendLogParameterCore(String logParam); 1808internal override int MapUrlToPathCore(String url, byte[] buffer, int size) { 1828internal override int AppendLogParameterCore(String logParam) { 1836protected virtual String GetServerVariableCore(String name) { 1840String value = null; 1890private String GetAdditionalServerVar(int index) { 1897public override String GetServerVariable(String name) { 2054string message = String.IsNullOrEmpty(eventData) ? String.Empty : eventData; 2101public override String GetRawUrl() { 2126_pathInfo = String.Empty; 2243private String GetUnicodeServerVariable(String name) { 2244String value = null; 2257private String GetUnicodeServerVariable(int nameIndex) { 2258String value = null; 2271private String GetUnicodeServerVariable(String name, ServerVarCharBuffer buffer) { 2287private String GetUnicodeServerVariable(int nameIndex, ServerVarCharBuffer buffer) { 2501if (String.IsNullOrEmpty(cacheUrl) || (!enableKernelCacheForVaryByStar && cacheUrl.IndexOf('?') != -1)) { 2689String url, String method, String childHeaders, 2691bool addUserIndo, IntPtr token, String name, String authType, 2796private static String[] _serverVarNames = 2797new String[_numServerVars] { 2851String[] ss = buf.GetDecodedTabSeparatedStrings(Encoding.Default, _numServerVars-1, 1); 3030internal override int MapUrlToPathCore(String url, byte[] buffer, int size) { 3051internal override int AppendLogParameterCore(String logParam) { 3065public override String GetServerVariable(String name) { 3073return (String)_serverVars[name];
Hosting\ObjectCacheHost.cs (1)
55String IApplicationIdentifier.GetApplicationId() {
Hosting\ProcessHost.cs (33)
30String appId, 32String appPath, 35void ShutdownApplication([In, MarshalAs(UnmanagedType.LPWStr)] String appId); 73[In, MarshalAs(UnmanagedType.LPWStr)] String appId, 74[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 78[In, MarshalAs(UnmanagedType.LPWStr)] String appId, 79[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 84[In, MarshalAs(UnmanagedType.LPWStr)] String appId, 85[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 93[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 97[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 102[In, MarshalAs(UnmanagedType.LPWStr)] String protocolId, 372string source = String.Empty; 397private Type GetAppDomainProtocolHandlerType(String protocolId) { 456public void StartProcessProtocolListenerChannel(String protocolId, IListenerChannelCallback listenerChannelCallback) { 499public void StopProcessProtocolListenerChannel(String protocolId, int listenerChannelId, bool immediate) { 526public void StopProcessProtocol(String protocolId, bool immediate) { 561public void StartAppDomainProtocolListenerChannel(String appId, String protocolId, IListenerChannelCallback listenerChannelCallback) { 615public void StopAppDomainProtocolListenerChannel(String appId, String protocolId, int listenerChannelId, bool immediate) { 648public void StopAppDomainProtocol(String appId, String protocolId, bool immediate) { 680public void StartApplication(String appId, String appPath, out Object runtimeInterface) 763public void ShutdownApplication(String appId) { 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)) { 1177if (String.Equals(copiedError.Key, appId, StringComparison.OrdinalIgnoreCase)) { 1259return String.Empty;
Hosting\ProcessHostSupportFunctionsExtensions.cs (2)
21Debug.Assert(!String.IsNullOrWhiteSpace(appId)); 22Debug.Assert(!String.IsNullOrWhiteSpace(appVirtualPath) && appVirtualPath[0] == '/');
Hosting\SimpleApplicationHost.cs (5)
25private String _appPhysicalPath; 29if (String.IsNullOrEmpty(physicalPath)) 51String IApplicationHost.GetPhysicalPath() { 63String IApplicationHost.GetSiteName() { 67String IApplicationHost.GetSiteID() {
Hosting\SimpleWorkerRequest.cs (44)
32private String _appVirtPath; // "/foo" 33private String _appPhysPath; // "c:\foo\" 34private String _page; 35private String _pathInfo; 36private String _queryString; 38private String _installDir; 49private String GetPathInternal(bool includePathInfo) { 50String s = _appVirtPath.Equals("/") ? ("/" + _page) : (_appVirtPath + "/" + _page); 67public override String GetUriPath() { 76public override String GetQueryString() { 85public override String GetRawUrl() { 86String qs = GetQueryString(); 87if (!String.IsNullOrEmpty(qs)) 97public override String GetHttpVerbName() { 105public override String GetHttpVersion() { 113public override String GetRemoteAddress() { 129public override String GetLocalAddress() { 153public override String GetFilePath() { 161public override String GetFilePathTranslated() { 162String path = _appPhysPath + _page.Replace('/', '\\'); 171public override String GetPathInfo() { 172return (_pathInfo != null) ? _pathInfo : String.Empty; 179public override String GetAppPath() { 187public override String GetAppPathTranslated() { 196public override String GetServerVariable(String name) { 197return String.Empty; 204public override String MapPath(String path) { 208String mappedPath = null; 209String appPath = _appPhysPath.Substring(0, _appPhysPath.Length-1); // without trailing "\" 211if (String.IsNullOrEmpty(path) || path.Equals("/")) { 258public override String MachineInstallDirectory { 272public override void SendStatus(int statusCode, String statusDescription) { 279public override void SendKnownResponseHeader(int index, String value) { 286public override void SendUnknownResponseHeader(String name, String value) { 301public override void SendResponseFromFile(String filename, long offset, long length) { 374public SimpleWorkerRequest(String page, String query, TextWriter output): this() { 398public SimpleWorkerRequest(String appVirtualDir, String appPhysicalDir, String page, String query, TextWriter output): this() {
Hosting\VirtualPathProvider.cs (1)
242if (!String.IsNullOrEmpty(basePath))
HttpApplication.cs (20)
1244private HttpHandlerAction GetHandlerMapping(HttpContext context, String requestType, VirtualPath path, bool useAppConfig) { 1282internal IHttpHandler MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, bool useAppConfig, bool convertNativeStaticFileModule) { 1318if(String.IsNullOrEmpty(type)) { 1356internal IHttpHandler MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, bool useAppConfig) { 1878String appMethodName = appMethod.Name; 1880String targetName = appMethodName.Substring(0, namePosIndex); 2226e.Data[System.Web.Management.WebThreadInformation.IsImpersonatingKey] = String.Empty; 2405String.Empty /*type*/, 2406String.Empty /*precondition*/, 2490String.Empty /*type*/, 2491String.Empty /*precondition*/, 2637if (!String.IsNullOrEmpty(culture)) { 2650if (!String.IsNullOrEmpty(uiCulture)) { 2828Debug.Assert(!String.IsNullOrEmpty(moduleName), "!String.IsNullOrEmpty(moduleName)"); 2881string modulePrecondition = (cBstrModulePrecondition > 0) ? StringUtil.StringFromWCharPtr(pBstrModulePrecondition, cBstrModulePrecondition) : String.Empty; 2892if (!String.IsNullOrEmpty(moduleName) && !String.IsNullOrEmpty(moduleType)) { 3327if (!String.IsNullOrEmpty(configType)) {
HttpApplicationFactory.cs (3)
51private String _appFilename; 188internal static String GetApplicationFile() { 272String name = m.Name;
httpapplicationstate.cs (9)
104public void Add(String name, Object value) { 118public void Set(String name, Object value) { 134public void Remove(String name) { 196public Object Get(String name) { 214public Object this[String name] 249public String GetKey(int index) { 250String s = null; 283public String[] AllKeys { 285String [] allKeys = null;
HttpCacheParams.cs (1)
132public bool this[String header]
HttpCachePolicy.cs (42)
185internal readonly String _cacheExtension; 188internal readonly String[] _varyByContentEncodings; 189internal readonly String[] _varyByHeaderValues; 190internal readonly String[] _varyByParamValues; 194internal readonly String[] _privateFields; 195internal readonly String[] _noCacheFields; 210internal readonly String _etag; 222String cacheExtension, 225String[] varyByContentEncodings, 226String[] varyByHeaderValues, 227String[] varyByParamValues, 231String[] privateFields, 232String[] noCacheFields, 247String etag, 311String[] callbackInfos = new String[_validationCallbackInfo.Length * 2]; 336if (!String.IsNullOrEmpty(targetTypeName)) { 360internal String CacheExtension {get {return _cacheExtension ;}} 363internal String[] VaryByContentEncodings {get { 365internal String[] VaryByHeaders {get { 368internal String[] VaryByParams {get { 378internal String[] PrivateFields {get { 381internal String[] NoCacheFields {get { 410internal String ETag {get {return _etag ;}} 453String _cacheExtension; 482String _etag; 661static internal void AppendValueToHeader(StringBuilder s, String value) { 662if (!String.IsNullOrEmpty(value)) { 671static readonly string[] s_cacheabilityTokens = new String[] 682static readonly string[] s_revalidationTokens = new String[] 769String expirationDate; 770String lastModifiedDate; 771String varyByHeaders; 978String expirationDate; 1067String[] varyByContentEncodings; 1068String[] varyByHeaders; 1069String[] varyByParams; 1070String[] privateFields; 1071String[] noCacheFields; 1262public void AppendCacheExtension(String extension) { 1383public void SetCacheability(HttpCacheability cacheability, String field) { 1634public void SetETag(String etag) {
HttpCacheVary.cs (3)
78internal String ToHeaderString() { 92HttpCachePolicy.AppendValueToHeader(s, (String)item); 248public bool this[String header]
HttpCacheVaryByContentEncodings.cs (7)
24String[] _contentEncodings; 45_contentEncodings = new String[contentEncodings.Length]; 104public bool this[String contentEncoding] 107if (String.IsNullOrEmpty(contentEncoding)) { 122if (String.IsNullOrEmpty(contentEncoding)) { 133string[] contentEncodings = new String[_contentEncodings.Length + 1]; 141_contentEncodings = new String[1];
HttpClientCertificate.cs (35)
35public String Cookie { get { return _Cookie;}} 61public String Issuer { get { return _Issuer;}} 66public String ServerIssuer { get { return _ServerIssuer;}} 74public String Subject { get { return _Subject;}} 79public String ServerSubject { get { return _ServerSubject;}} 86public String SerialNumber { get { return _SerialNumber;}} 130String flags = context.Request.ServerVariables["CERT_FLAGS"]; 131if (!String.IsNullOrEmpty(flags)) 154String keySize = context.Request.ServerVariables["CERT_KEYSIZE"]; 155String skeySize = context.Request.ServerVariables["CERT_SECRETKEYSIZE"]; 157if (!String.IsNullOrEmpty(keySize)) 159if (!String.IsNullOrEmpty(skeySize)) 185public override String Get(String field) 188return String.Empty; 255return String.Empty; 260private String _Cookie = String.Empty; 265private String _Issuer = String.Empty; 266private String _ServerIssuer = String.Empty; 267private String _Subject = String.Empty; 268private String _ServerSubject = String.Empty; 269private String _SerialNumber = String.Empty; 276private String ExtractString(String strAll, String strSubject) { 278return String.Empty; 280String strReturn = String.Empty; 282String strAllL = strAll.ToLower(CultureInfo.InvariantCulture);
HttpContext.cs (15)
346if (options != null && !String.IsNullOrEmpty(options.SubProtocol)) { 494if (!String.IsNullOrEmpty(eurl)) { 1096&& String.IsNullOrEmpty(wr.GetManagedHandlerType()) 1497public static object GetAppConfig(String name) { 1502public object GetConfig(String name) { 1506public object GetSection(String sectionName) { 1523public void RewritePath(String path) { 1534public void RewritePath(String path, bool rebaseClientPath) { 1539String qs = null; 1542qs = (iqs < path.Length-1) ? path.Substring(iqs+1) : String.Empty; 1564public void RewritePath(String filePath, String pathInfo, String queryString) { 1568public void RewritePath(string filePath, string pathInfo, String queryString, bool setClientFilePath) 1572internal void RewritePath(VirtualPath filePath, VirtualPath pathInfo, String queryString, bool setClientFilePath) {
HttpCookie.cs (16)
32private String _name; 33private String _path = "/"; 36private String _domain; 39private String _stringValue; 59public HttpCookie(String name) { 76public HttpCookie(String name, String value) { 128public String Name { 146public String Path { 209public String Domain { 249public String Value { 345public String this[String key] 448if (!String.IsNullOrEmpty(_name)) { 460if (!String.IsNullOrEmpty(_domain)) { 472if (!String.IsNullOrEmpty(_path)) {
HttpCookieCollection.cs (8)
32private String[] _allKeys; 142if (!String.IsNullOrEmpty(value)) { 152internal void RemoveCookie(String name) { 227public void Remove(String name) { 255public HttpCookie Get(String name) { 276public HttpCookie this[String name] 308public String GetKey(int index) { 338public String[] AllKeys {
HttpDebugHandler.cs (4)
188if (String.IsNullOrEmpty(logonUser) || String.IsNullOrEmpty(authType) || StringUtil.EqualsIgnoreCase(authType, "basic")) 197String sessId = context.Request.Form["DebugSessionID"]; 201if (String.IsNullOrEmpty(sessId)) {
HttpDictionary.cs (4)
28internal Object GetValue(String key) { 32internal void SetValue(String key, Object value) { 40internal String GetKey(int index) { 44internal String[] GetAllKeys() {
HttpException.cs (13)
62public static HttpException CreateFromLastError(String message) { 78public HttpException(String message) 83internal HttpException(String message, Exception innerException, int code) 93public HttpException(String message, int hr) 105public HttpException(String message, Exception innerException) 116public HttpException(int httpCode, String message, Exception innerException) 127public HttpException(int httpCode, String message) 138public HttpException(int httpCode, String message, int hr) 278public HttpUnhandledException(String message) 322public HttpCompileException(String message, Exception innerException) : base(message, innerException) { 379string message = String.Format(CultureInfo.CurrentCulture, compileErrorFormat, 471public HttpParseException(String message, Exception innerException) : base(message, innerException) { 589public HttpRequestValidationException(String message, Exception innerException) : base(message, innerException) {
HttpFileCollection.cs (7)
30private String[] _allKeys; 77internal void AddFile(String key, HttpPostedFile file) { 132public HttpPostedFile Get(String name) { 153if (String.Equals(key, name, StringComparison.InvariantCultureIgnoreCase)) { 166public HttpPostedFile this[String name] 196public String GetKey(int index) { 223public String[] AllKeys {
HttpHeaderCollection.cs (9)
71public override void Add(String name, String value) { 91public override void Set(String name, String value) { 99internal void SetHeader(String name, String value, bool replace) { 158internal void SynchronizeHeader(String name, String value) { 175public override void Remove(String name) {
HttpInputStream.cs (2)
214String _filename; 220String tempDir = Path.Combine(HttpRuntime.CodegenDirInternal, "uploads");
HttpModuleCollection.cs (6)
29private String[] _allKeys; 51internal void AddModule(String name, IHttpModule m) { 73public IHttpModule Get(String name) { 81public IHttpModule this[String name] 102public String GetKey(int index) { 123public String[] AllKeys {
HttpPostedFile.cs (7)
29private String _filename; 30private String _contentType; 33internal HttpPostedFile(String filename, String contentType, HttpInputStream stream) { 49public String FileName { 62public String ContentType { 102public void SaveAs(String filename) {
HttpRawResponse.cs (2)
19private String _statusDescr; 36internal String StatusDescription {
HttpRequest.cs (137)
74private String _httpMethod; 76private String _requestType; 78private String _rewrittenUrl; 83private String _queryStringText; 86private String _pathTranslated; 87private String _contentType; 89private String _clientTarget; 90private String[] _acceptTypes; 91private String[] _userLanguages; 181public HttpRequest(String filename, String url, String queryString) { 194internal HttpRequest(VirtualPath virtualPath, String queryString) { 224return (_clientTarget == null) ? String.Empty : _clientTarget; 308internal static String[] ParseMultivalueHeader(String s) { 341String[] strings = new String[n]; 359else if (!(String.IsNullOrEmpty(this.QueryStringText))) { 375String contentType = this.ContentType; 429String h = _wr.GetKnownRequestHeader(i); 431if (!String.IsNullOrEmpty(h)) { 432String name = HttpWorkerRequest.GetKnownRequestHeaderName(i); 439String[][] hh = _wr.GetUnknownRequestHeaders(); 451private static String ServerVariableNameFromHeader(String header) { 455private String CombineAllHeaders(bool asRaw) { 457return String.Empty; 464String h = _wr.GetKnownRequestHeader(i); 466if (!String.IsNullOrEmpty(h)) { 467String name; 484String[][] hh = _wr.GetUnknownRequestHeaders(); 488String name = hh[i][0]; 504internal String CalcDynamicServerVariable(DynamicServerVariable var) { 505String value = null; 512value = String.Empty; 518value = String.Empty; 537private void AddServerVariableToCollection(String name, DynamicServerVariable var) { 542private void AddServerVariableToCollection(String name, String value) { 544value = String.Empty; 549private void AddServerVariableToCollection(String name) { 585String clString = _wr.GetKnownRequestHeader(HttpWorkerRequest.HeaderContentLength); 630String h = _wr.GetKnownRequestHeader(i); 631if (!String.IsNullOrEmpty(h)) 635String[][] hh = _wr.GetUnknownRequestHeaders(); 647internal static HttpCookie CreateCookieFromString(String s) { 709String s = _wr.GetKnownRequestHeader(HttpWorkerRequest.HeaderCookie); 732String cookieString = s.Substring(i, j-i).Trim(); 742String name = cookie.Name; 831private static String GetAttributeFromHeader(String headerValue, String attrName) { 872String attrValue = null; 908String postDataCharset = Headers["x-up-devcap-post-charset"]; 909if (!String.IsNullOrEmpty(postDataCharset)) { 925String contentType = this.ContentType; 929String charSet = GetAttributeFromHeader(contentType, "charset"); 1109String b = GetAttributeFromHeader(ContentType, "boundary"); 1169public String HttpMethod { 1240public String RequestType { 1257public String ContentType { 1264_contentType = String.Empty; 1284String s = _wr.GetKnownRequestHeader(HttpWorkerRequest.HeaderContentLength); 1361public String[] AcceptTypes { 1399public String Path { 1439internal String PathWithQueryString { 1441String qs = QueryStringText; 1442return (!String.IsNullOrEmpty(qs)) ? (Path + "?" + qs) : Path; 1504public String FilePath { 1602public String PathInfo { 1650return (pathInfoObject == null) ? String.Empty : pathInfoObject.VirtualPathString; 1662public String PhysicalPath { 1664String path = PhysicalPathInternal; 1670internal String PhysicalPathInternal { 1699public String ApplicationPath { 1719public String PhysicalApplicationPath { 1738public String UserAgent { 1755public String[] UserLanguages { 1800public String UserHostName { 1802String s = (_wr != null) ? _wr.GetRemoteName() : null; 1803if (String.IsNullOrEmpty(s)) 1817public String UserHostAddress { 1834public String RawUrl { 1852String url; 1858String p = this.GetUnvalidatedPath(); 1859String qs = this.QueryStringText; 1861if (!String.IsNullOrEmpty(qs)) 1879internal String UrlInternal { 1882if (!String.IsNullOrEmpty(q)) 1889if (!String.IsNullOrEmpty(serverAndPort)) { 1901String serverName = _wr.GetServerName(); 1934if (!String.IsNullOrEmpty(q)) 1941if (!String.IsNullOrEmpty(serverAndPort)) { 1953String serverName = _wr.GetServerName(); 1968String r = _wr.GetKnownRequestHeader(HttpWorkerRequest.HeaderReferer); 1970if (!String.IsNullOrEmpty(r)) { 1990internal String IfModifiedSince { 1999internal String IfNoneMatch { 2042public String this[String key] { 2044String s; 2067internal String QueryStringText { 2078_queryStringText = String.Empty; 2086_queryStringText = String.Empty; 2341if (wr == null || String.IsNullOrEmpty(logData)) { 2348if (String.IsNullOrEmpty(currentLogData)) { 2357if (String.IsNullOrEmpty(currentLogData)) { 2682return s.Replace("\0", String.Empty); 2752String key = collection.GetKey(i); 2759String val = collection.Get(i); 2761if (!String.IsNullOrEmpty(val)) 2777String key = cc.GetKey(i); 2778String val = cc.Get(i).Value; 2780if (!String.IsNullOrEmpty(val)) 2824public int[] MapImageCoordinates(String imageFieldName) { 2845public double[] MapRawImageCoordinates(String imageFieldName) { 2899public void SaveAs(String filename, bool includeHeaders) { 2918String qs = this.QueryStringText; 2919if (!String.IsNullOrEmpty(qs)) 2960public String MapPath(String virtualPath) { 2964internal String MapPath(VirtualPath virtualPath) { 2979public String MapPath(string virtualPath, string baseVirtualDir, bool allowCrossAppMapping) { 2981if (String.IsNullOrEmpty(baseVirtualDir)) { 2994internal String MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, bool allowCrossAppMapping) { 3028internal void InternalRewritePath(VirtualPath newPath, String newQueryString, bool rebaseClientPath) { 3058if (!String.IsNullOrEmpty(q)) 3068String newQueryString, bool setClientFilePath) { 3096if (!String.IsNullOrEmpty(q)) 3108String newPath = (_path != null && _path.VirtualPathString != null) ? _path.VirtualPathString : String.Empty; 3113internal String RewrittenUrl { 3122internal void SynchronizeServerVariable(String name, String value) { 3135internal void SynchronizeHeader(String name, String value) {
HttpResponse.cs (73)
35public delegate String HttpResponseSubstitutionCallback(HttpContext context); 62private String _statusDescription; 64private String _contentType = "text/html"; 65private String _charSet; 68private String _redirectLocation; 125internal static readonly String RedirectQueryStringVariable = "__redir"; 126internal static readonly String RedirectQueryStringValue = "1"; 127internal static readonly String RedirectQueryStringAssignment = RedirectQueryStringVariable + "=" + RedirectQueryStringValue; 129private static readonly String _redirectQueryString = "?" + RedirectQueryStringAssignment; 130private static readonly String _redirectQueryStringInline = RedirectQueryStringAssignment + "&"; 231foreach(String key in responseHeaders) 339String versionHeader = null; 372if (!String.IsNullOrEmpty(versionHeader)) { 393String versionHeader = null; 411if (!String.IsNullOrEmpty(versionHeader)) { 465String contentType = AppendCharSetToContentType( _contentType ); 475String newContentType = contentType; 482String charset = Charset; 628String protocol = _wr.GetHttpVersion(); 790internal String SetupKernelCaching(String originalCacheUrl) { 941public void AddFileDependency(String filename) { 1173if ((globConfig != null) && (!String.IsNullOrEmpty(globConfig.UICulture))) { 1257if (ce != null && !String.IsNullOrEmpty(ce.Filename)) 1373String redirect = (customErrorsSetting != null) ? customErrorsSetting.GetRedirectString(code) : null; 1548public String StatusDescription { 1630internal String GetHttpHeaderContentEncoding() { 1658public String ContentType { 1679public String Charset { 1694_charSet = String.Empty; // to differentiate between not set (default) and empty chatset 1891public String RedirectLocation { 1948public void Pics(String value) { 2005public void AppendHeader(String name, String value) { 2276public void AppendToLog(String param) { 2288public void Redirect(String url) { 2295public void Redirect(String url, bool endResponse) { 2326if (String.IsNullOrEmpty(destinationUrl)) { 2359public void RedirectPermanent(String url) { 2368public void RedirectPermanent(String url, bool endResponse) { 2372internal void Redirect(String url, bool endResponse, bool permanent) { 2465url = String.Concat(url, _redirectQueryString); 2477internal RedirectToErrorPageStatus RedirectToErrorPage(String url, CustomErrorsRedirectMode redirectMode) { 2478const String qsErrorMark = "aspxerrorpath"; 2481if (String.IsNullOrEmpty(url)) 2554String pathOverride, NameValueCollection requestHeaders, 2559String userName, userAuthType; 2565userName = String.Empty; 2566userAuthType = String.Empty; 2570String path = Request.RewrittenUrl; // null is ok 2577String headers = null; 2635public void Write(String s) { 2727private String GetNormalizedFilename(String fn) { 2741public void WriteFile(String filename) { 2759public void WriteFile(String filename, bool readIntoMemory) { 2843private void ValidateFileRange(String filename, long offset, long length) { 2874public void WriteFile(String filename, long offset, long size) { 3040String descr = "OK"; 3071public void AddHeader(String name, String value) { 3180if (String.IsNullOrEmpty(value)) { 3285internal String RemoveAppPathModifier(string virtualPath) { 3286if (String.IsNullOrEmpty(_appPathModifier)) 3299return !String.IsNullOrEmpty(_appPathModifier); 3303private String ConvertToFullyQualifiedRedirectUrlIfRequired(String url) { 3315private String UrlEncodeIDNSafe(String url) { 3337private String UrlEncodeRedirect(String url) { 3430String contentType = AppendCharSetToContentType(_contentType); 3609if (String.IsNullOrEmpty(item)) {
HttpResponseHeader.cs (7)
23private String _unknownHeader; 25private String _value; 27internal HttpResponseHeader(int knownHeaderIndex, String value) 45internal HttpResponseHeader(String unknownHeader, String value) 61internal String Name { 70internal String Value {
HttpRuntime.cs (59)
121private static String s_installDirectory; 135String installDir = null; 150String fullPath = installDir + Path.DirectorySeparatorChar + ModName.ENGINE_FULL_NAME; 212private String _shutDownStack; 213private String _shutDownMessage; 246private String _tempDir; 247private String _codegenDir; 248private String _appDomainAppId; 249private String _appDomainAppPath; 251private String _appDomainId; 468if (trustSection == null || String.IsNullOrEmpty(trustSection.Level)) { 886if (compilationSection != null && !String.IsNullOrEmpty(compilationSection.TempDirectory)) { 1282throw new HttpException(503, String.Empty); 1289throw new HttpException(404, String.Empty); 1329if (!String.IsNullOrEmpty(globConfig.Culture) && 1333if (!String.IsNullOrEmpty(globConfig.UICulture) && 2278if (String.IsNullOrEmpty(stackTrace) && !BuildManagerHost.InClientBuildManager) { 2326internal static void OnConfigChange(String message) { 2332internal static void SetShutdownReason(ApplicationShutdownReason reason, String message) { 2340internal static void SetShutdownMessage(String message) { 2660if (String.IsNullOrEmpty(path)) 2712internal static void CheckAspNetHostingPermission(AspNetHostingPermissionLevel level, String errorMessageId) { 2822String path = AspInstallDirectoryInternal; 2855String path = AspClientScriptPhysicalPathInternal; 2886String path = ClrInstallDirectoryInternal; 2903String path = MachineConfigurationDirectoryInternal; 2926public static String CodegenDir { 2928String path = CodegenDirInternal; 2946public static String AppDomainAppId { 2961public static String AppDomainAppPath { 2976public static String AppDomainAppVirtualPath { 2984internal static String AppDomainAppVirtualPathString { 2996internal static bool IsPathWithinAppRoot(String path) { 3007public static String AppDomainId { 3023public static String BinDirectory { 3025String path = BinDirectoryInternal; 3068private static String GetAppDomainString(String key) { 3071return x as String; 3074internal static void AddAppDomainTraceMessage(String message) { 3075const String appDomainTraceKey = "ASP.NET Domain Trace"; 3077String m = d.GetData(appDomainTraceKey) as String; 3136throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_policy_file, trustSection.Level), String.Empty, 0); 3143String file = null; 3146file = (String)securityPolicySection.TrustLevels[trustSection.Level].LegacyPolicyFileExpanded; 3149file = (String)securityPolicySection.TrustLevels[trustSection.Level].PolicyFileExpanded; 3241private static PolicyLevel CreatePolicyLevel(String configFile, String appDir, String binDir, String strOriginUrl, out bool foundGacToken) { 3245String strFileData = reader.ReadToEnd(); 3256strOriginUrl = String.Empty; 3269gacLocation = String.Empty; 3291String file = (String)securityPolicySection.TrustLevels[trustSection.Level].PolicyFileExpanded; 3325internal static String MakeFileUrl(String path) { 3330internal static String GetGacLocation() {
httpserverutility.cs (24)
355throw new HttpException(404, String.Empty); 466queryStringOverride = String.Empty; 512error = new HttpException(404, String.Empty); 517error = new HttpException(404, String.Empty); 774String qs = null; 777qs = (iqs < path.Length-1) ? path.Substring(iqs+1) : String.Empty; 821internal static void ExecuteLocalRequestAndCaptureResponse(String path, TextWriter writer, 825String.Empty); 1100public static String HtmlEncode(String s) { 1111public static String HtmlEncode(object value) { 1132public static void HtmlEncode(String s, TextWriter output) { 1142public static String HtmlAttributeEncode(String s) { 1154public static void HtmlAttributeEncode(String s, TextWriter output) { 1181internal static String FormatPlainTextAsHtml(String s) { 1193internal static void FormatPlainTextAsHtml(String s, TextWriter output) { 1350internal static String UrlEncodeNonAscii(string str, Encoding e) { 1513internal static String FormatHttpDateTime(DateTime dt) { 1519internal static String FormatHttpDateTimeUtc(DateTime dt) { 1523internal static String FormatHttpCookieDateTime(DateTime dt) { 1533public static String JavaScriptStringEncode(string value) { 1537public static String JavaScriptStringEncode(string value, bool addDoubleQuotes) {
HttpServerVarsCollection.cs (43)
52internal void AddStatic(String name, String value) { 54value = String.Empty; 60internal void AddDynamic(String name, DynamicServerVariable var) { 65private String GetServerVar(Object e) { 104private String GetSimpleServerVar(String name) { 177public override void Add(String name, String value) { 186public override String Get(String name) { 188String value = GetSimpleServerVar(name); 199if (String.IsNullOrEmpty(var)) { 210public override String[] GetValues(String name) { 211String s = Get(name); 212return(s != null) ? new String[1] { s} : null; 216public override void Set(String name, String value) { 228internal void SetNoDemand(String name, String value) { 230value = String.Empty; 239private void SynchronizeHeader(String name, String value) { 258internal void SynchronizeServerVariable(String name, String value, bool ensurePopulated = true) { 284private void SetServerVariableManagedOnly(String name, String value) { 303public override void Remove(String name) { 315internal void RemoveNoDemand(String name) { 324public override String Get(int index) { 329public override String[] GetValues(int index) { 330String s = Get(index); 331return(s != null) ? new String[1] { s} : null; 334public override String GetKey(int index) { 355String key, value; 382internal readonly String Name; 384internal readonly String Value; 387internal HttpServerVarsCollectionEntry(String name, String value) { 393internal HttpServerVarsCollectionEntry(String name, DynamicServerVariable var) { 399internal String GetValue(HttpRequest request) { 400String v = null;
httpstaticobjectscollection.cs (7)
42internal void Add(String name, Type t, bool lateBound) { 101public Object this[String name] 115public Object GetObject(String name) { 234private String _name; 239internal HttpStaticObjectsEntry(String name, Type t, bool lateBound) { 246internal HttpStaticObjectsEntry(String name, Object instance, int dummy) { 252internal String Name {
HttpValueCollection.cs (16)
55internal HttpValueCollection(String str, bool readOnly, bool urlencoded, Encoding encoding): base(StringComparer.OrdinalIgnoreCase) { 56if (!String.IsNullOrEmpty(str)) 111if (!String.IsNullOrEmpty(value)) { 155internal void FillFromString(String s) { 159internal void FillFromString(String s, bool urlencoded, Encoding encoding) { 187String name = null; 188String value = null; 210base.Add(null, String.Empty); 244String name, value; 262base.Add(null, String.Empty); 290public override String ToString() { 294internal virtual String ToString(bool urlencoded) { 298internal virtual String ToString(bool urlencoded, IDictionary excludeKeys) { 301return String.Empty; 304String key, keyPrefix, item; 316keyPrefix = (key != null) ? (key + "=") : String.Empty;
HttpWriter.cs (9)
403private String _filename; 412internal HttpFileResponseElement(String filename, long offset, long size, bool isImpersonating, bool supportsLongTransmitFile) : 419internal HttpFileResponseElement(String filename, long offset, long size) : 541String s = _callback(HttpContext.Current); 558private unsafe void CreateFirstSubstData(String s, IIS7WorkerRequest iis7WorkerRequest, Encoder encoder) { 590String s = _callback(HttpContext.Current); 1155internal void WriteFile(String filename, long offset, long size) { 1659public override void Write(String s) { 1707public void WriteString(String s, int index, int count) {
IHttpHandlerFactory.cs (5)
30IHttpHandler GetHandler(HttpContext context, String requestType, String url, String pathTranslated); 49IHttpHandler GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath);
IisTraceListener.cs (12)
36if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 48if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 60if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 72if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 81 public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, object data) { 86string datastring = String.Empty; 94 public override void TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, int id, params object[] data) { 116public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType severity, int id, string message) { 127public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType severity, int id, string format, params object[] args) { 128TraceEvent(eventCache, source, severity, id, String.Format(CultureInfo.InvariantCulture, format, args)); 132private String AppendTraceOptions(TraceEventCache eventCache, String message) {
IntSecurity.cs (3)
116internal static IStackWalk FileReadAccess(String filename) { 121internal static IStackWalk FileWriteAccess(String filename) { 126internal static IStackWalk PathDiscovery(String path) {
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 (1)
313String.IsNullOrEmpty(site) ? SR.GetString(SR.DefaultSiteName) : site), e);
Management\SqlServices.cs (4)
63public SqlExecutionException(String message) 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)) {
Management\WebEventCodes.cs (1)
357return String.Empty;
Management\WebEvents.cs (30)
210public String Message { get { return _message; } } 251formatter.AppendLine(String.Empty); 270formatter.AppendLine(String.Empty); 891static string CreateWebEventResourceCacheKey(String key) { 895internal static String FormatResourceStringWithCache(String key) { 921internal static String FormatResourceStringWithCache(String key, String arg0) { 923return(fmt != null) ? String.Format(fmt, arg0) : null; 1120formatter.AppendLine(String.Empty); 1152formatter.AppendLine(String.Empty); 1292formatter.AppendLine(String.Empty); 1348formatter.AppendLine(String.Empty); 1438formatter.AppendLine(String.Empty); 1445formatter.AppendLine(String.Empty); 1537formatter.AppendLine(String.Empty); 1544formatter.AppendLine(String.Empty); 1626formatter.AppendLine(String.Empty); 1698formatter.AppendLine(String.Empty); 1743formatter.AppendLine(String.Empty); 1815formatter.AppendLine(String.Empty); 1837_processName = String.Empty; 1857public string AccountName { get { return (_accountName != null ? _accountName : String.Empty); } } 1969_requestUrl = String.Empty; 1970_requestPath = String.Empty; 1971_userHostAddress = String.Empty; 1999user = String.Empty; 2000authType = String.Empty; 2152_stackTrace = String.Empty;
Management\wmiprovider.cs (5)
84wmiData.details = String.Empty; 100user = String.Empty; 101authType = String.Empty; 205wmiData.exceptionType = String.Empty; 206wmiData.exceptionMessage = String.Empty;
ModelBinding\AssociatedMetadataProvider.cs (2)
44if (String.IsNullOrEmpty(propertyName)) { 52String.Format(
ModelBinding\AssociatedValidatorProvider.cs (2)
21if (metadata.ContainerType != null && !String.IsNullOrEmpty(metadata.PropertyName)) { 35String.Format(
ModelBinding\BinaryDataModelBinderProvider.cs (2)
39if (String.IsNullOrEmpty(base64string)) { 45string realValue = base64string.Replace("\"", String.Empty);
ModelBinding\ControlValueProvider.cs (3)
23if (String.IsNullOrEmpty(controlId)) { 42if (String.IsNullOrEmpty(propertyName)) { 43if ((controlValueProp != null) && (!String.IsNullOrEmpty(controlValueProp.Name))) {
ModelBinding\DataAnnotationsModelMetadata.cs (3)
19if (_displayColumnAttribute != null && !String.IsNullOrEmpty(_displayColumnAttribute.DisplayColumn)) { 36String.Format( 43String.Format(
ModelBinding\DataAnnotationsModelMetadataProvider.cs (3)
27UIHintAttribute uiHintAttribute = uiHintAttributes.FirstOrDefault(a => String.Equals(a.PresentationLayer, "MVC", StringComparison.OrdinalIgnoreCase)) 28?? uiHintAttributes.FirstOrDefault(a => String.IsNullOrEmpty(a.PresentationLayer)); 62if (!displayFormatAttribute.HtmlEncode && String.IsNullOrWhiteSpace(result.DataTypeName)) {
ModelBinding\DataAnnotationsModelValidator.cs (2)
26var errorMsg = GetLocalizedString(Attribute.ErrorMessage); 128if (String.Equals(errorMemberName, memberName, StringComparison.Ordinal))
ModelBinding\DataAnnotationsModelValidatorProvider.cs (6)
170String.Format( 191String.Format( 208String.Format( 300String.Format( 320String.Format( 336String.Format(
ModelBinding\DefaultModelBinder.cs (2)
18if (binder == null && !String.IsNullOrEmpty(bindingContext.ModelName) 23ModelName = String.Empty,
ModelBinding\ElementalValueProvider.cs (1)
34return (String.Equals(key, Name, StringComparison.OrdinalIgnoreCase))
ModelBinding\Error.cs (8)
9string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.BindingBehavior_ValueNotFound), 15string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Common_TypeMustImplementInterface), 21string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.GenericModelBinderProvider_ParameterMustSpecifyOpenGenericType), 27string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.GenericModelBinderProvider_TypeArgumentCountMismatch), 33string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderProviderCollection_BinderForTypeNotFound), 40string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelCannotBeNull), 47string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelInstanceIsWrong), 59string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelTypeIsWrong),
ModelBinding\ModelBinderErrorMessageProviders.cs (3)
46string errorMessage = String.Format(CultureInfo.CurrentCulture, errorMessageTemplate, incomingValue, displayName); 54return GetUserResourceString(modelBindingExecutionContext, resourceName, String.Empty); 62return (!String.IsNullOrEmpty(resourceClassKey) && (modelBindingExecutionContext != null) && (modelBindingExecutionContext.HttpContext != null))
ModelBinding\ModelBinderProviderCollection.cs (1)
126string errorMessage = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderProviderCollection_InvalidBinderType),
ModelBinding\ModelBinderUtil.cs (4)
22if (String.IsNullOrEmpty(prefix)) { 23return propertyName ?? String.Empty; 25else if (String.IsNullOrEmpty(propertyName)) { 26return prefix ?? String.Empty;
ModelBinding\ModelBindingContext.cs (1)
69_modelName = String.Empty;
ModelBinding\ModelError.cs (1)
21ErrorMessage = errorMessage ?? String.Empty;
ModelBinding\ModelMetadata.cs (3)
375if (containerType != null && !String.IsNullOrEmpty(propertyName)) { 389return String.Empty; 398return String.Empty;
ModelBinding\ModelValidationResult.cs (2)
11return _memberName ?? String.Empty; 20return _message ?? String.Empty;
ModelBinding\PrefixContainer.cs (1)
68private sealed class PrefixComparer : IComparer<String> {
ModelBinding\ValidatableObjectAdapter.cs (1)
25String.Format(
ModelBinding\ValueProviderResult.cs (2)
73string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_NoConverterExists), 85string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_ConversionThrew),
ModelBinding\ValueProviderUtil.cs (2)
7if (String.IsNullOrEmpty(prefix)) { 10else if (String.IsNullOrEmpty(propertyName)) {
ModulesEntry.cs (6)
34private String _name; 37internal ModulesEntry(String name, String typeName, string propertyName, ConfigurationElement configElement) { 38_name = (name != null) ? name : String.Empty; 53internal static bool IsTypeMatch(Type type, String typeName) { 57internal String ModuleName {
MultipartContentParser.cs (20)
24private String _name; 25private String _filename; 26private String _contentType; 31internal MultipartContentElement(String name, String filename, String contentType, HttpRawUploadedContent data, int offset, int length) { 48internal String Name { 59internal String GetAsString(Encoding encoding) { 64return String.Empty; 90private String _partName; 91private String _partFilename; 92private String _partContentType; 143private String ExtractValueFromContentDispositionHeader(String l, int pos, String name) { 144String pattern = " " + name + "="; 158return String.Empty; 166return String.Empty; 191String line = _encoding.GetString(lineBytes); 199String header = line.Substring(0, ic);
OutputCacheModule.cs (5)
89internal readonly String _kernelCacheUrl; 94String kernelCacheUrl, 326if (String.IsNullOrEmpty(acceptEncoding)) { 465if (String.IsNullOrEmpty(contentEncoding)) { 469if (String.IsNullOrEmpty(acceptEncoding)) {
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
133string exceptionMessage = String.Format(CultureInfo.CurrentCulture,
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)) {
parent\parent\parent\misc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
PartitionResolver.cs (2)
115msg = String.Empty; 166return String.Empty;
Profile\HttpProfileBase.cs (2)
406baseProperties.Add(baseProp.Name, String.Empty); 417string defaultValue = String.Empty;
Profile\SqlProfileProvider.cs (5)
77if (!String.IsNullOrEmpty(attribUnrecognized)) 136if (!String.IsNullOrEmpty(username)) 213string names = String.Empty; 214string values = String.Empty; 260objValue = String.Empty;
RequestQueue.cs (2)
48String remoteAddress = wr.GetRemoteAddress(); 55if (String.IsNullOrEmpty(remoteAddress))
Routing\HttpMethodConstraint.cs (3)
40return AllowedMethods.Any(method => String.Equals(method, httpContext.Request.HttpMethod, 64throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture, 68return AllowedMethods.Any(method => String.Equals(method, parameterValueString,
Routing\PageRouteHandler.cs (2)
65user = new GenericPrincipal(new GenericIdentity(String.Empty, String.Empty), new string[0]);
Routing\ParsedRoute.cs (7)
381if (String.Equals(parameterName, parameterSubsegment.ParameterName, StringComparison.OrdinalIgnoreCase)) { 444if (!String.Equals(requestPathSegment, "/", StringComparison.Ordinal)) { 494string remainingRequest = String.Join(String.Empty, remainingRequestSegments.ToArray()); 510if (String.IsNullOrEmpty(requestPathSegment)) { 619if (String.IsNullOrEmpty(parameterValueString)) { 652return String.Equals(sa, sb, StringComparison.OrdinalIgnoreCase);
Routing\Route.cs (2)
79return _url ?? String.Empty; 160throw new InvalidOperationException(String.Format(
Routing\RouteCollection.cs (8)
53if (String.IsNullOrEmpty(name)) { 69if (!String.IsNullOrEmpty(name)) { 72String.Format( 81if (!String.IsNullOrEmpty(name)) { 265if (!String.IsNullOrEmpty(name)) { 281String.Format( 327String.Format( 360String.Format(
Routing\RouteData.cs (2)
51if (!String.IsNullOrEmpty(valueString)) { 56String.Format(
Routing\RouteParser.cs (11)
45return String.Equals(s, "/", StringComparison.Ordinal); 71routeUrl = String.Empty; 105String.Format( 122String.Format( 134String.Format( 177if (String.IsNullOrEmpty(url)) { 222String.Format( 275String.Format( 300String.Format( 310String.Format( 329String.Format(
Routing\UrlRoutingHandler.cs (1)
52String.Format(
Routing\UrlRoutingModule.cs (2)
69String.Format( 88String.Format(
Routing\VirtualPathData.cs (1)
28return _virtualPath ?? String.Empty;
Security\ADMembershipProvider.cs (13)
319if (String.IsNullOrEmpty(name)) 339if (String.IsNullOrEmpty(temp)) 343if (String.IsNullOrEmpty(adConnectionString)) 356if ((String.Compare(connProtection, "Secure", StringComparison.Ordinal) != 0) && 357(String.Compare(connProtection, "None", StringComparison.Ordinal) != 0)) 630if (!String.IsNullOrEmpty(attribUnrecognized)) 3127if (String.IsNullOrEmpty(connectionStringName)) 3162if (String.Compare(valueName, "attributeMapUsername", StringComparison.Ordinal) == 0) 3242if (String.Compare(valueName, "attributeMapUsername", StringComparison.Ordinal) != 0) 3547if (String.Compare(connProtection, "Secure", StringComparison.Ordinal) == 0) 3700if (String.IsNullOrEmpty(containerDN)) 4111if (!String.IsNullOrEmpty(tempUsername)) 4394string errorMsg = String.Empty;
Security\AnonymousIdentificationModule.cs (2)
87string cookieValue = String.Empty; 170cookie = new HttpCookie(s_CookieName, String.Empty);
Security\AntiXss\AntiXssEncoder.cs (1)
47if (String.IsNullOrEmpty(value)) {
Security\AuthStoreRoleProvider.cs (4)
79if (String.IsNullOrEmpty(name)) 124if (!String.IsNullOrEmpty(attribUnrecognized)) 833private static String s_errMsg = null; 840internal static String GetErrorText()
Security\BackStopAuthenticationModule.cs (3)
132context.SetPrincipalNoDemand(new GenericPrincipal(new GenericIdentity(String.Empty, String.Empty), new String[0]), false /*needToSetNativePrincipal*/);
Security\CookielessHelper.cs (9)
42_Headers = String.Empty; 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)) { 401internal const String COOKIELESS_SESSION_FILTER_HEADER = "AspFilterSessionId";
Security\Cryptography\AspNetCryptoServiceProvider.cs (1)
38_isDataProtectorEnabled = (machineKeySection != null && !String.IsNullOrWhiteSpace(machineKeySection.DataProtectorType));
Security\FileAuthorizationModule.cs (5)
57public static bool CheckFileAccessForUser(String virtualPath, IntPtr token, string verb) { 337internal FileSecurityDescriptorWrapper(String strFile) { 397internal void OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason reason) { 493private String _strFile; 498_strFile = String.Empty;
Security\FormsAuthentication.cs (42)
54public static String HashPasswordForStoringInConfigFile(String password, String passwordFormat) { 136if (String.IsNullOrEmpty(encryptedTicket) || encryptedTicket.Length > MAX_TICKET_LENGTH) 239public static String Encrypt(FormsAuthenticationTicket ticket) { 242internal static String Encrypt(FormsAuthenticationTicket ticket, bool hexEncodedTicket) { 303public static bool Authenticate(String name, String password) { 318private static bool InternalAuthenticate(String name, String password) { 343String pass = (String)u.Password; 351String encPassword; 384return(String.Compare(encPassword, 410string cookieValue = String.Empty; 436public static void SetAuthCookie(String userName, bool createPersistentCookie) { 446public static void SetAuthCookie(String userName, bool createPersistentCookie, String strCookiePath) { 473public static HttpCookie GetAuthCookie(String userName, bool createPersistentCookie) { 478public static HttpCookie GetAuthCookie(String userName, bool createPersistentCookie, String strCookiePath) { 481private static HttpCookie GetAuthCookie(String userName, bool createPersistentCookie, String strCookiePath, bool hexEncodedTicket) { 484userName = String.Empty; 498String.Empty, // User-Data 502String strTicket = Encrypt(ticket, hexEncodedTicket); 525internal static String GetReturnUrl(bool useDefaultIfAbsent) 530String returnUrl = context.Request.QueryString[ReturnUrlVar]; 556public static String GetRedirectUrl(String userName, bool createPersistentCookie) 571public static void RedirectFromLoginPage(String userName, bool createPersistentCookie) { 576public static void RedirectFromLoginPage(String userName, bool createPersistentCookie, String strCookiePath) { 651if (!String.IsNullOrEmpty(defaultUrl)) { 655if (!String.IsNullOrEmpty(loginUrl)) { 666public static String FormsCookieName { get { Initialize(); return _FormsName; }} 668public static String FormsCookiePath { get { Initialize(); return _FormsCookiePath; }} 724if (!String.IsNullOrEmpty(AppSettings.FormsAuthReturnUrlVar)) { 755if (!String.IsNullOrEmpty(extraQueryString)) { 780private const String CONFIG_DEFAULT_COOKIE = ".ASPXAUTH"; 785private static String _FormsName; 789private static String _FormsCookiePath;
Security\FormsAuthenticationModule.cs (8)
129e.Context.SetPrincipalNoDemand(new GenericPrincipal(new FormsIdentity(ticket2), new String[0])); 152String strEnc = FormsAuthentication.Encrypt(ticket2, !cookielessTicket); 260String strUrl = context.Request.RawUrl; 268String loginUrl = null; 269if (!String.IsNullOrEmpty(FormsAuthentication.LoginUrl)) 280String strRedirect; 328private static FormsAuthenticationTicket ExtractTicketFromCookie(HttpContext context, String name, out bool cookielessTicket) { 484private static void Trace(String str) {
Security\FormsAuthenticationTicket.cs (15)
38public String Name { get { return _Name;}} 75public String UserData { get { return _UserData;}} 81public String CookiePath { get { return _CookiePath;}} 143private String _Name; 147private String _UserData; 148private String _CookiePath; 176String name, 180String userData) { 192String name, 196String userData, 197String cookiePath) { 214public FormsAuthenticationTicket(String name, bool isPersistent, Int32 timeout) { 228internal static FormsAuthenticationTicket FromUtc(int version, String name, DateTime issueDateUtc, DateTime expirationUtc, bool isPersistent, String userData, String cookiePath) {
Security\FormsIdentity.cs (2)
35public override String Name { get { return _Ticket.Name;}} 41public override String AuthenticationType { get { return "Forms";}}
Security\MachineKey.cs (2)
163if (purposes != null && purposes.Any(String.IsNullOrWhiteSpace)) { 197if (purposes != null && purposes.Any(String.IsNullOrWhiteSpace)) {
Security\Membership.cs (1)
597return String.Empty;
Security\MembershipPasswordAttribute.cs (5)
172string name = (validationContext != null) ? validationContext.DisplayName : String.Empty; 176if (String.IsNullOrEmpty(valueAsString)) { 205return new ValidationResult(FormatErrorMessage(errorMessage, name, additionalArgument: String.Empty), memberNames); 213return FormatErrorMessage(errorMessageString: ErrorMessageString, name: name, additionalArgument: String.Empty); 307return String.Format(CultureInfo.CurrentCulture, errorMessageString, name, additionalArgument);
Security\PassportAuthenticationModule.cs (10)
34private static String _LoginUrl = null; 108e.Context.User = new PassportPrincipal(e.Identity, new String[0]); 178if ( _LoginUrl==null || _LoginUrl.Length < 1 || String.Compare(_LoginUrl, "internal", StringComparison.Ordinal) == 0) { 183String strUrl = context.Request.Url.ToString(); 188String strLogoTag = id.LogoTag2(HttpUtility.UrlEncode(strUrl, context.Request.ContentEncoding)); 190String strMsg = SR.GetString(SR.PassportAuthFailed, strLogoTag); 201String redirectUrl = AuthenticationConfig.GetCompleteLoginUrl(context, _LoginUrl); 211String strUrl = context.Request.Url.ToString(); 212String strRedirect; 214String strSep;
Security\PassportIdentity.cs (130)
33private String _Name; 56String strTVariable = context.Request.QueryString["t"]; 57String strPVariable = context.Request.QueryString["p"]; 61String strMSPAuthCookie = ((cookieAuth != null && cookieAuth.Value != null) ? cookieAuth.Value : String.Empty); 62String strMSPProfCookie = ((cookieProf != null && cookieProf.Value != null) ? cookieProf.Value : String.Empty); 63String strMSPProfCCookie = ((cookieProfC != null && cookieProfC.Value != null) ? cookieProfC.Value : String.Empty); 77String strACookie = UrlEncodeCookie(strA.ToString()); //HttpUtility.AspCompatUrlEncode(strA.ToString()); 78String strPCookie = UrlEncodeCookie(strP.ToString()); //HttpUtility.AspCompatUrlEncode(strP.ToString()); 89String strRequestLine = context.Request.HttpMethod + " " + 101String strResponseHeaders = szOut.ToString(); 107_Name = String.Empty; 112private void SetHeaders(HttpContext context, String strResponseHeaders) { 118String strCurrentHeader = strResponseHeaders.Substring(iStart, iEnd - iStart); 122String strHeader = strCurrentHeader.Substring(0, iColon); 123String strValue = strCurrentHeader.Substring(iColon+1); 144return String.Empty; 171public String Name { 181_Name = String.Empty; 197public String AuthenticationType { get { return "Passport";}} 212public String this[String strProfileName] 217return String.Empty; 220return(String) oValue; 265public Object GetProfileObject(String strProfileName) { 318public String GetDomainFromMemberName(String strMemberName) { 335public bool HasProfile(String strProfile) { 363public Object GetOption(String strOpt) { 372public void SetOption(String strOpt, Object vOpt) { 379public String LogoutURL() { 384public String LogoutURL(String szReturnURL, 385String szCOBrandArgs, 387String strDomain, 487public String LogoTag() { 494public String LogoTag(String strReturnUrl) { 502public String LogoTag2() { 509public String LogoTag2(String strReturnUrl) { 525public String LogoTag(String strReturnUrl, 528String strCoBrandedArgs, 531String strNameSpace, 548public String LogoTag(String strReturnUrl, 551String strCoBrandedArgs, 554String strNameSpace, 580public String LogoTag2(String strReturnUrl, 583String strCoBrandedArgs, 586String strNameSpace, 603public String LogoTag2(String strReturnUrl, 606String strCoBrandedArgs, 609String strNameSpace, 639public String AuthUrl() { 644public String AuthUrl(String strReturnUrl) { 649public String AuthUrl2() { 654public String AuthUrl2(String strReturnUrl) { 667public String AuthUrl (String strReturnUrl, 670String strCoBrandedArgs, 672String strNameSpace, 695public String AuthUrl2 (String strReturnUrl, 698String strCoBrandedArgs, 700String strNameSpace, 724public String AuthUrl (String strReturnUrl, 727String strCoBrandedArgs, 729String strNameSpace, 753public String AuthUrl2 (String strReturnUrl, 756String strCoBrandedArgs, 758String strNameSpace, 781String szRetURL, 784String szCOBrandArgs, 786String strNameSpace, 804String szRetURL, 807String szCOBrandArgs, 809String strNameSpace, 814String str = GetLoginChallenge(szRetURL, iTimeWindow, fForceLogin, szCOBrandArgs, 834if (!String.IsNullOrEmpty(str)) { 849public int LoginUser(String strReturnUrl) { 855public String GetLoginChallenge() { 860public String GetLoginChallenge(String strReturnUrl) { 865public String GetLoginChallenge( 866String szRetURL, 869String szCOBrandArgs, 871String strNameSpace, 892String strRet = str.ToString(); 907public String GetDomainAttribute(String strAttribute, int iLCID, String strDomain) { 917public Object Ticket(String strAttribute) { 926public Object GetCurrentConfig(String strAttribute) { 935public String HexPUID { 962public static void SignOut(String strSignOutDotGifFileName) { 964String [] sCookieNames = {"MSPAuth", "MSPProf", "MSPConsent", "MSPSecAuth", "MSPProfC"}; 965String [] sCookieDomains = {"TicketDomain", "TicketDomain", "ProfileDomain", "SecureDomain", "TicketDomain"}; 966String [] sCookiePaths = {"TicketPath", "TicketPath", "ProfilePath", "SecurePath", "TicketPath"}; 967String [] sCookieDomainsV = new String[5]; 968String [] sCookiePathsV = new String[5]; 989if (obj != null && (obj is String)) 990sCookieDomainsV[iter] = (String) obj; 996if (obj != null && (obj is String)) 997sCookiePathsV[iter] = (String) obj; 1009HttpCookie cookie = new HttpCookie(sCookieNames[iter], String.Empty); 1035String strRU = context.Request.QueryString["ru"]; 1048static public String Encrypt(String strData) { 1057static public String Decrypt(String strData) { 1062static public String Compress(String strData) { 1066static public String Decompress(String strData) { 1071static public int CryptPutHost(String strHost) { 1080static public int CryptPutSite(String strSite) { 1097static private String CallPassportCryptFunction(int iFunctionID, String strData) {
Security\RoleManagerModule.cs (1)
116if (!String.IsNullOrEmpty(Roles.CookiePath) && Roles.CookiePath != "/") {
Security\RolePrincipal.cs (5)
221public String CookiePath { get { return Roles.CookiePath;}} // 306_Roles.Add(role, String.Empty); 337_Roles.Add(roleTemp, String.Empty); 373_Roles.Add(role, String.Empty); 422info.AddValue("_AllRoles", String.Empty);
Security\Roles.cs (2)
432string cookieValue = String.Empty; 598return String.Empty;
Security\SQLMembershipProvider.cs (4)
72if (String.IsNullOrEmpty(value)) 110if (String.IsNullOrEmpty(name)) 211if (!String.IsNullOrEmpty(attribUnrecognized)) 1856return String.Empty;
Security\SQLRoleProvider.cs (15)
50if (String.IsNullOrEmpty(name)) 80if (!String.IsNullOrEmpty(attribUnrecognized)) 200String [] strReturn = new String[sc.Count]; 464string s1 = String.Empty, s2 = String.Empty; 576string s1 = String.Empty, s2 = String.Empty; 666String [] strReturn = new String[sc.Count]; 723String [] strReturn = new String [sc.Count]; 798String[] strReturn = new String[sc.Count]; 839objValue = String.Empty;
Security\UrlAuthorizationModule.cs (4)
64public static bool CheckUrlAccessForPrincipal(String virtualPath, IPrincipal user, string verb) { 173_AnonUser = new GenericPrincipal(new GenericIdentity(String.Empty, String.Empty), new String[0]);
Security\WindowsAuthenticationModule.cs (4)
138String strLogonUser = context.WorkerRequest.GetServerVariable("LOGON_USER"); 139String strAuthType = context.WorkerRequest.GetServerVariable("AUTH_TYPE"); 141strLogonUser = String.Empty; 144strAuthType = String.Empty;
Security\WindowsTokenRoleProvider.cs (2)
44if (String.IsNullOrEmpty(name)) 67if (!String.IsNullOrEmpty(attribUnrecognized))
SiteMap.cs (1)
76String name = ((ProviderBase)rootProvider).Name;
SiteMapNode.cs (9)
183return _description == null? String.Empty : _description; 272public String ResourceKey { 302String name = ((ProviderBase)_provider.RootProvider).Name; 334return _title == null? String.Empty : _title; 347return _url == null? String.Empty : _url; 369if (String.IsNullOrEmpty(url)) { 441(String.Equals(_url, node._url, StringComparison.OrdinalIgnoreCase)); 511if (!String.IsNullOrEmpty(_resourceKey)) { 513text = ResourceExpressionBuilder.GetGlobalResourceObject(Provider.ResourceKey, ResourceKey + "." + attributeName) as String;
SiteMapProvider.cs (2)
25private String _resourceKey; 27internal const String _securityTrimmingEnabledAttrName = "securityTrimmingEnabled";
State\InProcStateClientManager.cs (12)
34public void OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason reason) { 36String id; 75private string CreateSessionStateCacheKey(String id) { 81if (String.IsNullOrEmpty(name)) 103String id, 197String id, 207String id, 218String id, 247String id, 363public override void CreateUninitializedItem(HttpContext context, String id, int timeout) { 403String id, 440public override void ResetItemTimeout(HttpContext context, String id)
State\ISessionStateStore.cs (7)
58String id, 81String id, 90String id, 101String id, 108String id, 113public abstract void ResetItemTimeout(HttpContext context, String id); 119public abstract void CreateUninitializedItem(HttpContext context, String id, int timeout);
State\OutOfProcStateClientManager.cs (12)
61if (String.IsNullOrEmpty(name)) 94String stateConnectionString = config.StateConnectionString; 256String id, 433String id, 518String id, 531String id, 543String id, 558String id, 597String id, 612public override void ResetItemTimeout(HttpContext context, String id) { 628public override void CreateUninitializedItem(HttpContext context, String id, int timeout) { 684return String.Format(CultureInfo.InvariantCulture, formatString, Server, Port);
State\SessionIDManager.cs (25)
35String GetSessionID(HttpContext context); 38String CreateSessionID(HttpContext context); 56bool Validate(String id); 71internal const String COOKIELESS_SESSION_KEY = "AspCookielessSession"; 72internal const String COOKIELESS_BOOL_SESSION_KEY = "AspCookielessBoolSession"; 73internal const String ASP_SESSIONID_MANAGER_INITIALIZEREQUEST_CALLED_KEY = "AspSessionIDManagerInitializeRequestCalled"; 80internal const String SESSION_COOKIE_DEFAULT = "ASP.NET_SessionId"; 163id = String.Empty; 179static HttpCookie CreateSessionCookie(String id) { 220public virtual String Encode(String id) { 232public virtual String Decode(String id) { 290public String GetSessionID(HttpContext context) { 291String s = null; 297s = (String) context.Items[COOKIELESS_SESSION_KEY]; 302s = Decode((String)cookie.Value); 313virtual public String CreateSessionID(HttpContext context) { 322public void SaveSessionID(HttpContext context, String id, out bool redirected, 326String idEncoded; 368if (!String.IsNullOrEmpty(qs)) { 432internal static bool IsLegit(String s) { 454static String Encode(byte[] buffer) { 499static internal String Create(ref RandomNumberGenerator randgen) { 501String encoding;
State\SessionState.cs (7)
148Object this[String name] 168void Add(String name, Object value); 174void Remove(String name); 265public String SessionID { 364public Object this[String name] 388public void Add(String name, Object value) { 396public void Remove(String name) {
State\SessionStateContainer.cs (6)
27String _id; 39String id, 80public String SessionID { 207public Object this[String name] 231public void Add(String name, Object value) { 239public void Remove(String name) {
State\SessionStateItemCollection.cs (10)
26Object this[String name] 38void Remove(String name); 61internal Object this[String name] 83internal void Remove(String name) { 157t=typeof(String); 242void DeserializeItem(String name, bool check) { 296void MarkItemDeserialized(String name) { 340public Object this[String name] 392public void Remove(String name) { 566String key;
State\SessionStateModule.cs (6)
82internal void RaiseSessionOnEnd(String id, SessionStateStoreData item) { 214String _rqId; 271if (String.IsNullOrEmpty(providerName)) { 292if (String.IsNullOrEmpty(partitionResolverType)) { 316if (String.IsNullOrEmpty(sessionIDManagerType)) { 1428String id;
State\SessionStateUtil.cs (1)
23internal const String SESSION_KEY = "AspSession";
State\sqlstateclientmanager.cs (15)
106if (String.IsNullOrEmpty(name)) 140String sqlConnectionString = config.SqlConnectionString; 213if (String.IsNullOrEmpty(database)) { 218if (!String.IsNullOrEmpty(database)) { 328if (String.IsNullOrEmpty(logon)) { 405SessionStateStoreData DoGet(HttpContext context, String id, bool getExclusive, 570String id, 582String id, 595String id, 621String id, 707String id, 732public override void ResetItemTimeout(HttpContext context, String id) { 758public override void CreateUninitializedItem(HttpContext context, String id, int timeout) { 981builder.Password = String.Empty; 982builder.UserID = String.Empty;
State\StateRuntime.cs (17)
198internal const String EXCLUSIVE_NAME = "Http_Exclusive"; 199internal const String EXCLUSIVE_VALUE_ACQUIRE = "acquire"; 200internal const String EXCLUSIVE_VALUE_RELEASE = "release"; 201internal const String TIMEOUT_NAME = "Http_Timeout"; 202internal const String TIMEOUT_NAME_RAW = "Timeout"; 203internal const String LOCKCOOKIE_NAME = "Http_LockCookie"; 204internal const String LOCKCOOKIE_NAME_RAW = "LockCookie"; 205internal const String LOCKDATE_NAME = "Http_LockDate"; 206internal const String LOCKDATE_NAME_RAW = "LockDate"; 207internal const String LOCKAGE_NAME = "Http_LockAge"; 208internal const String LOCKAGE_NAME_RAW = "LockAge"; 209internal const String EXTRAFLAGS_NAME = "Http_ExtraFlags"; 210internal const String EXTRAFLAGS_NAME_RAW = "ExtraFlags"; 211internal const String ACTIONFLAGS_NAME = "Http_ActionFlags"; 212internal const String ACTIONFLAGS_NAME_RAW = "ActionFlags"; 294private void ReportInvalidHeader(HttpContext context, String header) { 699unsafe void OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason reason) {
StaticFileHandler.cs (3)
304String virtualPath = (overrideVirtualPath == null) ? request.FilePath : overrideVirtualPath; 443string contentRange = String.Format(CultureInfo.InvariantCulture, CONTENT_RANGE_FORMAT, offset, offset + length - 1, fileLength); 458contentRange = String.Format(CultureInfo.InvariantCulture, CONTENT_RANGE_FORMAT, offset, offset + length - 1, fileLength);
StaticSiteMapProvider.cs (2)
102if (!String.IsNullOrEmpty(url)) { 120String key = node.Key;
ThreadContext.cs (2)
299if (!String.IsNullOrEmpty(globConfig.Culture)) 302if (!String.IsNullOrEmpty(globConfig.UICulture))
UI\BindableTemplateBuilder.cs (1)
92if (String.Compare(previousControlName, entry.ControlID, StringComparison.Ordinal) != 0) {
UI\BoundPropertyEntry.cs (1)
115get { return String.IsNullOrEmpty(ExpressionPrefix); }
UI\ChtmlTextWriter.cs (1)
143public override void WriteEncodedText(String text) {
UI\ClientScriptManager.cs (31)
64private Dictionary<Assembly, Dictionary<String, Object>> _registeredResourcesToSuppress; 93internal Dictionary<Assembly, Dictionary<String, Object>> RegisteredResourcesToSuppress { 96_registeredResourcesToSuppress = new Dictionary<Assembly, Dictionary<String, Object>>(); 129return String.Empty; 137RegisterForEventValidation(uniqueId, String.Empty); 147if (String.IsNullOrEmpty(uniqueId)) { 169if (!String.IsNullOrEmpty(fieldValue)) { 197if (String.IsNullOrEmpty(unsafeField)) { 225ValidateEvent(uniqueId, String.Empty); 233if (String.IsNullOrEmpty(uniqueId)) { 292(String.Equals(_owner.RequestInternal.Url.Scheme, "https", StringComparison.OrdinalIgnoreCase))) ? 452if (String.IsNullOrEmpty(options.Argument)) { 542if (String.IsNullOrEmpty(resourceName)) { 743_owner._hiddenFieldsToRender = new Dictionary<String, String>(); 828if (String.IsNullOrEmpty(url)) { 917if (String.IsNullOrEmpty(script)) { 980Tuple<ScriptKey, String, Boolean> entry = new Tuple<ScriptKey, String, Boolean>(key, script, needsScriptTags); 1111entryKey = String.Empty; 1133if (!String.IsNullOrEmpty(_owner.ClientOnSubmitEvent) && _owner.ClientSupportsJavaScript) { 1173foreach (Tuple<ScriptKey, String, Boolean> entry in scripts) { 1177Dictionary<String, Object> resources; 1205Dictionary<String, Object> systemWebResources; 1218var localPath = GetWebResourceUrl(_owner, typeof(Page), webFormScript, htmlEncoded: true, scriptManager: _owner.ScriptManager, enableCdn: false); 1219if (!String.IsNullOrEmpty(localPath)) { 1322private static int ComputeHashKey(String uniqueId, String argument) { 1323if (String.IsNullOrEmpty(argument)) { 1363stateString = String.Empty; 1440key = String.Empty;
UI\CollectionBuilder.cs (2)
94string controlTypeName = String.Empty; 102throw new HttpException(SR.GetString(SR.Invalid_collection_item_type, new String[] { controlTypeName,
UI\Control.cs (21)
229return flags[useGeneratedID] ? String.Empty : ID ?? String.Empty; 280if (String.IsNullOrEmpty(predictableIDPrefix)) { 284if (!String.IsNullOrEmpty(_id) && (!(this is IDataItemContainer) || (this is IDataBoundItemControl))) { 305predictableIDSuffix = String.Empty; 331if (!String.IsNullOrEmpty(suffixID)) { 332if (!String.IsNullOrEmpty(_cachedPredictableID)) { 339return String.IsNullOrEmpty(_cachedPredictableID) ? String.Empty : _cachedPredictableID; 486ValidateEvent(uniqueID, String.Empty); 634return _occasionalFields.SkinId == null ? String.Empty : _occasionalFields.SkinId; 636return String.Empty; 1143return String.Empty; 1676if (!String.IsNullOrEmpty(uniqueID)) { 1680_occasionalFields.UniqueIDPrefix = String.Empty; 2141if (String.IsNullOrEmpty(virtualPath)) { 2997if (String.IsNullOrEmpty(baseUrl)) { 3030if (String.IsNullOrEmpty(tplSourceDir)) 3113public virtual Control FindControl(String id) { 3124protected virtual Control FindControl(String id, int pathOffset) { 3645public String UniqueIDPrefix;
UI\ControlBuilder.cs (51)
103Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName)); 121Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName)); 136public virtual String ItemType { 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"); 754if (String.Equals(bpe.Name, entry.Name, StringComparison.OrdinalIgnoreCase) && 755String.Equals(bpe.Filter, entry.Filter, StringComparison.OrdinalIgnoreCase)) { 757if (!String.IsNullOrEmpty(entry.Filter)) { 868entry.Filter = String.Empty; 885Debug.Assert(!String.IsNullOrEmpty(name)); 889string objectModelName = String.Empty; 936if (String.Equals(entry.Name, "ID", StringComparison.OrdinalIgnoreCase) && 954Debug.Assert(!String.IsNullOrEmpty(name)); 964string objectModelName = String.Empty; 969if (String.Equals(name, BaseTemplateCodeDomTreeGenerator.skinIDPropertyName, StringComparison.OrdinalIgnoreCase) && 973if (!String.IsNullOrEmpty(filter)) { 1080if (String.IsNullOrEmpty(value)) { 1141Debug.Assert(!String.IsNullOrEmpty(name)); 1145string objectModelName = String.Empty; 1326if (!String.IsNullOrEmpty(text)) { 1573newAttribs.AddFilteredAttribute(String.Empty, entry.Key.ToString(), entry.Value.ToString()); 1823String filter = entry.Filter; 1825if (String.IsNullOrEmpty(filter) || filterResolutionService.EvaluateFilter(filter)) { 1834if (String.IsNullOrEmpty(entry.Filter)) { 1937ParseTimeData.DefaultPropertyBuilder = CreateChildBuilder(String.Empty, pca.DefaultProperty, null/*attribs*/, parser, null, null /*id*/, Line, VirtualPath, ref subType, true /*defaultProperty*/); 1967String.Equals(builder.SkinID, SkinID, StringComparison.OrdinalIgnoreCase)) { 2040if (!String.IsNullOrEmpty(SkinID)) { 2294string expressionPrefix = entry.ExpressionPrefix == null ? String.Empty : entry.ExpressionPrefix.Trim(); 2297if (String.IsNullOrEmpty(expressionPrefix)) { 2306string expression = entry.Expression == null ? String.Empty : entry.Expression.Trim(); 2313if (!String.IsNullOrEmpty(expressionPrefix)) { 2656attribvalue = String.Empty; 2709string formatString = String.Empty; 2725AddBoundProperty(filter, attribname, String.Empty, code, null /*expressionBuilder*/, null /*parsedExpressionData*/, String.Empty, String.Empty, false, encode, line, column); 2729AddBoundProperty(filter, attribname, String.Empty, code, null /*expressionBuilder*/, null /*parsedExpressionData*/, fieldName, formatString, isTwoWayBindingStatement, encode, line, column); 2739AddBoundProperty(filter, attribname, String.Empty, code, null /*expressionBuilder*/, null /*parsedExpressionData*/, String.Empty, String.Empty, false, encode, line, column); 2779AddBoundProperty(filter, attribname, expressionPrefix, expressionCode, expressionBuilder, null /*parsedExpressionData*/, String.Empty, String.Empty, false, encode : false ); 2902expression = String.Empty; 2909expression, resourcesExpressionBuilder, parsedExpressionData, true, String.Empty, String.Empty, false, encode:false); 2925IDictionary<String, Pair> attributeValuePositions = null; 3122if (!FilterableAttribute.IsPropertyFilterable(propDesc) && !String.IsNullOrEmpty(filter)) { 3291if (String.IsNullOrEmpty(entry1.Filter)) { 3300if (String.IsNullOrEmpty(entry2.Filter)) {
UI\ControlCachePolicy.cs (1)
155public String ProviderName {
UI\ControlPropertyNameConverter.cs (1)
56if (String.IsNullOrEmpty(controlID))
UI\ControlValuePropertyAttribute.cs (1)
79if (String.Equals(_name, other.Name, StringComparison.Ordinal)) {
UI\CssStyleCollection.cs (3)
181if (String.IsNullOrEmpty(key)) { 312String styleName = stylenames[i].ToString(); 313String styleValue = stylevalues[i].ToString();
UI\CssTextWriter.cs (2)
119if (!String.IsNullOrEmpty(styleName)) { 138return String.Empty;
UI\DataBinder.cs (8)
131return String.Empty; 134if (String.IsNullOrEmpty(format)) { 138return String.Format(format, value); 164if (String.IsNullOrEmpty(propName)) { 193if (String.IsNullOrEmpty(format)) { 209if (String.IsNullOrEmpty(expr)) { 297return String.Empty; 300if (String.IsNullOrEmpty(format)) {
UI\DataBindingCollection.cs (2)
160removedBindings[s] = String.Empty; 210RemovedBindingsTable[propertyName] = String.Empty;
UI\DataBindingHandlerAttribute.cs (3)
30_typeName = String.Empty; 52return (_typeName != null ? _typeName : String.Empty); 66return (String.Compare(HandlerTypeName, other.HandlerTypeName,
UI\DataBoundLiteralControl.cs (1)
217_text = (value != null) ? value : String.Empty;
UI\DataKeyPropertyAttribute.cs (1)
33return String.Equals(_name, other.Name, StringComparison.Ordinal);
UI\DataSourceCache.cs (4)
91return String.Empty; 126if (String.IsNullOrEmpty(key)) { 144if (String.IsNullOrEmpty(key)) { 193if (String.IsNullOrEmpty(key)) {
UI\DataSourceCacheDurationConverter.cs (1)
47if (String.Equals(textValue, "infinite", StringComparison.OrdinalIgnoreCase)) {
UI\DataSourceControl.cs (1)
96return String.Empty;
UI\DataSourceHelper.cs (1)
44if (String.IsNullOrEmpty(dataMember)) {
UI\DataSourceSelectArguments.cs (4)
22public DataSourceSelectArguments() : this(String.Empty, 0, 0) { 29public DataSourceSelectArguments(int startRowIndex, int maximumRows) : this(String.Empty, startRowIndex, maximumRows) { 97_sortExpression = String.Empty; 101if (String.IsNullOrEmpty(value)) {
UI\DesignTimeParseData.cs (4)
33public DesignTimeParseData(IDesignerHost designerHost, string parseText) : this(designerHost, parseText, String.Empty) { 40if (String.IsNullOrEmpty(parseText)) { 79return String.Empty; 93return String.Empty;
UI\DesignTimeTemplateParser.cs (5)
164if (String.IsNullOrEmpty(filterName)) { 168if (StringUtil.EqualsIgnoreCase(((_currentFilter == null) ? String.Empty : _currentFilter), filterName)) { 176if (String.IsNullOrEmpty(filter1)) { 177if (!String.IsNullOrEmpty(filter2)) { 184if (String.IsNullOrEmpty(filter2)) {
UI\ExpressionBindingCollection.cs (2)
160removedBindings[s] = String.Empty; 217RemovedBindingsTable[propertyName] = String.Empty;
UI\FilteredAttributeCollection.cs (1)
165value = String.Empty;
UI\HiddenFieldPageStatePersister.cs (2)
31if (!String.IsNullOrEmpty(viewStateString) || !String.IsNullOrEmpty(Page.ViewStateUserKey)) {
UI\HierarchicalDataSourceControl.cs (1)
78return String.Empty;
UI\HtmlControls\HtmlAnchor.cs (4)
82return((s != null) ? s : String.Empty); 106return((s != null) ? s : String.Empty); 132return((s != null) ? s : String.Empty); 156return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlArea.cs (1)
27return s ?? String.Empty;
UI\HtmlControls\HtmlAudio.cs (1)
44return s ?? String.Empty;
UI\HtmlControls\HtmlButton.cs (1)
79return((s == null) ? String.Empty : s);
UI\HtmlControls\HtmlContainerControl.cs (1)
77return String.Empty;
UI\HtmlControls\HtmlControl.cs (1)
259if (String.IsNullOrEmpty(url))
UI\HtmlControls\HtmlElement.cs (1)
26return s ?? String.Empty;
UI\HtmlControls\HtmlEmbed.cs (1)
26return s ?? String.Empty;
UI\HtmlControls\HtmlGenericControl.cs (1)
54tag = String.Empty;
UI\HtmlControls\HtmlHead.cs (12)
22if (String.Equals(tagName, "title", StringComparison.OrdinalIgnoreCase)) 25if (String.Equals(tagName, "link", StringComparison.OrdinalIgnoreCase)) 28if (String.Equals(tagName, "meta", StringComparison.OrdinalIgnoreCase)) 50private String _cachedTitleText; 52private String _cachedDescription; 54private String _cachedKeywords; 64tag = String.Empty; 79public String Title { 98public String Description { 117public String Keywords { 210if (_description == null && !String.IsNullOrEmpty(_cachedDescription)) { 218if (_keywords == null && !String.IsNullOrEmpty(_cachedKeywords)) {
UI\HtmlControls\HtmlIframe.cs (1)
26return s ?? String.Empty;
UI\HtmlControls\HtmlImage.cs (3)
65return((s != null) ? s : String.Empty); 95return((s != null) ? s : String.Empty); 173return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlInputButton.cs (1)
97return((s == null) ? String.Empty : s);
UI\HtmlControls\HtmlInputCheckBox.cs (1)
149bool newValue = !String.IsNullOrEmpty(post);
UI\HtmlControls\HtmlInputControl.cs (3)
109return((s != null) ? s : String.Empty); 136return((_type != null) ? _type : String.Empty); 154if (!String.IsNullOrEmpty(type)) {
UI\HtmlControls\HtmlInputFile.cs (2)
78return((s != null) ? s : String.Empty); 165return String.Empty;
UI\HtmlControls\HtmlInputImage.cs (4)
70return((s != null) ? s : String.Empty); 97return((s != null) ? s : String.Empty); 148return((s != null) ? s : String.Empty); 185return((s == null) ? String.Empty : s);
UI\HtmlControls\HtmlInputRadioButton.cs (1)
85return ((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlInputText.cs (1)
124return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlLink.cs (2)
30return ((s != null) ? s : String.Empty); 40if (!String.IsNullOrEmpty(Href)) {
UI\HtmlControls\HtmlMeta.cs (4)
30return ((s != null) ? s : String.Empty); 45return ((s != null) ? s : String.Empty); 60return ((s != null) ? s : String.Empty); 75return ((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlSelect.cs (5)
96return String.Empty; 149return String.Empty; 172return((s == null) ? String.Empty : s); 198return((s == null) ? String.Empty : s); 455return(i < 0 || i >= Items.Count) ? String.Empty : Items[i].Value;
UI\HtmlControls\HtmlSource.cs (1)
47return s ?? String.Empty;
UI\HtmlControls\HtmlTable.cs (5)
51return((s != null) ? s : String.Empty); 72return((s != null) ? s : String.Empty); 113return((s != null) ? s : String.Empty); 204return((s != null) ? s : String.Empty); 226return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlTableCell.cs (6)
62return((s != null) ? s : String.Empty); 85return((s != null) ? s : String.Empty); 108return((s != null) ? s : String.Empty); 155return((s != null) ? s : String.Empty); 234return((s != null) ? s : String.Empty); 257return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlTableRow.cs (5)
51return((s != null) ? s : String.Empty); 97return((s != null) ? s : String.Empty); 119return((s != null) ? s : String.Empty); 141return((s != null) ? s : String.Empty); 190return((s != null) ? s : String.Empty);
UI\HtmlControls\HtmlTitle.cs (1)
23return String.Empty;
UI\HtmlControls\HtmlTrack.cs (1)
47return s ?? String.Empty;
UI\HtmlControls\HtmlVideo.cs (2)
38return s ?? String.Empty; 59return s ?? String.Empty;
UI\HtmlForm.cs (11)
53return ((s != null) ? s : String.Empty); 70return String.Empty; 90return String.Empty; 118return ((s != null) ? s : String.Empty); 211return ((s != null) ? s : String.Empty); 270if (!String.IsNullOrEmpty(actionProperty)) { 311if (String.IsNullOrEmpty(action) && RenderingCompatibility >= VersionUtil.Framework45) { 323if (!String.IsNullOrEmpty(queryString)) { 365foreach (String key in Attributes.Keys) { 371foreach (String key in invalidAttributes) { 399if (!String.IsNullOrEmpty(onSubmit)) {
UI\HTMLTextWriter.cs (9)
53String alignment; 78public virtual bool IsValidFormAttribute(String attribute) { 129RegisterTag(String.Empty, HtmlTextWriterTag.Unknown, TagType.Other); 823if (!String.IsNullOrEmpty(attrName)) { 848if (!String.IsNullOrEmpty(tagName)) { 1235public virtual void WriteEncodedUrl(String url) { 1246public virtual void WriteEncodedUrlParameter(String urlText) { 1250public virtual void WriteEncodedText(String text) { 1279protected void WriteUrlEncodedString(String text, bool argument) {
UI\IndexedString.cs (1)
18if (String.IsNullOrEmpty(s)) {
UI\ListSourceHelper.cs (1)
42return String.Empty;
UI\LiteralControl.cs (2)
52_text = (text != null) ? text : String.Empty; 64_text = (value != null) ? value : String.Empty;
UI\MasterPage.cs (2)
29internal static readonly String AutoTemplatePrefix = "Template_"; 216foreach(String contentName in contentTemplateCollection.Keys) {
UI\MinimizableAttributeTypeConverter.cs (1)
27if ((strValue.Length > 0) && !String.Equals(strValue, "false", StringComparison.OrdinalIgnoreCase)) {
UI\ObjectStateFormatter.cs (2)
366if (String.IsNullOrEmpty(inputString)) { 509return String.Empty;
UI\Page.cs (70)
289internal Dictionary<String, String> _hiddenFieldsToRender; 694return (_clientTarget == null) ? String.Empty : _clientTarget; 705public String ClientQueryString { 721_clientQueryString = String.Empty; 785protected internal virtual String UniqueFilePathSuffix { 793_uniqueFilePathSuffix = String.Concat(UniqueFilePathSuffixID + "=", ticks.ToString("D6", CultureInfo.InvariantCulture)); 840return String.Empty; 906return String.Empty; 1093return String.Empty; 1341public virtual String Theme { 1350if (!String.IsNullOrEmpty(value) && !FileUtil.IsValidDirectoryName(value)) { 1390public virtual String StyleSheetTheme { 1497public override Control FindControl(String id) { 1524return String.Empty; 1570if (!String.IsNullOrEmpty(_errorPage)) { 1953String [] nullValues = ret.GetValues(null); 2139if (!String.IsNullOrEmpty(ViewStateUserKey)) { 2215viewStateChunks.Add(String.Empty); 2280_hiddenFieldsToRender[ViewStateFieldPrefixID] = String.Empty; 2323" : String.Empty), true); 2330string focusedControlId = String.Empty; 2424ClientScript.RegisterHiddenField(ViewStateEncryptionID, String.Empty); 2561if (String.IsNullOrEmpty(_validatorInvalidControl)) { 2588return ClientScript.GetPostBackEventReference(control, String.Empty); 2633String styleSheetName = StyleSheetTheme; 2634if (!String.IsNullOrEmpty(styleSheetName)) { 2652String themeName = Theme; 2653if (!String.IsNullOrEmpty(themeName)) { 2706ClientScript.RegisterHiddenField(lastFocusID, String.Empty); 2728ClientScript.RegisterHiddenField(postEventSourceID, String.Empty); 2729ClientScript.RegisterHiddenField(postEventArgumentID, String.Empty); 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)) { 4075if (!String.Equals(browser.Browser, "ie", StringComparison.OrdinalIgnoreCase) || browser.MajorVersion < 6 || 4660string callbackControlId = String.Empty; 4669if (String.IsNullOrEmpty(exportedWebPartID)) { 4673if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 4679queryString = String.Empty; 4956string callbackControlId = String.Empty; 4965if (String.IsNullOrEmpty(exportedWebPartID)) { 4969if (String.Equals(Request.QueryString["scope"], "shared", StringComparison.OrdinalIgnoreCase)) { 4975queryString = String.Empty; 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) && 6211validationGroup = String.Empty; 6219if (0 == String.Compare(baseValidator.ValidationGroup, validationGroup, 6269private String _relativeFilePath; 6271internal String RelativeFilePath { 6274String s = Context.Request.CurrentExecutionFilePath; 6275String filePath = Context.Request.FilePath;
UI\PageAdapter.cs (12)
58internal String QueryString { 62if (!String.IsNullOrEmpty(queryString)) { 63queryString = String.Concat(queryString, "&"); 65queryString = String.Concat(queryString, Page.UniqueFilePathSuffix); 126if (String.IsNullOrEmpty(groupName)) 159String url; 173if (!String.IsNullOrEmpty(accessKey)) { 210bool isCrossPagePostBack = !String.IsNullOrEmpty(postUrl); 215if ((String)Browser["requiresAbsolutePostbackUrl"] == "true") { 239foreach (String state in chunks) { 261if (!String.IsNullOrEmpty(queryStringText)) { 267if (!String.IsNullOrEmpty(accessKey)) {
UI\PageHandlerFactory.cs (2)
45IHttpHandler IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, 46VirtualPath virtualPath, String physicalPath) {
UI\PageParser.cs (3)
71internal String StyleSheetTheme { get { return _styleSheetTheme; } } 113if (!String.IsNullOrEmpty(inputFile)) { 193RootBuilder.PreprocessAttribute(String.Empty /*filter*/, "MasterPageFile", _configMasterPageFile, true /*mainDirectiveMode*/);
UI\PageParserFilter.cs (1)
254filter = String.Empty;
UI\PageTheme.cs (6)
43String.Empty : ctrlType.ToString())); 62protected abstract String[] LinkedStyleSheets { get; } 66protected abstract String AppRelativeTemplateSourceDirectory { get; } 88public static object CreateSkinKey(Type controlType, String skinID) { 102String skinId = control.SkinID; 170if (String.IsNullOrEmpty(skinID)) {
UI\ParseChildrenAsPropertiesAttribute.cs (1)
113return String.Empty;
UI\ParsedAttributeCollection.cs (12)
23private IDictionary<String, Pair> _attributeValuePositionInfo; 53if (String.IsNullOrEmpty(name)) { 62filter = String.Empty; 85Debug.Assert(!String.IsNullOrEmpty(name)); 90public IDictionary<String, Pair> AttributeValuePositionsDictionary { 93_attributeValuePositionInfo = new Dictionary<String, Pair>(StringComparer.OrdinalIgnoreCase); 106filter = String.Empty; 140if (String.IsNullOrEmpty(name)) { 145filter = String.Empty; 163if (String.IsNullOrEmpty(name)) { 168filter = String.Empty; 242value = String.Empty;
UI\PartialCachingControl.cs (8)
282return String.Empty; 284return String.Join(varySeparatorString, _varyByControlsCollection); 288if (String.IsNullOrEmpty(value)) { 516prefix = String.Empty; 520Debug.Assert(!String.IsNullOrEmpty(prefix)); 583RegisterClientCall(ClientAPIRegisterType.PostBackScript, String.Empty, null); 587RegisterClientCall(ClientAPIRegisterType.FocusScript, String.Empty, null); 591RegisterClientCall(ClientAPIRegisterType.WebFormsScript, String.Empty, null);
UI\SessionPageStatePersister.cs (1)
48if (!String.IsNullOrEmpty(combinedSerializedStateString)) {
UI\SimpleHandlerFactory.cs (2)
36IHttpHandler IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, 37VirtualPath virtualPath, String physicalPath) {
UI\SimpleWebHandlerParser.cs (1)
258string ret = String.Empty;
UI\SqlDataSourceCache.cs (2)
26return String.Empty; 44if (sqlCacheDependency.Length > 0 && !String.Equals(sqlCacheDependency, Sql9CacheDependencyDirective, StringComparison.OrdinalIgnoreCase)) {
UI\StateBag.cs (2)
125if (String.IsNullOrEmpty(key)) 161if (String.IsNullOrEmpty(key))
UI\StringPropertyBuilder.cs (2)
33return (_text == null) ? String.Empty : _text; 51throw new HttpException(SR.GetString(SR.StringPropertyBuilder_CannotHaveChildObjects, TagName, (ParentBuilder != null ? ParentBuilder.TagName : String.Empty)));
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 (8)
1289if (String.IsNullOrEmpty(literal)) { 1364if (String.IsNullOrEmpty(script)) { 1368script = String.Empty; 1576subBuilder.PreprocessAttribute(String.Empty, "id", _id, false /*mainDirectiveMode*/); 2297string tag2 = serverTagsRegex.Replace(tag, String.Empty); 2669string directiveName = String.Empty; 2693string realAttributeName = String.Empty; 2738directiveName = String.Empty;
UI\ToolboxDataAttribute.cs (2)
27public static readonly ToolboxDataAttribute Default = new ToolboxDataAttribute(String.Empty); 29private string data = String.Empty;
UI\TraceContext.cs (9)
202Write(String.Empty, message, null, false, _writeToDiagnosticsTrace); 224Write(String.Empty, message, null, false, writeToDiagnostics); 238Write(String.Empty, message, null, true, _writeToDiagnosticsTrace); 274category = String.Empty; 277message = String.Empty; 305if (eMsg == null) eMsg = String.Empty; 307if (eTrace == null) eTrace = String.Empty; 363internal void AddControlSize(String controlId, int renderSize) { 377internal void AddControlStateSize(String controlId, int viewstateSize, int controlstateSize) {
UI\UserControl.cs (2)
375return String.Empty; 390return String.Empty;
UI\Util.cs (22)
70control.AccessKey = String.Empty; 333location = String.Format(CultureInfo.InvariantCulture, location, assembly, version); 356internal /*public*/ static String StringFromVirtualPath(VirtualPath virtualPath) { 368internal /*public*/ static String StringFromFile(string path) { 376internal /*public*/ static String StringFromFile(string path, ref Encoding encoding) { 399internal /*public*/ static String StringFromFileIfExists(string path) { 506String physicalDir = virtualDir.MapPathInternal(); 709string deviceName = String.Empty; 827ns = String.Join(".", parts, 0, parts.Length-1); 1040if (String.IsNullOrEmpty(ns)) 1102return String.Join(".", chunks, 0, chunkCount-1); 1130if (String.IsNullOrEmpty(s)) 1259return (String.Compare(t.FullName, "System.__ComObject", StringComparison.Ordinal) == 0); 1269if (String.IsNullOrEmpty(location)) 1309Debug.Assert(!String.IsNullOrEmpty(assemblyPath)); 1408string appPath = context.Request.ApplicationPath ?? String.Empty; 1424if (String.IsNullOrEmpty(value)) { 1425return String.Empty; 1578validationGroup = String.Empty; 1615injectedOnClick = control.Page.ClientScript.GetPostBackEventReference(control, String.Empty, true); 1645Debug.Assert(!String.IsNullOrEmpty(secondScript)); 1647if (!String.IsNullOrEmpty(firstScript)) {
UI\VerificationAttribute.cs (6)
45String.Empty, /*ConditionalProperty*/ 47String.Empty, /*ConditionalValue*/ 48String.Empty /*GuidelineUrl*/) { 100String.Empty, /*ConditionalValue*/ 101String.Empty /*GuidelineUrl*/) { 124String.Empty /*GuidelineUrl*/) {
UI\ViewStateException.cs (1)
74string debugInfo = String.Format(CultureInfo.InvariantCulture,
UI\WebControls\AccessDataSource.cs (2)
58if (String.IsNullOrEmpty(dataFile)) { 110return (_dataFile == null) ? String.Empty : _dataFile;
UI\WebControls\AccessDataSourceView.cs (1)
38if (String.IsNullOrEmpty(_owner.DataFile)) {
UI\WebControls\Adapters\MenuAdapter.cs (10)
51if (String.IsNullOrEmpty(path)) { 52return String.Empty; 260expandImage.AlternateText = String.Format( 267expandImage.AlternateText = String.Format( 282writer.Write(HttpUtility.HtmlEncode(String.Format( 290writer.Write(HttpUtility.HtmlEncode(String.Format( 412linkClass = String.Empty; 438if (String.IsNullOrEmpty(target)) { 441if (!String.IsNullOrEmpty(target)) { 567if (!String.IsNullOrEmpty(className)) {
UI\WebControls\AdCreatedEventArgs.cs (16)
26private string imageUrl = String.Empty; 27private string navigateUrl = String.Empty; 28private string alternateText = String.Empty; 51String imageUrlField, 52String navigateUrlField, 53String alternateTextField) { 141private String GetAdProperty(String defaultIndex, String keyIndex) { 142String index = (String.IsNullOrEmpty(keyIndex)) ? defaultIndex : keyIndex; 143String property = (adProperties == null) ? null : (String) adProperties[index]; 144return (property == null) ? String.Empty : property; 147private bool GetUnitValue(IDictionary properties, String keyIndex, ref Unit unitValue) { 151if (!String.IsNullOrEmpty(temp)) {
UI\WebControls\AdRotator.cs (30)
51private String _baseUrl; 83return((_advertisementFile == null) ? String.Empty : _advertisementFile); 96public String AlternateTextField { 98String s = (String) ViewState["AlternateTextField"]; 110internal String BaseUrl { 118String absoluteFile = null; 119String fileDirectory = null; 120if (!String.IsNullOrEmpty(AdvertisementFile)) { 158public String ImageUrlField { 160String s = (String) ViewState["ImageUrlField"]; 196return((s == null) ? String.Empty : s); 200if (String.IsNullOrEmpty(value)) { 215public String NavigateUrlField { 217String s = (String) ViewState["NavigateUrlField"]; 315if (!String.IsNullOrEmpty(id)) { 425foreach (String field in fields){ 455string fileKey = CacheInternal.PrefixAdRotator + ((!String.IsNullOrEmpty(physicalPath)) ? 470if (!String.IsNullOrEmpty(physicalPath) && HttpRuntime.HasPathDiscoveryPermission(physicalPath)) { 510(type == typeof(String)) || 635return(String.Equals(keywordFilter, adRec.keyword, StringComparison.OrdinalIgnoreCase)); 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\AutoGeneratedFieldProperties.cs (2)
35return String.Empty; 63return String.Empty;
UI\WebControls\basecomparevalidator.cs (1)
405compareResult = String.Compare((string)leftObject, (string) rightObject, false, CultureInfo.CurrentCulture);
UI\WebControls\BaseDataBoundControl.cs (3)
84return String.Empty; 87if (String.IsNullOrEmpty(value) && !String.IsNullOrEmpty(DataSourceID)) {
UI\WebControls\BaseDataList.cs (4)
55return (s != null) ? s : String.Empty; 180return String.Empty; 201return String.Empty; 258return String.Empty;
UI\WebControls\BaseValidator.cs (4)
120return((o == null) ? String.Empty : (string)o); 140return((o == null) ? String.Empty : (string)o); 498return String.Empty; 671String.Format(
UI\WebControls\BoundColumn.cs (4)
55return String.Empty; 78return String.Empty; 114string formattedValue = String.Empty; 121formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue);
UI\WebControls\BoundField.cs (15)
124_dataField = String.Empty; 129if (!String.Equals(value, ViewState["DataField"])) { 154_dataFormatString = String.Empty; 159if (!String.Equals(value, ViewState["DataFormatString"])) { 177if (!String.Equals(value, ViewState["HeaderText"])) { 266return String.Empty; 269if (!String.Equals(value, ViewState["NullDisplayText"])) { 352value = String.Empty; 389string formattedValue = String.Empty; 410formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValueString); 413formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 427if (!String.IsNullOrEmpty(formatting)) { 428dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 432if (!String.IsNullOrEmpty(dataValueString) && encode) { 549if (encode && !String.IsNullOrEmpty(unencodedHeaderText)) {
UI\WebControls\BulletedList.cs (3)
352String url = ResolveClientUrl(BulletImageUrl); 404if (!String.IsNullOrEmpty(target)) { 443else if (!isItemEnabled && !String.IsNullOrEmpty(DisabledCssClass)) {
UI\WebControls\Button.cs (10)
79return((s == null) ? String.Empty : s); 102return((s == null) ? String.Empty : s); 123return String.Empty; 144return s == null? String.Empty : s; 165return((s == null) ? String.Empty : s); 204return((s == null) ? String.Empty : s); 285string onClick = String.Empty; 332PostBackOptions options = new PostBackOptions(this, String.Empty); 341if (!String.IsNullOrEmpty(PostBackUrl)) { 380!String.IsNullOrEmpty(PostBackUrl)) {
UI\WebControls\ButtonColumn.cs (6)
117return String.Empty; 140return String.Empty; 164return String.Empty; 183return String.Empty; 196string formattedTextValue = String.Empty; 204formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ButtonField.cs (11)
50if (!String.Equals(value, ViewState["CommandName"])) { 73return String.Empty; 76if (!String.Equals(value, ViewState["DataTextField"])) { 98return String.Empty; 101if (!String.Equals(value, ViewState["DataTextFormatString"])) { 122return String.Empty; 125if (!String.Equals(value, ViewState["ImageUrl"])) { 148return String.Empty; 151if (!String.Equals(value, ViewState["Text"])) { 175string formattedTextValue = String.Empty; 183formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ButtonFieldBase.cs (2)
105return String.Empty; 108if (!String.Equals(value, ViewState["ValidationGroup"])) {
UI\WebControls\Calendar.cs (9)
107return (s != null) ? s : String.Empty; 287return((s == null) ? "&gt;" : (String) s); 382return((s == null) ? "&lt;" : (String) s); 505return((s == null) ? "&gt;&gt;" : (String) s); 549return((s == null) ? "&gt;" : (String) s); 949if (!String.IsNullOrEmpty(title)) { 1163if (String.Compare(eventArgument, 0, NAVIGATE_MONTH_COMMAND, 0, NAVIGATE_MONTH_COMMAND.Length, StringComparison.Ordinal) == 0) { 1181else if (String.Compare(eventArgument, 0, SELECT_RANGE_COMMAND, 0, SELECT_RANGE_COMMAND.Length, StringComparison.Ordinal) == 0) { 1329if (!String.IsNullOrEmpty(title)) {
UI\WebControls\ChangePassword.cs (38)
154return (obj == null) ? String.Empty : (string) obj; 242return (obj == null) ? String.Empty : (string) obj; 263return (obj == null) ? String.Empty : (string) obj; 422return (_confirmNewPassword == null) ? String.Empty : _confirmNewPassword; 500return (obj == null) ? String.Empty : (string) obj; 588return (obj == null) ? String.Empty : (string) obj; 615return (obj == null) ? String.Empty : (string) obj; 635return (obj == null) ? String.Empty : (string) obj; 656return (obj == null) ? String.Empty : (string) obj; 675return (_password == null) ? String.Empty : _password; 682if (String.IsNullOrEmpty(password) && _changePasswordContainer != null) { 745return (obj == null) ? String.Empty : (string) obj; 765return (obj == null) ? String.Empty : (string) obj; 786return (obj == null) ? String.Empty : (string) obj; 831return (obj == null) ? String.Empty : (string) obj; 851return (obj == null) ? String.Empty : (string) obj; 872return (obj == null) ? String.Empty : (string) obj; 917return (obj == null) ? String.Empty : (string) obj; 985return (obj == null) ? String.Empty : (string) obj; 1005return (_newPassword == null) ? String.Empty : _newPassword; 1012if (String.IsNullOrEmpty(password) && _changePasswordContainer != null) { 1073return (obj == null) ? String.Empty : (string) obj; 1140return (obj == null) ? String.Empty : (string) obj; 1182return (obj == null) ? String.Empty : (string) obj; 1202return (obj == null) ? String.Empty : (string) obj; 1223return (obj == null) ? String.Empty : (string) obj; 1315return (obj == null) ? String.Empty : (string) obj; 1486return (_userName == null) ? String.Empty : _userName; 1496if (String.IsNullOrEmpty(userName) && _changePasswordContainer != null && DisplayUserName) { 1728if (!String.IsNullOrEmpty(failureText)) { 1729failureText = String.Format(CultureInfo.CurrentCulture, failureText, provider.MinRequiredPasswordLength, 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 (6)
209return((s == null) ? String.Empty : s); 248return((s == null) ? String.Empty : s); 413else if (!Enabled && !String.IsNullOrEmpty(DisabledCssClass)) { 414if (String.IsNullOrEmpty(CssClass)) { 534PostBackOptions options = new PostBackOptions(this, String.Empty); 602bool isChecked = (!String.IsNullOrEmpty(post));
UI\WebControls\CheckBoxField.cs (4)
82return String.Empty; 149return String.Empty; 180return String.Empty; 183if (!String.Equals(value, ViewState["Text"])) {
UI\WebControls\CheckBoxList.cs (4)
231if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 312AccessKey = String.Empty; 332bool IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) { 341protected virtual bool LoadPostData(String postDataKey, NameValueCollection postCollection) {
UI\WebControls\ChildTable.cs (1)
85if (!String.IsNullOrEmpty(id)) {
UI\WebControls\Column.cs (5)
98return String.Empty; 123return String.Empty; 177return String.Empty; 240return String.Empty; 459return String.Empty;
UI\WebControls\CommandField.cs (27)
43return String.Empty; 46if (!String.Equals(value, ViewState["CancelImageUrl"])) { 70if (!String.Equals(value, ViewState["CancelText"])) { 110return String.Empty; 113if (!String.Equals(value, ViewState["DeleteImageUrl"])) { 137if (!String.Equals(value, ViewState["DeleteText"])) { 158return String.Empty; 161if (!String.Equals(value, ViewState["EditImageUrl"])) { 185if (!String.Equals(value, ViewState["EditText"])) { 206return String.Empty; 209if (!String.Equals(value, ViewState["InsertImageUrl"])) { 233if (!String.Equals(value, ViewState["InsertText"])) { 254return String.Empty; 257if (!String.Equals(value, ViewState["NewImageUrl"])) { 281if (!String.Equals(value, ViewState["NewText"])) { 302return String.Empty; 305if (!String.Equals(value, ViewState["SelectImageUrl"])) { 329if (!String.Equals(value, ViewState["SelectText"])) { 465return String.Empty; 468if (!String.Equals(value, ViewState["UpdateImageUrl"])) { 492if (!String.Equals(value, ViewState["UpdateText"])) { 604AddButtonToCell(cell, DataControlCommands.CancelCommandName, CancelText, false, String.Empty, rowIndex, CancelImageUrl); 613AddButtonToCell(cell, DataControlCommands.CancelCommandName, CancelText, false, String.Empty, rowIndex, CancelImageUrl); 619AddButtonToCell(cell, DataControlCommands.EditCommandName, EditText, false, String.Empty, rowIndex, EditImageUrl); 627AddButtonToCell(cell, DataControlCommands.DeleteCommandName, DeleteText, false, String.Empty, rowIndex, DeleteImageUrl); 635AddButtonToCell(cell, DataControlCommands.NewCommandName, NewText, false, String.Empty, rowIndex, NewImageUrl); 643AddButtonToCell(cell, DataControlCommands.SelectCommandName, SelectText, false, String.Empty, rowIndex, SelectImageUrl);
UI\WebControls\CompareValidator.cs (2)
38return((o == null) ? String.Empty : (string)o); 81return((o == null) ? String.Empty : (string)o);
UI\WebControls\CompositeDataBoundControl.cs (10)
23return !String.IsNullOrEmpty(SelectMethod) || 24!String.IsNullOrEmpty(UpdateMethod) || 25!String.IsNullOrEmpty(DeleteMethod) || 26!String.IsNullOrEmpty(InsertMethod); 35return _updateMethod ?? String.Empty; 38if (!String.Equals(_updateMethod, value, StringComparison.OrdinalIgnoreCase)) { 50return _deleteMethod ?? String.Empty; 53if (!String.Equals(_deleteMethod, value, StringComparison.OrdinalIgnoreCase)) { 65return _insertMethod ?? String.Empty; 68if (!String.Equals(_insertMethod, value, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Content.cs (1)
156return String.Empty;
UI\WebControls\ContentPlaceHolder.cs (1)
34if (String.IsNullOrEmpty(ID)) {
UI\WebControls\ControlParameter.cs (4)
94return String.Empty; 120return String.Empty; 166if ((controlValueProp != null) && (!String.IsNullOrEmpty(controlValueProp.Name))) { 179String.Equals(controlValueProp.Name, propertyName, StringComparison.OrdinalIgnoreCase) &&
UI\WebControls\CookieParameter.cs (1)
78return String.Empty;
UI\WebControls\CreateUserWizard.cs (43)
157return (_answer == null) ? String.Empty : _answer; 167if (String.IsNullOrEmpty(Answer) && _createUserStepContainer != null) { 174if (String.IsNullOrEmpty(answer)) { 308return (_confirmPassword == null) ? String.Empty : _confirmPassword; 386return (obj == null) ? String.Empty : (string)obj; 476return (obj == null) ? String.Empty : (string)obj; 520return (obj == null) ? String.Empty : (string)obj; 696return (obj == null) ? String.Empty : (string)obj; 716return (obj == null) ? String.Empty : (string)obj; 737return (obj == null) ? String.Empty : (string)obj; 756return (obj == null) ? String.Empty : (string)obj; 766if (String.IsNullOrEmpty(email) && _createUserStepContainer != null) { 808return (obj == null) ? String.Empty : (string)obj; 911return (obj == null) ? String.Empty : (string)obj; 931return (obj == null) ? String.Empty : (string)obj; 952return (obj == null) ? String.Empty : (string)obj; 996return (obj == null) ? String.Empty : (string)obj; 1188return (obj == null) ? String.Empty : (string)obj; 1208return (_password == null) ? String.Empty : _password; 1215if (String.IsNullOrEmpty(password) && !AutoGeneratePassword && _createUserStepContainer != null) { 1262return (obj == null) ? String.Empty : (string)obj; 1301return (obj == null) ? String.Empty : (string)obj; 1362return (obj == null) ? String.Empty : (string)obj; 1372if (String.IsNullOrEmpty(question) && _createUserStepContainer != null) { 1379if (String.IsNullOrEmpty(question)) question = null; 1482return s == null ? String.Empty : s; 1549return (obj == null) ? String.Empty : (string)obj; 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)) { 2162invalidPasswordErrorMessage = String.Format(CultureInfo.InvariantCulture, invalidPasswordErrorMessage, 2692if (!String.IsNullOrEmpty(continuePageUrl)) { 2743if (errorMessageLabel != null && !String.IsNullOrEmpty(_unknownErrorMessage)) { 2766if (!String.IsNullOrEmpty(providerString)) { 2862if (_failure && !String.IsNullOrEmpty(_unknownErrorMessage)) { 3446private TableCell CreateButtonControl(IButtonControl[] buttons, String validationGroup, String id,
UI\WebControls\CustomValidator.cs (2)
40return((o == null) ? String.Empty : (string)o); 129string controlValue = String.Empty;
UI\WebControls\DataBoundControl.cs (6)
65return String.Empty; 76return !String.IsNullOrEmpty(SelectMethod); 127return _itemType ?? String.Empty; 130if (!String.Equals(_itemType, value, StringComparison.OrdinalIgnoreCase)) { 148return _selectMethod ?? String.Empty; 151if (!String.Equals(_selectMethod, value, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\DataBoundControlHelper.cs (2)
32Debug.Assert(!String.IsNullOrEmpty(controlID), "controlID should not be empty"); 71if (!String.Equals(stringA[i], stringB[i], StringComparison.Ordinal)) {
UI\WebControls\DataControlField.cs (10)
61return String.Empty; 64if (!String.Equals(value, ViewState["AccessibleHeaderText"])) { 187return String.Empty; 190if (!String.Equals(value, ViewState["FooterText"])) { 215return String.Empty; 218if (!String.Equals(value, ViewState["HeaderImageUrl"])) { 271return String.Empty; 274if (!String.Equals(value, ViewState["HeaderText"])) { 373return String.Empty; 376if (!String.Equals(value, ViewState["SortExpression"])) {
UI\WebControls\DataControlFieldHeaderCell.cs (3)
32return((x == null) ? String.Empty : (string)x); 72String abbr = AbbreviatedText; 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 (2)
248return String.Empty; 1100Table table = new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
UI\WebControls\DetailsView.cs (23)
340return String.Empty; 386return (s != null) ? s : String.Empty; 682public virtual String EmptyDataText { 688return String.Empty; 858public virtual String FooterText { 864return String.Empty; 959public virtual String HeaderText { 965return String.Empty; 2137return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2151ResetModelValidationGroup(EnableModelValidation, String.Empty); 2152HandleDelete(String.Empty); 2270if (!String.IsNullOrEmpty(argument)) { 2797ResetModelValidationGroup(causesValidation, String.Empty); 2798HandleInsert(String.Empty, causesValidation); 2875if (!String.IsNullOrEmpty(oldDataKeyString)) { 2937string validationGroup = String.Empty; 2975if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 3138if (!String.IsNullOrEmpty(hiddenFieldState)) { 3182scriptOM.RegisterHiddenField(hiddenFieldID, String.Empty); 3184string startupScript = String.Format(CultureInfo.InvariantCulture, startupScriptFormat, clientReference, hiddenFieldID, doCallBackCall, PageIndex); 3369HandleEvent(dvcea, false, String.Empty); 3568ResetModelValidationGroup(causesValidation, String.Empty); 3569HandleUpdate(String.Empty, causesValidation);
UI\WebControls\DropDownList.cs (2)
140bool IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) { 149protected virtual bool LoadPostData(String postDataKey, NameValueCollection postCollection) {
UI\WebControls\EditCommandColumn.cs (6)
66return String.Empty; 106return String.Empty; 128return String.Empty; 146return String.Empty; 198AddButtonToCell(cell, DataGrid.CancelCommandName, CancelText, false, String.Empty); 201AddButtonToCell(cell, DataGrid.EditCommandName, EditText, false, String.Empty);
UI\WebControls\EmbeddedMailObject.cs (2)
38return (_name != null) ? _name : String.Empty; 55return (_path == null) ? String.Empty : _path;
UI\WebControls\EmptyStringExpandableObjectConverter.cs (1)
24return String.Empty;
UI\WebControls\FilteredDataSetHelper.cs (3)
28if (!String.IsNullOrEmpty(sortExpression)) { 33if (!String.IsNullOrEmpty(filterExpression)) { 46filterExpression = String.Format(CultureInfo.InvariantCulture, filterExpression, values);
UI\WebControls\FontInfo.cs (1)
100return String.Empty;
UI\WebControls\FontNamesConverter.cs (1)
62return String.Empty;
UI\WebControls\FontUnit.cs (15)
158if (!String.IsNullOrEmpty(value)) { 163if (String.Equals(value, "xx-small", StringComparison.OrdinalIgnoreCase) || 164String.Equals(value, "xxsmall", StringComparison.OrdinalIgnoreCase)) { 168else if (String.Equals(value, "x-small", StringComparison.OrdinalIgnoreCase) || 169String.Equals(value, "xsmall", StringComparison.OrdinalIgnoreCase)) { 173else if (String.Equals(value, "x-large", StringComparison.OrdinalIgnoreCase) || 174String.Equals(value, "xlarge", StringComparison.OrdinalIgnoreCase)) { 178else if (String.Equals(value, "xx-large", StringComparison.OrdinalIgnoreCase) || 179String.Equals(value, "xxlarge", StringComparison.OrdinalIgnoreCase)) { 185if (String.Equals(value, "small", StringComparison.OrdinalIgnoreCase)) { 189else if (String.Equals(value, "smaller", StringComparison.OrdinalIgnoreCase)) { 195if (String.Equals(value, "large", StringComparison.OrdinalIgnoreCase)) { 199if (String.Equals(value, "larger", StringComparison.OrdinalIgnoreCase)) { 204else if ((firstChar == 'm') && String.Equals(value, "medium", StringComparison.OrdinalIgnoreCase)) { 325string s = String.Empty;
UI\WebControls\FontUnitConverter.cs (1)
81return String.Empty;
UI\WebControls\FormParameter.cs (1)
79return String.Empty;
UI\WebControls\FormView.cs (20)
190return String.Empty; 233return (s != null) ? s : String.Empty; 527public virtual String EmptyDataText { 533return String.Empty; 655public virtual String FooterText { 661return String.Empty; 756public virtual String HeaderText { 762return String.Empty; 1832return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 1846ResetModelValidationGroup(EnableModelValidation, String.Empty); 1847HandleDelete(String.Empty); 2426ResetModelValidationGroup(causesValidation, String.Empty); 2427HandleInsert(String.Empty, causesValidation); 2523if (!String.IsNullOrEmpty(BackImageUrl)) { 2542!String.IsNullOrEmpty(Font.Name) || 2558string validationGroup = String.Empty; 2611if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 2848HandleEvent(dvcea, false, String.Empty); 3014ResetModelValidationGroup(causesValidation, String.Empty); 3015HandleUpdate(String.Empty, causesValidation);
UI\WebControls\GridView.cs (27)
106private string _sortExpression = String.Empty; 392return String.Empty; 436return (s != null) ? s : String.Empty; 812public virtual String EmptyDataText { 818return String.Empty; 1139return o == null ? String.Empty : (string)o; 1891if (String.IsNullOrEmpty(_sortExpressionSerialized)) { 2319return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2391if (SortDirectionInternal == SortDirection.Descending && !String.IsNullOrEmpty(sortExpression)) { 2717ResetModelValidationGroup(EnableModelValidation, String.Empty); 2791if (String.IsNullOrEmpty(argument)) { 3032if (TryGetRowIndex(dce.Row, (String)dce.CommandArgument, out rowIndex)) { 3414_sortExpression = String.Empty; 3512string oldSortExpression = String.Empty; 3514if (!String.IsNullOrEmpty(sortExpressionSerialized) || !String.IsNullOrEmpty(dataKeysSerialized)) { 3519if (!String.IsNullOrEmpty(sortExpressionSerialized)) { 3522if (!String.IsNullOrEmpty(dataKeysSerialized)) { 3600string validationGroup = String.Empty; 3645if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 3667if (!String.IsNullOrEmpty(hiddenFieldState)) { 3731scriptOM.RegisterHiddenField(hiddenFieldID, String.Empty); 3735string startupScript = String.Format(CultureInfo.InvariantCulture, startupScriptFormat, clientReference, hiddenFieldID, doCallBackCall, PageIndex, sortExpressionSerialized, (int)SortDirection); 3937if (!String.IsNullOrEmpty(SortExpression) && String.Equals(field.SortExpression, SortExpression, StringComparison.OrdinalIgnoreCase)) { 4167HandleEvent(gvcea, false, String.Empty); 4426ResetModelValidationGroup(causesValidation, String.Empty);
UI\WebControls\HiddenField.cs (2)
49return String.Empty; 69return (s != null) ? s : String.Empty;
UI\WebControls\HorizontalAlignConverter.cs (1)
25static string[] stringValues = new String[(int) HorizontalAlign.Justify + 1];
UI\WebControls\HotSpot.cs (8)
43return String.Empty; 68public virtual String AlternateText { 71return (text == null)? String.Empty : (string)text; 113public String PostBackValue { 116return (value == null)? String.Empty : (string)value; 144public String NavigateUrl { 147return (value == null)? String.Empty : (string)value; 191return (value == null)? String.Empty : (string)value;
UI\WebControls\HyperLink.cs (4)
69return((s == null) ? String.Empty : s); 126return((s == null) ? String.Empty : s); 159return((s == null) ? String.Empty : s); 182return((o == null) ? String.Empty : (string)o);
UI\WebControls\HyperLinkColumn.cs (11)
49return String.Empty; 72return String.Empty; 95return String.Empty; 118return String.Empty; 141return String.Empty; 165return String.Empty; 188return String.Empty; 201string formattedUrlValue = String.Empty; 209formattedUrlValue = String.Format(CultureInfo.CurrentCulture, formatting, dataUrlValue); 220string formattedTextValue = String.Empty; 228formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\HyperLinkField.cs (19)
81return String.Empty; 84if (!String.Equals(value, ViewState["DataNavigateUrlFormatString"])) { 107return String.Empty; 110if (!String.Equals(value, ViewState["DataTextField"])) { 132return String.Empty; 135if (!String.Equals(value, ViewState["DataTextFormatString"])) { 158return String.Empty; 161if (!String.Equals(value, ViewState["NavigateUrl"])) { 184return String.Empty; 187if (!String.Equals(value, ViewState["Target"])) { 209return String.Empty; 212if (!String.Equals(value, ViewState["Text"])) { 238string formattedUrlValue = String.Empty; 248formattedUrlValue = String.Format(CultureInfo.CurrentCulture, formatting, dataUrlValues); 259string formattedTextValue = String.Empty; 267formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue); 362string dataTextValue = String.Empty; 376string dataNavValue = String.Empty; 410if (!String.Equals(arr1[i], arr2[i])) {
UI\WebControls\HyperLinkStyle.cs (3)
50string cssClass = String.Empty; 99attributes.Add(HtmlTextWriterStyle.FontFamily, String.Join(",", names)); 128string textDecoration = String.Empty;
UI\WebControls\Image.cs (4)
48return((s == null) ? String.Empty : s); 68return((s == null) ? String.Empty : s); 160return((s == null) ? String.Empty : s); 202if (!String.IsNullOrEmpty(s) || DesignMode) {
UI\WebControls\ImageButton.cs (12)
63return((s == null) ? String.Empty : s); 87return((s == null) ? String.Empty : s); 164return String.Empty; 185return s == null? String.Empty : s; 221return((s == null) ? String.Empty : s); 307string onClick = String.Empty; 334if (!String.IsNullOrEmpty(postBackEventReference)) { 358PostBackOptions options = new PostBackOptions(this, String.Empty); 363if (!String.IsNullOrEmpty(PostBackUrl)) { 392if (!String.IsNullOrEmpty(postX) && !String.IsNullOrEmpty(postY)) { 451!String.IsNullOrEmpty(PostBackUrl))) {
UI\WebControls\ImageField.cs (18)
50return String.Empty; 53if (!String.Equals(value, ViewState["AlternateText"])) { 94return String.Empty; 97if (!String.Equals(value, ViewState["DataAlternateTextField"])) { 118return String.Empty; 121if (!String.Equals(value, ViewState["DataAlternateTextFormatString"])) { 144_dataField = String.Empty; 149if (!String.Equals(value, ViewState["DataImageUrlField"])) { 168return String.Empty; 171if (!String.Equals(value, ViewState["DataImageUrlFormatString"])) { 194return String.Empty; 197if (!String.Equals(value, ViewState["NullDisplayText"])) { 217return String.Empty; 220if (!String.Equals(value, ViewState["NullImageUrl"])) { 325string formattedValue = String.Empty; 336formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 357string strValue = String.Empty; 363formattedAlternateText = String.Format(CultureInfo.CurrentCulture, altTextFormatString, value);
UI\WebControls\ImageMap.cs (2)
101return (value == null)? String.Empty : (string)value; 223String resolvedUrl = ResolveClientUrl(item.NavigateUrl);
UI\WebControls\Label.cs (3)
79return (s == null) ? String.Empty : s; 134return((o == null) ? String.Empty : (string)o); 188Text = String.Empty;
UI\WebControls\LinkButton.cs (12)
74return((s == null) ? String.Empty : s); 98return((s == null) ? String.Empty : s); 141return String.Empty; 177return((o == null) ? String.Empty : (string)o); 199return s == null? String.Empty : s; 215return((s == null) ? String.Empty : s); 306if (String.IsNullOrEmpty(postBackEventReference)) { 335Text = String.Empty; 345PostBackOptions options = new PostBackOptions(this, String.Empty); 348if (!String.IsNullOrEmpty(PostBackUrl)) { 359String.Equals(Page.Request.Browser.Browser, "IE", StringComparison.OrdinalIgnoreCase)) { 446!String.IsNullOrEmpty(PostBackUrl)) {
UI\WebControls\Listbox.cs (2)
173bool IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) { 183protected virtual bool LoadPostData(String postDataKey, NameValueCollection postCollection) {
UI\WebControls\ListControl.cs (7)
132return((s == null) ? String.Empty : (string)s); 154return ((s == null) ? String.Empty : (string)s); 178return((s == null) ? String.Empty : (string)s); 386return (i < 0) ? String.Empty : Items[i].Value; 515PostBackOptions options = new PostBackOptions(this, String.Empty); 715item.Text = String.Format(CultureInfo.CurrentCulture, textFormat, dataItem); 853if (String.IsNullOrEmpty(owner.ID)) {
UI\WebControls\listitem.cs (2)
180return String.Empty; 203return String.Empty;
UI\WebControls\Literal.cs (2)
30PreprocessAttribute(String.Empty /*filter*/, "text", s, false /*mainDirectiveMode*/); 89return (s != null) ? s : String.Empty;
UI\WebControls\login.cs (23)
129return (obj == null) ? String.Empty : (string) obj; 156return (obj == null) ? String.Empty : (string) obj; 180return (obj == null) ? String.Empty : (string) obj; 220return (obj == null) ? String.Empty : (string) obj; 241return (obj == null) ? String.Empty : (string) obj; 262return (obj == null) ? String.Empty : (string) obj; 283return (obj == null) ? String.Empty : (string) obj; 327return (obj == null) ? String.Empty : (string) obj; 483return (obj == null) ? String.Empty : (string) obj; 592return (obj == null) ? String.Empty : (string) obj; 609return (_password == null) ? String.Empty : _password; 616if (String.IsNullOrEmpty(password) && _templateContainer != null) { 658return (obj == null) ? String.Empty : (string) obj; 679return (obj == null) ? String.Empty : (string) obj; 700return (obj == null) ? String.Empty : (string) obj; 908return (obj == null) ? String.Empty : (string)obj; 918if (String.IsNullOrEmpty(userName) && _templateContainer != null) { 1173if (!String.IsNullOrEmpty(returnUrl)) { 1177if (!String.IsNullOrEmpty(destinationPageUrl)) { 1185if (!String.IsNullOrEmpty(destinationPageUrl)) { 1193if (Page.Form != null && String.Equals(Page.Form.Method, "get", StringComparison.OrdinalIgnoreCase)) { 1293if (String.Equals(ce.CommandName, LoginButtonCommandName, StringComparison.OrdinalIgnoreCase)) { 1701if (!String.IsNullOrEmpty(userName)) {
UI\WebControls\LoginName.cs (5)
67if (!String.IsNullOrEmpty(UserName)) { 74if (!String.IsNullOrEmpty(UserName)) { 81if (!String.IsNullOrEmpty(UserName)) { 92if (!String.IsNullOrEmpty(userName)) { 101writer.Write(String.Format(CultureInfo.CurrentCulture, formatString, userName));
UI\WebControls\loginstatus.cs (5)
71return (obj == null) ? String.Empty : (string) obj; 135return (obj == null) ? String.Empty : (string) obj; 157return (obj == null) ? String.Empty : (string) obj; 308if (Page.Form != null && String.Equals(Page.Form.Method, "get", StringComparison.OrdinalIgnoreCase)) { 317if (!String.IsNullOrEmpty(url)) {
UI\WebControls\LoginUtil.cs (5)
28if (!String.IsNullOrEmpty(text)) { 86if (String.IsNullOrEmpty(mailDefinition.BodyFileName) && defaultBody != null) { 96if (String.IsNullOrEmpty(providerName)) { 465if (!String.IsNullOrEmpty(control.CssClass)) { 477return String.Empty;
UI\WebControls\MailDefinition.cs (13)
51return (_bodyFileName == null) ? String.Empty : _bodyFileName; 71return (obj == null) ? String.Empty : (string)obj; 91return (obj == null) ? String.Empty : (string)obj; 166return (obj == null) ? String.Empty : (string)obj; 208string body = String.Empty; 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 (35)
249return String.Empty; 324return String.Empty; 385return String.Empty; 798return String.Empty; 845return String.Empty; 906return String.Empty; 938return String.Empty; 1025return String.Empty; 1086return String.Empty; 1180return String.Empty; 1199return String.Empty; 1252AccessKey = String.Empty; 1320(!String.IsNullOrEmpty(DataSourceID) || DataSource != null)) { 1439string navigateUrl = String.Empty; 1440string imageUrl = String.Empty; 1441string popOutImageUrl = String.Empty; 1442string separatorImageUrl = String.Empty; 1443string target = String.Empty; 1448string toolTip = String.Empty; 1450string dataMember = String.Empty; 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)) { 1706if (String.Equals(data.Path, _currentSiteMapNodeUrl, StringComparison.OrdinalIgnoreCase)) { 2151if (!String.IsNullOrEmpty(DataSourceID) || DataSource != null) { 2259String.IsNullOrEmpty(DataSourceID) && DataSource == null) { 2269if (!String.IsNullOrEmpty(DataSourceID) ||
UI\WebControls\MenuEventArgs.cs (1)
19public MenuEventArgs(MenuItem item) : this(item, null, new CommandEventArgs(String.Empty, null)) {
UI\WebControls\MenuItem.cs (25)
114if (!String.IsNullOrEmpty(imageUrl)) { 118if (!String.IsNullOrEmpty(navigateUrl)) { 122if (!String.IsNullOrEmpty(target)) { 180return String.Empty; 239return String.Format(CultureInfo.CurrentCulture, _owner.StaticItemFormatString, Text); 242return String.Format(CultureInfo.CurrentCulture, _owner.DynamicItemFormatString, Text); 272return String.Empty; 316_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray()); 320return String.Empty; 358return String.Empty; 406return String.Empty; 461return String.Empty; 480return String.Empty; 502return String.Empty; 523return String.Empty; 545return String.Empty; 575return String.Empty; 620return String.Empty; 689panel.CssClass = String.Empty; 693panel.CssClass = String.Empty; 819writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 1008string expandImageUrl = (shouldRenderExpandImage ? GetExpandImageUrl() : String.Empty); 1059String.Format(CultureInfo.CurrentCulture, _owner.StaticPopOutImageTextFormatString, Text)); 1064String.Format(CultureInfo.CurrentCulture, _owner.DynamicPopOutImageTextFormatString, Text)); 1106writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
UI\WebControls\MenuItemBinding.cs (21)
35return String.Empty; 91return (s == null ? String.Empty : (string)s); 110return String.Empty; 132return String.Empty; 155return String.Empty; 175return String.Empty; 194return String.Empty; 214return String.Empty; 233return String.Empty; 266return (s == null ? String.Empty : (string)s); 282return String.Empty; 301return String.Empty; 323return String.Empty; 342return String.Empty; 367return String.Empty; 391return String.Empty; 412return String.Empty; 435return String.Empty; 460return String.Empty; 484return String.Empty; 514return (String.IsNullOrEmpty(DataMember) ?
UI\WebControls\MenuItemBindingCollection.cs (2)
84if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase)) { 92else if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase) &&
UI\WebControls\MenuRendererClassic.cs (9)
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)) { 186(String.Equals(Menu.Page.Request.Url.Scheme, "https", StringComparison.OrdinalIgnoreCase))) {
UI\WebControls\MenuRendererStandards.cs (22)
49string initScript = String.Format(CultureInfo.InvariantCulture, 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)) { 531writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 592return AddStyleDefinition(String.Format(CultureInfo.InvariantCulture, selectorFormat, args));
UI\WebControls\ModelDataSource.cs (4)
36UpdateProperties(modelTypeName, selectMethod, String.Empty, String.Empty, String.Empty, String.Empty);
UI\WebControls\ModelDataSourceView.cs (19)
138return _modelTypeName ?? String.Empty; 154return _deleteMethod ?? String.Empty; 166return _insertMethod ?? String.Empty; 178return _selectMethod ?? String.Empty; 193return _updateMethod ?? String.Empty; 205return _dataKeyName ?? String.Empty; 252if (String.Equals(StartRowIndexParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) { 258if (String.Equals(MaximumRowsParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) { 264if (String.Equals(TotalRowCountParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) { 299if (String.Equals(SortParameterName, parameterName, StringComparison.OrdinalIgnoreCase)) { 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)) { 1251string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelDataSourceView_ParameterCannotBeNull), 1258string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelDataSourceView_ParameterValueHasWrongType), 1284if (String.IsNullOrEmpty(modelTypeName)) {
UI\WebControls\ModelErrorMessage.cs (4)
33return ((o == null) ? String.Empty : (string)o); 90ModelError error = modelState.Errors.FirstOrDefault(modelError => !String.IsNullOrEmpty(modelError.ErrorMessage)); 96var validateId = AssociatedControlID; 97if (!String.IsNullOrEmpty(validateId)) {
UI\WebControls\ObjectDataSource.cs (1)
882if (viewName == null || (viewName.Length != 0 && !String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase))) {
UI\WebControls\ObjectDataSourceView.cs (26)
183return String.Empty; 202return String.Empty; 249return String.Empty; 287return String.Empty; 365return String.Empty; 383return String.Empty; 421return String.Empty; 458return String.Empty; 476return String.Empty; 692string propName = (de.Key == null ? String.Empty : de.Key.ToString()); 738throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_CannotConvertType, paramName, paramValueType.FullName, String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", destinationType.GetGenericArguments()[0].FullName))); 787if (!String.IsNullOrEmpty(arguments.SortExpression)) { 1017if (String.IsNullOrEmpty(arguments.SortExpression)) { 1071arguments.SortExpression = String.Empty; 1079if (String.IsNullOrEmpty(maximumRowsParameterName) || 1080String.IsNullOrEmpty(startRowIndexParameterName)) { 1144if (!String.IsNullOrEmpty(arguments.SortExpression)) { 1371if (String.Equals(methodName, mi.Name, StringComparison.OrdinalIgnoreCase)) { 1425string formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param0Name); 1426if (String.Equals(param1Name, formattedParamName, StringComparison.OrdinalIgnoreCase)) { 1431formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param1Name); 1432if (String.Equals(param0Name, formattedParamName, StringComparison.OrdinalIgnoreCase)) { 1486if (String.Equals(methodName, mi.Name, StringComparison.OrdinalIgnoreCase)) { 1564string paramString = String.Join(", ", paramNames); 1777parameterName = String.Format(CultureInfo.InvariantCulture, parameterNameFormatString, parameterName); 1780if (String.Equals(p.Name, parameterName, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\PagedDataSource.cs (1)
367return String.Empty;
UI\WebControls\PagerSettings.cs (5)
57return String.Empty; 137return String.Empty; 225return String.Empty; 342return String.Empty; 427return String.Empty;
UI\WebControls\Panel.cs (4)
52return String.Empty; 59return((s == null) ? String.Empty : s); 85return String.Empty; 135return (s != null) ? s : String.Empty;
UI\WebControls\PanelStyle.cs (1)
62return String.Empty;
UI\WebControls\Parameter.cs (2)
196return String.Empty; 317if (convertEmptyStringToNull && String.IsNullOrEmpty(defaultValue)) {
UI\WebControls\ParameterCollection.cs (1)
171if (String.Equals(this[i].Name, name, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\PasswordRecovery.cs (19)
103return (_answer == null) ? String.Empty : _answer; 110if (String.IsNullOrEmpty(answer) && _questionContainer != null) { 308return (obj == null) ? String.Empty : (string)obj; 325return (obj == null) ? String.Empty : (string)obj; 346return (obj == null) ? String.Empty : (string)obj; 462return (obj == null) ? String.Empty : (string)obj; 481return (_question != null) ? _question : String.Empty; 617return (obj == null) ? String.Empty : (string)obj; 660return (obj == null) ? String.Empty : (string)obj; 852return (_userName == null) ? String.Empty : _userName; 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)) { 1759answerTextBox.Text = String.Empty;
UI\WebControls\PolygonHotSpot.cs (4)
29public String Coordinates { 31String o = ViewState["Coordinates"] as String; 32return o != null ? o : String.Empty;
UI\WebControls\PopOutPanel.cs (7)
24private String _scrollerClass; 41internal String ScrollerClass { 65CssClass = String.Empty; 122if (!String.IsNullOrEmpty(ScrollerClass)) { 148if (!String.IsNullOrEmpty(CssClass)) { 172(!String.IsNullOrEmpty(CssClass)) ? 178if (!String.IsNullOrEmpty(CssClass)) {
UI\WebControls\ProfileParameter.cs (1)
78return String.Empty;
UI\WebControls\QueryableHelpers.cs (1)
15if (!String.IsNullOrEmpty(sortExpression)) {
UI\WebControls\QueryExtensions.cs (3)
15if (String.IsNullOrWhiteSpace(sortExpression)) { 30if (String.IsNullOrEmpty(sortExpression)) { 34ParameterExpression parameter = Expression.Parameter(source.ElementType, String.Empty);
UI\WebControls\QueryStringParameter.cs (1)
79return String.Empty;
UI\WebControls\RadioButton.cs (4)
50return((s == null) ? String.Empty : s); 120bool IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) { 130protected override bool LoadPostData(String postDataKey, NameValueCollection postCollection) { 219PostBackOptions options = new PostBackOptions(this, String.Empty);
UI\WebControls\RadioButtonList.cs (3)
233bool IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) { 243protected virtual bool LoadPostData(String postDataKey, NameValueCollection postCollection) { 303if (!DesignMode && !String.IsNullOrEmpty(ItemType)) {
UI\WebControls\RangeValidator.cs (2)
38return((o == null) ? String.Empty : (string)o); 58return((o == null) ? String.Empty : (string)o);
UI\WebControls\RegularExpressionValidator.cs (2)
43return((o == null) ? String.Empty : (string)o); 47Regex.IsMatch(String.Empty, value);
UI\WebControls\Repeater.cs (8)
70return !String.IsNullOrEmpty(SelectMethod); 129return _itemType ?? String.Empty; 132if (!String.Equals(_itemType, value, StringComparison.OrdinalIgnoreCase)) { 150return _selectMethod ?? String.Empty; 153if (!String.Equals(_selectMethod, value, StringComparison.OrdinalIgnoreCase)) { 222return String.Empty; 276return String.Empty; 887if (!DesignMode && !String.IsNullOrEmpty(ItemType)) {
UI\WebControls\RepeatInfo.cs (1)
45return (caption == null) ? String.Empty : caption;
UI\WebControls\RequiredFieldValidator.cs (1)
39return((o == null) ? String.Empty : (string)o);
UI\WebControls\RouteParameter.cs (1)
72return String.Empty;
UI\WebControls\SessionParameter.cs (1)
78return String.Empty;
UI\WebControls\SiteMapDataSource.cs (8)
60if (String.IsNullOrEmpty(SiteMapProvider)) { 119return (provider == null) ? String.Empty : provider; 190return (startingNodeUrl == null) ? String.Empty : startingNodeUrl; 205if (!String.IsNullOrEmpty(StartingNodeUrl) && StartFromCurrentNode) { 212else if (!String.IsNullOrEmpty(StartingNodeUrl)) { 300if (String.IsNullOrEmpty(viewPath)) { 323if (String.IsNullOrEmpty(viewPath)) { 346_dataSourceView = SiteMapNodeCollection.ReadOnly(GetPathNodeCollection(viewName)).GetDataSourceView(this, String.Empty);
UI\WebControls\SiteMapPath.cs (4)
251if (String.IsNullOrEmpty(SiteMapProvider)) { 342public virtual String SkipLinkText { 344string s = ViewState["SkipLinkText"] as String; 383return (provider == null) ? String.Empty : provider;
UI\WebControls\SqlDataSource.cs (4)
193return (_connectionString == null ? String.Empty : _connectionString); 417return (_providerName == null ? String.Empty : _providerName); 928if (String.IsNullOrEmpty(providerName)) { 980if (viewName == null || (viewName.Length != 0 && !String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase))) {
UI\WebControls\SqlDataSourceView.cs (12)
168return String.Empty; 213return String.Empty; 255return String.Empty; 329if (String.IsNullOrEmpty(_owner.ProviderName) || 330String.Equals(_owner.ProviderName, "System.Data.SqlClient", StringComparison.OrdinalIgnoreCase)) { 334return String.Empty; 345return String.Empty; 417return String.Empty; 436return String.Empty; 641formattedParamName = String.Format(CultureInfo.InvariantCulture, oldValuesParameterFormatString, rawParamName); 964arguments.SortExpression = String.Empty; 1015if (String.Equals(sqlCache.SqlCacheDependency, SqlDataSourceCache.Sql9CacheDependencyDirective, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\StringArrayConverter.cs (1)
65return String.Empty;
UI\WebControls\Style.cs (9)
213return (s == null) ? String.Empty : s; 215return String.Empty; 334return String.Empty; 404string cssClass = String.Empty; 410cssClass = String.Empty; 413if (!String.IsNullOrEmpty(registeredCssClass)) { 608string textDecoration = String.Empty; 653return String.Empty; 655return String.Join(delimiter.ToString(CultureInfo.InvariantCulture), array);
UI\WebControls\Substitution.cs (1)
47return s == null? String.Empty : s;
UI\WebControls\Table.cs (2)
55return String.Empty; 74return (s != null) ? s : String.Empty;
UI\WebControls\TableCell.cs (3)
180return((o == null) ? String.Empty : (string)o); 272if (!String.IsNullOrEmpty(val)) { 302Text = String.Empty;
UI\WebControls\TableHeaderCell.cs (4)
50return((x == null) ? String.Empty : (string)x); 117String abbr = AbbreviatedText; 118if (!String.IsNullOrEmpty(abbr)) { 136if (!String.IsNullOrEmpty(val)) {
UI\WebControls\TableStyle.cs (2)
63return String.Empty; 224string rules = String.Empty;
UI\WebControls\TemplateColumn.cs (1)
160cell.Text = String.Empty;
UI\WebControls\TemplateField.cs (1)
311cell.Text = String.Empty;
UI\WebControls\TextBox.cs (4)
307return((s == null) ? String.Empty : s); 431if (mode != TextBoxMode.SingleLine || String.IsNullOrEmpty(Attributes["type"])) { 495PostBackOptions options = new PostBackOptions(this, String.Empty); 530page.ClientScript.RegisterForEventValidation(this.UniqueID, String.Empty);
UI\WebControls\TreeNode.cs (34)
101if (!String.IsNullOrEmpty(imageUrl)) { 105if (!String.IsNullOrEmpty(navigateUrl)) { 109if (!String.IsNullOrEmpty(target)) { 187return String.Empty; 290return String.Empty; 312return String.Empty; 358_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray()); 362return String.Empty; 379return String.Empty; 562return String.Empty; 584return String.Empty; 605return String.Empty; 627return String.Empty; 656else if ((Owner != null) && !String.IsNullOrEmpty(InternalValuePath)) { 662_valuePath = String.Join(Owner.PathSeparator.ToString(), splitValuePath); 666return String.Empty; 740string populateNodeAttributeValue = String.Empty; 789String.Concat(indexString, Text, InternalValuePath, DataPath)); 888string myId = String.Empty; 932writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 948writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 962string imageUrl = String.Empty; 964string imageToolTip = String.Empty; 1137string nodeImageUrl = String.Empty; 1161string selectImageId = String.Empty; 1215String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1219String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1223writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 1226 writer.AddAttribute(HtmlTextWriterAttribute.Title, String.Empty); 1239writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 1270string onClick = String.Empty; 1380writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty); 1383 writer.AddAttribute(HtmlTextWriterAttribute.Title, String.Empty); 1432&& !String.IsNullOrEmpty(WebControl.DisabledCssClass)) {
UI\WebControls\TreeNodeBinding.cs (17)
35return String.Empty; 77return String.Empty; 99return String.Empty; 121return String.Empty; 145return String.Empty; 168return String.Empty; 192return String.Empty; 215return String.Empty; 299return String.Empty; 318return String.Empty; 343return String.Empty; 367return String.Empty; 390return String.Empty; 413return String.Empty; 438return String.Empty; 462return String.Empty; 494return (String.IsNullOrEmpty(DataMember) ?
UI\WebControls\TreeNodeBindingCollection.cs (2)
79if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase)) { 87else if (String.Equals(binding.DataMember, dataMember, StringComparison.CurrentCultureIgnoreCase) &&
UI\WebControls\TreeNodeStyle.cs (1)
104return String.Empty;
UI\WebControls\TreeView.cs (55)
329return String.Empty; 367_cachedCollapseImageUrl = String.Empty; 472return String.Empty; 510_cachedExpandImageUrl = String.Empty; 680return String.Empty; 736return String.Empty; 782_cachedNoExpandImageUrl = String.Empty; 1087return String.Empty; 1160public String SkipLinkText { 1162string s = ViewState["SkipLinkText"] as String; 1180return String.Empty; 1308if (!String.IsNullOrEmpty(oldAccessKey)) { 1309AccessKey = String.Empty; 1435_currentSiteMapNodeDataPath = String.Empty; 1465string navigateUrl = String.Empty; 1466string imageUrl = String.Empty; 1467string target = String.Empty; 1469string toolTip = String.Empty; 1470string imageToolTip = String.Empty; 1474string dataMember = String.Empty; 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)) { 1694if (String.Equals(data.Path, _currentSiteMapNodeDataPath, StringComparison.OrdinalIgnoreCase)) { 2239LevelImageUrls[index] = String.Empty; 2339if (String.IsNullOrEmpty(value)) { 2340return String.Empty; 2602string selectedNodeID = String.Empty; 2631string populateStartupScript = String.Empty; 2637scriptOM.RegisterHiddenField(this, PopulateLogID, String.Empty); 2654string selectedInfo = String.Empty; 2664if (!String.IsNullOrEmpty(_selectedNodeStyle.CssClass)) { 2673string hoverInfo = String.Empty; 2677if (!String.IsNullOrEmpty(_hoverNodeStyle.CssClass)) { 2679if (!String.IsNullOrEmpty(className)) { 2682if (!String.IsNullOrEmpty(hyperLinkClassName)) { 2769String.IsNullOrEmpty(DataSourceID) && DataSource == null) { 2777if (!String.IsNullOrEmpty(DataSourceID) || DataSource != null) { 3224if (!IsEnabled) return String.Empty; 3276String.Concat(nodeIndexString, nodeText, valuePath, dataPath)); 3292string result = String.Empty; 3331_callbackEventArgument = String.Empty; 3350if (!String.IsNullOrEmpty(postedSelectedNodeID)) { 3475if (String.Equals(strValue, fullyExpandedString, StringComparison.OrdinalIgnoreCase)) { 3491if (String.Equals(strValue, fullyExpandedString, StringComparison.OrdinalIgnoreCase)) { 3499if (String.Equals(strValue, fullyExpandedString, StringComparison.OrdinalIgnoreCase)) {
UI\WebControls\Unit.cs (5)
100if (String.IsNullOrEmpty(value)) { 261return String.Empty; 269if (!String.IsNullOrEmpty(value)) { 348/// <para>Converts a <see cref='System.Web.UI.WebControls.Unit'/> to a <see cref='System.String' qualify='true'/> .</para> 362return String.Empty;
UI\WebControls\unitconverter.cs (1)
85return String.Empty;
UI\WebControls\ValidationSummary.cs (14)
25private const String breakTag = "b"; 155return((o == null) ? String.Empty : (string)o); 262internal String[] GetErrorMessages(out bool inError) { 274if (!String.IsNullOrEmpty(val.ErrorMessage)) { 275errorDescriptions.Add(String.Copy(val.ErrorMessage)); 290if (!String.IsNullOrEmpty(error.ErrorMessage)) { 352String.Format( 426first = String.Empty; 427pre = String.Empty; 429final = String.Empty; 433headerSep = String.Empty; 442first = String.Empty; 443pre = String.Empty; 478private void WriteBreakIfPresent(HtmlTextWriter writer, String text) {
UI\WebControls\VerticalAlignConverter.cs (1)
25static string[] stringValues = new String[(int) VerticalAlign.Bottom + 1];
UI\WebControls\WebColorConverter.cs (2)
35if (String.IsNullOrEmpty(colorText)) 76return String.Empty;
UI\WebControls\WebControl.cs (6)
97return String.Empty; 275return String.Empty; 286return _disabledCssClass ?? String.Empty; 553return String.Empty; 604if ((RenderingCompatibility >= VersionUtil.Framework40) && !String.IsNullOrEmpty(DisabledCssClass)) { 605if (String.IsNullOrEmpty(CssClass)) {
UI\WebControls\Wizard.cs (45)
188return (obj == null) ? String.Empty : (string)obj; 226public virtual String CancelButtonText { 228string s = ViewState["CancelButtonText"] as String; 264public virtual String CancelDestinationPageUrl { 266string s = ViewState["CancelDestinationPageUrl"] as String; 267return s == null ? String.Empty : s; 361return (obj == null) ? String.Empty : (string)obj; 399public virtual String FinishCompleteButtonText { 401string s = ViewState["FinishCompleteButtonText"] as String; 441return (obj == null) ? String.Empty : (string)obj; 462return (obj == null) ? String.Empty : (string)obj; 500public virtual String FinishPreviousButtonText { 502string s = ViewState["FinishPreviousButtonText"] as String; 592string s = ViewState["HeaderText"] as String; 593return s == null ? String.Empty : s; 676return (obj == null) ? String.Empty : (string)obj; 714public virtual String StartNextButtonText { 716string s = ViewState["StartNextButtonText"] as String; 755return (obj == null) ? String.Empty : (string)obj; 793public virtual String StepNextButtonText { 795string s = ViewState["StepNextButtonText"] as String; 834return (obj == null) ? String.Empty : (string)obj; 872public virtual String StepPreviousButtonText { 874string s = ViewState["StepPreviousButtonText"] as String; 969public virtual String SkipLinkText { 1255return ViewState["SkipLinkText"] as String; 1461int newIndex = Int32.Parse((String)e.CommandArgument, CultureInfo.InvariantCulture); 1738if (String.Equals(CancelCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) { 1769if (String.Equals(MoveNextCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) { 1782} else if (String.Equals(MovePreviousCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) { 1798} else if (String.Equals(MoveCompleteCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) { 1811} else if (String.Equals(MoveToCommandName, ce.CommandName, StringComparison.OrdinalIgnoreCase)) { 1812newIndex = Int32.Parse((String)ce.CommandArgument, CultureInfo.InvariantCulture); 1861if (!String.IsNullOrEmpty(cancelDestinationUrl)) { 1878if (!String.IsNullOrEmpty(finishPageUrl)) { 2479} else if (!String.IsNullOrEmpty(Owner.HeaderText)) { 2714if ((Owner.HeaderTemplate == null) && String.IsNullOrEmpty(Owner.HeaderText)) { 2930String _originalError; 2973private String _button1ID; 2974private String _button2ID; 2975private String _button3ID; 3017String label1ID, String label2ID, String label3ID) { 3064private void CreateButtonControl(IButtonControl[] buttons, String id, bool causesValidation, string commandName) {
UI\WebControls\WizardStepBase.cs (4)
107public virtual String Name { 109if (!String.IsNullOrEmpty(Title)) { 113if (!String.IsNullOrEmpty(ID)) { 166return((s == null) ? String.Empty : s);
UI\WebControls\xml.cs (12)
185public String DocumentContent { 187return _documentContent != null ? _documentContent : String.Empty; 212public String DocumentSource { 214return (_documentSource == null) ? String.Empty : _documentSource; 246return String.Empty; 305public String TransformSource { 307return (_transformSource == null) ? String.Empty : _transformSource; 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 (12)
137return (string)ViewState["CacheKeyContext "] ?? String.Empty; 158return String.Empty; 189return String.Empty; 229return (String.IsNullOrEmpty(TransformFile) && 230String.IsNullOrEmpty(Transform) && 231!String.IsNullOrEmpty(WriteableDataFile)); 249return String.Empty; 296return String.Empty; 336return String.Empty; 385if (!String.IsNullOrEmpty(CacheKeyContext)) { 418if (String.IsNullOrEmpty(uniqueID)) { 669Debug.Assert(!String.IsNullOrEmpty(writeableDataFile), "Did not expect WriteableDataFile to be empty in Save()");
UI\WebControls\XmlDataSourceNodeDescriptor.cs (1)
148return String.Empty;
UI\WebControls\XmlHierarchicalDataSourceView.cs (1)
45if (!String.IsNullOrEmpty(_viewPath)) {
UI\WebControls\XmlHierarchyData.cs (2)
46return String.Empty; 246return String.Empty;
UI\WebParts\AppearanceEditorPart.cs (4)
101if (!String.IsNullOrEmpty(heightValueString)) { 133if (!String.IsNullOrEmpty(widthValueString)) { 305return (_value != null) ? _value.Text : String.Empty; 320_value.Text = String.Empty;
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\CatalogPartCollection.cs (1)
36if (String.Equals(catalogPart.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\CatalogZoneBase.cs (14)
106if (String.IsNullOrEmpty(catalogPart.ID)) { 214if (String.IsNullOrEmpty(_selectedCatalogPartID)) { 216return String.Empty; 223return String.Empty; 241if (String.IsNullOrEmpty(_selectedCatalogPartID)) { 425if (!String.IsNullOrEmpty(selectedCheckBoxValues)) { 492else if (String.Equals(eventArgument, addEventArgument, StringComparison.OrdinalIgnoreCase)) { 497else if (String.Equals(eventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) { 606Debug.Assert(!String.IsNullOrEmpty(catalogPart.ID)); 625if (!String.IsNullOrEmpty(emptyZoneText)) { 660Debug.Assert(!String.IsNullOrEmpty(zone.ID)); 662if (String.Equals(zone.ID, _selectedZoneID, StringComparison.OrdinalIgnoreCase)) { 698if (!String.IsNullOrEmpty(instructionText)) { 743if (!String.IsNullOrEmpty(_selectedCatalogPartID)) {
UI\WebParts\ConnectionConsumerAttribute.cs (4)
22if (String.IsNullOrEmpty(displayName)) { 31if (String.IsNullOrEmpty(id)) { 47if (String.IsNullOrEmpty(id)) { 65return (_id != null) ? _id : String.Empty;
UI\WebParts\ConnectionPoint.cs (2)
50if (String.IsNullOrEmpty(displayName)) { 88return (!String.IsNullOrEmpty(_id)) ? _id : DefaultID;
UI\WebParts\ConnectionProviderAttribute.cs (4)
22if (String.IsNullOrEmpty(displayName)) { 31if (String.IsNullOrEmpty(id)) { 47if (String.IsNullOrEmpty(id)) { 65return (_id != null) ? _id : String.Empty;
UI\WebParts\ConnectionsZone.cs (38)
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)) { 1302String.Equals(eventArguments[0], disconnectEventArgument, StringComparison.OrdinalIgnoreCase)) { 1313String.Equals(eventArguments[0], connectEventArgument, StringComparison.OrdinalIgnoreCase)) { 1317if (String.Equals(eventArguments[1], providerEventArgument, StringComparison.OrdinalIgnoreCase)) { 1326String.Equals(eventArguments[0], configureEventArgument, StringComparison.OrdinalIgnoreCase)) { 1332else if (String.Equals(eventArgument, connectConsumerEventArgument, StringComparison.OrdinalIgnoreCase)) { 1336else if (String.Equals(eventArgument, connectProviderEventArgument, StringComparison.OrdinalIgnoreCase)) { 1340else if (String.Equals(eventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) { 1347else if (String.Equals(eventArgument, cancelEventArgument, StringComparison.OrdinalIgnoreCase)) { 1490if (!String.IsNullOrEmpty(connectToConsumerTitle)) { 1493label.AssociatedControlID = String.Empty; 1499if (!String.IsNullOrEmpty(connectToConsumerInstructionText)) { 1503label.AssociatedControlID = String.Empty; 1520label.AssociatedControlID = String.Empty; 1550connectVerb.EventArgument = String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1583if (!String.IsNullOrEmpty(connectToProviderTitle)) { 1586label.AssociatedControlID = String.Empty; 1592if (!String.IsNullOrEmpty(connectToProviderInstructionText)) { 1596label.AssociatedControlID = String.Empty; 1613label.AssociatedControlID = String.Empty; 1643connectVerb.EventArgument = String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1692if (!String.IsNullOrEmpty(instructionText)) { 1724if (!String.IsNullOrEmpty(instructionText)) { 1857String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1897String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1906if (!String.IsNullOrEmpty(instructionText)) { 1923if (!String.IsNullOrEmpty(instructionTitle)) { 1926label.Text = String.Format(CultureInfo.CurrentCulture, instructionTitle, WebPartToConnect.DisplayTitle); 1940if (!String.IsNullOrEmpty(noConnection)) { 1950if (!String.IsNullOrEmpty(instructions)) { 2139list.Items.Add(new ListItem(SR.GetString(SR.ConnectionsZone_NoConsumers), String.Empty)); 2194list.Items.Add(new ListItem(SR.GetString(SR.ConnectionsZone_NoProviders), String.Empty)); 2291(String.IsNullOrEmpty(_pendingConnectionID) ||
UI\WebParts\DeclarativeCatalogPart.cs (3)
53return (_webPartsListUserControlPath != null) ? _webPartsListUserControlPath : String.Empty; 141if (!String.IsNullOrEmpty(webPartsListUserControlPath) && !DesignMode) { 270get { return String.Empty; }
UI\WebParts\EditorPart.cs (3)
75if (String.IsNullOrEmpty(displayTitle)) { 173if (!String.IsNullOrEmpty(propertyDescription)) { 207if (!String.IsNullOrEmpty(errorMessage)) {
UI\WebParts\EditorPartChrome.cs (6)
135if (!String.IsNullOrEmpty(accessKey)) { 136editorPart.AccessKey = String.Empty; 139if (!String.IsNullOrEmpty(accessKey)) { 147if (String.IsNullOrEmpty(displayTitle)) { 169if (!String.IsNullOrEmpty(description)) { 174if (!String.IsNullOrEmpty(accessKey)) {
UI\WebParts\EditorZoneBase.cs (7)
124if (String.IsNullOrEmpty(editorPart.ID)) { 341if (String.Equals(eventArgument, applyEventArgument, StringComparison.OrdinalIgnoreCase)) { 346else if (String.Equals(eventArgument, cancelEventArgument, StringComparison.OrdinalIgnoreCase)) { 351else if (String.Equals(eventArgument, okEventArgument, StringComparison.OrdinalIgnoreCase)) { 436if (!String.IsNullOrEmpty(emptyZoneText)) { 456if (!String.IsNullOrEmpty(errorText)) { 474if (!String.IsNullOrEmpty(instructionText)) {
UI\WebParts\ErrorWebPart.cs (3)
34return (_errorMessage != null) ? _errorMessage : String.Empty; 69AuthorizationFilter = String.Empty; 74if (!String.IsNullOrEmpty(errorMessage)) {
UI\WebParts\GenericWebPart.cs (2)
48if (String.IsNullOrEmpty(control.ID)) { 140return (_subtitle != null ? _subtitle : String.Empty);
UI\WebParts\ImportCatalogPart.cs (7)
46new WebPartDescription("webpart1", String.Format(CultureInfo.CurrentCulture, 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\PageCatalogPart.cs (4)
32new WebPartDescription("webpart1", String.Format(CultureInfo.CurrentCulture, 34new WebPartDescription("webpart2", String.Format(CultureInfo.CurrentCulture, 36new WebPartDescription("webpart3", String.Format(CultureInfo.CurrentCulture, 255get { return String.Empty; }
UI\WebParts\Part.cs (2)
95return (s != null) ? s : String.Empty; 112return (s != null) ? s : String.Empty;
UI\WebParts\PersonalizationProviderHelper.cs (1)
33if (String.IsNullOrEmpty(trimmedStr)) {
UI\WebParts\PersonalizationStateInfoCollection.cs (2)
213int pathDiff = String.Compare(x.Path, y.Path, 219return String.Compare(x.Username, y.Username,
UI\WebParts\PersonalizationStateQuery.cs (2)
16private static readonly Dictionary<String, Type> _knownPropertyTypeMappings; 21_knownPropertyTypeMappings = new Dictionary<String, Type>(StringComparer.OrdinalIgnoreCase);
UI\WebParts\PropertyGridEditorPart.cs (2)
225if (attribute != null && !String.IsNullOrEmpty(attribute.DisplayName)) { 383return String.Empty;
UI\WebParts\ProxyWebPart.cs (12)
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)) { 97return (_genericWebPartID != null) ? _genericWebPartID : String.Empty; 113return (_originalID != null) ? _originalID : String.Empty; 119return (_originalTypeName != null) ? _originalTypeName : String.Empty; 125return (_originalPath != null) ? _originalPath : String.Empty;
UI\WebParts\ProxyWebPartConnectionCollection.cs (1)
50if (connection != null && String.Equals(connection.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\ProxyWebPartManager.cs (1)
62return String.Empty;
UI\WebParts\RowToFieldTransformer.cs (2)
29return (_fieldName != null) ? _fieldName : String.Empty; 130if (String.Equals(item.Value, _owner.FieldName, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\RowToParametersTransformer.cs (3)
281if (String.Equals(providerFieldNames[j], providerFieldValue, 294if (String.Equals(item.Value, consumerFieldValue, StringComparison.OrdinalIgnoreCase)) { 340if (!String.IsNullOrEmpty(selectedConsumerFieldName)) {
UI\WebParts\SqlPersonalizationProvider.cs (8)
48if (String.IsNullOrEmpty(_applicationName)) { 445if (String.IsNullOrEmpty(name)) { 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\ToolZone.cs (2)
157return((s == null) ? String.Empty : s); 274if (String.Equals(eventArgument, headerCloseEventArgument, StringComparison.OrdinalIgnoreCase) &&
UI\WebParts\WebDescriptionAttribute.cs (1)
16public WebDescriptionAttribute() : this(String.Empty) {
UI\WebParts\WebDisplayNameAttribute.cs (1)
16public WebDisplayNameAttribute() : this(String.Empty) {
UI\WebParts\WebPart.cs (11)
208return (_authorizationFilter != null) ? _authorizationFilter : String.Empty; 225return (_catalogIconImageUrl != null) ? _catalogIconImageUrl : String.Empty; 279return (_connectErrorMessage != null) ? _connectErrorMessage : String.Empty; 328if (String.IsNullOrEmpty(displayTitle)) { 432return (_helpUrl != null) ? _helpUrl : String.Empty; 536return String.Empty; 574return (_titleIconImageUrl != null) ? _titleIconImageUrl : String.Empty; 595return (_titleUrl != null) ? _titleUrl : String.Empty; 683if (!String.IsNullOrEmpty(zoneID) && WebPartManager != null) { 758if (String.IsNullOrEmpty(_connectErrorMessage)) { 872c = String.Compare(p1.ID, p2.ID, StringComparison.CurrentCulture);
UI\WebParts\WebPartChrome.cs (12)
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) { 479ZoneButton button = new ZoneButton(Zone, String.Empty); 535if (!String.IsNullOrEmpty(clientClickHandler) && isEnabled) { 546if (!String.IsNullOrEmpty(clientClickHandler) && isEnabled) { 571verbControl.ToolTip = String.Format(CultureInfo.CurrentCulture, verb.Description, webPart.DisplayTitle); 773if (String.IsNullOrEmpty(webPart.HelpUrl)) { 810if (String.IsNullOrEmpty(verb.ImageUrl)) {
UI\WebParts\WebPartCollection.cs (4)
65if (String.Equals(webPart.ID, id, StringComparison.OrdinalIgnoreCase)) { 73if (String.Equals(control.ID, id, StringComparison.OrdinalIgnoreCase)) { 81if ((String.Equals(proxyWebPart.OriginalID, id, StringComparison.OrdinalIgnoreCase)) || 82(String.Equals(proxyWebPart.GenericWebPartID, id, StringComparison.OrdinalIgnoreCase))) {
UI\WebParts\WebPartConnection.cs (5)
81return (!String.IsNullOrEmpty(_consumerConnectionPointID)) ? 94return (_consumerID != null) ? _consumerID : String.Empty; 117return (_id != null) ? _id : String.Empty; 198return (!String.IsNullOrEmpty(_providerConnectionPointID)) ? 211return (_providerID != null) ? _providerID : String.Empty;
UI\WebParts\WebPartConnectionCollection.cs (1)
56if (String.Equals(connection.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartDescription.cs (8)
23if (String.IsNullOrEmpty(id)) { 26if (String.IsNullOrEmpty(title)) { 31_description = (description != null) ? description : String.Empty; 32_imageUrl = (imageUrl != null) ? imageUrl : String.Empty; 37if (String.IsNullOrEmpty(id)) { 44_title = (displayTitle != null) ? displayTitle : String.Empty; 47_description = (description != null) ? description : String.Empty; 50_imageUrl = (imageUrl != null) ? imageUrl : String.Empty;
UI\WebParts\WebPartDisplayMode.cs (1)
16if (String.IsNullOrEmpty(name)) {
UI\WebParts\WebPartDisplayModeCollection.cs (1)
36if (String.Equals(displayMode.Name, modeName, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebPartManager.cs (39)
528return String.Empty; 981if (!String.IsNullOrEmpty(zoneID)) { 1600if (String.IsNullOrEmpty(connectionID)) { 1789String displayName = attribute.DisplayName; 1790String id = attribute.ID; 1819String displayName = attribute.DisplayName; 1820String id = attribute.ID; 1894if (String.IsNullOrEmpty(title)) { 2292Debug.Assert(!String.IsNullOrEmpty(zoneID)); 2293if (!String.IsNullOrEmpty(zoneID)) { 2382return String.Empty; 2390Debug.Assert(!String.IsNullOrEmpty(displayTitle)); 2417(Personalization.Scope == PersonalizationScope.Shared) ? "&scope=shared" : String.Empty; 2422(!String.IsNullOrEmpty(queryString) ? 2424String.Empty) + 2720if (String.IsNullOrEmpty(version)) { 2724if (!String.Equals(version, ExportPartNamespaceValue, StringComparison.OrdinalIgnoreCase)) { 2748if (!String.IsNullOrEmpty(partTypeName)) { 2812if (!String.IsNullOrEmpty(importErrorMessage)) { 2822if (String.IsNullOrEmpty(importErrorMessage)) { 2992bool isNull = String.Equals( 3027if (!String.IsNullOrEmpty(typeName)) { 3127String.Equals(scope, PersonalizationScope.Shared.ToString(), StringComparison.OrdinalIgnoreCase) ? 3179if (String.IsNullOrEmpty(path)) { 3184if (!String.IsNullOrEmpty(path)) { 3208if (!String.IsNullOrEmpty(webPartID) && Personalization.IsEnabled) { 3388if (!String.IsNullOrEmpty(path)) { 3402if (childControl == null && String.IsNullOrEmpty(path)) { 3476if (String.Equals(connection.ID, idToDelete, StringComparison.OrdinalIgnoreCase)) { 3483if (String.Equals(connection.ID, idToDelete, StringComparison.OrdinalIgnoreCase)) { 3893string startupScript = String.Format(CultureInfo.InvariantCulture, 3898Page.ClientScript.RegisterStartupScript(this, typeof(WebPartManager), String.Empty, startupScript, false); 3914if (String.IsNullOrEmpty(zoneID)) { 3953if (!String.IsNullOrEmpty(zoneID)) { 3992string dragOverlayElementHtml = String.Format(CultureInfo.InvariantCulture, DragOverlayElementHtmlTemplate, ClientID); 4097if (!String.IsNullOrEmpty(path)) { 4100if (!String.IsNullOrEmpty(genericWebPartID)) { 4371if (String.IsNullOrEmpty(partID)) { 4387if (String.IsNullOrEmpty(childControlID)) {
UI\WebParts\WebPartMenu.cs (14)
42string menuItemStyleCss = String.Empty; 43string menuItemHoverStyleCss = String.Empty; 55string labelHoverColor = String.Empty; 56string labelHoverClass = String.Empty; 148if (!String.IsNullOrEmpty(labelImageUrl)) { 151(!String.IsNullOrEmpty(text) ? 162if (!String.IsNullOrEmpty(text)) { 170if (!String.IsNullOrEmpty(popupImageUrl)) { 173(!String.IsNullOrEmpty(text) ? 229alt = String.Format(CultureInfo.CurrentCulture, verb.Description, associatedWebPart.DisplayTitle); 280if (!String.IsNullOrEmpty(eventArgument)) { 291if (!String.IsNullOrEmpty(verb.ClientClickHandler)) { 300string onclick = String.Empty; 336else if (!String.IsNullOrEmpty(WebControl.DisabledCssClass)) {
UI\WebParts\WebPartPersonalization.cs (6)
215return (_providerName != null) ? _providerName : String.Empty; 219!String.Equals(value, ProviderName, StringComparison.Ordinal)) { 386if (String.IsNullOrEmpty(providerName)) { 476if (String.IsNullOrEmpty(webPartID)) { 664if (page.Form == null || String.Equals(page.Form.Method, "post", StringComparison.OrdinalIgnoreCase)) { 666if (!String.IsNullOrEmpty(queryString)) {
UI\WebParts\WebPartUserCapability.cs (1)
21if (String.IsNullOrEmpty(name)) {
UI\WebParts\WebPartVerb.cs (11)
43if (String.IsNullOrEmpty(id)) { 58if (String.IsNullOrEmpty(clientClickHandler)) { 68if (String.IsNullOrEmpty(clientClickHandler)) { 97return (_clientClickHandler == null) ? String.Empty: _clientClickHandler; 111return (o == null) ? String.Empty : (string)o; 139return (_eventArgument != null) ? _eventArgument : String.Empty; 152return (_id != null) ? _id : String.Empty; 166return (o == null) ? String.Empty : (string)o; 202return (o == null) ? String.Empty : (string)o; 243if (String.IsNullOrEmpty(_eventArgumentPrefix)) { 244return String.Empty;
UI\WebParts\WebPartZoneBase.cs (18)
243if (!String.IsNullOrEmpty(title)) { 248if (!String.IsNullOrEmpty(id)) { 432return ((s == null) ? String.Empty : s); 490return ((s == null) ? String.Empty : s); 509return ((s == null) ? String.Empty : s); 995String.Equals(eventArguments[0], dragEventArgument, StringComparison.OrdinalIgnoreCase)); 1000String.Equals(eventArguments[0], partVerbEventArgument, StringComparison.OrdinalIgnoreCase)); 1005String.Equals(eventArguments[0], zoneVerbEventArgument, StringComparison.OrdinalIgnoreCase)); 1040if (String.IsNullOrEmpty(eventArgument)) { 1069if (String.Equals(verbEventArgument, closeEventArgument, StringComparison.OrdinalIgnoreCase)) { 1074else if (String.Equals(verbEventArgument, connectEventArgument, StringComparison.OrdinalIgnoreCase)) { 1079else if (String.Equals(verbEventArgument, deleteEventArgument, StringComparison.OrdinalIgnoreCase)) { 1084else if (String.Equals(verbEventArgument, editEventArgument, StringComparison.OrdinalIgnoreCase)) { 1089else if (String.Equals(verbEventArgument, minimizeEventArgument, StringComparison.OrdinalIgnoreCase)) { 1094else if (String.Equals(verbEventArgument, restoreEventArgument, StringComparison.OrdinalIgnoreCase)) { 1377WebPartManager.DisplayMode.AllowPageDesign && !String.IsNullOrEmpty(emptyZoneText)); 1649if (!String.IsNullOrEmpty(s)) { 1665if (!String.IsNullOrEmpty(s)) {
UI\WebParts\WebPartZoneCollection.cs (1)
59if (String.Equals(zone.ID, id, StringComparison.OrdinalIgnoreCase)) {
UI\WebParts\WebZone.cs (3)
68return((s == null) ? String.Empty : s); 85return((s == null) ? String.Empty : s); 183return((s == null) ? String.Empty : s);
UI\WebParts\ZoneButton.cs (1)
42if (!String.IsNullOrEmpty(_eventArgument) && _owner.Page != null) {
UI\WebParts\ZoneLinkButton.cs (5)
32return (_imageUrl != null) ? _imageUrl : String.Empty; 41if (!String.IsNullOrEmpty(_eventArgument) && _owner.Page != null) { 54if (!String.IsNullOrEmpty(imageUrl)) { 62if (!String.IsNullOrEmpty(toolTip)) { 67if (!String.IsNullOrEmpty(text)) {
UI\WebResourceAttribute.cs (5)
28if (String.IsNullOrEmpty(webResource)) { 32if (String.IsNullOrEmpty(contentType)) { 44return _cdnPath ?? String.Empty; 60if (String.IsNullOrEmpty(cdnPath) || !CdnSupportsSecureConnection || !cdnPath.StartsWith("http://", StringComparison.OrdinalIgnoreCase)) { 61cdnPath = String.Empty;
UI\XPathBinder.cs (5)
39if (String.IsNullOrEmpty(xPath)) { 77return String.Empty; 80if (String.IsNullOrEmpty(format)) { 84return String.Format(format, value); 101if (String.IsNullOrEmpty(xPath)) {
UnsafeNativeMethods.cs (11)
56public static extern int LogonUser(String username, String domain, String password, int dwLogonType, int dwLogonProvider, ref IntPtr phToken); 657internal static extern int GetCredentialFromRegistry(String strRegKey, StringBuilder buffer, int size); 934internal static extern int IsapiAppHostMapPath(String appId, String virtualPath, StringBuilder buffer, int size); 937internal static extern int IsapiAppHostGetAppPath(String aboPath, StringBuilder buffer, int size); 940internal static extern int IsapiAppHostGetUncUser(String appId, StringBuilder usernameBuffer, int usernameSize, StringBuilder passwordBuffer, int passwordSize); 943internal static extern int IsapiAppHostGetSiteName(String appId, StringBuilder buffer, int size); 946internal static extern int IsapiAppHostGetSiteId(String site, StringBuilder buffer, int size); 949internal static extern int IsapiAppHostGetNextVirtualSubdir(String aboPath, bool inApp, ref int index, StringBuilder sb, int size);
UrlMappingsModule.cs (2)
41if (!String.IsNullOrEmpty(qs)) { 49if (!String.IsNullOrEmpty(mappedUrl))
Util\altserialization.cs (2)
53else if (value is String) { 55writer.Write((String) value);
Util\AppVerifier.cs (2)
696return String.Format(CultureInfo.InstalledUICulture, SR.Resources.GetString(name, CultureInfo.InstalledUICulture), args); 766return String.Join(Environment.NewLine, traceLines.Skip(i));
Util\AspCompat.cs (136)
50[return: MarshalAs(UnmanagedType.BStr)] String Application_GetContentsNames(); 51[return: MarshalAs(UnmanagedType.BStr)] String Application_GetStaticNames(); 52Object Application_GetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 53void Application_SetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In] Object obj); 54void Application_RemoveContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 56Object Application_GetStaticObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 58[return: MarshalAs(UnmanagedType.BStr)] String Request_GetAsString([In, MarshalAs(UnmanagedType.I4)] int what); 59[return: MarshalAs(UnmanagedType.BStr)] String Request_GetCookiesAsString(); 63[return: MarshalAs(UnmanagedType.BStr)] String Response_GetCookiesAsString(); 64void Response_AddCookie([In, MarshalAs(UnmanagedType.LPWStr)] String name); 65void Response_SetCookieText([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.LPWStr)] String text); 66void Response_SetCookieSubValue([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.LPWStr)] String key, [In, MarshalAs(UnmanagedType.LPWStr)] String value); 67void Response_SetCookieExpires([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.R8)] double dtExpires); 68void Response_SetCookieDomain([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.LPWStr)] String domain); 69void Response_SetCookiePath([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.LPWStr)] String path); 70void Response_SetCookieSecure([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.I4)] int secure); 71void Response_Write([In, MarshalAs(UnmanagedType.LPWStr)] String text); 73void Response_Redirect([In, MarshalAs(UnmanagedType.LPWStr)] String url); 74void Response_AddHeader([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In, MarshalAs(UnmanagedType.LPWStr)] String value); 75void Response_Pics([In, MarshalAs(UnmanagedType.LPWStr)] String value); 79void Response_AppendToLog([In, MarshalAs(UnmanagedType.LPWStr)] String entry); 80[return: MarshalAs(UnmanagedType.BStr)] String Response_GetContentType(); 81void Response_SetContentType([In, MarshalAs(UnmanagedType.LPWStr)] String contentType); 82[return: MarshalAs(UnmanagedType.BStr)] String Response_GetCharSet(); 83void Response_SetCharSet([In, MarshalAs(UnmanagedType.LPWStr)] String charSet); 84[return: MarshalAs(UnmanagedType.BStr)] String Response_GetCacheControl(); 85void Response_SetCacheControl([In, MarshalAs(UnmanagedType.LPWStr)] String cacheControl); 86[return: MarshalAs(UnmanagedType.BStr)] String Response_GetStatus(); 87void Response_SetStatus([In, MarshalAs(UnmanagedType.LPWStr)] String status); 96[return: MarshalAs(UnmanagedType.Interface)] Object Server_CreateObject([In, MarshalAs(UnmanagedType.LPWStr)] String progId); 97[return: MarshalAs(UnmanagedType.BStr)] String Server_MapPath([In, MarshalAs(UnmanagedType.LPWStr)] String logicalPath); 98[return: MarshalAs(UnmanagedType.BStr)] String Server_HTMLEncode([In, MarshalAs(UnmanagedType.LPWStr)] String str); 99[return: MarshalAs(UnmanagedType.BStr)] String Server_URLEncode([In, MarshalAs(UnmanagedType.LPWStr)] String str); 100[return: MarshalAs(UnmanagedType.BStr)] String Server_URLPathEncode([In, MarshalAs(UnmanagedType.LPWStr)] String str); 103void Server_Execute([In, MarshalAs(UnmanagedType.LPWStr)] String url); 104void Server_Transfer([In, MarshalAs(UnmanagedType.LPWStr)] String url); 107[return: MarshalAs(UnmanagedType.BStr)] String Session_GetID(); 115[return: MarshalAs(UnmanagedType.BStr)] String Session_GetContentsNames(); 116[return: MarshalAs(UnmanagedType.BStr)] String Session_GetStaticNames(); 117Object Session_GetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 118void Session_SetContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name, [In]Object obj); 119void Session_RemoveContentsObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 121Object Session_GetStaticObject([In, MarshalAs(UnmanagedType.LPWStr)] String name); 144private String _sessionId; // to run session on the same STA thread 163private AspCompatApplicationStep(HttpContext context, HttpApplication app, String sessionId, EventHandler codeEventHandler, Object codeEventSource, EventArgs codeEventArgs) { 298internal static void CheckThreadingModel(String progidDisplayName, Guid clsid) { 304String key = CacheInternal.PrefixAspCompatThreading + progidDisplayName; 305String threadingModel = (String)cacheInternal.Get(key); 312threadingModel = (String)regKey.GetValue("ThreadingModel"); 322threadingModel = String.Empty; 372internal static void RaiseAspCompatEvent(HttpContext context, HttpApplication app, String sessionId, EventHandler eventHandler, Object source, EventArgs eventArgs) { 464private static String EncodeTab(String value) { 465if (String.IsNullOrEmpty(value) || value.IndexOfAny(TabOrBackSpace) < 0) { 471private static String EncodeTab(object value) { 472return EncodeTab((String)value); 475private static String CollectionToString(NameValueCollection c) { 479return String.Empty; 484String key = EncodeTab(c.GetKey(i)); 485String[] vv = c.GetValues(i); 500private static String CookiesToString(HttpCookieCollection cc) { 513String name = EncodeTab(c.Name); 514String value = EncodeTab(c.Value); 529String key = cv.GetKey(j); 530if (!String.IsNullOrEmpty(key)) { 553private static String StringArrayToString(String[] ss) { 568private static String EnumKeysToString(IEnumerator e) { 582private static String DictEnumKeysToString(IDictionaryEnumerator e) { 608String IManagedContext.Application_GetContentsNames() { 612String IManagedContext.Application_GetStaticNames() { 616Object IManagedContext.Application_GetContentsObject(String name) { 620void IManagedContext.Application_SetContentsObject(String name, Object obj) { 624void IManagedContext.Application_RemoveContentsObject(String name) { 632Object IManagedContext.Application_GetStaticObject(String name) { 636String IManagedContext.Request_GetAsString(int what) { 637String s = String.Empty; 645return String.Empty; 653String IManagedContext.Request_GetCookiesAsString() { 665String IManagedContext.Response_GetCookiesAsString() { 669void IManagedContext.Response_AddCookie(String name) { 673void IManagedContext.Response_SetCookieText(String name, String text) { 677void IManagedContext.Response_SetCookieSubValue(String name, String key, String value) { 681void IManagedContext.Response_SetCookieExpires(String name, double dtExpires) { 685void IManagedContext.Response_SetCookieDomain(String name, String domain) { 689void IManagedContext.Response_SetCookiePath(String name, String path) { 693void IManagedContext.Response_SetCookieSecure(String name, int secure) { 697void IManagedContext.Response_Write(String text) { 705void IManagedContext.Response_Redirect(String url) { 709void IManagedContext.Response_AddHeader(String name, String value) { 713void IManagedContext.Response_Pics(String value) { 729void IManagedContext.Response_AppendToLog(String entry) { 733String IManagedContext.Response_GetContentType() { 737void IManagedContext.Response_SetContentType(String contentType) { 741String IManagedContext.Response_GetCharSet() { 745void IManagedContext.Response_SetCharSet(String charSet) { 749String IManagedContext.Response_GetCacheControl() { 753void IManagedContext.Response_SetCacheControl(String cacheControl) { 757String IManagedContext.Response_GetStatus() { 761void IManagedContext.Response_SetStatus(String status) { 793Object IManagedContext.Server_CreateObject(String progId) { 797String IManagedContext.Server_MapPath(String logicalPath) { 801String IManagedContext.Server_HTMLEncode(String str) { 805String IManagedContext.Server_URLEncode(String str) { 809String IManagedContext.Server_URLPathEncode(String str) { 821void IManagedContext.Server_Execute(String url) { 825void IManagedContext.Server_Transfer(String url) { 833String IManagedContext.Session_GetID() { 865String IManagedContext.Session_GetContentsNames() { 869String IManagedContext.Session_GetStaticNames() { 873Object IManagedContext.Session_GetContentsObject(String name) { 877void IManagedContext.Session_SetContentsObject(String name, Object obj) { 881void IManagedContext.Session_RemoveContentsObject(String name) { 889Object IManagedContext.Session_GetStaticObject(String name) {
Util\AssemblyUtil.cs (1)
21if (String.IsNullOrEmpty(version)) {
Util\Debug.cs (1)
755public static void TraceException(String tagName, Exception e) {
Util\EnableViewStateMacRegistryHelper.cs (1)
67string keyName = String.Format(CultureInfo.InvariantCulture, @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v{0}", Environment.Version.ToString(3));
Util\FactoryGenerator.cs (3)
107private static String GetUniqueCompilationName() { 122String name = GetUniqueCompilationName(); 144String typeName = GetUniqueCompilationName();
Util\FastPropertyAccessor.cs (3)
58private static String GetUniqueCompilationName() { 88String name = GetUniqueCompilationName(); 110String typeName = System.Web.UI.Util.MakeValidTypeNameFromString(type.Name) +
Util\FileUtil.cs (19)
74internal static bool FileExists(String filename) { 117internal static String RemoveTrailingDirectoryBackSlash(String path) { 132internal static String TruncatePathIfNeeded(string path, int reservedLength) { 163throw new HttpException(404, String.Empty); 247isSuspicious = !String.IsNullOrEmpty(physicalPath) && 248String.Compare(physicalPath, Path.GetFullPath(physicalPath), 286if (String.IsNullOrEmpty(physicalPath)) { 294internal static bool DirectoryExists(String dirname) { 309internal static bool DirectoryAccessible(String dirname) { 325internal static bool IsValidDirectoryName(String name) { 326if (String.IsNullOrEmpty(name)) { 355if (String.IsNullOrEmpty(physicalPath)) 477if (hr != HResults.S_OK || String.IsNullOrEmpty(rootDirectoryPath)) { 495string relativePathLong = String.Empty; 496string relativePathShort = String.Empty; 516if (!String.IsNullOrEmpty(fd.cAlternateFileName)) { 526if (!String.IsNullOrEmpty(relativePathLong)) { 554string fileName = String.IsNullOrEmpty(_fileNameShort) ? _fileNameLong : _fileNameShort;
Util\HttpEncoder.cs (15)
184encodedHeaderName = (String.IsNullOrEmpty(headerName)) ? headerName : HeaderEncodeInternal(headerName); 185encodedHeaderValue = (String.IsNullOrEmpty(headerValue)) ? headerValue : HeaderEncodeInternal(headerValue); 199if (String.IsNullOrEmpty(value)) { 278private unsafe static void HtmlAttributeEncodeInternal(String s, TextWriter output) { 321if (String.IsNullOrEmpty(value)) 340if (String.IsNullOrEmpty(value)) 392if (String.IsNullOrEmpty(value)) { 393return String.Empty; 673internal String UrlEncodeNonAscii(string str, Encoding e) { 674if (String.IsNullOrEmpty(str)) 762if (String.IsNullOrEmpty(value)) { 791if (String.IsNullOrEmpty(value)) { 860return String.Empty; 984internal String GetString() { 991return String.Empty;
Util\HttpEncoderUtility.cs (1)
55internal static String UrlEncodeSpaces(string str) {
Util\Misc.cs (6)
48String appId = appDomain.GetData(".appId") as String; 66internal static void ReportUnhandledException(Exception e, String[] strings) { 70internal static String FormatExceptionMessage(Exception e, String[] strings) { 155String ver = VersionInfo.SystemWebVersion;
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 (48)
46private String _progId; 49internal LateBoundAccessHelper(String progId) { 74internal Object CallMethod(Object obj, String methodName, Object[] args) { 83internal static Object CallMethodStatic(Object obj, String methodName, Object[] args) { 87private static Object CallMethod(Type type, Object obj, String methodName, Object[] args) { 98internal Object GetProp(Object obj, String propName) { 107internal static Object GetPropStatic(Object obj, String propName) { 111private static Object GetProp(Type type, Object obj, String propName) { 115internal void SetProp(Object obj, String propName, Object propValue) { 124internal static void SetPropStatic(Object obj, String propName, Object propValue) { 128private static void SetProp(Type type, Object obj, String propName, Object propValue) { 134internal void SetProp(Object obj, String propName, Object propKey, Object propValue) { 143internal static void SetPropStatic(Object obj, String propName, Object propKey, Object propValue) { 147private static void SetProp(Type type, Object obj, String propName, Object propKey, Object propValue) { 209String k = (String)e.Key; 210String v = (String)e.Value; 221_helper.SetProp(newMail, "Body", (message.Body != null) ? message.Body : String.Empty); 242internal static void Send(String from, String to, String subject, String messageText) { 270private static void SetField(Object m, String name, String value) { 326String importance = null; 353SetField(m, (String)e.Key, (String)e.Value); 366_helper.SetProp(m, "TextBody", String.Empty); 382if (!String.IsNullOrEmpty(server) || message.Fields.Count > 0) { 388if (!String.IsNullOrEmpty(server)) { 393LateBoundAccessHelper.SetPropStatic(config, "Fields", (String)e.Key, e.Value); 420internal static void Send(String from, String to, String subject, String messageText) { 431private static String _server; 437public static String SmtpServer { 439String s = _server; 440return (s != null) ? s : String.Empty; 454public static void Send(String from, String to, String subject, String messageText) { 575private String _filename; 582public String Filename { get { return _filename; } } 593public MailAttachment(String filename) 604public MailAttachment(String filename, MailEncoding encoding)
Util\StringUtil.cs (13)
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)) { 105return String.Compare(s1, index1, s2, index2, length, StringComparison.OrdinalIgnoreCase) == 0; 197if (String.IsNullOrEmpty(s1) || String.IsNullOrEmpty(s2)) { 477String[] stringKeys = new String[objectArray.Length];
Util\UriUtil.cs (7)
26Debug.Assert(!String.IsNullOrEmpty(scheme)); 27Debug.Assert(!String.IsNullOrEmpty(serverName)); 28Debug.Assert(!String.IsNullOrEmpty(path)); 59if (String.IsNullOrEmpty(unescaped) || ContainsOnlyPathSafeCharacters(unescaped)) 65if (String.Equals(escaped, unescaped, StringComparison.Ordinal)) 136internal static bool IsSafeScheme(String url) { 163if (!String.IsNullOrEmpty(authority)) {
Util\UrlPath.cs (31)
32internal static bool IsRooted(String basepath) { 33return (String.IsNullOrEmpty(basepath) || basepath[0] == '/' || basepath[0] == '\\'); 96internal static String GetDirectory(String path) { 97if (String.IsNullOrEmpty(path)) 157private static String Combine(String appPath, String basepath, String relative) { 158String path; 160if (String.IsNullOrEmpty(relative)) 162if (String.IsNullOrEmpty(basepath)) 205internal static String Combine(String basepath, String relative) { 212internal static String SimpleCombine(String basepath, String relative) { 213Debug.Assert(!String.IsNullOrEmpty(basepath)); 214Debug.Assert(!String.IsNullOrEmpty(relative)); 223internal static String Reduce(String path) { 226String queryString = null; 244internal static String ReduceVirtualPath(String path) { 319internal static String FixVirtualPathSlashes(string virtualPath) { 458return String.Empty; 463return String.Empty; 653internal static bool PathEndsWithExtraSlash(String path) { 684if (String.IsNullOrEmpty(path)) 687if (String.IsNullOrEmpty(subpath))
Util\Utf16StringValidator.cs (1)
25if (skipUtf16Validation || String.IsNullOrEmpty(input)) {
Util\versioninfo.cs (6)
36internal static string GetFileVersion(String filename) { 44return String.Empty; 63String fileName = buf.ToString(); 74String filename = GetLoadedModuleFileName(module); 136String s = GetLoadedModuleFileName(null); 138s = String.Empty;
Util\Wildcard.cs (18)
40internal /*public*/ Wildcard(String pattern, bool caseInsensitive) { 45internal String _pattern; 60internal /*public*/ bool IsMatch(String input) { 89protected virtual Regex RegexFromWildcard(String pattern, bool caseInsensitive) { 128internal /*public*/ WildcardPath(String pattern, bool caseInsensitive) : base(pattern, caseInsensitive) { 137internal /*public*/ bool IsSuffix(String input) { 205protected abstract Regex SuffixFromWildcard(String pattern, bool caseInsensitive); 206protected abstract Regex[][] DirsFromWildcard(String pattern); 207protected abstract String[] SplitDirs(String input); 222internal /*public*/ WildcardUrl(String pattern, bool caseInsensitive) : base(pattern, caseInsensitive) { 225protected override String[] SplitDirs(String input) { 229protected override Regex RegexFromWildcard(String pattern, bool caseInsensitive) { 259protected override Regex SuffixFromWildcard(String pattern, bool caseInsensitive) { 286protected override Regex[][] DirsFromWildcard(String pattern) { 287String[] alts = commaRegex.Split(pattern); 291String[] dirpats = slashRegex.Split(alts[i]);
VirtualPath.cs (3)
480public override String ToString() { 510return virtualPath == null ? String.Empty : virtualPath.AppRelativeVirtualPathString; 563if (String.IsNullOrEmpty(virtualPath)) {
WebPageTraceListener.cs (7)
27if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 37if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 47if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 57if (Filter != null && !Filter.ShouldTrace(null, String.Empty, TraceEventType.Verbose, 0, message, null, null, null)) 65public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType severity, int id, string message) { 80public override void TraceEvent(TraceEventCache eventCache, String source, TraceEventType severity, int id, string format, params object[] args) { 81TraceEvent(eventCache, source, severity, id, String.Format(CultureInfo.InvariantCulture, format, args));
WebSockets\AspNetWebSocket.cs (2)
494if (statusDescription == String.Empty) { 512statusDescription = String.Empty;
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 (78)
416public abstract String GetUriPath(); // "/foo/page.aspx/tail" 421public abstract String GetQueryString(); // "param=bar" 427public abstract String GetRawUrl(); // "/foo/page.aspx/tail?param=bar" 432public abstract String GetHttpVerbName(); // "GET" 437public abstract String GetHttpVersion(); // "HTTP/1.1" 443public abstract String GetRemoteAddress(); // client's ip address 453public abstract String GetLocalAddress(); // server's ip address 460internal virtual String GetLocalPortAsString() { 469String remoteAddress = GetRemoteAddress(); 472if (String.IsNullOrEmpty(remoteAddress)) 487internal static String GetRawUrlHelper(String cacheUrl) { 532public virtual String GetRemoteName() { 541public virtual String GetServerName() { 571public virtual String GetAppPoolID() { 600String logonUser = GetServerVariable("LOGON_USER"); 601String authType = GetServerVariable("AUTH_TYPE"); 633public virtual String GetProtocol() { 641public virtual String GetFilePath() { 656public virtual String GetFilePathTranslated() { 667public virtual String GetPathInfo() { 669return String.Empty; 677public virtual String GetAppPath() { 687public virtual String GetAppPathTranslated() { 724String contentLength = GetKnownRequestHeader(HeaderContentLength); 795public virtual String GetKnownRequestHeader(int index) { 803public virtual String GetUnknownRequestHeader(String name) { 812public virtual String[][] GetUnknownRequestHeaders() { 820public virtual String GetServerVariable(String name) { 855public virtual String MapPath(String virtualPath) { 863public virtual String MachineConfigPath { 873public virtual String RootWebConfigPath { 883public virtual String MachineInstallDirectory { 915public abstract void SendStatus(int statusCode, String statusDescription); 919internal virtual void SendStatus(int statusCode, int subStatusCode, String statusDescription) { 926public abstract void SendKnownResponseHeader(int index, String value); 932public abstract void SendUnknownResponseHeader(String name, String value); 968public abstract void SendResponseFromFile(String filename, long offset, long length); 976internal virtual void TransmitFile(String filename, long length, bool isImpersonating) { 980internal virtual void TransmitFile(String filename, long offset, long length, bool isImpersonating) { 1021String url, String method, String headers, 1023bool addUserIndo, IntPtr token, String name, String authType, 1179String contentLength = GetKnownRequestHeader(HeaderContentLength); 1217public static String GetStatusDescription(int code) { 1226return String.Empty; 1231private static readonly String[][] s_HTTPStatusDescriptions = new String[][] 1235new String[] 1242new String[] 1254new String[] 1262/* 306 */ String.Empty, 1266new String[] 1286/* 418 */ String.Empty, 1287/* 419 */ String.Empty, 1288/* 420 */ String.Empty, 1289/* 421 */ String.Empty, 1295new String[] 1303/* 506 */ String.Empty, 1318public static int GetKnownRequestHeaderIndex(String header) { 1333public static String GetKnownRequestHeaderName(int index) { 1337internal static String GetServerVariableNameFromKnownRequestHeaderIndex(int index) { 1347public static int GetKnownResponseHeaderIndex(String header) { 1362public static String GetKnownResponseHeaderName(int index) { 1373static private String[] s_serverVarFromRequestHeaderNames = new String[RequestHeaderMaximum]; 1374static private String[] s_requestHeaderNames = new String[RequestHeaderMaximum]; 1375static private String[] s_responseHeaderNames = new String[ResponseHeaderMaximum]; 1384String headerName, 1385String serverVarName) {
XmlSiteMapProvider.cs (11)
167String url = node.Url; 168String key = node.Key; 173if (!String.IsNullOrEmpty(url)) { 282if (String.Equals(siteMapMode.Name, "siteMap", StringComparison.Ordinal)) { 589if (!String.IsNullOrEmpty(_filename)) { 671if (String.IsNullOrEmpty(text)) { 737if (!String.IsNullOrEmpty(resourceKey) && 745bool allowImplicitResourceAttribute = String.IsNullOrEmpty(resourceKey); 769String key = null; 772if (!String.IsNullOrEmpty(url)) { 784if (!String.Equals(url, decodedUrl, StringComparison.Ordinal)) {
System.Web.ApplicationServices (11)
Hosting\CustomLoaderHelper.cs (3)
98throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_NoAttributeFound, customLoaderAssemblyName)); 108throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_MustImplementICustomLoader, customLoader.GetType())); 121return String.Equals("Full", trustLevel, StringComparison.Ordinal);
Security\MembershipCreateUserException.cs (2)
22public MembershipCreateUserException(String message) 33public MembershipCreateUserException(String message, Exception innerException)
Security\MembershipPasswordException.cs (2)
19public MembershipPasswordException(String message) : base(message) 29public MembershipPasswordException(String message, Exception innerException) : base(message, innerException)
Security\MembershipProviderCollection.cs (1)
24throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Provider_must_implement_type, typeof(MembershipProvider).ToString()), "provider");
Security\MembershipUser.cs (2)
118throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Membership_provider_name_invalid), "providerName" ); 271if (!String.IsNullOrEmpty(pass)) {
Util\SecurityServices.cs (1)
34throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Parameter_can_not_be_empty, paramName), paramName);
System.Web.DataVisualization (600)
Common\Annotation\AnnotationBase.cs (13)
184 private string _axisXName = String.Empty; 185 private string _axisYName = String.Empty; 207 private string _anchorDataPointName = String.Empty; 220 private string _tooltip = String.Empty; 272 private string _url = String.Empty; 273 private string _mapAreaAttributes = String.Empty; 274private string _postbackValue = String.Empty; 379if (String.IsNullOrEmpty(value)) 1378 _axisXName = String.Empty; 1422 _axisYName = String.Empty; 1522 _anchorDataPointName = String.Empty; 3353 string name = String.Empty; 3374 string name = String.Empty;
Common\Annotation\AnnotationCollection.cs (1)
272 string url = String.Empty;
Common\Annotation\ArrowAnnotation.cs (1)
339String.Empty,
Common\Annotation\CalloutAnnotation.cs (10)
786 String.Empty); 882 String.Empty, 1046String.Empty, 1069 String.Empty, 1199 String.Empty, 1230 String.Empty, 1251 String.Empty, 1287 String.Empty, 1406 String.Empty, 1453 String.Empty,
Common\Annotation\GroupAnnotation.cs (1)
965 String.Empty);
Common\Annotation\ImageAnnotation.cs (2)
73 private string _imageName = String.Empty; 631 String.Empty);
Common\Annotation\PolygonAnnotation.cs (2)
698String.Empty, 718String.Empty,
Common\Annotation\RectangleAnnotation.cs (2)
424 String.Empty, 667 String.Empty,
Common\Annotation\TextAnnotation.cs (1)
494 String.Empty);
Common\ChartTypes\BarChart.cs (16)
370 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 374else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 378else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 875if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 877if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 879if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 881else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1228if (String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0) 1339 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1343 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1347 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1901if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1903else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1905else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1907else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\BoxPlotChart.cs (25)
265 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 283 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 287else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 291else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 466 if(String.Compare( showAverageValue, "True", StringComparison.OrdinalIgnoreCase ) == 0 ) 470 else if(String.Compare( showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 522 if(String.Compare(showMedianValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 526 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 751 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase ) != 0) 778if (String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1035 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1052 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1056else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1060else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1253 if(String.Compare(showAverageValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1257 else if(String.Compare(showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1302 if(String.Compare( showMedianValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1306 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1551 if(String.Compare( boxPlotSeries.ChartTypeName, ChartTypeNames.BoxPlot, StringComparison.OrdinalIgnoreCase) != 0) 1580 String valueName = "Y"; 1647 string boxPercentile = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotPercentile)) ? boxPoint[CustomPropertyName.BoxPlotPercentile] : String.Empty; 1652 string boxWhiskerPercentile = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotWhiskerPercentile)) ? boxPoint[CustomPropertyName.BoxPlotWhiskerPercentile] : String.Empty; 1708 string showUnusualValues = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotShowUnusualValues)) ? boxPoint[CustomPropertyName.BoxPlotShowUnusualValues] : String.Empty; 1715 if(String.Compare(showUnusualValues, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1719 else if(String.Compare(showUnusualValues, "False", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\BubbleChart.cs (6)
219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 258 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 358 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 && 385 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 400 if( String.Compare(ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 476 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 &&
Common\ChartTypes\ColumnChart.cs (7)
281 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 285 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 289 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0 678 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase)==0) 682 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase)==0) 686 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase)==0)
Common\ChartTypes\ErrorBarChart.cs (34)
312 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 363 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase) ==0 364|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 374 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 378 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 382 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 414 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) ==0) 418 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) ==0) 428 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) ==0) 506if(String.Compare( errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 510 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 516 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 656 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 660 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 665 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 740 string markerStyle = String.Empty; 819 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase) != 0) 839 if(String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1091 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1143 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase ) == 0 1144|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 1154 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1158 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1162 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase ) == 0) 1258 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1262 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 1268 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 1426 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 1430 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 1435 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 1515 string markerStyle = String.Empty; 1606 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 ) 1801 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 || errorBarSeries.Chart == null) 1814 String valueName = "Y";
Common\ChartTypes\FastLineChart.cs (1)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\FastPointChart.cs (1)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\FunnelChart.cs (1)
2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\KagiChart.cs (1)
108if (String.Compare(series.ChartTypeName, ChartTypeNames.Kagi, StringComparison.OrdinalIgnoreCase) != 0 || !series.IsVisible())
Common\ChartTypes\LineChart.cs (3)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 1391 if(String.Compare(pointAttr.dataPoint[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0) 1400if (String.Compare(pointAttr.dataPoint.series[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\PieChart.cs (35)
282 if( String.Compare(series.ChartTypeName, ChartTypeNames.Pie, StringComparison.OrdinalIgnoreCase ) != 0 && 283 String.Compare(series.ChartTypeName, ChartTypeNames.Doughnut, StringComparison.OrdinalIgnoreCase ) != 0 526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 831 if( String.Compare(explodedAttrib,"true", StringComparison.OrdinalIgnoreCase) == 0 ) 1107 if( String.Compare(labelStyleAttrib,"disabled",StringComparison.OrdinalIgnoreCase) == 0 ) 1109else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1119if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1121else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1133if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1135else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1146if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1148else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1528if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1530else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1540if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1542else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1554if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1556else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1566if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1568else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1606 if( String.Compare(labelStyleAttrib,"disabled", StringComparison.OrdinalIgnoreCase) == 0 ) 1608else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1618if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1620else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1632if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1634else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1644if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1646else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 2436 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 2572 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 5612private String GetPointLabel(DataPoint point) 5614String pointLabel = String.Empty; 5623String.Equals(point.series.GetCustomProperty(CustomPropertyName.PieAutoAxisLabels), "false", StringComparison.OrdinalIgnoreCase)) 5625pointLabel = String.Empty;
Common\ChartTypes\PointAndFigureChart.cs (2)
124 if(String.Compare( series.ChartTypeName, ChartTypeNames.PointAndFigure, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 718 if(attrValue != null && String.Compare( attrValue, "True", StringComparison.OrdinalIgnoreCase ) != 0 )
Common\ChartTypes\PointChart.cs (12)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 724if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 728else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 732else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 736else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 740else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 744else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 748else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 752else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 756else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 760else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1562 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\PolarChart.cs (2)
210 if(String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase ) == 0) 214 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\RadarChart.cs (15)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 1091if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1095else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1099else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 1103else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 1107else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 1111else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1123else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1127else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1350 if(String.Compare(attributeValue, "Area", StringComparison.OrdinalIgnoreCase) == 0 ) 1354else if (String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1358 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase) == 0) 1458 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\RenkoChart.cs (1)
115 if( String.Compare( series.ChartTypeName, ChartTypeNames.Renko, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible())
Common\ChartTypes\StackedAreaChart.cs (15)
132if (String.Compare(ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 167 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 247 if(String.Compare(series.ChartArea, ser.ChartArea, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 248 String.Compare(series.ChartTypeName, ser.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 463 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 808 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 914 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1226 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0) 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1259 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0) 1262if (pointProperties != null && String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1624 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1625String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (19)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 236String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 540 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 570 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 592 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 659 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 992 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1113if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1117else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1288String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1860if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1862else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1864else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1866else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\StackedColumnChart.cs (12)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 231String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 547 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 577 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 599 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 669 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 998 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1043if (String.Compare(series.ChartTypeName, chartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1331String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StockChart.cs (17)
336 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 685 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 689else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 693else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 714 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 719else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 724else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0) 966if (String.Compare(valueType, "High", StringComparison.OrdinalIgnoreCase) == 0) 970else if (String.Compare(valueType, "Low", StringComparison.OrdinalIgnoreCase) == 0) 974else if (String.Compare(valueType, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1134 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1510 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 1514else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 1518else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1539 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1544else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1549else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (1)
117 if(String.Compare(series.ChartTypeName, ChartTypeNames.ThreeLineBreak, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible())
Common\Converters\AxisConverters.cs (6)
313if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 317else if (String.Compare(crossingValue, Constants.MinValue, StringComparison.OrdinalIgnoreCase) == 0) 321else if (String.Compare(crossingValue, Constants.MaxValue, StringComparison.OrdinalIgnoreCase) == 0) 513if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 661if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 665else if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\CustomAttributesConverters.cs (2)
470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item)); 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\Converters\DataManagerConverters.cs (1)
822 public static Color[] StringToColorArray(String colorNames)
Common\Converters\ElementPositionConverter.cs (1)
113if (String.Compare(posValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\LegendConverters.cs (2)
290if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 490if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataPoint.cs (53)
174 if(String.Compare(sortBy, "X", StringComparison.Ordinal) == 0) 178else if (String.Compare(sortBy, "Y", StringComparison.Ordinal) == 0) 182else if (String.Compare(sortBy, "AXISLABEL", StringComparison.Ordinal) == 0) 1526 else if(columnDataType == typeof(String)) 1819internal string _lastLabelText = String.Empty; 1968 if(String.Compare(propertyName, "AxisLabel", StringComparison.OrdinalIgnoreCase) == 0) 1972else if (String.Compare(propertyName, "Tooltip", StringComparison.OrdinalIgnoreCase) == 0) 1977 else if(String.Compare(propertyName, "Url", StringComparison.OrdinalIgnoreCase) == 0) 1981else if (String.Compare(propertyName, "PostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1985else if (String.Compare(propertyName, "LabelUrl", StringComparison.OrdinalIgnoreCase) == 0) 1989else if (String.Compare(propertyName, "LabelPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1993else if (String.Compare(propertyName, "LegendUrl", StringComparison.OrdinalIgnoreCase) == 0) 1997else if (String.Compare(propertyName, "LegendPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 2002else if (String.Compare(propertyName, "Label", StringComparison.OrdinalIgnoreCase) == 0) 2006else if (String.Compare(propertyName, "LegendTooltip", StringComparison.OrdinalIgnoreCase) == 0) 2010else if (String.Compare(propertyName, "LegendText", StringComparison.OrdinalIgnoreCase) == 0) 2014else if (String.Compare(propertyName, "LabelToolTip", StringComparison.OrdinalIgnoreCase) == 0) 2110 if(paramType == typeof(String)) 2217 if(paramType == typeof(String)) 2396 if(String.Compare(valueName, "X", StringComparison.Ordinal) == 0) 2577if (!String.IsNullOrEmpty(strToReplace)) 2863public DataPointCustomProperties(Series series, bool pointProperties): base( series, String.Empty) 4693 if(String.Compare(attributeName, name, StringComparison.OrdinalIgnoreCase) == 0) 4768if (String.Compare(existingAttributeNameStr, values[0], StringComparison.OrdinalIgnoreCase) == 0) 4824 return (String)GetAttributeObject(CommonCustomProperties.ToolTip); 4878 return (String)GetAttributeObject(CommonCustomProperties.Url); 4928 return (String)GetAttributeObject(CommonCustomProperties.MapAreaAttributes); 4967return (String)GetAttributeObject(CommonCustomProperties.PostBackValue); 5096 return (String)GetAttributeObject(CommonCustomProperties.LegendText); 5154 return (String)GetAttributeObject(CommonCustomProperties.LegendToolTip); 5441 return (String)GetAttributeObject(CommonCustomProperties.LabelToolTip); 5495 return (String)GetAttributeObject(CommonCustomProperties.LegendUrl); 5548 return (String)GetAttributeObject(CommonCustomProperties.LegendMapAreaAttributes); 5588return (String)GetAttributeObject(CommonCustomProperties.LegendPostBackValue); 5651 return (String)GetAttributeObject(CommonCustomProperties.LabelUrl); 5703 return (String)GetAttributeObject(CommonCustomProperties.LabelMapAreaAttributes); 5743return (String)GetAttributeObject(CommonCustomProperties.LabelPostBackValue); 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 (14)
144if (String.IsNullOrEmpty(item.ChartArea) && Chart.ChartAreas != null) 148if (String.IsNullOrEmpty(item.Legend) && Chart.Legends != null) 217private string _chartArea = String.Empty; 223private string _legend = String.Empty; 226 private string _dataSourceXMember = String.Empty; 229 private string _dataSourceYMembers = String.Empty; 888 if(this.Enabled && !String.IsNullOrEmpty(this.ChartArea)) 926 type == typeof(String) || 1617 if(String.Compare(this["UseDummyData"], "True", StringComparison.OrdinalIgnoreCase) == 0) 1807 _dataSourceXMember = String.Empty; 1850 _dataSourceYMembers = String.Empty; 2375 if(String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedArea, StringComparison.OrdinalIgnoreCase) == 0) 2379else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedBar, StringComparison.OrdinalIgnoreCase) == 0) 2383else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedColumn, StringComparison.OrdinalIgnoreCase) == 0)
Common\Formulas\FormulaHelpers.cs (9)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula)); 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\Formulas\TimeSeriesAndForecasting.cs (5)
164if (String.Equals(parameterList[0],"Exponential", StringComparison.OrdinalIgnoreCase)) 169else if (String.Equals(parameterList[0],"Linear", StringComparison.OrdinalIgnoreCase)) 174else if (String.Equals(parameterList[0],"IsLogarithmic", StringComparison.OrdinalIgnoreCase) || 175String.Equals(parameterList[0],"Logarithmic", StringComparison.OrdinalIgnoreCase)) 180else if (String.Equals(parameterList[0],"Power", StringComparison.OrdinalIgnoreCase))
Common\General\Axis.cs (4)
285 private string _toolTip = String.Empty; 290private string _url = String.Empty; 298 private string _mapAreaAttributes = String.Empty; 300private string _postbackValue = String.Empty;
Common\General\AxisLabels.cs (6)
225String.Empty 248!String.IsNullOrEmpty(((Axis)this).SubAxisName) || 830 if(!String.IsNullOrEmpty(result)) 838String labelSeriesName = ser[DataFormula.IndexedSeriesLabelsSourceAttr]; 839if (!String.IsNullOrEmpty(labelSeriesName)) 845if (!String.IsNullOrEmpty(result))
Common\General\AxisScrollZoom.cs (2)
1529if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0) 1689if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\General\BaseClasses.cs (1)
266private string _name = String.Empty;
Common\General\BaseCollections.cs (3)
421return String.IsNullOrEmpty(name) || 448if (String.IsNullOrEmpty(item.Name)) 472if (String.IsNullOrEmpty(item.Name))
Common\General\Chart.cs (5)
1111if (String.IsNullOrEmpty(yFields)) 1114if (String.IsNullOrEmpty(seriesGroupByField)) 1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) ) 1425series.YValueMembers = String.Empty; 1426series.XValueMember = String.Empty;
Common\General\ChartArea.cs (7)
352if (String.IsNullOrEmpty(value)) 2780 if(String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Polygon", StringComparison.OrdinalIgnoreCase) == 0) 2784else if (String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Circle", StringComparison.OrdinalIgnoreCase) == 0) 2816 if(String.Compare( styleName, "Auto", StringComparison.OrdinalIgnoreCase) == 0 ) 2820 else if(String.Compare( styleName,"Circular", StringComparison.OrdinalIgnoreCase) == 0) 2824 else if(String.Compare( styleName,"Radial", StringComparison.OrdinalIgnoreCase) == 0) 2828else if (String.Compare(styleName, "Horizontal", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartArea3D.cs (5)
905 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 909 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 913else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 950 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 ) 981 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 )
Common\General\ChartAreaAxes.cs (2)
1261 string[] stringArray = new String[list.Count]; 1531 if( String.Compare( chartType, Common.DataManager.Series[seriesName].ChartTypeName, StringComparison.OrdinalIgnoreCase ) == 0 )
Common\General\ChartAreaCollection.cs (1)
71get { return this.Count > 0 ? this[0].Name : String.Empty; }
Common\General\ChartElement.cs (1)
1366if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics.cs (10)
4362 String.Empty, 4379 String.Empty, 4941 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 4945else if (String.Compare(styleName, "SoftEdge", StringComparison.OrdinalIgnoreCase) == 0) 4949else if (String.Compare(styleName, "Concave", StringComparison.OrdinalIgnoreCase) == 0) 5534 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 5538else if (String.Compare(styleName, "Cylinder", StringComparison.OrdinalIgnoreCase) == 0) 5542else if (String.Compare(styleName, "Emboss", StringComparison.OrdinalIgnoreCase) == 0) 5546else if (String.Compare(styleName, "LightToDark", StringComparison.OrdinalIgnoreCase) == 0) 5550else if (String.Compare(styleName, "Wedge", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics3D.cs (3)
2704(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2718(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2737if (String.Compare(neighborDataPoint.dataPoint.series.Name, point3D.dataPoint.series.Name, StringComparison.Ordinal) != 0)
Common\General\FormulaData.cs (1)
458if (!String.IsNullOrEmpty(inputPoint.AxisLabel))
Common\General\ImageMap.cs (22)
167 private string _toolTip = String.Empty; 168private string _url = String.Empty; 169private string _attributes = String.Empty; 170private string _postBackValue = String.Empty; 194: this(String.Empty, url, String.Empty, String.Empty, path, null) 205: this(String.Empty, url, String.Empty, String.Empty, rect, null) 218: this(shape, String.Empty, url, String.Empty, String.Empty, coordinates, null) 350return String.Empty; 422string checkValue = value.Trim().Replace("\r", String.Empty).Replace("\n", String.Empty); 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\Label.cs (2)
459private string _imagePostbackValue = String.Empty; 467private string _postbackValue = String.Empty;
Common\General\Legend.cs (6)
313 private string _title = String.Empty; 2638 if (String.IsNullOrEmpty(value)) 4868get { return this.Count > 0 ? this[0].Name : String.Empty; } 5192private string _postbackValue = String.Empty; 5248this.PostBackValue = String.Empty; 5266this.PostBackValue = String.Empty;
Common\General\LegendColumns.cs (3)
164private string _postbackValue = String.Empty; 871private string _postbackValue = String.Empty; 950this.PostBackValue = String.Empty;
Common\General\Selection.cs (12)
410if (this.SelectedObject == null && !String.IsNullOrEmpty(this.SeriesName)) 414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType); 938 if(!String.IsNullOrEmpty(series)) 1011 if(!String.IsNullOrEmpty(series)) 2018string alowedElements = String.Empty; 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 2157result.Add(this.GetHitTestResult(String.Empty, 0, ChartElementType.Nothing, null, null)); 2632string dataPointSeries = String.Empty; 2694if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2714if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2983String areaName = series.ChartArea; 2985if (String.IsNullOrEmpty(areaName))
Common\General\StripLine.cs (1)
167private string _postbackValue = String.Empty;
Common\General\Title.cs (6)
202 private string _text = String.Empty; 241 private string _toolTip = String.Empty; 244private string _url = String.Empty; 245 private string _mapAreaAttributes = String.Empty; 246private string _postbackValue = String.Empty; 1539 String.Empty,
Common\SR.cs (8)
9181 public static string ExceptionImageLoaderUnsupportedType(String typeName) 9186 public static string ExceptionImageLoaderIncorrectImageUrl(String url) 9191 public static string ExceptionImageLoaderIncorrectImageLocation(String location) 9196 public static string ExceptionAnnotationNameIsNotUnique(String name) 9206 public static string ExceptionAnnotationNameNotFound(String name) 9211 public static string ExceptionTitleNameIsNotUnique(String name) 9216 public static string ExceptionTitleNameAddedIsNotUnique(String name) 9221 public static string ExceptionTitleNameNotFound(String name)
Common\Utilities\CustomAttributesRegistry.cs (3)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)), 1888 public string Name = String.Empty; 1903 public string Description = String.Empty;
Common\Utilities\ImageLoader.cs (1)
193else if (control.IsDesignMode() && !String.IsNullOrEmpty(control.webFormDocumentURL))
Common\Utilities\KeywordsRegistry.cs (6)
381 public string Name = String.Empty; 386 public string Keyword = String.Empty; 392 public string KeywordAliases = String.Empty; 397 public string Description = String.Empty; 402 public string AppliesToTypes = String.Empty; 407 public string AppliesToProperties = String.Empty;
Common\Utilities\ValueConverter.cs (5)
70format = format ?? String.Empty; 120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
Common\Utilities\XmlSerializer.cs (7)
756MethodInfo mi = list.GetType().GetMethod("IndexOf", new Type[] { typeof(String) }); 1110String typeStr = attr.ConverterTypeName; 1632String properyName = propertyType.ToString(); 1646if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2502String properyName = propertyType.ToString(); 2514if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2964 string typeName = String.Empty;
WebForm\ChartWebControl.cs (17)
224 private string _currentChartImageLocation = String.Empty; 227private string _currentChartHandlerImageLocation = String.Empty; 389this.AlternateText = String.Empty; 390this.DescriptionUrl = String.Empty; 609if ( String.IsNullOrEmpty(htmlImage.Style[HtmlTextWriterStyle.BorderWidth]) && 610String.IsNullOrEmpty(htmlImage.Style["border"]) && 611String.IsNullOrEmpty(htmlImage.Style["border-width"])) 640if (String.IsNullOrEmpty(_designTimeChart)) 738this._currentChartImageLocation = String.Empty; 773 foreach(String str in values) 775if (String.IsNullOrEmpty(str) || str.Length > 7) 855 result = String.Format(CultureInfo.InvariantCulture, result, imageSeqNumber); 1287 private static ImageCodecInfo GetEncoderInfo(String mimeType) 1433if (!String.IsNullOrEmpty(eventArgument)) 2037 string buildNumber = String.Empty; 3037 String.Empty); 3214if (!String.IsNullOrEmpty(_designTimeChart))
WebForm\General\ChartHttpHandler.cs (98)
156_installed = !String.IsNullOrEmpty(WebConfigurationManager.AppSettings[ChartHttpHandlerAppSection]); 179if (String.IsNullOrEmpty(configSettings)) 211string controllerFileName = String.Format(CultureInfo.InvariantCulture, "{0}msc_cntr_{1}.txt", Settings.Directory, i); 212_controllerDirectory = String.Format(CultureInfo.InvariantCulture, "charts_{0}", i); 260String key = context.Request["i"]; 287Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, String.Empty), nre); 292Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, String.Empty), ioe); 297Diagnostics.TraceWrite(SR.DiagnosticChartImageServedFail(key, String.Empty), se); 320return String.Empty; 326if (String.IsNullOrEmpty(value)) 360private static String GetHandlerUrl() 363String appDir = Path.GetDirectoryName(HttpContext.Current.Request.CurrentExecutionFilePath ?? "").Replace("\\","/"); 379private static String GetMime(String resourceUrl) 381String ext = Path.GetExtension(resourceUrl); 411private static String GenerateKey(String ext) 413String fmtKey = "chart" + _machineHash + "{0}." + ext; 415 if (!String.IsNullOrEmpty(_controllerDirectory) && String.IsNullOrEmpty(Settings.FolderName)) 422 private static String KeyToUnc(String key) 424 if (!String.IsNullOrEmpty(key)) 431 private static String KeyFromUnc(String key) 433 if (!String.IsNullOrEmpty(key)) 447private static String GetUrl(String query, String fileKey, string currentGuid) 460internal static String GetChartImageUrl(MemoryStream stream, String imageExt) 474String key = GenerateKey(imageExt.ToLowerInvariant()); 481Settings.FolderName = String.Empty; 483CurrentGuidKey = String.Empty; 505if (item.InUse && String.CompareOrdinal(Settings.ReadSessionKey(), item.SessionID) == 0) 566Dictionary<String, String> settings = new Dictionary<String, String>(); 578settings.Add(ChartHttpHandler.WebDevServerUseConfigSettings, String.Equals(Settings[ChartHttpHandler.WebDevServerUseConfigSettings], "true", StringComparison.OrdinalIgnoreCase).ToString()); 792void Save(String key, Byte[] data); 800Byte[] Load(String key); 807void Delete(String key); 814bool Exists(String key); 864private String _url = "~/"; 870public String Url 876private String _directory = String.Empty; 881public String Directory 887private const String _folderKeyName = "{5FF3B636-70BA-4180-B7C5-FDD77D8FA525}"; 892public String FolderName 900return String.Empty; 904if (!String.IsNullOrEmpty(value)) 935private String _customHandlerName = typeof(DefaultImageHandler).FullName; 940public String CustomHandlerName 1009internal ChartHttpHandlerSettings(String parameters) : this() 1062private void ParseParams(String parameters) 1064if (!String.IsNullOrEmpty(parameters)) 1067String[] pairs = parameters.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries); 1070String item = pairs[index].Trim(); 1074String name = item.Substring(0, eqPositon).Trim(); 1075String value = item.Substring(eqPositon + 1).Trim(); 1202if (IsWebDevActive() && !( String.Compare(this[ChartHttpHandler.WebDevServerUseConfigSettings], "true", StringComparison.OrdinalIgnoreCase) == 0)) 1208if (String.IsNullOrEmpty(this.Url)) 1213String fileDirectory = this.Directory; 1214if (String.IsNullOrEmpty(fileDirectory)) 1238String testFileName = fileDirectory + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 1270if (!String.IsNullOrEmpty(this.CustomHandlerName)) 1302return String.Empty; 1310return String.Empty; 1322if (!String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1328keyType = String.IsNullOrEmpty(sessionId) ? ImageOwnerKeyType.None : ImageOwnerKeyType.SessionID; 1340if (String.IsNullOrEmpty(HttpContext.Current.Request.AnonymousID)) 1378return !(String.Compare(this["DeleteAfterServicing"], "false", StringComparison.OrdinalIgnoreCase) == 0); 1464if (String.IsNullOrEmpty(sessionID)) 1503void IChartStorageHandler.Save(String key, Byte[] data) 1514if (settings.PrivateImages && !String.IsNullOrEmpty(privacyKey)) 1532if (settings.PrivateImages && !String.IsNullOrEmpty(privacyKey)) 1557Byte[] IChartStorageHandler.Load( String key) 1570if (!String.IsNullOrEmpty(privacyKey)) 1572if (!String.Equals((string)_storageData[key + _privacyKeyName], privacyKey, StringComparison.Ordinal)) 1580if (!String.IsNullOrEmpty((string)_storageData[key + _privacyKeyName])) 1619if (!String.IsNullOrEmpty(privacyKey)) 1636if (String.Equals( 1671void IChartStorageHandler.Delete(String key) 1704bool IChartStorageHandler.Exists(String key) 1746internal string SessionID = String.Empty; 1769private String _keyFormat = String.Empty; 1785internal RingTimeTracker(TimeSpan itemLifeTime, String keyFormat, bool recordSessionID) 1787System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(keyFormat)); 1821internal String GetNextKey() 1863internal String GetCurrentKey() 1865return String.Format( CultureInfo.InvariantCulture, this._keyFormat, this._current.Value.Index); 1873internal String GetKey(RingItem ringItem) 1875return String.Format(CultureInfo.InvariantCulture, this._keyFormat, ringItem.Index); 1930internal static RingTimeTracker GetRingTracker(String keyFormat) 2091CurrentTraceInfo.AddTraceInfo(message, errorInfo != null ? errorInfo.ToString() : String.Empty);
System.Web.DynamicData (233)
DynamicData\ControlFilterExpression.cs (2)
58if (String.IsNullOrEmpty(Column)) { 76throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DataBoundControlParameterTarget.cs (3)
33if ((attribute != null) && !String.IsNullOrEmpty(attribute.Name)) { 34return attribute.Name + String.Format(CultureInfo.InvariantCulture, "['{0}']", columnName); 37return String.Empty;
DynamicData\DataControlReference.cs (1)
40if (String.IsNullOrEmpty(ControlID)) {
DynamicData\DataSourceUtil.cs (1)
24typeNameToTypeCode[typeof(String)] = TypeCode.String;
DynamicData\DynamicControl.cs (15)
56return ((o == null) ? String.Empty : (string)o); 59if (!String.Equals(value, ViewState["DataField"])) { 90return ((o == null) ? String.Empty : (string)o); 108return ((o == null) ? String.Empty : (string)o); 125throw new Exception(String.Format(CultureInfo.CurrentCulture, 179return ((o == null) ? String.Empty : (string)o); 250if (!String.IsNullOrEmpty(CssClass)) { 263if (String.IsNullOrEmpty(DataField)) { 264throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 273if (String.IsNullOrEmpty(UIHint)) { 276if (String.IsNullOrEmpty(DataFormatString)) { 279if (String.IsNullOrEmpty(NullDisplayText)) { 315return String.Empty; 390return (o == null ? String.Empty : (string)o); 426return (o == null ? String.Empty : (string)o);
DynamicData\DynamicControlParameter.cs (8)
42throw new InvalidOperationException(String.Format( 55throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 62if (!String.IsNullOrEmpty(columnName)) { 75throw new Exception(String.Format(CultureInfo.CurrentCulture, 126string namePrefix = String.Empty; 129throw new Exception(String.Format(CultureInfo.CurrentCulture, 137foreach (var fkName in column.ForeignKeyNames) { 162throw new InvalidOperationException(String.Format(
DynamicData\DynamicDataExtensions.cs (9)
97throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromDataSource)); 120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromControl)); 300string formattedValue = String.Empty; 314if (!String.IsNullOrEmpty(formatting)) { 315dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, fieldValue); 319if (!String.IsNullOrEmpty(dataValueString) && formattingOptions.HtmlEncode) { 344valueString = (fieldValue != null) ? fieldValue.ToString() : String.Empty; 362if (String.IsNullOrEmpty(value) && formattingOptions.ConvertEmptyStringToNull) { 368if (value == nullDisplayText && !String.IsNullOrEmpty(nullDisplayText)) {
DynamicData\DynamicDataManager.cs (3)
123String.Format(CultureInfo.CurrentCulture, 226if (String.IsNullOrEmpty(dataSource.EntitySetName)) { 231if (String.IsNullOrEmpty(dataSource.Where)) {
DynamicData\DynamicDataRouteHandler.cs (2)
122return String.Format(CultureInfo.InvariantCulture, pathPattern, Model.DynamicDataFolderVirtualPath, table.Name, viewName); 133return String.Format(CultureInfo.InvariantCulture, pathPattern, Model.DynamicDataFolderVirtualPath, viewName);
DynamicData\DynamicEntity.cs (4)
37return (string)ViewState["UIHint"] ?? String.Empty; 52return (string)ViewState["ValidationGroup"] ?? String.Empty; 84throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 92throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicField.cs (11)
58return String.Empty; 112return ((o == null) ? String.Empty : (string)o); 115if (!String.Equals(value, ViewState["DataField"])) { 135throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicControl_ControlNeedsToExistInADataControlUsingDynamicDataSource)); 154return ((o == null) ? String.Empty : (string)o); 157if (!String.Equals(value, ViewState["UIHint"])) { 175return ((o == null) ? String.Empty : (string)o); 178if (!String.Equals(value, ViewState["ValidationGroup"])) { 300return String.Empty; 367return (o == null ? String.Empty : (string)o); 403return (o == null ? String.Empty : (string)o);
DynamicData\DynamicFilter.cs (2)
34return (o == null) ? String.Empty : (string)o; 52return (o == null) ? String.Empty : (string)o;
DynamicData\DynamicFilterExpression.cs (1)
32throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, "The control '{0}' could not be found.", ControlID));
DynamicData\DynamicHyperLink.cs (24)
47return (o == null ? String.Empty: (string)o); 72return ((o == null) ? String.Empty : (string)o); 89return ((o == null) ? String.Empty : (string)o); 115return ((o == null) ? String.Empty : (string)o); 130if (!String.IsNullOrEmpty(NavigateUrl)) { 135if (!String.IsNullOrEmpty(TableName) || !String.IsNullOrEmpty(ContextTypeName)) { 136throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 159if (String.IsNullOrEmpty(Text)) { 170throw new InvalidOperationException(String.Format( 179if (String.IsNullOrEmpty(Text)) { 180if (!String.IsNullOrEmpty(DataField)) { 193if (!String.IsNullOrEmpty(NavigateUrl)) { 201if (!_dataBound && String.IsNullOrEmpty(NavigateUrl)) { 206throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID), exception); 210throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID)); 213var action = GetActionOrDefaultTo(PageAction.List); 236return String.IsNullOrEmpty(Action) ? defaultAction : Action; 242if (!String.IsNullOrEmpty(TableName)) { 251var tableName = TableName; 252var contextTypeName = ContextTypeName; 253Debug.Assert(!String.IsNullOrEmpty(tableName)); 255if (!String.IsNullOrEmpty(contextTypeName)) {
DynamicData\DynamicQueryStringParameter.cs (1)
38throw new InvalidOperationException(String.Format(
DynamicData\DynamicValidator.cs (3)
33return (Column == null) ? String.Empty : Column.Name; 46throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 84if (String.IsNullOrEmpty(ColumnName)) {
DynamicData\EntityTemplateFactory.cs (4)
95foreach (var name in fallbackNames) { 107if (String.IsNullOrEmpty(candidateName)) { 120string modeString = mode == DataBoundControlMode.ReadOnly ? String.Empty : "_" + mode.ToString(); 121return String.Format(CultureInfo.InvariantCulture, this.TemplateFolderVirtualPath + "{0}{1}.ascx", templateName, modeString);
DynamicData\FieldTemplateFactory.cs (5)
129if (String.IsNullOrEmpty(uiHint) && !hasDataTypeAttribute) { 212if (!String.IsNullOrEmpty(templateName)) { 287if (String.IsNullOrEmpty(templateName)) { 294modePathModifier = String.Empty; 307return String.Format(CultureInfo.InvariantCulture,
DynamicData\FieldTemplateUserControl.cs (13)
86throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 101throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 251if (!String.IsNullOrEmpty(path)) { 277if (!String.IsNullOrEmpty(path)) { 436if (String.IsNullOrEmpty(validator.ErrorMessage)) { 438if (String.IsNullOrEmpty(columnErrorMessage)) { 455errorMessage = String.Format(CultureInfo.CurrentCulture, 461errorMessage = String.Format(CultureInfo.CurrentCulture, 468errorMessage = String.Format(CultureInfo.CurrentCulture, 473errorMessage = String.Format(CultureInfo.CurrentCulture, 482if (String.IsNullOrEmpty(validator.ErrorMessage)) { 518if (String.IsNullOrEmpty(validator.ErrorMessage)) { 536if (String.IsNullOrEmpty(validator.ErrorMessage)) {
DynamicData\FilterFactory.cs (3)
51throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 93if (!String.IsNullOrEmpty(filterUIHint)) { 96else if (!String.IsNullOrEmpty(column.FilterUIHint)) {
DynamicData\FilterRepeater.cs (15)
36return _contextTypeName ?? String.Empty; 56if (String.IsNullOrEmpty(_dynamicFilterContainerId)) { 87return _tableName ?? String.Empty; 135if (!String.IsNullOrEmpty(ContextTypeName) || !String.IsNullOrEmpty(TableName)) { 141if (String.IsNullOrEmpty(ContextTypeName)) { 142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 145} else if (String.IsNullOrEmpty(tableName)) { 146throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 152if (!String.IsNullOrEmpty(ContextTypeName)) { 156throw new InvalidOperationException(String.Format( 167throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 175throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 183throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 213String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterUserControlBase.cs (19)
63throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 69if (String.IsNullOrEmpty(SelectedValue)) 128if (String.IsNullOrEmpty(DataField)) { 129throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 136if (!String.IsNullOrEmpty(ContextTypeName) || !String.IsNullOrEmpty(TableName)) { 138if (String.IsNullOrEmpty(ContextTypeName)) { 139throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 143if (String.IsNullOrEmpty(TableName)) { 144throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 154throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 164throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 173throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 182throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 200if (!String.IsNullOrEmpty(contextTypeName)) { 204throw new InvalidOperationException(String.Format( 300throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 345return String.Format(CultureInfo.InvariantCulture, "SelectedDataKey['{0}']", columnName); 360return String.Empty;
DynamicData\MetaChildrenColumn.cs (4)
58return String.Empty; 82return String.Empty; 91return String.Empty; 93if (String.IsNullOrEmpty(path)) {
DynamicData\MetaColumn.cs (6)
254StringLocalizerUtil.GetLocalizedString(requiredAttribute, DisplayName) : String.Empty; 301if (!String.IsNullOrEmpty(UIHint)) return true; 569DataFormatString = displayFormatAttribute.GetPropertyValue(a => a.DataFormatString, String.Empty); 570NullDisplayText = displayFormatAttribute.GetPropertyValue(a => a.NullDisplayText, String.Empty); 653var presentationLayerNotSpecified = uiHints.Where(a => String.IsNullOrEmpty(presentationLayerPropertyAccessor(a))); 654var presentationLayerSpecified = uiHints.Where(a => !String.IsNullOrEmpty(presentationLayerPropertyAccessor(a)));
DynamicData\MetaForeignKeyColumn.cs (6)
76if (String.IsNullOrEmpty(value)) { 124return String.Empty; 136var sortExpression = Provider.Association.GetSortExpression(displayColumn.Provider); 137return sortExpression ?? String.Empty; 175return String.Empty; 182return String.Empty;
DynamicData\MetaModel.cs (14)
127throw new InvalidOperationException(String.Format( 177throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextFactoryReturnsNull), "contextFactory"); 181throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextTypeNotSupported, contextType.FullName)); 223throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextAlreadyRegistered, dataModelProvider.ContextType.FullName)); 271String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_RegistrationErrorOccurred), 341if (String.IsNullOrEmpty(nameOverride)) { 342throw new ArgumentException(String.Format( 351throw new ArgumentException(String.Format( 400return !table.EntityType.IsAbstract && !String.IsNullOrEmpty(table.ListActionPath) && table.CanRead(Context.User); 412throw new ArgumentException(String.Format( 454throw new ArgumentException(String.Format( 499throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 504throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 567private string _queryStringKeyPrefix = String.Empty;
DynamicData\MetaTable.cs (17)
138_foreignKeyColumnsNames = String.Join(",", fkColumnNamesArray); 272if (displayColumnAttribute != null && !String.IsNullOrEmpty(displayColumnAttribute.SortColumn)) { 274throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 394throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_ColumnNameConflict, 484if (String.IsNullOrEmpty(path)) { 512return path ?? String.Empty; 523throw new InvalidOperationException(String.Format( 546if (!String.IsNullOrEmpty(groupName) && groupings.TryGetValue(groupName, out order)) { 594throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 613return String.Empty; 625return displayObject == null ? String.Empty : displayObject.ToString(); 648return Columns.Where(c => c.Metadata.DisplayAttribute != null && !String.IsNullOrEmpty(c.Metadata.DisplayAttribute.GetGroupName())) 773throw new InvalidOperationException(String.Format( 799if (!String.IsNullOrEmpty(column.FilterUIHint)) { 866foreach (var fkName in foreignKeyColumn.ForeignKeyNames) { 916if (!String.IsNullOrEmpty(nameOverride)) {
DynamicData\ModelProviders\AssociationProvider.cs (2)
105throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 119return String.Format(CultureInfo.InvariantCulture, format, FromColumn.Name, sortColumn.Name);
DynamicData\ModelProviders\ColumnProvider.cs (1)
65if (stringLengthAttribute == null && columnProvider.ColumnType == typeof(String) && maxLength > 0) {
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
86private static DLinqColumnProvider FindColumn(TableProvider table, String columnName) {
DynamicData\ModelProviders\DLinqColumnProvider.cs (2)
63internal static int ProcessMaxLength(Type memberType, String dbType) { 92internal static bool ProcessIsSortable(Type memberType, String dbType) {
DynamicData\ModelProviders\EFColumnProvider.cs (1)
113Debug.Assert(false, String.Format(CultureInfo.CurrentCulture, "Unknown EdmType {0}.", edmType.GetType().FullName));
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
87Debug.Assert(result != null, String.Format(CultureInfo.CurrentCulture, "Cannot map EdmType '{0}' to matching CLR Type", entityType));
DynamicData\ModelProviders\SchemaCreator.cs (1)
24throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.SchemaCreator_UnknownModel, contextInstance.GetType().FullName));
DynamicData\ModelProviders\SimpleTableProvider.cs (2)
22DataContextPropertyName = String.Empty; 35DataContextPropertyName = String.Empty;
DynamicData\QueryableFilterRepeater.cs (2)
47return String.IsNullOrEmpty(id) ? "DynamicFilter" : id; 113String.Format(CultureInfo.CurrentCulture,
DynamicData\QueryableFilterUserControl.cs (3)
82foreach (var fkName in foreignKeyColumn.ForeignKeyNames) { 136foreach (var p in props) { 148ParameterExpression parameterExpression = Expression.Parameter(source.ElementType, String.Empty);
DynamicData\QueryStringHandler.cs (7)
11if (String.IsNullOrEmpty(virtualPath)) 13String.Format(CultureInfo.CurrentCulture, DynamicDataResources.QueryStringHandler_VirtualPathCannotBeEmpty), 20if (String.IsNullOrEmpty(queryString)) 40return String.Empty; 45foreach (String s in parameters.Keys) { 46if (!String.IsNullOrEmpty(s)) { 65return String.Empty;
DynamicData\SimpleFieldTemplateFactory.cs (1)
52if (!String.IsNullOrEmpty(uiHint)) {
DynamicData\TableNameAttribute.cs (1)
18if (String.IsNullOrEmpty(name)) {
DynamicData\Util\DataControlHelper.cs (1)
37throw new Exception(String.Format(
DynamicData\Util\MetaTableHelper.cs (3)
78string id = (c != null ? c.ID : String.Empty); 79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 106if (contextType == null || String.IsNullOrEmpty(tableName)) {
DynamicData\Util\Misc.cs (5)
112throw new InvalidOperationException(String.Format( 174return String.Empty; 176return list[0] == null ? String.Empty : list[0].ToString().TrimEnd(); 198return String.Empty; 295throw new HttpException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\RouteParametersHelper.cs (1)
17if (String.IsNullOrEmpty(columnName)) {
DynamicData\Util\TemplateFactory.cs (2)
30Debug.Assert(!String.IsNullOrEmpty(defaultLocation)); 123throw new InvalidOperationException(String.Format(
System.Web.Entity (63)
System\Data\WebControls\EntityDataSource.cs (28)
221public String ConnectionString 275if (!String.IsNullOrEmpty(value) && System.Web.Hosting.HostingEnvironment.IsHosted) 446if (!String.IsNullOrEmpty(DefaultContainerName)) 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\EntityDataSourceColumn.cs (1)
282return String.Format(CultureInfo.InvariantCulture, "<Set = {0}, Role = {1}>",
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (4)
103if (!String.IsNullOrEmpty(_whereExpression)) 119return String.IsNullOrEmpty(orderByClause) ? queryT : queryT.OrderBy(orderByClause, orderByParameters); 129var hasOrderByClause = !String.IsNullOrEmpty(orderByClause); 264Debug.Assert(!String.IsNullOrEmpty(_selectExpression), "Select expression should not be of zero length.");
System\Data\WebControls\EntityDataSourceUtil.cs (8)
108if (null != parameterName && String.Equals(propertyName, parameterName, StringComparison.Ordinal)) 133if (String.Equals(p.Name, propertyName, StringComparison.Ordinal)) 186if (String.IsNullOrEmpty(entityTypeFilter)) 290Debug.Assert(!String.IsNullOrEmpty(columnName), "columnName must be given"); 361return typeof(String); 391return typeof(String); 886return (String.IsNullOrEmpty(type.NamespaceName) ? String.Empty : (QuoteEntitySqlIdentifier(type.NamespaceName) + "."))
System\Data\WebControls\EntityDataSourceView.cs (12)
394var checkEntitySet = wasQueryModified && !String.IsNullOrEmpty(_owner.EntitySetName) && (CanDelete || CanUpdate); 435return String.Empty; 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)) 1712string valueString = parameterValue as String; 1713if (parameter.TypeCode == TypeCode.String && parameter.ConvertEmptyStringToNull && String.IsNullOrEmpty(valueString))
System\Data\WebControls\OrderByBuilder.cs (9)
65Debug.Assert(String.IsNullOrEmpty(_orderBy), "If AutoGenerateOrderByClause is true, then OrderBy cannot be set. This should have been caught by a runtime error check"); 82if (!String.IsNullOrEmpty(_orderBy)) 108if (!String.IsNullOrEmpty(expression)) 112string spacer = String.Empty; 118if (String.IsNullOrEmpty(columnName)) 179var parameter = Expression.Parameter(source.ElementType, String.Empty); 188var methodName = (isFirstOrderBy ? "OrderBy" : "ThenBy") + (isAscending ? String.Empty : "Descending"); 247return String.Empty;
System\Data\WebControls\WebControlParameterProxy.cs (1)
29Debug.Assert(!String.IsNullOrEmpty(propertyName));
System.Web.Entity.Design (86)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
34var value = section.BitmapSuffix;
System\Data\WebControls\Design\EntityConnectionStringBuilderItem.cs (5)
32Debug.Assert(!String.IsNullOrEmpty(unknownConnectionString), "null or empty unknownConnectionString"); 63return String.IsNullOrEmpty(this.ConnectionString); 73return !String.IsNullOrEmpty(_connectionStringBuilder.Name); 88if (!String.IsNullOrEmpty(_connectionStringBuilder.Name)) 105return (String.Compare(this.ToString(), other.ToString(), StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContext.cs (2)
141if (!String.IsNullOrEmpty(containerName)) 149if (String.Equals(containerName, containerNameItem.EntityContainerName, StringComparison.OrdinalIgnoreCase))
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 (2)
29Debug.Assert(!String.IsNullOrEmpty(unknownContainerName), "null or empty unknownContainerName"); 64return (String.Compare(this.EntityContainerName, other.EntityContainerName, StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (14)
86LoadSelect(String.Empty); 114if (!String.IsNullOrEmpty(entitySetName)) 122if (String.Equals(entitySetNameItem.EntitySetName, entitySetName, StringComparison.OrdinalIgnoreCase)) 162if (!String.IsNullOrEmpty(entitySetName)) 188LoadSelect(String.Empty); 199_entityDataSourceState.EntitySetName = String.Empty; 227if (!String.IsNullOrEmpty(entityTypeFilter)) 249if (!String.IsNullOrEmpty(entityTypeFilter)) 257if (String.Equals(entityTypeFilterItem.EntityTypeName, entityTypeFilter, StringComparison.OrdinalIgnoreCase)) 283LoadSelect(String.Empty); 291_entityDataSourceState.EntityTypeFilter = String.Empty; 350return String.Empty; 395if (!String.IsNullOrEmpty(currentSelect)) 471if (String.Equals(UnescapePropertyName(propertyName), _entityTypeProperties[propIndex], StringComparison.OrdinalIgnoreCase))
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 (28)
49private static readonly string s_dataDirectoryPath = String.Concat(s_virtualRoot, "app_data"); 50private static readonly string s_resolvedResPathFormat = String.Concat(s_resPathPrefix, "{0}/{1}"); 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)) 696return (String.Equals(fullName, "*", StringComparison.OrdinalIgnoreCase) || 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)) 917return String.Concat(dataDirectoryPath, trimmedPath.Substring(s_dataDirectory.Length)); 952metadataPaths.Add(String.Concat(rootItem.PhysicalPath, resourcePath.Substring(s_virtualRoot.Length))); 965metadataPaths.Add(String.Concat(rootItem.PhysicalPath, resourcePath)); 1083if (String.IsNullOrEmpty(this.EntityDataSource.ConnectionString) || 1084String.IsNullOrEmpty(this.EntityDataSource.DefaultContainerName) || 1085String.IsNullOrEmpty(this.EntityDataSource.CommandText) && String.IsNullOrEmpty(this.EntityDataSource.EntitySetName)) 1197if (!String.Equals(connectionString, this.ConnectionString, StringComparison.OrdinalIgnoreCase) || 1198!String.Equals(defaultContainerName, this.DefaultContainerName, StringComparison.OrdinalIgnoreCase) || 1199!String.Equals(entitySetName, this.EntitySetName, StringComparison.OrdinalIgnoreCase) || 1200!String.Equals(select, this.Select, StringComparison.OrdinalIgnoreCase) || 1201!String.Equals(commandText, this.CommandText, StringComparison.OrdinalIgnoreCase) || 1229if (String.IsNullOrEmpty(viewName) || 1230String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase)) 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\EntityDataSourceEntitySetNameItem.cs (1)
62return (String.Compare(this.EntitySetName, other.EntitySetName, StringComparison.OrdinalIgnoreCase));
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\EntityDataSourceEntityTypeFilterItem.cs (1)
61return (String.Compare(this.EntityTypeName, other.EntityTypeName, StringComparison.OrdinalIgnoreCase));
System\Data\WebControls\Design\EntityDataSourceState.cs (5)
28return String.Empty; 44return String.Empty; 78return String.Empty; 94return String.Empty; 110return String.Empty;
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (5)
57if (String.Equals("Where", operation, StringComparison.Ordinal)) 61else if (String.Equals("OrderBy", operation, StringComparison.Ordinal)) 76if (String.Equals("Where", propertyName, StringComparison.Ordinal)) 80else if (String.Equals("OrderBy", propertyName, StringComparison.Ordinal)) 118return String.Empty;
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (3)
321if (String.Equals(propertyName, "Where", StringComparison.OrdinalIgnoreCase)) 326else if (String.Equals(propertyName, "OrderBy", StringComparison.OrdinalIgnoreCase)) 340else if (!String.IsNullOrEmpty(_cachedStatementText))
System\Data\WebControls\Design\EntityDataSourceWizardForm.cs (1)
33this.Text = String.Format(CultureInfo.InvariantCulture, Strings.Wizard_Caption(((EntityDataSource)entityDataSourceDesigner.Component).ID));
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\Data\WebControls\Design\Util\DesignerForm.cs (1)
81if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal))
System\Data\WebControls\Design\Util\WizardPanel.cs (1)
48return String.Empty;
System.Web.Extensions (728)
ApplicationServices\ApplicationServiceHelper.cs (2)
214return String.Empty; 223string trimmed = property == null ? String.Empty : property.Trim();
ApplicationServices\ProfilePropertyMetadata.cs (4)
16private String _propertyName; 28public String PropertyName 40private String _typeName; 42public String TypeName
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
148if (!String.IsNullOrEmpty(attribUnrecognized))
ClientServices\Providers\ClientRoleProvider.cs (1)
92if (!String.IsNullOrEmpty(attribUnrecognized))
ClientServices\Providers\ClientSettingsProvider.cs (1)
191if (!String.IsNullOrEmpty(attribUnrecognized))
ClientServices\Providers\ProxyHelper.cs (1)
95throw new WebException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ProxyHelper_BadStatusCode, response.StatusCode.ToString(), GetResponseString(response)), we);
Compilation\WCFBuildProvider.cs (13)
186errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 228string referenceDisplayName = String.IsNullOrEmpty(generatedNamespace) ? 246errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 303if (!String.IsNullOrEmpty(generationError.MetadataFile)) 307errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}': {1}", generationError.MetadataFile, errorMessage); 311errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}' ({1}): {2}", generationError.MetadataFile, generationError.LineNumber, errorMessage); 315errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}' ({1},{2}): {3}", generationError.MetadataFile, generationError.LineNumber, generationError.LinePosition, errorMessage); 359throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToGenerateCode, referenceDisplayName, collectedMessages.ToString())); 443return String.Empty; 462return String.Join(".", chunks); 498if (String.IsNullOrEmpty(typeName)) 551if (String.Equals(extensionFile.Name, TOOL_CONFIG_ITEM_NAME, StringComparison.Ordinal)) 625throw new System.IO.FileNotFoundException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToLoadAssembly, assemblyName));
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (2)
89if (String.Equals(binding.Name, portToDelete.Binding.Name, StringComparison.Ordinal)) 147if (String.Equals(System.IO.Path.GetExtension(fileName), ".asmx", StringComparison.OrdinalIgnoreCase))
Compilation\WCFModel\ExternalFile.cs (2)
51m_FileName = String.Empty; 102throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_InvalidFileName, value));
Compilation\WCFModel\MapFileLoader.cs (2)
269throw new XmlSchemaException(String.Format(CultureInfo.CurrentCulture, 342throw new FormatException(String.Format(CultureInfo.CurrentCulture,
Compilation\WCFModel\MetadataFile.cs (5)
496if (!String.IsNullOrEmpty(TargetNamespace)) 724if (String.IsNullOrEmpty(SourceUrl)) 774m_TargetNamespace = String.Empty; 780m_TargetNamespace = String.Empty; 798m_TargetNamespace = String.Empty;
Compilation\WCFModel\MetadataSource.cs (2)
50m_Address = String.Empty; 51m_Protocol = String.Empty;
Compilation\WCFModel\ProxyGenerationError.cs (1)
47m_MetadataFile = String.Empty;
Compilation\WCFModel\ReferencedAssembly.cs (1)
31m_AssemblyName = String.Empty;
Compilation\WCFModel\SchemaMerger.cs (41)
140if (String.IsNullOrEmpty(targetNamespace)) 142targetNamespace = String.Empty; 163String.Empty, 165String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItems, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation) 170else if (!String.IsNullOrEmpty(differentLocation)) 177String.Empty, 179String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItemsIgnored, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation) 208differentLocation = String.Empty; 216string ignorableDifferenceLocation = String.Empty; 233if (String.IsNullOrEmpty(ignorableDifferenceLocation)) 251differentLocation = String.Empty; 298if (!String.IsNullOrEmpty(differentLocation)) 327if (!String.IsNullOrEmpty(differentLocation)) 342differentLocation = String.Empty; 386differentLocation = String.Empty; 391string ignorableDifferenceLocation = String.Empty; 405if (String.IsNullOrEmpty(ignorableDifferenceLocation)) 430return String.Equals(attribute1.LocalName, attribute2.LocalName, StringComparison.Ordinal) && 431String.Equals(attribute1.NamespaceURI, attribute2.NamespaceURI, StringComparison.Ordinal) && 432String.Equals(attribute1.Value, attribute2.Value, StringComparison.Ordinal); 484differentLocation = String.Empty; 486if (!String.Equals(element1.LocalName, element2.LocalName, StringComparison.Ordinal) || 487!String.Equals(element1.NamespaceURI, element2.NamespaceURI, StringComparison.Ordinal)) 495string attributeName1 = differentAttribute1 != null ? "@" + differentAttribute1.LocalName : String.Empty; 496string attributeName2 = differentAttribute2 != null ? "@" + differentAttribute2.LocalName : String.Empty; 504string child1Name = differentChild1 != null ? ((XmlNode)differentChild1).LocalName : String.Empty; 505string child2Name = differentChild2 != null ? ((XmlNode)differentChild2).LocalName : String.Empty; 519return String.Equals(text1.Value, text2.Value, StringComparison.Ordinal); 529if (String.IsNullOrEmpty(path1)) 533else if (String.IsNullOrEmpty(path2)) 563return String.Empty; 566return String.Empty; 577string name = String.Empty; 587if (String.IsNullOrEmpty(name)) 602string name = String.Empty; 607if (String.Equals(name1, name2, StringComparison.Ordinal)) 653return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}[@name='{1}']", elementAttribute.ElementName, itemName); 683return String.Empty; 727if (String.Equals(property.Name, "Constraints", StringComparison.Ordinal)) 759int namespaceResult = String.Compare(x.NamespaceURI, y.NamespaceURI, StringComparison.Ordinal); 765return String.Compare(x.Name, y.Name, StringComparison.Ordinal);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (29)
449String.Empty, 566String.Empty, 567new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, mapping.TypeName))) 575if (!String.Equals(mapping.Name, contract.Name, StringComparison.Ordinal) || 576!String.Equals(mapping.TargetNamespace, contract.Namespace, StringComparison.Ordinal)) 582String.Empty, 583new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_ServiceContractMappingMissMatch, mapping.TypeName, contract.Namespace, contract.Name, mapping.TargetNamespace, mapping.Name))) 595String.Empty, 880String.Empty, 902String.Empty, 903new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedType.TypeName))) 914String.Empty, 933String.Empty, 934new Exception(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DataContractExcludedAndIncluded, excludedType.TypeName)))); 944String.Empty, 1081if (String.IsNullOrEmpty(ns)) 1139String.Empty, 1154String.Empty, 1173String.Empty, 1204String.Empty, 1205new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedCollectionMapping.TypeName))) 1216String.Empty, 1665proxyNamespace = String.Empty; 1676if (String.Equals(proxyNamespace, proxyCodeNamespace.Name, StringComparison.Ordinal)) 1687if (String.Equals(codeAttribute.AttributeType.BaseType, typeof(System.ServiceModel.ServiceContractAttribute).FullName, StringComparison.Ordinal)) 1691if (String.Equals(argument.Name, "ConfigurationName", StringComparison.Ordinal)) 1776if (String.Equals(attribute.Name, type.FullName, StringComparison.Ordinal) || String.Equals(attribute.Name, type.Name, StringComparison.Ordinal)) 1796return String.Equals(language, VB_LANGUAGE_NAME, StringComparison.OrdinalIgnoreCase);
Compilation\WCFModel\WsdlInspector.cs (16)
68if (String.IsNullOrEmpty(targetNamespace)) 70targetNamespace = String.Empty; 124int nameDifferent = String.Compare(operationX.Name, operationY.Name, StringComparison.Ordinal); 238int nameDifferent = String.Compare(partX.Name, partY.Name, StringComparison.Ordinal); 305String.Empty, 307String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_OperationDefinedInOneOfDuplicatedServiceContract, 325String.Empty, 327String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_OperationDefinedDifferently, 345String.Empty, 347String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FieldDefinedInOneOfDuplicatedMessage, 365String.Empty, 367String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FieldDefinedDifferentlyInDuplicatedMessage, 386return String.Compare(x.Name, y.Name, StringComparison.Ordinal); 399int namespaceResult = String.Compare(x.Message.Namespace, y.Message.Namespace, StringComparison.Ordinal); 405return String.Compare(x.Message.Name, y.Message.Name, StringComparison.Ordinal); 418return String.Compare(x.Name, y.Name, StringComparison.Ordinal);
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (10)
40WriteAttribute(@"ID", @"", ((global::System.String)o.@ID)); 99WriteAttribute(@"Name", @"", ((global::System.String)o.@Name)); 100WriteAttribute(@"Value", @"", ((global::System.String)o.@Value)); 119WriteAttribute(@"FileName", @"", ((global::System.String)o.@FileName)); 120WriteAttribute(@"Name", @"", ((global::System.String)o.@Name)); 139WriteAttribute(@"FileName", @"", ((global::System.String)o.@FileName)); 141WriteAttribute(@"ID", @"", ((global::System.String)o.@ID)); 151WriteAttribute(@"SourceUrl", @"", ((global::System.String)o.@SourceUrl)); 191WriteAttribute(@"Address", @"", ((global::System.String)o.@Address)); 192WriteAttribute(@"Protocol", @"", ((global::System.String)o.@Protocol));
Compilation\XmlSerializer\SvcMapFileSerializer.cs (16)
40WriteAttribute(@"ID", @"", ((global::System.String)o.@ID)); 90WriteAttribute(@"FileName", @"", ((global::System.String)o.@FileName)); 91WriteAttribute(@"Name", @"", ((global::System.String)o.@Name)); 110WriteAttribute(@"FileName", @"", ((global::System.String)o.@FileName)); 112WriteAttribute(@"ID", @"", ((global::System.String)o.@ID)); 122WriteAttribute(@"SourceUrl", @"", ((global::System.String)o.@SourceUrl)); 162WriteAttribute(@"Address", @"", ((global::System.String)o.@Address)); 163WriteAttribute(@"Protocol", @"", ((global::System.String)o.@Protocol)); 278WriteAttribute(@"Name", @"", ((global::System.String)o.@Name)); 279WriteAttribute(@"TargetNamespace", @"", ((global::System.String)o.@TargetNamespace)); 280WriteAttribute(@"TypeName", @"", ((global::System.String)o.@TypeName)); 299WriteAttribute(@"TypeName", @"", ((global::System.String)o.@TypeName)); 318WriteAttribute(@"AssemblyName", @"", ((global::System.String)o.@AssemblyName)); 348WriteAttribute(@"TypeName", @"", ((global::System.String)o.@TypeName)); 379WriteAttribute(@"TargetNamespace", @"", ((global::System.String)o.@TargetNamespace)); 380WriteAttribute(@"ClrNamespace", @"", ((global::System.String)o.@ClrNamespace));
Configuration\ConvertersCollection.cs (2)
83throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_UnknownType, converter.Type)); 87throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_NotJavaScriptConverter, t.Name));
Configuration\ScriptingProfileServiceSection.cs (2)
22typeof(String[]), 26typeof(String[]),
Globalization\ClientCultureInfo.cs (10)
105internal Tuple<String, String> GetClientCultureScriptBlock() { 109internal static Tuple<String, String> GetClientCultureScriptBlock(CultureInfo cultureInfo) { 121Tuple<String, String> cached = cultureScriptBlockCache[key] as Tuple<String, String>; 130cached = new Tuple<String, String>(script, clientCultureInfo._convertScript);
Handlers\ScriptModule.cs (3)
153PageRequestManager.EncodeString(response.Output, PageRequestManager.UpdatePanelVersionToken, String.Empty, PageRequestManager.UpdatePanelVersionNumber); 155redirectLocation = String.Join(" ", redirectLocation.Split(' ').Select(part => HttpUtility.UrlEncode(part))); 156PageRequestManager.EncodeString(response.Output, PageRequestManager.PageRedirectToken, String.Empty, redirectLocation);
Handlers\ScriptResourceHandler.cs (22)
59if (String.IsNullOrEmpty(scriptResourceName)) return CultureInfo.InvariantCulture; 74if (!String.IsNullOrEmpty(resourceInfo.ScriptResourceName) || 75((releaseResourceInfo != null) && !String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName))) { 128Debug.Assert(!String.IsNullOrEmpty(assemblyName)); 162private static Tuple<AssemblyName, String> GetAssemblyInfo(Assembly assembly) { 163Tuple<AssemblyName, String> assemblyInfo = 164(Tuple<AssemblyName, String>)_assemblyInfoCache[assembly]; 173private static Tuple<AssemblyName, String> GetAssemblyInfoInternal(Assembly assembly) { 176return new Tuple<AssemblyName, String>(assemblyName, hash); 236return !String.IsNullOrEmpty(path) && 237String.Equals(path, ScriptResourceAbsolutePath, StringComparison.OrdinalIgnoreCase); 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), 684Tuple<AssemblyName, String> assemblyInfo = GetAssemblyInfo(assemblyData.Item1); 687string assemblyHash = (String)assemblyInfo.Item2; 787throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ScriptResourceHandler_ResourceUrlTooLong, _maximumResourceUrlLength)); 807throw new HttpException(String.Format(CultureInfo.CurrentCulture,
Script\Serialization\JavaScriptObjectDeserializer.cs (4)
36throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, jsod._s.ToString())); 267throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, input)); 394String next = _s.MoveNext(DateTimePrefixLength); 397return String.Equals(next, DateTimePrefix, StringComparison.Ordinal);
Script\Serialization\JavaScriptSerializer.cs (5)
322throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, o.GetType().FullName)); 324if (isTypeEntrySet && String.Equals(key, ServerTypeFieldName, StringComparison.Ordinal)) { 409string os = o as String; 486? String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotSerializeMemberGeneric, currentMember.Name, currentMember.ReflectedType.FullName) + " " + AtlasWeb.JSON_InvalidEnumType 504throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CircularReference, type.FullName));
Script\Serialization\JavaScriptString.cs (1)
69return String.Empty;
Script\Serialization\ObjectConverter.cs (10)
122if (!ConvertObjectToTypeMain(s, typeof(String), serializer, throwOnError, out s)) { 182List<String> memberNames = new List<String>(dictionary.Keys); 190throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, type.FullName)); 233throw new MissingMethodException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_NoConstructor, type.FullName)); 236throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DeserializerTypeMismatch, type.FullName)); 365if (converter.CanConvertFrom(typeof(String))) { 403throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotConvertObjectToType, o.GetType(), type)); 477throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_CannotCreateListType, type.FullName)); 512throw new InvalidOperationException(String.Format(
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\GenerateScriptTypeAttribute.cs (1)
38return _typeId ?? String.Empty;
Script\Services\ProxyGenerator.cs (2)
55throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 60throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
Script\Services\RestHandler.cs (6)
104if (String.IsNullOrEmpty(bodyString)) { 119String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest, 127String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest, 157String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidXmlReturnType, 238writer.Write(JavaScriptSerializer.SerializeInternal(BuildWebServiceError(AtlasWeb.WebService_Error, String.Empty, String.Empty)));
Script\Services\RestHandlerFactory.cs (1)
41!String.IsNullOrEmpty(request.PathInfo) &&
Script\Services\WebServiceData.cs (5)
142throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceDataInlineScript, virtualPath)); 145throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceData, virtualPath)); 273String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_UnknownWebMethod, methodName), "methodName"); 341if (!String.IsNullOrEmpty(attribute.ScriptTypeId)) 350throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
Script\Services\WebServiceMethodData.cs (2)
32if (String.IsNullOrEmpty(_methodName)) { 172throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_MissingArg, paramData.ParameterInfo.Name));
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 (8)
67return String.Empty; 85throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID)); 104throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_CannotFindEvent, eventName, ControlID, Owner.ID)); 112throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_InvalidEvent, eventName, ControlID, Owner.ID)); 121if (!String.IsNullOrEmpty(EventName)) { 148if (String.IsNullOrEmpty(ControlID)) { 153(String.IsNullOrEmpty(EventName) ? String.Empty : ("." + EventName));
UI\AuthenticationServiceManager.cs (2)
74bool pathSpecified = !String.IsNullOrEmpty(serviceUrl); 101return _path ?? String.Empty;
UI\ClientScriptManagerWrapper.cs (1)
24Dictionary<Assembly, Dictionary<String, Object>> IClientScriptManager.RegisteredResourcesToSuppress {
UI\CompositeScriptReference.cs (6)
51if (!String.IsNullOrEmpty(Path)) { 65if (String.Equals(cultureName, uiCulture.Trim(), StringComparison.OrdinalIgnoreCase)) { 90bool hasPath = !String.IsNullOrEmpty(reference.EffectivePath); 93bool hasScriptPath = (!String.IsNullOrEmpty(scriptManager.ScriptPath) && !reference.IgnoreScriptPath); 116throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture, 136if (String.IsNullOrEmpty(reference.Path)) {
UI\ControlUtil.cs (7)
65String.Equals(hiddenFieldName, "__EVENTVALIDATION", StringComparison.Ordinal) || 66String.Equals(hiddenFieldName, "__LASTFOCUS", StringComparison.Ordinal) || 67String.Equals(hiddenFieldName, "__SCROLLPOSITIONX", StringComparison.Ordinal) || 68String.Equals(hiddenFieldName, "__SCROLLPOSITIONY", StringComparison.Ordinal) || 69String.Equals(hiddenFieldName, "__EVENTTARGET", StringComparison.Ordinal) || 70String.Equals(hiddenFieldName, "__EVENTARGUMENT", StringComparison.Ordinal) || 71String.Equals(hiddenFieldName, "__PREVIOUSPAGE", StringComparison.Ordinal);
UI\EmptyStringExpandableObjectConverter.cs (1)
18return String.Empty;
UI\ExtenderControl.cs (5)
63throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 80return (_targetControlID == null) ? String.Empty : _targetControlID; 125if (String.IsNullOrEmpty(TargetControlID)) { 126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\IClientScriptManager.cs (1)
15Dictionary<Assembly, Dictionary<String, Object>> RegisteredResourcesToSuppress {
UI\IPage.cs (2)
20IDictionary<String, String> HiddenFieldsToRender {
UI\PageRequestManager.cs (33)
91return String.Empty; 133Debug.Assert(!String.IsNullOrEmpty(type), "Type should always be specified"); 135id = String.Empty; 138content = String.Empty; 215return String.Empty; 226return new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_InvalidControlRegistration, control.ID)); 265return String.Empty; 312return String.Empty; 337return !String.IsNullOrEmpty(asyncPost) && 360_asyncPostBackSourceElementID = String.Empty; 422if (String.IsNullOrEmpty(errorMessage) && !_owner.Control.Context.IsCustomErrorEnabled) { 463string focusedControlId = String.Empty; 466if (!String.IsNullOrEmpty(_focusedControlID)) { 480EncodeString(writer, FocusToken, String.Empty, focusedControlId); 529(_updatePanelRequiresUpdate != null && String.Equals(panel.UniqueID, _updatePanelRequiresUpdate, StringComparison.Ordinal)) || 580throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 605String.Format( 627throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 645String.Format(CultureInfo.InvariantCulture, "The UpdatePanel with ID '{0}' has already been registered with the ScriptManager.", updatePanel.ID)); 743EncodeString(writer, UpdatePanelVersionToken, String.Empty, UpdatePanelVersionNumber); 762foreach (KeyValuePair<String, String> entry in hiddenFields) { 772EncodeString(writer, AsyncPostBackControlIDsToken, String.Empty, GetAsyncPostBackControlIDs(false)); 773EncodeString(writer, PostBackControlIDsToken, String.Empty, GetPostBackControlIDs(false)); 774EncodeString(writer, UpdatePanelIDsToken, String.Empty, GetAllUpdatePanelIDs()); 775EncodeString(writer, ChildUpdatePanelIDsToken, String.Empty, GetChildUpdatePanelIDs()); 776EncodeString(writer, UpdatePanelsToRefreshToken, String.Empty, GetRefreshingUpdatePanelIDs()); 777EncodeString(writer, AsyncPostBackTimeoutToken, String.Empty, _owner.AsyncPostBackTimeout.ToString(CultureInfo.InvariantCulture)); 779EncodeString(writer, FormActionToken, String.Empty, formWriter.FormAction); 783if (!String.IsNullOrEmpty(pageTitle)) { 784EncodeString(writer, PageTitleToken, String.Empty, pageTitle); 918throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_UpdatePanelNotRegistered, updatePanel.ID), "updatePanel"); 960_dataItem = (dataItem == null) ? String.Empty : dataItem;
UI\PageWrapper.cs (2)
31IDictionary<String, String> IPage.HiddenFieldsToRender {
UI\PostBackTrigger.cs (2)
51throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID)); 74if (String.IsNullOrEmpty(ControlID)) {
UI\ProfileServiceManager.cs (4)
99if (!String.IsNullOrEmpty(serviceUrl)) { 106if (loadProperties && !String.Equals(serviceUrl, defaultServicePath, StringComparison.OrdinalIgnoreCase)) { 153if(!String.IsNullOrEmpty(property)) { 274return _path ?? String.Empty;
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 (3)
85bool pathSpecified = !String.IsNullOrEmpty(serviceUrl); 93if (loadRoles && !String.Equals(serviceUrl, defaultServicePath, StringComparison.OrdinalIgnoreCase)) { 155return _path ?? String.Empty;
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 (11)
32if (String.IsNullOrEmpty(type)) { 41if (String.IsNullOrEmpty(elementID)) { 72return _id ?? String.Empty; 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\ScriptControl.cs (1)
55throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptControlDescriptor.cs (1)
43String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptControlDescriptor_IDNotSettable,
UI\ScriptControlManager.cs (6)
194String.Format(CultureInfo.InvariantCulture, 203String.Format(CultureInfo.InvariantCulture, 230String.Format(CultureInfo.InvariantCulture, 240String.Format(CultureInfo.InvariantCulture, 299throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 311throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptManager.cs (39)
87private HashSet<String> _scriptPathsDefiningSys = new HashSet<String>(StringComparer.OrdinalIgnoreCase); 92private static HashSet<String> _splitFrameworkScript; 184return String.Empty; 265return _clientNavigateHandler ?? String.Empty; 749return (_scriptPath == null) ? String.Empty : _scriptPath; 774private static HashSet<String> SplitFrameworkScripts { 777HashSet<String> scripts = new HashSet<String>(); 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)) { 1175return String.Empty; 1197if (String.IsNullOrEmpty(serverState)) { 1262String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptManager_MustHaveGreaterVersion, 1537Tuple<String, String> entry = ClientCultureInfo.GetClientCultureScriptBlock(CultureInfo.CurrentCulture); 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)) { 1770String.Format(CultureInfo.InvariantCulture, "({0})||document.write('<script type=\"text/javascript\" src=\"{1}\"><\\/script>');", scriptInfo.LoadSuccessExpression, fallbackPath), 1793if (!String.IsNullOrEmpty(pageMethods)) { 1799private static void RegisterResourceWithClientScriptManager(IClientScriptManager clientScriptManager, Assembly assembly, String key) { 1806Dictionary<Assembly, Dictionary<String, Object>> suppressedResources = clientScriptManager.RegisteredResourcesToSuppress; 1808Dictionary<String, Object> resourcesForAssembly; 1810resourcesForAssembly = new Dictionary<String, Object>(); 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\ScriptManagerProxy.cs (1)
151throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\ScriptReference.cs (37)
47Debug.Assert(!String.IsNullOrEmpty(name), "The script's name must be specified."); 69return (_assembly == null) ? String.Empty : _assembly; 85return String.IsNullOrEmpty(Path) ? ScriptInfo.Path : Path; 107return ((String.IsNullOrEmpty(EffectiveResourceName) && 108(!String.IsNullOrEmpty(Path) || String.IsNullOrEmpty(ScriptInfo.DebugPath))) ? 139return (_name == null) ? String.Empty : _name; 157Debug.Assert(!String.IsNullOrEmpty(resourceName)); 195if (!String.IsNullOrEmpty(EffectiveResourceName)) { 205if (String.Equals(cultureName, uiCulture.Trim(), StringComparison.OrdinalIgnoreCase)) { 215return String.IsNullOrEmpty(Assembly) ? null : AssemblyCache.Load(Assembly); 244String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptName, releaseName)); 258if (!String.IsNullOrEmpty(EffectiveResourceName)) { 268path = String.IsNullOrEmpty(predeterminedDebugPath) ? GetDebugPath(releasePath) : predeterminedDebugPath; 319scriptPath = String.Join("/", new string[] { 331bool hasName = !String.IsNullOrEmpty(Name); 332bool hasAssembly = !String.IsNullOrEmpty(Assembly); 334if (!hasName && String.IsNullOrEmpty(Path)) { 351if (!String.IsNullOrEmpty(EffectiveResourceName) && !IsAjaxFrameworkScript(scriptManager) && 355throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture, 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\ScriptReferenceBase.cs (2)
103return (_path == null) ? String.Empty : _path; 179String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptPath, pathWithoutQuery));
UI\ScriptRegistrationManager.cs (5)
126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_InvalidChars, entry.Type.FullName, entry.Key, tweenSpace)); 255if (String.IsNullOrEmpty(resourceName)) { 552if (String.IsNullOrEmpty(activeRegistration.Url)) { 674throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoCloseTag, activeRegistration.Type.FullName, activeRegistration.Key)); 716throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoTags, activeRegistration.Type.FullName, activeRegistration.Key));
UI\ScriptResourceAttribute.cs (22)
42if (String.IsNullOrEmpty(scriptName)) { 82private static void AddResources(Dictionary<String, String> resources, 93private static Dictionary<String, String> CombineResources( 96Dictionary<String, String> resources = new Dictionary<String, String>(StringComparer.Ordinal); 115bool isScriptResource = String.Equals( 128throw new HttpException(String.Format(CultureInfo.CurrentCulture, 140if (String.IsNullOrEmpty(resourceName)) { 180if (!String.IsNullOrEmpty(resourceInfo.ScriptResourceName)) { 186!String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName)) { 192!String.IsNullOrEmpty(releaseResourceInfo.ScriptResourceName) && 193!String.IsNullOrEmpty(resourceInfo.ScriptResourceName) && 195throw new HttpException(String.Format( 233Dictionary<String, String> resources, 236foreach (KeyValuePair<String,String> res in resources) { 292if (String.IsNullOrEmpty(typeName)) {
UI\ScriptResourceDefinition.cs (10)
19return _cdnDebugPath ?? String.Empty; 28return _cdnPath ?? String.Empty; 64return _loadSuccessExpression ?? String.Empty; 73return _debugPath ?? String.Empty; 82return _path ?? String.Empty; 100return _resourceName ?? String.Empty; 108string cdnPath = String.Empty; 109if (!String.IsNullOrEmpty(unsecurePath)) { 117cdnPath = String.Empty; 121cdnPath = String.Empty;
UI\ScriptResourceInfo.cs (5)
43_isDebug = !String.IsNullOrEmpty(_scriptName) && _scriptName.EndsWith(".debug.js", StringComparison.OrdinalIgnoreCase); 48if (!String.IsNullOrEmpty(_cdnPath)) { 106String.Format(CultureInfo.CurrentCulture, 123if (String.Equals(wra.WebResource, resourceName, StringComparison.Ordinal)) { 132if (String.Equals(sra.ScriptName, resourceName, StringComparison.Ordinal)) {
UI\ScriptResourceMapping.cs (12)
10private readonly ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition> _definitions = 11new ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition>(); 19if (String.IsNullOrEmpty(name)) { 25if (String.IsNullOrEmpty(definition.ResourceName) && String.IsNullOrEmpty(definition.Path)) { 33_definitions[new Tuple<String, Assembly>(name, assembly)] = definition; 41if (!String.IsNullOrEmpty(path) && 46String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptResourceDefinition_InvalidPath, path)); 55if (String.IsNullOrEmpty(name)) { 71if (!String.IsNullOrEmpty(name)) { 83if (String.IsNullOrEmpty(name)) { 88_definitions.TryRemove(new Tuple<String, Assembly>(name, assembly), out definition);
UI\ServiceReference.cs (6)
60return _path ?? String.Empty; 74String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_InvalidInlineVirtualPath, serviceUrl)); 91if (String.IsNullOrEmpty(path)) { 107if (!String.IsNullOrEmpty(script)) { 114if (!String.IsNullOrEmpty(url)) { 122if (!String.IsNullOrEmpty(Path)) {
UI\Timer.cs (2)
98throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 184IPage.ClientScript.GetPostBackEventReference(new PostBackOptions(this, String.Empty));
UI\UpdatePanel.cs (10)
102throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotSetContentTemplate, ID)); 196throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 353throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_ChildrenTriggersAndUpdateAlways, ID)); 441throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateConditional, ID)); 445throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateTooLate, ID)); 472throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 476throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 480throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 495throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 502throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID));
UI\UpdatePanelControlTrigger.cs (4)
31return _controlID ?? String.Empty; 39if (String.IsNullOrEmpty(ControlID)) { 40throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_NoControlID, Owner.ID)); 44throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_ControlNotFound, ControlID, Owner.ID));
UI\UpdateProgress.cs (4)
48return String.Empty; 128throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 192if (!String.IsNullOrEmpty(AssociatedUpdatePanelID)) { 198throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdateProgress_NoUpdatePanel, AssociatedUpdatePanelID));
UI\WebControls\ContextDataSourceView.cs (7)
37return _entitySetName ?? String.Empty; 51return _entityTypeName ?? String.Empty; 74return _contextTypeName ?? String.Empty; 87if (_contextType == null && !String.IsNullOrEmpty(ContextTypeName)) { 136if (String.IsNullOrEmpty(entitySetTypeName)) { 146if (String.Equals(members[i].Name, entitySetTypeName, StringComparison.OrdinalIgnoreCase)) { 155if (!String.IsNullOrEmpty(typeName)) {
UI\WebControls\DataPager.cs (10)
123return String.Empty; 179return String.Empty; 198return String.Empty; 291if (!String.IsNullOrEmpty(PagedControlID)) { 295throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_PageableItemContainerNotFound, PagedControlID)); 299throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_ControlIsntPageable, PagedControlID)); 310throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_NoNamingContainer, ID)); 335if (String.IsNullOrEmpty(field)) { 452if (!String.IsNullOrEmpty(QueryStringField)) { 491if (!String.IsNullOrEmpty(QueryStringField)) {
UI\WebControls\DataSourceHelper.cs (6)
75if (String.Equals(p.Name, parameterName, StringComparison.OrdinalIgnoreCase)) { 117throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 136string propName = (de.Key == null ? String.Empty : de.Key.ToString()); 189throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 191String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>",
UI\WebControls\Dynamic.cs (4)
602typeof(String), 657if (!String.IsNullOrEmpty(pe.Name)) 659if (parameters.Length == 1 && String.IsNullOrEmpty(parameters[0].Name)) 2025return token.id == TokenId.Identifier && String.Equals(id, token.text, StringComparison.OrdinalIgnoreCase);
UI\WebControls\Expressions\ExpressionHelper.cs (3)
25return System.Web.UI.WebControls.DataSourceHelper.BuildObjectValue(value, type, String.Empty); 33if (String.IsNullOrEmpty(propertyName)) { 39foreach (var p in props) {
UI\WebControls\Expressions\MethodExpression.cs (10)
22return (string)ViewState["TypeName"] ?? String.Empty; 31return (string)ViewState["MethodName"] ?? String.Empty; 60if (!String.IsNullOrEmpty(typeName)) { 75if (String.IsNullOrEmpty(MethodName)) { 83MethodName = String.Format(CultureInfo.CurrentCulture, MethodName, dataSource.EntitySetName); 121throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_FirstParamterMustBeCorrectType, 143throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 157throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_ChangingTheReturnTypeIsNotAllowed,
UI\WebControls\Expressions\OfTypeExpression.cs (4)
31return _typeName ?? String.Empty; 58if (String.IsNullOrEmpty(typeName)) { 59throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 66throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\Expressions\OrderByExpression.cs (3)
24return (string)ViewState["DataField"] ?? String.Empty; 57if (String.IsNullOrEmpty(DataField)) { 61ParameterExpression pe = Expression.Parameter(source.ElementType, String.Empty);
UI\WebControls\Expressions\PropertyExpression.cs (2)
17ParameterExpression parameterExpression = Expression.Parameter(source.ElementType, String.Empty); 20if (!String.IsNullOrEmpty(pair.Key)) {
UI\WebControls\Expressions\RangeExpression.cs (3)
17return (string)ViewState["DataField"] ?? String.Empty; 53if (String.IsNullOrEmpty(DataField)) { 58ParameterExpression parameterExpression = Expression.Parameter(source.ElementType, String.Empty);
UI\WebControls\Expressions\SearchExpression.cs (4)
15return (string)ViewState["DataFields"] ?? String.Empty; 47if ((DataFields == null) || String.IsNullOrEmpty(DataFields.Trim())) { 59if (String.IsNullOrEmpty(query)) { 68ParameterExpression parameterExpression = Expression.Parameter(source.ElementType, String.Empty);
UI\WebControls\LinqDataSource.cs (1)
580if (String.IsNullOrEmpty(ContextTypeName)) {
UI\WebControls\LinqDataSourceView.cs (26)
112if (String.IsNullOrEmpty(typeName)) { 113throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 120throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 130return _contextTypeName ?? String.Empty; 135throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 176throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 215throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 359throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 386throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 591String.IsNullOrEmpty(GroupBy) && String.IsNullOrEmpty(SelectNew); 609if (String.IsNullOrEmpty(tableName)) { 610throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 619if (String.Equals(members[i].Name, tableName, StringComparison.OrdinalIgnoreCase)) { 635LinqDataSourceValidationException exception = new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture, 885throw new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture, 922throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 929throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 936if (!String.IsNullOrEmpty(GroupBy)) { 937throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 940if (!String.IsNullOrEmpty(SelectNew)) { 941throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 948throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 953throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 961throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 969throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\ListView.cs (55)
70private string _sortExpression = String.Empty; 523public virtual String GroupPlaceholderID { 527return (String)o; 532if (String.IsNullOrEmpty(value)) { 533throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "GroupPlaceholderID")); 659public virtual String ItemPlaceholderID { 663return (String)o; 668if (String.IsNullOrEmpty(value)) { 669throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "ItemPlaceholderID")); 785throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataKeyNamesMustBeSpecified, ID)); 1283return !String.IsNullOrEmpty(SelectMethod) || 1284!String.IsNullOrEmpty(UpdateMethod) || 1285!String.IsNullOrEmpty(DeleteMethod) || 1286!String.IsNullOrEmpty(InsertMethod); 1301return _updateMethod ?? String.Empty; 1304if (!String.Equals(_updateMethod, value, StringComparison.OrdinalIgnoreCase)) { 1322return _deleteMethod ?? String.Empty; 1325if (!String.Equals(_deleteMethod, value, StringComparison.OrdinalIgnoreCase)) { 1343return _insertMethod ?? String.Empty; 1346if (!String.Equals(_insertMethod, value, StringComparison.OrdinalIgnoreCase)) { 1455throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 1478throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NeedICollectionOrTotalRowCount, GetType().Name)); 1506throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_Missing_VirtualItemCount, ID)); 1530throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_GroupItemCountNoGroupTemplate, ID, GroupPlaceholderID)); 1574if (SortDirectionInternal == SortDirection.Descending && !String.IsNullOrEmpty(sortExpression)) { 1617throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_InsertTemplateRequired, ID)); 1989ResetModelValidationGroup(EnableModelValidation, String.Empty); 2125throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoItemPlaceholder, ID, ItemPlaceholderID)); 2131throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoGroupPlaceholder, ID, GroupPlaceholderID)); 2191throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2298if (String.Equals(command, DataControlCommands.SelectCommandName, StringComparison.OrdinalIgnoreCase)) { 2301else if (String.Equals(command, DataControlCommands.SortCommandName, StringComparison.OrdinalIgnoreCase)) { 2304else if (String.Equals(command, DataControlCommands.EditCommandName, StringComparison.OrdinalIgnoreCase)) { 2307else if (String.Equals(command, DataControlCommands.CancelCommandName, StringComparison.OrdinalIgnoreCase)) { 2310else if (String.Equals(command, DataControlCommands.UpdateCommandName, StringComparison.OrdinalIgnoreCase)) { 2313else if (String.Equals(command, DataControlCommands.DeleteCommandName, StringComparison.OrdinalIgnoreCase)) { 2316else if (String.Equals(command, DataControlCommands.InsertCommandName, StringComparison.OrdinalIgnoreCase)) { 2336throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2408throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2497throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2527throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2603ResetModelValidationGroup(causesValidation, String.Empty); 2647throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ItemTemplateRequired, ID)); 2672_sortExpression = String.Empty; 2792string validationGroup = String.Empty; 2824if (!DesignMode && !String.IsNullOrEmpty(ItemType)) { 2840throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemCanceling")); 2910throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemDeleting")); 2926throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemEditing")); 2953throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemInserting")); 2978throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemUpdating")); 3049throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "SelectedIndexChanging")); 3076throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "Sorting")); 3281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataSourceDoesntSupportPaging, DataSourceID)); 3295ResetModelValidationGroup(causesValidation, String.Empty);
UI\WebControls\ListViewPagedDataSource.cs (1)
265return String.Empty;
UI\WebControls\NextPreviousPagerField.cs (23)
37return String.Empty; 100return String.Empty; 147return String.Empty; 194return String.Empty; 241return String.Empty; 438if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 439if (String.Equals(e.CommandName, DataControlCommands.PreviousPageCommandArgument)) { 447else if (String.Equals(e.CommandName, DataControlCommands.NextPageCommandArgument)) { 455else if (String.Equals(e.CommandName, DataControlCommands.FirstPageCommandArgument)) { 458else if (String.Equals(e.CommandName, DataControlCommands.LastPageCommandArgument)) { 478if (!String.IsNullOrEmpty(ButtonCssClass)) { 507if (webControl != null && !String.IsNullOrEmpty(ButtonCssClass)) { 521if (!String.IsNullOrEmpty(ButtonCssClass)) { 532if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 594if (String.Equals(field.ButtonCssClass, this.ButtonCssClass) && 596String.Equals(field.FirstPageImageUrl, this.FirstPageImageUrl) && 597String.Equals(field.FirstPageText, this.FirstPageText) && 598String.Equals(field.LastPageImageUrl, this.LastPageImageUrl) && 599String.Equals(field.LastPageText, this.LastPageText) && 600String.Equals(field.NextPageImageUrl, this.NextPageImageUrl) && 601String.Equals(field.NextPageText, this.NextPageText) && 602String.Equals(field.PreviousPageImageUrl, this.PreviousPageImageUrl) && 603String.Equals(field.PreviousPageText, this.PreviousPageText) &&
UI\WebControls\NumericPagerField.cs (23)
87return String.Empty; 112return String.Empty; 156return String.Empty; 178return String.Empty; 203return String.Empty; 289if (String.IsNullOrEmpty(DataPager.QueryStringField)) { 296if (String.Equals(e.CommandName, DataControlCommands.PreviousPageCommandArgument)) { 302else if (String.Equals(e.CommandName, DataControlCommands.NextPageCommandArgument)) { 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)) { 486if (String.Equals(field.ButtonCount, this.ButtonCount) && 488String.Equals(field.CurrentPageLabelCssClass, this.CurrentPageLabelCssClass) && 489String.Equals(field.NextPageImageUrl, this.NextPageImageUrl) && 490String.Equals(field.NextPageText, this.NextPageText) && 491String.Equals(field.NextPreviousButtonCssClass, this.NextPreviousButtonCssClass) && 492String.Equals(field.NumericButtonCssClass, this.NumericButtonCssClass) && 493String.Equals(field.PreviousPageImageUrl, this.PreviousPageImageUrl) && 494String.Equals(field.PreviousPageText, this.PreviousPageText)) {
UI\WebControls\QueryableDataSource.cs (2)
76!String.Equals(viewName, DefaultViewName, StringComparison.OrdinalIgnoreCase)) { 77throw new ArgumentException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceHelper.cs (11)
121if (String.IsNullOrEmpty(key)) { 122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 138if (String.IsNullOrEmpty(key)) { 139throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 154if (!String.IsNullOrEmpty(orderByExpression)) { 165if (!String.IsNullOrEmpty(clause.Expression)) { 185if (!(String.IsNullOrEmpty(key) || String.IsNullOrEmpty(value))) { 208if (!String.IsNullOrEmpty(value)) { 225throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 232throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceView.cs (19)
225return _orderBy ?? String.Empty; 238return _orderGroupsBy ?? String.Empty; 250return _groupBy ?? String.Empty; 277return _selectNew ?? String.Empty; 302return _where ?? String.Empty; 401if (!String.IsNullOrEmpty(Where)) { 402throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 407else if (!String.IsNullOrEmpty(Where)) { 412if (!String.IsNullOrEmpty(OrderBy)) { 413throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 418else if (!String.IsNullOrEmpty(OrderBy)) { 424if (String.IsNullOrEmpty(groupBy)) { 425if (!String.IsNullOrEmpty(OrderGroupsBy)) { 426throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 432if (!String.IsNullOrEmpty(OrderGroupsBy)) { 437if (!String.IsNullOrEmpty(SelectNew)) { 450if (CanSort && AutoSort && !String.IsNullOrEmpty(sortExpression)) { 468throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 547string propertyName = (String)entry.Key;
UI\WebControls\QueryExtender.cs (3)
37if (String.IsNullOrEmpty(TargetControlID)) { 44String.Format(CultureInfo.CurrentCulture, 73return _targetControlID ?? String.Empty;
UI\WebControls\TemplatePagerField.cs (1)
119throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.TemplatePagerField_UnhandledEvent, "PagerCommand"));
UI\WebResourceUtil.cs (6)
44if (String.Equals(attr.WebResource, resourceName, StringComparison.Ordinal)) { 51throw new InvalidOperationException(String.Format( 81errorMessage = String.Format( 87errorMessage = String.Format( 100throw new InvalidOperationException(String.Format( 133if (String.IsNullOrEmpty(s)) {
Util\HeaderUtility.cs (2)
12if (String.IsNullOrEmpty(acceptEncodingHeader)) { 27if (String.Equals(e, expectedEncoding, StringComparison.Ordinal)) {
System.Web.Mobile (2378)
Mobile\ConfigurationSectionHelper.cs (6)
35private XmlNode GetAndRemoveAttribute(String attributeName, bool required) 41String msg = SR.GetString(SR.ConfigSect_MissingAttr, 50internal /*public*/ String RemoveStringAttribute(String attributeName, 60String msg = SR.GetString(SR.ConfigSect_MissingValue, 136String msg = SR.GetString(SR.ConfigSect_UnknownAttr,
Mobile\CookielessData.cs (2)
29String name = FormsAuthentication.FormsCookieName; 30String inboundValue = HttpContext.Current.Request.QueryString[name];
Mobile\DeviceFilterDictionary.cs (17)
20internal readonly String capabilityName; 21internal readonly String capabilityArgument; 23internal ComparisonEvaluator(String name, String argument) 50internal void AddCapabilityDelegate(String delegateName, 57private void CheckForComparisonDelegateLoops(String delegateName) 59String nextDelegateName = delegateName; 73String msg = SR.GetString(SR.DevFiltDict_FoundLoop, 85internal void AddComparisonDelegate(String delegateName, String comparisonName, 86String argument) 95internal bool FindComparisonEvaluator(String evaluatorName, out String capabilityName, 96out String capabilityArgument) 114internal bool FindDelegateEvaluator(String evaluatorName, 133internal bool IsComparisonEvaluator(String evaluatorName) 138internal bool IsDelegateEvaluator(String evaluatorName)
Mobile\MobileCapabilities.cs (23)
25String evalParameter); 29private const String _kDeviceFiltersConfig = "system.web/deviceFilters"; 46private bool HasComparisonEvaluator(String evaluatorName, out bool result) 49String evaluator; 50String argument; 69private bool HasDelegatedEvaluator(String evaluatorName, String parameter, 92private bool HasItem(String evaluatorName, String parameter, 96String item; 109private bool HasProperty(String evaluatorName, String parameter, 120String propertyValue = propertyDescriptor.GetValue(this).ToString(); 123result = (String.Equals(propertyValue, parameter, compareOption)); 128private bool IsComparisonEvaluator(String evaluatorName) 145public bool HasCapability(String delegateName, String optionalParameter) 150if(String.IsNullOrEmpty(delegateName)) 159String hashKey = ((currentFilters == null) ? "null" : currentFilters.GetHashCode().ToString(CultureInfo.InvariantCulture)) 299public static readonly String PreferredRenderingTypeHtml32 = "html32"; 301public static readonly String PreferredRenderingTypeWml11 = "wml11"; 303public static readonly String PreferredRenderingTypeWml12 = "wml12"; 305public static readonly String PreferredRenderingTypeChtml10 = "chtml10";
Mobile\MobileDeviceCapabilitiesSectionHandler.cs (17)
66String name = helper.RemoveStringAttribute("name", true); 67String className = helper.RemoveStringAttribute("type", false); 71const String methodAttributeName = "method"; 72String methodName = helper.RemoveStringAttribute(methodAttributeName, false); 73String capabilityName = helper.RemoveStringAttribute("compare", false); 74String argumentValue = helper.RemoveStringAttribute("argument", false); 78if(className == String.Empty) 90if(methodName == String.Empty) 98String msg; 117String msg = 132String msg = 142String capabilityName = helper.RemoveStringAttribute("compare", false); 143String argumentValue = helper.RemoveStringAttribute("argument", false); 144String methodName = helper.RemoveStringAttribute("method", false); 148if(String.IsNullOrEmpty(capabilityName)) 168String msg = SR.GetString(SR.DevCapSect_UnableAddDelegate, 176String msg = SR.GetString(SR.DevCapSect_UnrecognizedTag,
Mobile\MobileErrorInfo.cs (21)
35public static readonly String ContextKey = "MobileErrorInfo"; 38private const String _errorType = "Type"; 39private const String _errorDescription = "Description"; 40private const String _errorMiscTitle = "MiscTitle"; 41private const String _errorMiscText = "MiscText"; 42private const String _errorFile = "File"; 43private const String _errorLineNumber = "LineNumber"; 116String s = e.StackTrace; 129public String this[String key] 133String s = _dictionary[key]; 134return (s == null) ? String.Empty : s; 143public String Type 156public String Description 169public String MiscTitle 182public String MiscText 195public String File 208public String LineNumber 226String errorMessage = e.GetHtmlErrorMessage(); 330private static String TrimAndClean(String s)
Mobile\MobileFormsAuthentication.cs (3)
34public static void RedirectFromLoginPage(String userName, bool createPersistentCookie) 40public static void RedirectFromLoginPage(String userName, bool createPersistentCookie, String strCookiePath)
Mobile\MobileRedirect.cs (2)
25internal static readonly String QueryStringVariable = "__redir"; 26internal static readonly String QueryStringValue = "1";
Mobile\UrlPath.cs (13)
29internal static bool IsRooted(String basepath) 45internal static String GetDirectory(String path) 84internal static String Combine(String basepath, String relative) 86String path; 96return String.Empty; 105String appPath = HttpRuntime.AppDomainAppVirtualPath; 119basepath = String.Empty; 129internal static String Reduce(String path) 132String queryString = null;
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (28)
64private String _textBoxErrorMessage; 81private const String DaySeparator = " - "; 82private const String Space = " "; 180String controlId = Page.Request[Constants.EventSourceID]; 210Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 217Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 226_selectList.Items.Add(String.Empty); 343String abbreviatedMonthDayPattern = AbbreviateMonthPattern(currentDateTimeInfo.MonthDayPattern); 353String promptText = Control.CalendarEntryText; 354if (String.IsNullOrEmpty(promptText)) 423String numericDateFormat = GetNumericDateFormat(); 460String abbreviatedYearMonthPattern = AbbreviateMonthPattern(currentDateTimeInfo.YearMonthPattern); 489String monthFormat = (GetNumericDateFormat()[0] == 'y') ? "yyyy/M" : "M/yyyy"; 508String weekDisplay; 532String date; 533String dayName; 580public override bool HandlePostBackEvent(String eventArgument) 605String dateText = _textBox.Text; 606String dateFormat = GetNumericDateFormat(); 704private String AbbreviateMonthPattern(String pattern) 706const String FullMonthFormat = "MMMM"; 716private String GetAbbreviatedDayName(DateTime dateTime) 722private String GetEra(DateTime dateTime) 729return String.Empty; 740private String GetNumericDateFormat() 742String shortDatePattern = 759String yearPattern;
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (5)
28private static readonly String _contentTypeMetaTag = "<meta http-equiv=\"Content-Type\" content=\"{0}; charset={1}\">\r\n"; 104String metaTagName = Device.RequiredMetaTagNameValue; 114String charset = Page.Response.Charset; 120writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset)); 132String text)
UI\MobileControls\Adapters\ChtmlImageAdapter.cs (3)
30String source = Control.ImageUrl; 48String symbolChars = source.Substring( 65private char DecimalStringToChar(String decimalString)
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (24)
34private const String _postedFromOtherFile = "."; 49String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType; 63String target, 64String argument) 73protected override String EventSourceKey 82protected override String EventArgumentKey 104writer.WriteHiddenField(EventSourceKey, String.Empty); 128String postEventSourceID, 129String postEventArgumentID, 141else if (String.Compare(request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) == 0) 167String postEventSourceID, 168String postEventArgumentID) 175String name = queryString.GetKey(i); 245String postEventSourceID, 246String postEventArgumentID) 257String name = form.GetKey(i); 311String value = form.Get(i); 312if (!String.IsNullOrEmpty(value)) 351private bool AddEmptyStringValues(String [] keys, 355foreach (String key in keys) 361targetCollection.Add(key, String.Empty); 368String sourceKey, 371String [] values = sourceCollection.GetValues(sourceKey); 372foreach (String value in values)
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (1)
91if (!String.IsNullOrEmpty(Control.Form.Action))
UI\MobileControls\Adapters\ChtmlTextBoxAdapter.cs (3)
62private String GetRandomID(int length) 76internal override String GetRenderName() 78String renderName = base.GetRenderName();
UI\MobileControls\Adapters\ControlAdapter.cs (10)
40private static readonly String[] LabelIDs = new String[] { 129public virtual bool HandlePostBackEvent(String eventArgument) 137public virtual bool LoadPostData(String key, 223String pageWeight = Device[Constants.OptimumPageWeightParameter]; 241String numLinesStr = Device[Constants.ScreenCharactersHeightParameter]; 264private String[] _defaultLabels = null; 267protected String GetDefaultLabel(int labelID) 281pageAdapter._defaultLabels = new String[LabelIDs.Length]; 284String labelValue = pageAdapter._defaultLabels[labelID];
UI\MobileControls\Adapters\EmptyTextWriter.cs (13)
160public override void Write(String format, Object arg0) 165if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0))) 171public override void Write(String format, Object arg0, Object arg1) 176if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1))) 182public override void Write(String format, params object[] arg) 187if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg))) 285public override void WriteLine(String format, Object arg0) 290if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0))) 296public override void WriteLine(String format, Object arg0, Object arg1) 301if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1))) 307public override void WriteLine(String format, params object[] arg) 312if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg))) 334private static bool IsWhiteSpace(String s)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (8)
38private const String _selectedDateSearchTableTag = "<table "; 39private const String _selectedDateSearchCellTag = "<td "; 40private const String _selectedDateSearchAttr = "background-color:Silver;"; 51private int LocateNextSelectedDate(String webCalendarHtml, int startingIndex) 61String tagComplete = webCalendarHtml.Substring(tagBeginIndex, tagEndIndex-tagBeginIndex+1); 109String webCalendarHtml = sw.ToString(); 135String selectedDateBGColor = 136String.Format(CultureInfo.CurrentCulture, "bgcolor=\"{0}\" ", bgColorDistance < _bgColorDistanceTreshold ? "White" : "Silver");
UI\MobileControls\Adapters\HtmlCommandAdapter.cs (5)
53if (!String.IsNullOrEmpty(Control.ImageUrl) && 115public override bool LoadPostData(String key, 124String name = Control.UniqueID; 125String postX = data[name + ".x"]; 126String postY = data[name + ".y"];
UI\MobileControls\Adapters\HtmlControlAdapter.cs (14)
72protected void RenderPostBackEventReference(HtmlMobileTextWriter writer, String argument) 80String attributeName, 81String argument) 93String argument, 94String linkText) 106protected void RenderBeginLink(HtmlMobileTextWriter writer, String target) 114String targetUrl = null; 115String prefix = Constants.FormIDPrefix; 118String name = target.Substring(prefix.Length); 159foreach(String name in dictionary.Keys) 207private readonly static String [] _multiMediaAttributes = 229String attributeName) 231String attributeValue = ((IAttributeAccessor)Control).GetAttribute(attributeName); 232if (!String.IsNullOrEmpty(attributeValue))
UI\MobileControls\Adapters\HtmlFormAdapter.cs (17)
39private static readonly String _contentTypeMetaTag = "<meta http-equiv=\"Content-Type\" content=\"{0}; charset={1}\">\r\n"; 54String title = Control.Title; 55bool isTitleEmpty = String.IsNullOrEmpty(title); 105String url = Control.ResolveUrl(Control.Action); 131String queryStringText = Page.QueryStringText; 219String metaTagName = Device.RequiredMetaTagNameValue; 229String charset = Page.Response.Charset; 235writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset)); 277writer.WriteAttribute((String)entry.Key, (String)entry.Value, true); 311String text = pagerStyle.GetPageLabelText(page, pageCount); 347String text) 356String action = Page.ActiveForm.Action; 358String queryString = Page.QueryStringText; 369String.Empty); 393String queryString) 429String name, value;
UI\MobileControls\Adapters\HtmlImageAdapter.cs (7)
37String target = Control.NavigateUrl; 40if (!String.IsNullOrEmpty(target)) 45if (String.IsNullOrEmpty(Control.ImageUrl)) 60if (!String.IsNullOrEmpty(target)) 70String source = Control.ImageUrl; 74if (!String.IsNullOrEmpty(source)) 83if (!String.IsNullOrEmpty(Control.AlternateText))
UI\MobileControls\Adapters\HtmlLabelAdapter.cs (2)
43protected internal bool WhiteSpace(String s) 67(String.IsNullOrEmpty(Control.Text) || WhiteSpace(Control.Text) ) )
UI\MobileControls\Adapters\HtmlLinkAdapter.cs (2)
45String navigateUrl = Control.NavigateUrl; 47writer.WriteText(String.IsNullOrEmpty(Control.Text) ? navigateUrl : Control.Text, true);
UI\MobileControls\Adapters\HtmlListAdapter.cs (3)
69String listSuffix, itemPrefix, itemSuffix; 135listSuffix = String.Empty; 136itemPrefix = String.Empty;
UI\MobileControls\Adapters\HtmlLiteralTextAdapter.cs (1)
48String text = Control.PagedText;
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (21)
63public override void WriteBeginTag(String tag) 69public override void WriteFullBeginTag(String tag) 81public override void Write(String text) 87public override void WriteEncodedText(String text) 125public override void WriteLine(String text) 291public void WriteText(String text, bool encodeText) 309public void WriteUrlParameter(String name, String value) 317public void WriteHiddenField(String name, String value) 494private String _fontName; 507_fontName = String.Empty; 536_fontName = (String) style[Style.FontNameKey , true]; 570internal String FontName 662private String _name; 668_name = String.Empty; 682internal String Name 704state.Current.FontName = String.Empty; 760String name = ((FontStyleTag)o).Name; 1096private const String _pocketPC = "Pocket IE"; 1286String relativeSize;
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (18)
40internal protected static readonly String BackToList = "__back"; 42internal protected static readonly String ShowMoreFormat = "__more{0}"; 44internal protected static readonly String ShowMore = "__more"; 213String eventArgument = 216String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 239String moreText = Control.MoreText.Length == 0 ? 243String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 306String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 323String moreText = Control.MoreText.Length == 0 ? 327RenderPostBackEventAsAttribute(writer, "href", String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index)); 423String backCommandText = Control.BackCommandText.Length == 0 ? 490String backCommandText = Control.BackCommandText.Length == 0 ? 508String argument, 509String linkText, 531public override bool HandlePostBackEvent(String eventArgument) 586private static int ParseItemArg(String arg) 658String defaultCommand = Control.DefaultCommand; 664String.Compare(defaultCommand, Control.Commands[0].Name, StringComparison.OrdinalIgnoreCase) == 0))
UI\MobileControls\Adapters\HtmlPageAdapter.cs (23)
40private const String _postedFromOtherFile = "."; 77String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType; 122String protocol = Page.Request.ServerVariables["SERVER_PROTOCOL"]; 149public String GetFormUrl(Form form) 163String target, 164String argument) 175String target, 176String argument) 184String pageState = Page.ClientViewState; 203String queryStringText = Page.QueryStringText; 212protected virtual String EventSourceKey 221protected virtual String EventArgumentKey 234String hiddenVariablePrefix = MobilePage.HiddenVariablePrefix; 239writer.WriteHiddenField(hiddenVariablePrefix + (String)entry.Key, 240(String)entry.Value); 250String hiddenVariablePrefix = MobilePage.HiddenVariablePrefix; 254writer.WriteUrlParameter(hiddenVariablePrefix + (String)entry.Key, 255(String)entry.Value); 349String postEventSourceID, 350String postEventArgumentID, 378String viewState = Page.ClientViewState; 386public virtual bool HandlePagePostBackEvent(String eventSource, String eventArgument)
UI\MobileControls\Adapters\HtmlPhoneCallAdapter.cs (7)
50String text = Control.Text; 51String phoneNumber = Control.PhoneNumber; 53if (String.IsNullOrEmpty(text)) 77String text = String.Format(CultureInfo.CurrentCulture, Control.AlternateFormat, Control.Text, 79String url = Control.AlternateUrl; 82if (!String.IsNullOrEmpty(url))
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (9)
64String renderName; 143String selectTypeString = 231public override bool LoadPostData(String key, 236String[] selectedItems = data.GetValues(key); 237Debug.Assert (String.IsNullOrEmpty(Control.Form.Action), 257selectedItems = new String[]{}; 313private void WriteItemValueAttribute(HtmlTextWriter writer, int index, String value) 315if (Page.DesignMode || String.IsNullOrEmpty(Control.Form.Action)) 335String uniqueID = Control.UniqueID;
UI\MobileControls\Adapters\HtmlTextBoxAdapter.cs (3)
28private String _staticValue; 80internal virtual String GetRenderName() 82String renderName;
UI\MobileControls\Adapters\HtmlTextViewAdapter.cs (1)
81String text = element.Text;
UI\MobileControls\Adapters\HtmlValidationSummaryAdapter.cs (4)
63String[] errorMessages = null; 79foreach (String errorMessage in errorMessages) 89if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, StringComparison.OrdinalIgnoreCase) != 0) 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\MobileTextWriter.cs (5)
137public override void BeginFile(String url, String contentType, String charset) 167public override void AddResource(String url, String contentType)
UI\MobileControls\Adapters\MultiPartWriter.cs (8)
51public virtual String NewUrl(String filetype) 63public abstract void BeginFile(String url, String contentType, String charset); 69public abstract void AddResource(String url, String contentType); 72public void AddResource(String url)
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (51)
55private String _optionMenuName = null; 57private String _linkText = null; 58private String _targetUrl = null; 59private String _softkeyLabel = null; 111String filePathSuffix = 146Write(String.Format(CultureInfo.InvariantCulture, _loopDetectionCard, Page.ActiveForm.ClientID)); 150private String _cachedFormQueryString; 152protected override String CalculateFormQueryString() 158String queryString = null; 166String ufps = Page.UniqueFilePathSuffix; 180queryString = String.Concat(ufps, "&", queryString); 191private const String _loopDetectionCard = 241public override void RenderText(String text, bool breakAfter, bool encodeText) 329public override void RenderBeginHyperlink(String targetUrl, 331String softkeyLabel, 362_linkText = String.Empty; 381_linkText = String.Empty; 475public override void RenderTextBox(String id, 476String value, 477String format, 478String title, 530public override void RenderImage(String source, 531String localSource, 532String alternateText, 590public override void RenderBeginPostBack(String softkeyLabel, 613_linkText = String.Empty; 630_linkText = String.Empty; 641public override void RenderEndPostBack(String target, String argument, WmlPostFieldType postBackType, bool includeVariables, bool breakAfter) 813public override void RenderBeginSelect(String name, String iname, String ivalue, String title, bool multiSelect) 872public override void RenderSelectOption(String text) 885public override void RenderSelectOption(String text, String value) 902String menuTarget; 903String menuTargetClientID; 942String GoLabel = SR.GetString(SR.WmlMobileTextWriterGoLabel); 966protected override String CalculateFormPostBackUrl(bool externalSubmit, ref bool encode) 968String url = CurrentForm.Action; 1128String OkLabel = SR.GetString(SR.WmlMobileTextWriterOKLabel); 1146String nextCardId = "card" + (_currentCardIndex + 1).ToString(CultureInfo.InvariantCulture); 1173String formTitle = CurrentForm.Title; 1200private void RenderSoftkey(String doType, UpSoftkey softkey) 1240public String Label; 1245public String TargetUrl; 1251public String Target; 1252public String Argument; 1259public String Id; 1270public String MenuTarget = null;
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (36)
62private String _textBoxErrorMessage; 79private const String DaySeparator = " - "; 80private const String Space = " "; 162String controlId = Page.Request[MobilePage.HiddenPostEventSourceId]; 192Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 199Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 208_selectList.Items.Add(String.Empty); 326String abbreviatedMonthDayPattern = AbbreviateMonthPattern(currentDateTimeInfo.MonthDayPattern); 340String promptText = Control.CalendarEntryText; 341if (String.IsNullOrEmpty(promptText)) 402String numericDateFormat = GetNumericDateFormat(); 413writer.RenderText(String.Empty, true); 422String okLabel = GetDefaultLabel(OKLabel); 437String displayText = String.Format(CultureInfo.CurrentCulture, "{0}:", SR.GetString(SR.CalendarAdapterOptionChooseMonth)); 442String abbreviatedYearMonthPattern = AbbreviateMonthPattern(currentDateTimeInfo.YearMonthPattern); 472String monthFormat = (GetNumericDateFormat()[0] == 'y') ? "yyyy/M" : "M/yyyy"; 473String displayText = String.Format(CultureInfo.CurrentCulture, "{0} ({1}):", 490String weekDisplay; 508String displayText = String.Format(CultureInfo.CurrentCulture, "{0}:", SR.GetString(SR.CalendarAdapterOptionChooseDate)); 514String date; 515String dayName; 561public override bool HandlePostBackEvent(String eventArgument) 582String dateText = _textBox.Text; 583String dateFormat = GetNumericDateFormat(); 681private String AbbreviateMonthPattern(String pattern) 683const String FullMonthFormat = "MMMM"; 693private String GetAbbreviatedDayName(DateTime dateTime) 699private String GetEra(DateTime dateTime) 706return String.Empty; 717private String GetNumericDateFormat() 719String shortDatePattern = 736String yearPattern;
UI\MobileControls\Adapters\WmlControlAdapter.cs (27)
67String targetUrl, 68String softkeyLabel, 71String text, 81String targetUrl, 82String softkeyLabel, 100String postback = DeterminePostBack(targetUrl); 108String prefix = Constants.FormIDPrefix; 111String formID = targetUrl.Substring(prefix.Length); 122String formsAuthCookieName = FormsAuthentication.FormsCookieName; 127foreach(String name in dictionary.Keys) 166protected void RenderEndLink(WmlMobileTextWriter writer, String targetUrl, bool breakAfter) 168String postback = DeterminePostBack(targetUrl); 181protected String DeterminePostBack(String target) 183String postback = null; 184String prefix = Constants.FormIDPrefix; 187String formID = target.Substring(prefix.Length); 207String softkeyLabel, 208String text, 218String argument, 219String softkeyLabel, 221String text, 231String argument, 232String softkeyLabel, 234String text, 268protected virtual String GetPostBackValue() 273internal String GetControlPostBackValue(MobileControl ctl)
UI\MobileControls\Adapters\WmlFormAdapter.cs (13)
49String formsAuthCookieName = FormsAuthentication.FormsCookieName; 52if(!String.IsNullOrEmpty(formsAuthCookieName)) 61!String.IsNullOrEmpty(formsAuthCookieName) && 67String value = (String)dictionary[formsAuthCookieName]; 68if(!String.IsNullOrEmpty(value)) 135String nextPageText = pagerStyle.GetNextPageText(page); 147String prevPageText = pagerStyle.GetPreviousPageText(page); 180String s = GetControlPostBackValue(mobileCtl); 202public override bool HandlePostBackEvent(String eventArgument) 204String eventSource = eventArgument; 261writer.WriteAttribute((String)entry.Key, (String)entry.Value, true);
UI\MobileControls\Adapters\WmlImageAdapter.cs (9)
37String source = Control.ImageUrl; 38String target = Control.NavigateUrl; 39String text = Control.AlternateText; 41String softkeyLabel = Control.SoftkeyLabel; 50if (!String.IsNullOrEmpty(target)) 56if (String.IsNullOrEmpty(source)) 63String localSource; 69source = String.Empty; 84if (!String.IsNullOrEmpty(target))
UI\MobileControls\Adapters\WmlLinkAdapter.cs (4)
45String navigateUrl = Control.NavigateUrl; 46String text = (String.IsNullOrEmpty(Control.Text)) ? navigateUrl : Control.Text; 48String softkeyLabel = Control.SoftkeyLabel;
UI\MobileControls\Adapters\WmlLiteralTextAdapter.cs (1)
43String _pagedText;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (95)
64private const String _largeTag = "big"; 65private const String _smallTag = "small"; 66private const String _boldTag = "b"; 67private const String _italicTag = "i"; 68internal const String _postBackCardPrefix = "__pbc"; 69private const String _postBackWithVarsCardId = "__pbc1"; 70private const String _postBackWithoutVarsCardId = "__pbc2"; 71internal const String _postBackEventTargetVarName = "mcsvt"; 72internal const String _postBackEventArgumentVarName = "mcsva"; 73private const String _shortNamePrefix = "mcsv"; 227public void RenderText(String text) 234public void RenderText(String text, bool breakAfter) 240public virtual void RenderText(String text, bool breakAfter, bool encodeText) 261internal String EscapeAmpersand(String url) 264const String ampEscaped = "amp;"; 286public virtual void RenderBeginHyperlink(String targetUrl, 288String softkeyLabel, 332public virtual void RenderTextBox(String id, 333String value, 334String format, 335String title, 397public virtual void RenderImage(String source, 398String localSource, 399String alternateText, 412WriteTextEncodedAttribute("alt", alternateText != null ? alternateText : String.Empty); 422public virtual void RenderBeginPostBack(String softkeyLabel, 442public virtual void RenderEndPostBack(String target, 443String argument, 469public virtual void RenderBeginSelect(String name, String iname, String ivalue, String title, bool multiSelect) 530public virtual void RenderSelectOption(String text) 541public virtual void RenderSelectOption(String text, String value) 568public void AddFormVariable(String clientID, String value, bool generateRandomID) 605public virtual bool IsValidSoftkeyLabel(String label) 613public virtual void RenderGoAction(String target, 614String argument, 681String url = CalculateFormPostBackUrl(externalSubmit, ref encode); 683String queryString = CalculateFormQueryString(); 743String pageState = Page.ClientViewState; 800WritePostField(ctl.UniqueID, (String)value); 810String hiddenVariablePrefix = MobilePage.HiddenVariablePrefix; 815WritePostField(hiddenVariablePrefix + (String)entry.Key, (String)entry.Value); 846protected virtual String CalculateFormPostBackUrl(bool externalSubmit, ref bool encode) 848String url = CurrentForm.Action; 865internal String ReplaceFormsCookieWithVariable(String queryString) 867String formsAuthCookieName = FormsAuthentication.FormsCookieName; 868if(!String.IsNullOrEmpty(formsAuthCookieName)) 886private String _cachedFormQueryString; 888protected virtual String CalculateFormQueryString() 895String queryString = null; 903String ufps = Page.UniqueFilePathSuffix; 906queryString = String.Concat(ufps, "&", queryString); 939String title = form.Title; 963WriteAttribute("name", (String)entry.Key); 964WriteTextEncodedAttribute("value", (String)entry.Value); 1040protected void RenderFormDoEvent(String doType, String arg, WmlPostFieldType postBackType, String text) 1046protected void RenderDoEvent(String doType, String target, String arg, WmlPostFieldType postBackType, String text, bool includeVariables) 1123String alignment; 1217public override void WriteAttribute(String attribute, String value, bool encode) 1302protected void WriteTextEncodedAttribute(String attribute, String value) 1345public override void WriteEncodedUrl(String url) 1357String s = url.Substring(i); 1372public override void WriteEncodedText(String text) 1388public void WriteText(String text, bool encodeText) 1400private void WritePlainText(String text) 1421public void WritePostField(String name, String value) 1427public void WritePostFieldVariable(String name, String arg) 1433public void WritePostField(String name, String value, WmlPostFieldType type) 1472protected internal String MapClientIDToShortName(String clientID, bool generateRandomID) 1481String lookup = (String)_controlShortNames[clientID]; 1505String shortName; 1512shortName = String.Empty; 1515shortName = String.Concat(_shortNamePrefix, shortName, _controlShortNames.Count.ToString(CultureInfo.InvariantCulture)); 1538private String GetRandomID(int length) 1552private bool NameConflicts(String name) 1643String RequiresNoSoftkeyLabelsString = Device["requiresNoSoftkeyLabels"];
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (18)
36private const String _backToList = "__back"; 37private const String _showMenu = "__menu"; 38private const String _showDetails = "__details"; 39private const String _showMoreFormat = "__more$({0})"; 40private const String _showMoreFormatAnchor = "__more{0}"; 41private const String _showMore = "__more"; 182String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) : 214String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) : 238String detailsCommandText = Control.DetailsCommandText.Length == 0 ? 241String softkeyLabel = detailsCommandText.Length <= Device.MaximumSoftkeyLabelLength ? 268String backCommandText = Control.BackCommandText.Length == 0 ? 271String softkeyLabel = backCommandText.Length <= Device.MaximumSoftkeyLabelLength ? 287String displayText = String.Format(CultureInfo.InvariantCulture, "{0}: {1}", field.Title, item[fieldIndex]); 297public override bool HandlePostBackEvent(String eventArgument) 372private static int ParseItemArg(String arg) 460String defaultCommand = Control.DefaultCommand; 466String.Compare(defaultCommand, Control.Commands[0].Name, StringComparison.OrdinalIgnoreCase) == 0))
UI\MobileControls\Adapters\WmlPageAdapter.cs (22)
39private static readonly String _headerBegin = "<?xml version='1.0'"; 40private static readonly String _headerEncoding = " encoding ='{0}'"; 41private static readonly String _headerEnd 44private static readonly String _cacheExpiry 48private static readonly String _contentType = "text/vnd.wap.wml"; 62String type = capabilities.PreferredRenderingType; 143String postEventSourceID, 144String postEventArgumentID, 155String speciallyEncodedState = 169String name = baseCollection.GetKey(i); 288String stackTrace = ex.StackTrace; 330public virtual bool HandlePagePostBackEvent(String eventSource, String eventArgument) 404String charset = Page.Response.Charset; 406String.Compare(charset, "utf-8", StringComparison.OrdinalIgnoreCase) != 0) 408writer.Write(String.Format(CultureInfo.InvariantCulture, _headerEncoding, charset)); 430internal String EncodeSpecialViewState(String pageState) 460String RequiresUTF8ContentEncodingString = Device["requiresUTF8ContentEncoding"]; 484String RequiresValueAttributeInInputTagString = Device["requiresValueAttributeInInputTag"]; 512String charset = Page.Request.Headers["x-up-devcap-charset"]; 515String.Compare(charset, "Shift_JIS", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\Adapters\WmlPhoneCallAdapter.cs (6)
47String text, url, phoneNumber; 48String controlText = Control.Text; 53String originalNumber = Control.PhoneNumber; 74text = String.Format(CultureInfo.InvariantCulture, Control.AlternateFormat, 88url = String.Empty; 108String softkeyLabel = Control.SoftkeyLabel;
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (12)
40private String _ivalue = null; 41private const String ClientPrefix = "__slst_"; 90String defaultValue = null; 121bool crossPagePost = !String.IsNullOrEmpty(Control.Form.Action); 127String formVariable = ClientPrefix + Control.ClientID; 164public override bool LoadPostData(String key, 170String[] selectedItems = data.GetValues(key); 171Debug.Assert (String.IsNullOrEmpty(Control.Form.Action), 212selectedItems = new String[]{}; 218String selected = selectedItems[0]; 265protected override String GetPostBackValue() 272return _ivalue != null ? _ivalue : String.Empty;
UI\MobileControls\Adapters\WmlTextBoxAdapter.cs (8)
34private String _staticValue; 55String value = Control.Text; 61value = String.Empty; 75String format = ((IAttributeAccessor)Control).GetAttribute("wmlFormat"); 76if (String.IsNullOrEmpty(format)) 102String randomID = ((IAttributeAccessor)Control).GetAttribute("useRandomID"); 105return String.Compare(randomID, "true", StringComparison.OrdinalIgnoreCase) == 0; 114protected override String GetPostBackValue()
UI\MobileControls\Adapters\WmlTextViewAdapter.cs (2)
72writer.RenderText(String.Empty, true); 84String text = element.Text;
UI\MobileControls\Adapters\WmlValidationSummaryAdapter.cs (3)
63String[] errorMessages = null; 79foreach (String errorMessage in errorMessages) 88if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, StringComparison.OrdinalIgnoreCase) != 0)
UI\MobileControls\Adapters\WmlValidatorAdapter.cs (3)
50String text = Control.Text; 51if (String.IsNullOrEmpty(text)) 56if (!String.IsNullOrEmpty(text))
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (27)
54private String _textBoxErrorMessage; 71private const String DaySeparator = " - "; 72private const String Space = " "; 155String controlId = Page.Request[Constants.EventSourceID]; 181Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 187Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 194_selectList.Items.Add(String.Empty); 294String abbreviatedMonthDayPattern = AbbreviateMonthPattern(currentDateTimeInfo.MonthDayPattern); 307String promptText = Control.CalendarEntryText; 369String numericDateFormat = GetNumericDateFormat(); 405String abbreviatedYearMonthPattern = AbbreviateMonthPattern(currentDateTimeInfo.YearMonthPattern); 432String monthFormat = (GetNumericDateFormat()[0] == 'y') ? "yyyy/M" : "M/yyyy"; 451String weekDisplay; 474String date; 475String dayName; 517public override bool HandlePostBackEvent(String eventArgument) { 538String dateText = _textBox.Text; 539String dateFormat = GetNumericDateFormat(); 629private String AbbreviateMonthPattern(String pattern) { 630const String FullMonthFormat = "MMMM"; 639private String GetAbbreviatedDayName(DateTime dateTime) { 644private String GetEra(DateTime dateTime) { 649return String.Empty; 659private String GetNumericDateFormat() { 660String shortDatePattern = 675String yearPattern;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCommandAdapter.cs (4)
33public override bool LoadPostData(String key, NameValueCollection data, Object controlPrivateData, out bool dataChanged) 39String name = Control.UniqueID; 40String postX = data[name + ".x"]; 41String postY = data[name + ".y"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (90)
35private bool IsRooted(String basepath) { 68String argument, 69String linkText) { 78String argument, 79String linkText, 80String accessKey) { 88String argument, 89String linkText, 90String accessKey, 92String cssClass) { 100if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 102String className = writer.GetCssFormatClassName(style); 118if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") { 135protected virtual void RenderBeginLink(XhtmlMobileTextWriter writer, String target, String accessKey, Style style, String cssClass) { 141protected virtual void RenderBeginLink(XhtmlMobileTextWriter writer, String target, String accessKey, Style style, String cssClass, String title) { 150String className = writer.GetCssFormatClassName(style); 165protected virtual void RenderBeginLink(XhtmlMobileTextWriter writer, String target) { 166String attributeValue = ((IAttributeAccessor)Control).GetAttribute(XhtmlConstants.AccessKeyCustomAttribute); 172private void RenderHrefValue (XhtmlMobileTextWriter writer, String target) { 196if ((String)Device["requiresAbsolutePostbackUrl"] == "true" 198String templateSourceDirectory = Page.TemplateSourceDirectory; 199String prefix = writer.EncodeUrlInternal(Page.Response.ApplyAppPathModifier(Page.TemplateSourceDirectory)); 206if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 221private void RenderFormNavigationHrefValue (XhtmlMobileTextWriter writer, String target) { 222String prefix = Constants.FormIDPrefix; 224String name = target.Substring(prefix.Length); 233foreach (String name in dictionary.Keys) { 235String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&amp;" : "&"; 309ConditionalEnterStyle(writer, style, String.Empty); 313protected virtual void ConditionalEnterStyle(XhtmlMobileTextWriter writer, Style style, String tag) { 314if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 333if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 345if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 357if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 369if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 381if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 400protected virtual String StyleSheetLocationAttributeValue { 402return(String) Page.ActiveForm.CustomAttributes[XhtmlConstants.StyleSheetLocationCustomAttribute]; 407protected virtual String StyleSheetStorageApplicationSetting { 409return(String) ConfigurationManager.AppSettings[XhtmlConstants.CssStateLocationAppSettingKey]; 421if ((String)Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 425String browserCap = Device[XhtmlConstants.InternalStyleConfigSetting]; 427if (browserCap == null || !String.Equals(browserCap, "false", StringComparison.OrdinalIgnoreCase)) 448if (String.Compare(StyleSheetStorageApplicationSetting, XhtmlConstants.CacheStyleSheetValue, StringComparison.OrdinalIgnoreCase) == 0) { 467if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 470String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 486if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 489String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 508String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 521if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 524String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 527if ((String)Device["usePOverDiv"] == "true") { 548if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 551String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 554if ((String)Device["usePOverDiv"] == "true") { 581String attributeName) { 587String attributeName, String markupAttributeName) { 588String attributeValue = ((IAttributeAccessor)Control).GetAttribute(attributeName); 596protected virtual String GetCustomAttributeValue(String attributeName) { 601protected virtual String GetCustomAttributeValue(MobileControl control, String attributeName) { 611protected virtual void RenderOpeningListTag(XhtmlMobileTextWriter writer, String tagName) { 612String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 613if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 626else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 638protected virtual void RenderClosingListTag(XhtmlMobileTextWriter writer, String tagName) { 639if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 643else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 653if ((String)Device[XhtmlConstants.BreaksOnBlockElements] != "false") { 660if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") { 667protected virtual void ConditionalClearCachedEndTag(XhtmlMobileTextWriter writer, String s) { 718protected String PreprocessQueryString(String queryString) { 752private String RemoveQueryStringPair(String name, String queryString) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (26)
39String formsAuthCookieName = FormsAuthentication.FormsCookieName; 68String queryStringText = PreprocessQueryString(Page.QueryStringText); 70String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&amp;" : "&"; 72if((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 81bool needDivStyle = (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 82(String)Device["supportsBodyClassAttribute"] == "false"; 84if((String)Device["usePOverDiv"] == "true") 90if((String)Device["usePOverDiv"] == "true") 102if((String)Device["usePOverDiv"] == "true") 108if((String)Device["usePOverDiv"] == "true") 127if ((String)Device["requiresHiddenFieldValues"] != "true") { 141String hiddenVariablePrefix = MobilePage.HiddenVariablePrefix; 144writer.WriteHiddenField(hiddenVariablePrefix + (String)entry.Key, 145(String)entry.Value); 152String viewState = Page.ClientViewState; 206String cssClass = ((IAttributeAccessor) ctl).GetAttribute(XhtmlConstants.CssClassCustomAttribute); 208if((String)Device["usePOverDiv"] == "true") { 224if((String)Device["usePOverDiv"] == "true") { 293String text = pagerStyle.GetPageLabelText(page, pageCount); 328String cssClass = GetCustomAttributeValue(XhtmlConstants.CssPagerClassCustomAttribute); 350String text, 351String accessKeyCustomAttribute) { 370if ((String)Device["requiresAbsolutePostbackUrl"] == "true") { 375String url = Control.ResolveUrl(PreprocessQueryString(Control.Action)); 384String url = PreprocessQueryString(Control.Action);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicImageAdapter.cs (6)
44String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 45String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute); 46String title = GetCustomAttributeValue(XhtmlConstants.TitleCustomAttribute); 53String controlIU = Control.ImageUrl; 75String source = Control.ImageUrl; 83String alternateText = Control.AlternateText;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicLinkAdapter.cs (3)
36String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 37String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute); 39String controlText = Control.Text;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (5)
94private void RenderListBody (XhtmlMobileTextWriter writer, String itemPrefix, String itemSuffix) { 107String br = writer.UseDivsForBreaks ? "</div><div>" : "<br/>"; 114String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 115String cssClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicLiteralTextAdapter.cs (1)
35String text = Control.PagedText;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (40)
29internal protected static readonly String BackToList = "__back"; 31internal protected static readonly String ShowMoreFormat = "__more{0}"; 33internal protected static readonly String ShowMore = "__more"; 89public override bool HandlePostBackEvent(String eventArgument) { 141String controlDefaultCommand = Control.DefaultCommand; 180(String.Compare (Control.DefaultCommand, Control.Commands[0].Name, true /* ignore case */, CultureInfo.CurrentCulture) == 0); 191private static int ParseItemArg(String arg) { 260String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 261String subCommandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 270String controlBCT = Control.BackCommandText; 271String backCommandText = (controlBCT == null || controlBCT.Length == 0) ? 294String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 295String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute); 330String commandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 333if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 342if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 346String controlBCT = Control.BackCommandText; 347String backCommandText = controlBCT == null || controlBCT.Length == 0 ? 353if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 446String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 447String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute); 487String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 488String itemClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute); 494String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 511String commandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 515if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 521String controlMT = Control.MoreText; 522String moreText = (controlMT == null || controlMT.Length == 0) ? 526String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 534if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 556String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 557String cssClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute); 558String subCommandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 569String eventArgument = HasDefaultCommand() ? item.Index.ToString(CultureInfo.InvariantCulture) : String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 580String controlMT = Control.MoreText; 581String moreText = (controlMT == null || controlMT.Length == 0) ? GetDefaultLabel(MoreLabel) : controlMT; 583String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 594String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 595String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (49)
66public virtual String EventArgumentKey { 73public virtual String EventSourceKey { 111String sourceKey, 113String [] values = sourceCollection.GetValues(sourceKey); 114foreach (String value in values) { 121String postEventSourceID, 122String postEventArgumentID) { 129String name = form.GetKey(i); 174String postEventSourceID, 175String postEventArgumentID) { 180String name = queryString.GetKey(i); 232String cssLocation = (String) Page.ActiveForm.CustomAttributes[XhtmlConstants.StyleSheetLocationCustomAttribute]; 246String queryStringValue = GetCssQueryStringValue(writer); 254bool requiresComments = (String)Device["requiresCommentInStyleElement"] == "true"; 280String postEventSourceID, 281String postEventArgumentID, 290else if (String.Compare(request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) == 0) { 307String type = ((MobileCapabilities)context.Request.Browser).PreferredRenderingType; 308return String.Equals(type, "xhtml-basic", StringComparison.OrdinalIgnoreCase) || 309String.Equals(type, "xhtml-mp", StringComparison.OrdinalIgnoreCase) || 310String.Equals(type, "wml20", StringComparison.OrdinalIgnoreCase); 314return(String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true"; 317private String GetCssQueryStringValue(XhtmlMobileTextWriter writer) { 343writer.UseDivsForBreaks = (String)Device[XhtmlConstants.BreaksOnInlineElements] == "true"; 344writer.SuppressNewLine = (String)Device[XhtmlConstants.RequiresNewLineSuppression] == "true"; 345writer.SupportsNoWrapStyle = (String)Device[XhtmlConstants.SupportsNoWrapStyle] != "false"; 377String supportsXmlDeclaration = Device["supportsXmlDeclaration"]; 380!String.Equals(supportsXmlDeclaration, "false", StringComparison.OrdinalIgnoreCase)) { 423else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 424(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 434String hiddenVariablePrefix = MobilePage.HiddenVariablePrefix; 437writer.WriteUrlParameter(hiddenVariablePrefix + (String)entry.Key, 438(String)entry.Value); 447String cssClass = (String) activeForm.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 449if (cssClass != null && (String)Device["supportsBodyClassAttribute"] != "false") { 456else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 457(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 462if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 463(String)Device[XhtmlConstants.SupportsBodyClassAttribute] == "false") { 471String target, 472String argument) { 474String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] == "false" ? "&" : "&amp;"; 476if ((String)Device["requiresAbsolutePostbackUrl"] == "true") { 487String pageState = Page.ClientViewState; 505String queryStringText = PreprocessQueryString(Page.QueryStringText); 509if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (10)
43String text = Control.Text; 44String phoneNumber = Control.PhoneNumber; 52if ((String)Device["supportsWtai"] == "true") { 66String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 68String className = writer.GetCssFormatClassName(style); 83String text = String.Format( 88String url = Control.AlternateUrl; 92String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 93String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (11)
45if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 86public override bool LoadPostData (String key, 90String[] selectedItems = data.GetValues(key); 105selectedItems = new String[] {}; 110String selected = selectedItems[0]; 168String selectTypeString = 187String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 217if ((String)Device["supportsSelectFollowingTable"] == "false" && writer.CachedEndTag == "table") { 256private void WriteItemValueAttribute (XhtmlMobileTextWriter writer, int index, String value) { 257String controlFormAction = Control.Form.Action; 274String uniqueID = Control.UniqueID;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (5)
36private String _staticValue; 49if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 58String controlText = Control.Text; 73String requiresType = Device["requiresInputTypeAttribute"]; 78else if (requiresType != null && String.Equals(requiresType, "true", StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextViewAdapter.cs (1)
72String text = element.Text;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidationSummaryAdapter.cs (4)
51String[] errorMessages = null; 67foreach (String errorMessage in errorMessages) { 76if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, true, CultureInfo.CurrentCulture) != 0) { 78String controlBackLabel = Control.BackLabel;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidatorAdapter.cs (2)
40String controlText = Control.Text; 41String controlErrorMessage = Control.ErrorMessage;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (5)
27String cssQueryStringValue = (String) context.Request.QueryString[XhtmlConstants.CssQueryStringName]; 28String response; 32response = (String) context.Session[cssQueryStringValue]; 35response = (String) context.Cache[cssQueryStringValue];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (63)
44private String _cacheKey; 45private String _cachedMarkup; 72internal String CachedEndTag { 79public virtual String CacheKey { 113public String CustomBodyStyles { 124public virtual String SessionKey { 167public virtual void AddOnEnterForwardSetVar(String var) { 168AddOnEnterForwardSetVar(var, String.Empty); 172public virtual void AddOnEnterForwardSetVar(String var, String value) { 173_wmlOnEnterForwardVarNames.Add(new String[2]{var, value}); 196internal bool DiffersFromCurrentPhysicalCssClass(String cssClass) { 199String.Compare(cssClass, (String)_physicalCssClasses.Peek(), StringComparison.Ordinal) != 0; 202private void EncodeAttributeValue(String value, StringBuilder encodedValue) { 208internal string EncodeUrlInternal(String url) { 229String classKey = styleClass.GetClassDefinition (); 277internal void EnterStyle(Style style, String styleTag) { 289internal void EnterStyle(XhtmlStyleClass styleClass, String styleTag) { 301internal void EnterStyleInternal (Style style, String styleTag, StyleFilter filter) { 305internal void EnterStyleInternal (XhtmlStyleClass styleClass, String styleTag, NameValueCollection additionalAttributes) { 309internal void EnterStyleInternal (XhtmlStyleClass styleClass, String styleTag, NameValueCollection additionalAttributes, bool forceTag) { 316_styleStack.Push (new StylePair (String.Empty, styleClass)); 323_styleStack.Push (new StylePair (String.Empty, styleClass)); 334foreach (String key in additionalAttributes.Keys) { 342internal void EnterStyleInternal (Style style, String styleTag, StyleFilter filter, NameValueCollection additionalAttributes) { 388internal String GetCssFormatClassName(Style style) { 422foreach (String key in _orderedStyleClassKeys) { 429private String GetWmlOnEventSubtree() { 431return String.Empty; 436foreach (String[] varInfo in _wmlOnEnterForwardVarNames) { 437String varName = varInfo[0]; 438String varValue = varInfo[1]; 451private void HandleBreakForTag(String tag) { 460private bool IsBlockElement(String tag){ 508internal String PopPhysicalCssClass() { 509return(String)_physicalCssClasses.Pop(); 512internal void PushPhysicalCssClass(String cssClass) { 527String styleText = GetStyles(); 532(cache [_cacheKey].GetType () != typeof (String) || 533styleText != (String) cache [_cacheKey])) { 546String styleText = GetStyles(); 551(session [_sessionKey].GetType () != typeof (String) || 552styleText != (String) session [_sessionKey])) { 559public override void WriteAttribute(String attribute, String value, bool encode) { 587public override void WriteBeginTag(String tag) { 613WriteLine((String)_doctypeDeclarations[type]); 617public virtual void WriteEncodedAttributeValue(String value) { 624public override void WriteEndTag(String tag) { 633public override void WriteFullBeginTag(String tag) { 639public virtual void WriteHiddenField(String name, String value) { 649public virtual void WriteHiddenField(String name) { 662public override void WriteLine(String format, Object[] arg) { 672public override void WriteLine(String format, Object arg) { 682public override void WriteLine(String format, Object arg0, Object arg1) { 702public override void WriteLine(String s) { 802public virtual void WriteUrlParameter (String name, String value) { 820internal StylePair (String styleTag, XhtmlStyleClass styleClass) { 825internal StylePair (String styleTag, Style style, StyleFilter filter) { 831internal String Tag;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (9)
48internal String StyleClassName; 60public override String ToString () { 68public virtual String GetClassDefinition () { 164if ((String) _controlStyle[Style.FontNameKey, true /* inherit */] != (String) XhtmlConstants.DefaultStyle [Style.FontNameKey, false /* do not inherit */]) { 214if ((String)_controlStyle [Style.FontNameKey, true] != (String)style [Style.FontNameKey, true]) { 246public override String GetClassDefinition () { 271public override String GetClassDefinition () {
UI\MobileControls\AdRotator.cs (23)
57private const String ImageKeyDefault = "ImageUrl"; 58private const String NavigateUrlKeyDefault = "NavigateUrl"; 75_webAdRotator.Target = String.Empty; 120public String AdvertisementFile 160public String KeywordFilter 179public String ImageKey 183String s = (String) ViewState["ImageKey"]; 199public String NavigateUrlKey 203String s = (String) ViewState["NavigateUrlKey"]; 244const String accesskeyName = "accesskey"; 247String accesskey = ((IAttributeAccessor) this).GetAttribute(accesskeyName); 248if (!String.IsNullOrEmpty(accesskey)) 265e.ImageUrl = (String) e.AdProperties[ImageKey]; 266e.NavigateUrl = (String) e.AdProperties[NavigateUrlKey]; 281private String ResolveAdRotatorUrl(String relativeUrl) 285return String.Empty; 301String absoluteFile = UrlPath.Combine(tplSourceDir, 303String fileDirectory = UrlPath.GetDirectory(absoluteFile); 305String baseUrl = String.Empty;
UI\MobileControls\BaseValidator.cs (7)
138public String ErrorMessage 158public String ControlToValidate 194public override String StyleReference 235String idBuffer; 303String controlToValidate = ControlToValidate; 317protected void CheckControlValidationProperty(String name, String propertyName)
UI\MobileControls\Calendar.cs (6)
215public String CalendarEntryText 219String s = (String) ViewState["CalendarEntryText"]; 220return((s != null) ? s : String.Empty); 274protected void RaisePostBackEvent(String eventArgument) 297void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\Command.cs (20)
64protected bool LoadPostData(String key, NameValueCollection data) 99public String SoftkeyLabel 103String s = (String) ViewState["Softkeylabel"]; 104return((s != null) ? s : String.Empty); 119public String CommandName 123String s = (String) ViewState["CommandName"]; 124return((s != null) ? s : String.Empty); 139public String CommandArgument 143String s = (String) ViewState["CommandArgument"]; 144return((s != null) ? s : String.Empty); 161public String ImageUrl 165String s = (String) ViewState["ImageUrl"]; 166return((s != null) ? s : String.Empty); 272protected void RaisePostBackEvent(String argument) 294void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) { 300bool IPostBackDataHandler.LoadPostData(String key, NameValueCollection data) {
UI\MobileControls\CompareValidator.cs (3)
65public String ControlToCompare 122public String ValueToCompare 151if (String.Compare(ControlToValidate, ControlToCompare, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\CompileLiteralTextParser.cs (8)
29String _fileName; 35String fileName, 62String linkUrl = (String)element.GetAttribute("href"); 103if (o is String) 105builder.AppendLiteralString((String)o); 116protected override void ProcessTagInnerText(String text) 147private ListDictionary GetPropertyDictionary(LiteralFormat format, bool breakAfter, String linkUrl)
UI\MobileControls\Constants.cs (19)
130internal const String ErrorStyle = "error"; 132public static readonly String FormIDPrefix = "#"; 134public static readonly String UniqueFilePathSuffixVariableWithoutEqual = "__ufps"; 136public static readonly String UniqueFilePathSuffixVariable = UniqueFilePathSuffixVariableWithoutEqual + '='; 138public static readonly String PagePrefix = "__PG_"; 140public static readonly String EventSourceID = "__ET"; 142public static readonly String EventArgumentID = "__EA"; 145public static readonly String HeaderTemplateTag = "HeaderTemplate"; 147public static readonly String FooterTemplateTag = "FooterTemplate"; 149public static readonly String ItemTemplateTag = "ItemTemplate"; 151public static readonly String AlternatingItemTemplateTag = "AlternatingItemTemplate"; 153public static readonly String SeparatorTemplateTag = "SeparatorTemplate"; 155public static readonly String ContentTemplateTag = "ContentTemplate"; 157public static readonly String LabelTemplateTag = "LabelTemplate"; 159public static readonly String ItemDetailsTemplateTag = "ItemDetailsTemplate"; 161public static readonly String ScriptTemplateTag = "ScriptTemplate"; 164public static readonly String SymbolProtocol = "symbol:"; 173public static readonly String OptimumPageWeightParameter = "optimumPageWeight"; 175public static readonly String ScreenCharactersHeightParameter = "screenCharactersHeight";
UI\MobileControls\ControlsConfig.cs (10)
52internal /*public*/ bool AddDeviceConfig(String configName, IndividualDeviceConfig deviceConfig) 117internal /*public*/ IndividualDeviceConfig GetDeviceConfig(String configName) 142internal /*public*/ String this[String key] 146String s = _settings[key]; 164String sizeString = this["sessionStateHistorySize"]; 189String typeString = this["cookielessDataDictionaryType"]; 190if (!String.IsNullOrEmpty(typeString)) { 201String allow = this["allowCustomAttributes"]; 202return String.Compare(allow, "true", StringComparison.OrdinalIgnoreCase) == 0;
UI\MobileControls\CustomValidator.cs (2)
82protected virtual bool OnServerValidate(String value) 119String controlToValidate = ControlToValidate;
UI\MobileControls\DataSourceHelper.cs (1)
33internal static IEnumerable GetResolvedDataSource(Object dataSource, String dataMember)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (8)
105internal static String GetWidth(Control control) 156String propertyName, 177String propertyName, 255internal static String GetDesignTimeErrorHtml( 256String errorMessage, 262String id = String.Empty; 274return String.Format(CultureInfo.CurrentCulture,
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (1)
34String width = DesignerAdapterUtil.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerCalendarAdapter.cs (1)
34String width = DesignerAdapterUtil.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (9)
45String width = DesignerAdapterUtil.GetWidth(Control); 67String additionalStyle = null; 68String controlText = Control.Text; 69String commandCaption; 80String htmlFragment = twTmp.ToString(); 82MSHTMLHostUtil.ApplyStyle(String.Empty, String.Empty, null); 103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength)))); 133additionalStyle = String.Format(CultureInfo.CurrentCulture, "width:{0};", width);
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (4)
38String width = DesignerAdapterUtil.GetWidth(Control); 53String source = Control.ImageUrl; 57if (!String.IsNullOrEmpty(source)) 61if (!String.IsNullOrEmpty(Control.AlternateText))
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (1)
41String width = DesignerAdapterUtil.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (1)
38String width = DesignerAdapterUtil.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (10)
69if (String.IsNullOrEmpty((String) Style[Style.FontNameKey, true])) 84String enterLayout = tw.ToString(); 88String exitLayout = tw.ToString(); 98String htmlFragment = tw.ToString(); 104requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(size > 0 ? String.Format(CultureInfo.InvariantCulture, htmlFragment, size) : htmlFragment); 122requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.InvariantCulture, htmlFragment, fittingSize)); 138Style[Style.FontNameKey] = String.Empty; 142String width = DesignerAdapterUtil.GetWidth(Control); 156if (!String.IsNullOrEmpty(Control.Text))
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (7)
43String width = DesignerAdapterUtil.GetWidth(Control); 69String filteredText = FilterTags(Control.Text.Trim()); 88private String FilterTags(String text) 97String tagName = String.Empty; 270tagName = String.Empty;
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (8)
53public override String ToString() 68String width = DesignerAdapterUtil.GetWidth(control); 102internal void WriteStyleAttribute(Style style, String additionalStyle) 113String fontName = (String) style[Style.FontNameKey , true]; 143if (!String.IsNullOrEmpty(fontName)) 171String additionalStyle, 172String text,
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (3)
33String additionalStyle; 38String width = DesignerAdapterUtil.GetWidth(Control); 79writer.WriteText(String.IsNullOrEmpty(Control.BackLabel) ? GetDefaultLabel(BackLabel) : Control.BackLabel, true);
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (1)
36String width = DesignerAdapterUtil.GetWidth(Control);
UI\MobileControls\Design\Adapters\MSHTMLHostUtil.cs (6)
47internal static void ApplyStyle(String enterStyle, String exitStyle, String cssStyle) 51String bodyInnerHTML = "<div id=__divOuter nowrap style='width:1px; height:10px'>" + 80internal static int GetHtmlFragmentWidth(String htmlFragment) 89internal static int GetHtmlFragmentHeight(String htmlFragment)
UI\MobileControls\Design\AdRotatorDesigner.cs (1)
41protected override String GetDesignTimeNormalHtml()
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (25)
40private String _currentDeviceSpecificID = null; 196this._tbArgument.Text = String.Empty; 272private void CacheState(String deviceSpecificID) 284private bool RestoreState(String deviceSpecificID) 307private DeviceFilterNode CreateExternalFilter(String name) 354(String) entry.Key 369_cbAvailableFilters.Text = String.Empty; 397_cbAvailableFilters.Text = String.Empty; 401private DeviceFilterNode FindAvailableFilter(String name) 433private ChoiceTreeNode FindAppliedFilter(String name) 465private bool IsDefaultFilter(String name) 510_tbArgument.Text = String.Empty; 595String oldLabel = e.Node.Text; 596String newLabel = e.Label; 711String name = _cbAvailableFilters.Text; 837String deviceSpecificID, 901String oldDeviceSpecificID, String newDeviceSpecificID) 915String deviceSpecificID) 986String deviceSpecificID 1010private String _filterName; 1011private String _argument; 1061internal new String Name 1076internal String Argument 1126public override String ToString()
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (1)
25private static readonly String _appliedDeviceFiltersDescription = "AppliedDeviceFilters";
UI\MobileControls\Design\BaseValidatorDesigner.cs (2)
81protected override String GetDesignTimeNormalHtml() 85String originalText = _baseValidator.ErrorMessage;
UI\MobileControls\Design\CalendarDesigner.cs (1)
71protected override String GetDesignTimeNormalHtml()
UI\MobileControls\Design\CommandDesigner.cs (2)
69protected override String GetDesignTimeNormalHtml() 76String originalText = _command.Text;
UI\MobileControls\Design\Constants.cs (4)
29internal static readonly String ControlSizeAtToplevelInNonErrorMode; 30internal static readonly String ControlSizeAtToplevelInErrormode = "300px"; 31internal static readonly String ControlSizeInContainer = "100%"; 33internal static readonly String ReflectPropertyDescriptorTypeFullName =
UI\MobileControls\Design\Converters\ChoiceConverter.cs (5)
38if (value is String) 196private String MatchFilterName(String name, ITypeDescriptorContext context) 202String bestMatch = null; 214if (String.Equals(filterName, name, StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Design\Converters\DataFieldConverter.cs (7)
36private const String _dataMemberPropertyName = "DataMember"; 37private const String _dataSourcePropertyName = "DataSource"; 76return String.Empty; 94String dataMember = null; 122dataMember = (String)pd.GetValue(owner); 127dataMember = (String)pd.GetValue(component); 162if (!String.IsNullOrEmpty(dataMember))
UI\MobileControls\Design\Converters\DataMemberConverter.cs (1)
73return String.Empty;
UI\MobileControls\Design\Converters\FontNameConverter.cs (2)
127return String.Empty; 137if (String.Equals(fontName, name, StringComparison.OrdinalIgnoreCase)) {
UI\MobileControls\Design\Converters\FormConverter.cs (2)
207protected virtual String ProcessControlId(String id)
UI\MobileControls\Design\Converters\NavigateUrlConverter.cs (5)
39protected override String ProcessControlId(String id) 50internal static String GetUrl(IComponent component, String url, String oldUrl)
UI\MobileControls\Design\Converters\StyleConverter.cs (1)
39foreach (String key in styles)
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (9)
90foreach (String key in styles) 95if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal)) 109foreach (String key in styles) 114if (null == instanceStyle || 0 != String.Compare(instanceStyle.Name, style.Name, StringComparison.Ordinal)) 127String preID = ((String)styleArray[0]).ToLower(CultureInfo.InvariantCulture); 132if (String.Equals((String)styleArray[i], preID, StringComparison.OrdinalIgnoreCase)) { 137preID = ((String)styleArray[i]).ToLower(CultureInfo.InvariantCulture);
UI\MobileControls\Design\DesignerCapabilities.cs (6)
133public override String this[String key] 139String.Format(CultureInfo.CurrentCulture, "property {0} not defined in DesignerCapabilities", key)); 140Debug.Assert(obj is String, 141String.Format(CultureInfo.CurrentCulture, "property {0} invalid type defined", key)); 143return obj as String;
UI\MobileControls\Design\DesignerForm.cs (1)
65if (!String.Equals(rtlText, "RTL_False", StringComparison.Ordinal)) {
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (14)
49private static readonly String _nameOfDefaultFilter = 178if(String.IsNullOrEmpty(node.Text)) 332internal void SelectFilterByName(String name) 505String oldLabel, 506String newLabel, 507String errorDialogTitle 567String compare = node.DeviceFilter.Compare; 592_cbCompare.Text = String.Empty; 593_txtArgument.Text = String.Empty; 641String oldLabel = e.Node.Text; 642String newLabel = e.Label; 644if(String.Compare(oldLabel, newLabel, StringComparison.OrdinalIgnoreCase) != 0 653else if(String.Compare(newLabel, _nameOfDefaultFilter, StringComparison.OrdinalIgnoreCase) == 0) 728internal new String Text
UI\MobileControls\Design\DeviceSpecificDesigner.cs (16)
38internal static readonly String _strictlyFormPanelContainmentErrorMessage = 41private const String _designTimeHTML = 50private const String _duplicateDesignTimeHTML = 64private const String _propertyOverridesPropName = "PropertyOverrides"; 65private const String _dataBindingsPropName = "DataBindings"; 79private static readonly String[] _templateFramesForForm = 80new String [] { Constants.HeaderTemplateTag, Constants.FooterTemplateTag }; 82private static readonly String[] _templateFramesForPanel = 83new String [] { Constants.ContentTemplateTag }; 160protected override String GetDesignTimeNormalHtml() 162String curChoice, message; 194return String.Format(CultureInfo.CurrentCulture, _duplicateDesignTimeHTML, 209return String.Format(CultureInfo.CurrentCulture, _designTimeHTML, _ds.Site.Name, curChoice, message); 222protected override String GetErrorMessage(out bool infoMode) 2800 != String.Compare(_ds.ID, _parentContainer.DeviceSpecific.ID, StringComparison.OrdinalIgnoreCase)) 317protected override String[] GetTemplateFrameNames(int index)
UI\MobileControls\Design\DeviceSpecificDialogCachedState.cs (1)
23String deviceSpecificID,
UI\MobileControls\Design\FormDesigner.cs (7)
38private const String _titlePropertyName = "Title"; 40public override String ID 54public virtual String Title 79String newMessage = GetErrorMessage(out infoMode); 94protected override String GetErrorMessage(out bool infoMode) 154internal override void OnBackgroundImageChange(String message, bool infoMode) 178String newMessage = GetErrorMessage(out infoMode);
UI\MobileControls\Design\IDeviceSpecificDesigner.cs (3)
31String CurrentDeviceSpecificID 36bool GetDeviceSpecific(String deviceSpecificID, out DeviceSpecific ds); 38void SetDeviceSpecific(String deviceSpecificID, DeviceSpecific deviceSpecific);
UI\MobileControls\Design\IListDesigner.cs (4)
16String DataTextField 22String DataValueField 28String DataSource 34String DataMember
UI\MobileControls\Design\ImageDesigner.cs (9)
37private String _baseUrl = String.Empty; 39private String BaseUrl 113private String GetConvertedImageURI(String imageUriString) 117String extension = Path.GetExtension(imageUriString); 169protected override String GetDesignTimeNormalHtml() 171String tempUrl = String.Empty;
UI\MobileControls\Design\ImageUrlEditor.cs (2)
22protected override String Caption 33protected override String Filter
UI\MobileControls\Design\IMobileWebFormServices.cs (2)
23Object GetCache(String controlID, Object key); 25void SetCache(String controlID, Object key, Object value);
UI\MobileControls\Design\IRefreshableDeviceSpecificEditor.cs (4)
15void Refresh(String deviceSpecificID, DeviceSpecific deviceSpecific); 19void DeviceSpecificRenamed(String oldDeviceSpecificID, String newDeviceSpecificID); 20void DeviceSpecificDeleted(String DeviceSpecificID);
UI\MobileControls\Design\LabelDesigner.cs (2)
72protected override String GetDesignTimeNormalHtml() 76String originalText = _label.Text;
UI\MobileControls\Design\LinkDesigner.cs (2)
72protected override String GetDesignTimeNormalHtml() 79String originalText = _link.Text;
UI\MobileControls\Design\ListComponentEditorPage.cs (16)
31protected String TreeViewTitle = String.Empty; 32protected String AddButtonTitle = String.Empty; 33protected String DefaultName = String.Empty; 34protected String MessageTitle = String.Empty; 35protected String EmptyNameMessage = String.Empty; 125protected virtual String GetNewName() 135protected bool NameExists(String name) 139if (String.Compare(node.Name, name, ((!CaseSensitive) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) == 0) 304private String _name; 306internal ListTreeNode(String text) : base(text) 323internal new String Name
UI\MobileControls\Design\ListDesigner.cs (21)
41private const String _dataSourcePropertyName = "DataSource"; 42private const String _dataMemberPropertyName = "DataMember"; 43private const String _dataTextFieldPropertyName = "DataTextField"; 44private const String _dataValueFieldPropertyName = "DataValueField"; 51private static readonly String[][] _templateFrameNames = 52new String[][] { 53new String [] { Constants.HeaderTemplateTag, Constants.FooterTemplateTag }, 54new String [] { Constants.ItemTemplateTag, Constants.AlternatingItemTemplateTag }, 55new String [] { Constants.SeparatorTemplateTag } 61public String DataValueField 75public String DataTextField 87public String DataMember 124public String DataSource 134return String.Empty; 288protected override String GetDesignTimeNormalHtml() 291String oldDataTextField = null, oldDataValueField = null; 436public override IEnumerable GetTemplateContainerDataSource(String templateName) 441protected override String[] GetTemplateFrameNames(int index) 447public override Type GetTemplatePropertyParentType(String templateName) 563String memberName = e.Member.Name; 624typeof(String),
UI\MobileControls\Design\ListGeneralPage.cs (1)
65protected override String HelpKeyword
UI\MobileControls\Design\ListItemsPage.cs (8)
52protected override String HelpKeyword 72protected override String GetNewName() 162_txtValue.Text = String.Empty; 192_txtValue.Text = String.Empty; 303_txtValue.Text = String.Empty; 335private String _value; 341internal ItemTreeNode(String itemText) : base(itemText) 368internal String Value
UI\MobileControls\Design\MobileComponentEditorPage.cs (1)
41protected abstract String HelpKeyword
UI\MobileControls\Design\MobileContainerDesigner.cs (19)
42private String _currentErrorMessage = null; 161private void ApplyPropertyToBehavior(String propName) 185String fontName = (String) Style[Style.FontNameKey , true]; 245protected virtual String GetErrorMessage(out bool infoMode) 285private bool IsAppearanceAttribute(String propertyName) 296internal virtual void OnBackgroundImageChange(String message, bool infoMode) 356String propName = propDesc.Name; 419String msg = GetErrorMessage(out infoMode); 487String tagPrefix = refMgr.GetTagPrefix(typeof(DeviceSpecific)); 495String modifiedInnerHTML = String.Empty; 500String childContent = htmlChild.GetOuterHTML(); 501String childUpperContent = childContent.ToUpper(CultureInfo.InvariantCulture); 529else if (0 == nestingLevel && 0 == String.Compare(childUpperContent, "</DEVICESPECIFIC>", StringComparison.Ordinal)) 557String key = (String)enumerator.Key; 570protected void RemoveBehaviorStyle(String attribute) 592protected void SetBehaviorStyle(String attribute, Object obj)
UI\MobileControls\Design\MobileControlDesigner.cs (34)
41internal static readonly String resourceDllUrl = 44internal static readonly String errorIcon = 47internal static readonly String infoIcon = 50internal static readonly String defaultErrorDesignTimeHTML = 65internal static readonly String _formPanelContainmentErrorMessage = 68internal static readonly String _mobilePageErrorMessage = 71internal static readonly String _topPageContainmentErrorMessage = 74internal static readonly String _userControlWarningMessage = 77private const String _appliedDeviceFiltersPropName = "AppliedDeviceFilters"; 78private const String _propertyOverridesPropName = "PropertyOverrides"; 79private const String _defaultDeviceSpecificIdentifier = "unique"; 100protected String AppliedDeviceFilters 104return String.Empty; 206protected String PropertyOverrides 210return String.Empty; 225protected virtual String GetErrorMessage(out bool infoMode) 272public sealed override String GetDesignTimeHtml() 280String errorMessage = GetErrorMessage(out infoMode); 288String designTimeHTML = null; 302protected virtual String GetDesignTimeNormalHtml() 320protected override String GetEmptyDesignTimeHtml() 325protected override sealed String GetErrorDesignTimeHtml(Exception e) 333protected virtual String GetDesignTimeErrorHtml(String errorMessage, bool infoMode) 349public override String GetPersistInnerHtml() 368String originalText = null; 379((TextControl)_mobileControl).Text = String.Empty; 384((TextView)_mobileControl).Text = String.Empty; 467String propName = propDesc.Name; 498TypeDescriptor.CreateProperty(this.GetType(), _appliedDeviceFiltersPropName, typeof(String)); 501TypeDescriptor.CreateProperty(this.GetType(), _propertyOverridesPropName, typeof(String)); 535String IDeviceSpecificDesigner.CurrentDeviceSpecificID 586bool IDeviceSpecificDesigner.GetDeviceSpecific(String deviceSpecificParentID, out DeviceSpecific ds) 593void IDeviceSpecificDesigner.SetDeviceSpecific(String deviceSpecificParentID, DeviceSpecific ds)
UI\MobileControls\Design\MobileControlPersister.cs (13)
179PersistAttributes(sw, collItem, String.Empty, null); 253PersistAttributes(tagProps, propValue, String.Empty, null); 404foreach (String templateName in templateCollection.Keys) { 488string persistPrefix = String.Empty; 518properties = properties.Sort(new String[] {"Filter"}); 610String persistValue = null; 614propName = enumerator.Key as String; 615persistValue = enumerator.Value as String; 628HttpUtility.HtmlEncode((String)persistValue, sw); 696String templateName = propDesc.Name; 701private static void PersistTemplateProperty(TextWriter sw, String templateName, ITemplate template) 715templateContent = String.Empty; 893PersistAttributes(sw, control, String.Empty, null);
UI\MobileControls\Design\MobileResource.cs (2)
29public static String GetString(String name)
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (47)
52private const String _htmlString = "html"; 57private static readonly String _noChoiceText = 60private static readonly String _defaultChoiceText = 63private static readonly String _nonHtmlSchemaErrorMessage = 66private static readonly String _illFormedWarning = 69private const String _illFormedHtml = 72internal const String DefaultTemplateDeviceFilter = "__TemplateDeviceFilter__"; 73private const String _templateDeviceFilterPropertyName = "TemplateDeviceFilter"; 74private const String _appliedDeviceFiltersPropertyName = "AppliedDeviceFilters"; 75private const String _propertyOverridesPropertyName = "PropertyOverrides"; 76private const String _expressionsPropertyName = "Expressions"; 77private const String _defaultDeviceSpecificIdentifier = "unique"; 119protected String AppliedDeviceFilters 123return String.Empty; 271protected String PropertyOverrides 275return String.Empty; 284public String TemplateDeviceFilter 303if (String.IsNullOrEmpty(value) || 386private void CheckTemplateName(String templateName) 405String[] templateNames = GetTemplateFrameNames(verb.Index); 513public sealed override String GetDesignTimeHtml() 521String errorMessage = GetErrorMessage(out infoMode); 529String designTimeHTML = null; 545protected virtual String GetDesignTimeErrorHtml(String errorMessage, bool infoMode) 551protected virtual String GetDesignTimeNormalHtml() 558protected override sealed String GetErrorDesignTimeHtml(Exception e) 563protected virtual String GetErrorMessage(out bool infoMode) 606public override String GetPersistInnerHtml() 608String persist = null; 628public override String GetTemplateContent( 630String templateName, 640String templateContent = String.Empty; 651templateContent = String.Format(CultureInfo.CurrentCulture, _illFormedHtml, _illFormedWarning); 658protected abstract String[] GetTemplateFrameNames(int index); 694this.TemplateDeviceFilter = (String) IMobileWebFormServices.GetCache(_control.ID, (Object)DefaultTemplateDeviceFilter); 698private bool IsCompleteHtml(String templateContent) 700if (!String.IsNullOrEmpty(templateContent)) 815typeof(String), 825typeof(String), 833typeof(String), 851String templateName, 852String templateContent) 948String IDeviceSpecificDesigner.CurrentDeviceSpecificID 1014bool IDeviceSpecificDesigner.GetDeviceSpecific(String deviceSpecificParentID, out DeviceSpecific ds) 1021void IDeviceSpecificDesigner.SetDeviceSpecific(String deviceSpecificParentID, DeviceSpecific ds)
UI\MobileControls\Design\NativeMethods.cs (2)
174internal String lpszVerbName; 2643String[] pbstrKey,
UI\MobileControls\Design\ObjectListCommandsPage.cs (7)
55protected override String HelpKeyword 132_txtText.Text = String.Empty; 159_txtText.Text = String.Empty; 272private String _text; 276internal CommandTreeNode(String name) : this(name, new ObjectListCommand()) 282internal CommandTreeNode(String name, ObjectListCommand runtimeCommand) : base(name) 304internal new String Text
UI\MobileControls\Design\ObjectListDesigner.cs (20)
43private const String _dataSourcePropertyName = "DataSource"; 44private const String _dataMemberPropertyName = "DataMember"; 51private static readonly String[][] _templateFrameNames = 52new String[][] { 53new String [] { Constants.HeaderTemplateTag, Constants.FooterTemplateTag }, 54new String [] { Constants.ItemTemplateTag, Constants.AlternatingItemTemplateTag, Constants.ItemDetailsTemplateTag }, 55new String [] { Constants.SeparatorTemplateTag }, 84protected override String[] GetTemplateFrameNames(int index) 121protected override String GetDesignTimeNormalHtml() 125String oldLabelField, oldTableFields; 149_objectList.LabelField = String.Empty; 150_objectList.TableFields = String.Empty; 193String memberName = e.Member.Name; 226typeof(String), 238public String DataMember 267public String DataSource 277return String.Empty; 440public override IEnumerable GetTemplateContainerDataSource(String templateName) 445public override String GetTemplateContainerDataItemProperty(string templateName) 450public override Type GetTemplatePropertyParentType(String templateName)
UI\MobileControls\Design\ObjectListFieldsPage.cs (14)
56protected override String HelpKeyword 164_txtDataFormatString.Text = String.Empty; 165_txtTitle.Text = String.Empty; 222_cmbDataField.Text = String.Empty; 223_txtDataFormatString.Text = String.Empty; 224_txtTitle.Text = String.Empty; 340private String _dataField; 341private String _dataFormatString; 342private String _title; 345internal FieldTreeNode(String fieldID) : this(fieldID, new ObjectListField()) 351internal FieldTreeNode(String fieldID, ObjectListField runtimeField) : base(fieldID) 377internal String DataField 390internal String DataFormatString 403internal String Title
UI\MobileControls\Design\ObjectListGeneralPage.cs (1)
50protected override String HelpKeyword
UI\MobileControls\Design\PanelDesigner.cs (5)
69protected override String GetErrorMessage(out bool infoMode) 120internal override void OnBackgroundImageChange(String message, bool infoMode) 131String.Empty, 132String.Empty, 153String newMessage = GetErrorMessage(out infoMode);
UI\MobileControls\Design\PhoneCallDesigner.cs (2)
73protected override String GetDesignTimeNormalHtml() 80String originalText = _call.Text;
UI\MobileControls\Design\PropertyOverridesDialog.cs (32)
40private String _currentDeviceSpecificID; 185private void CacheState(String deviceSpecificID) 196private bool RestoreState(String deviceSpecificID) 236private void LoadChoices(String deviceSpecificID) 296(String) entry.Key 318_cbChoices.Text = String.Empty; 425String deviceSpecificID, 495String oldDeviceSpecificID, String newDeviceSpecificID) 509String deviceSpecificID) 530String IDeviceSpecificDesigner.CurrentDeviceSpecificID 562bool IDeviceSpecificDesigner.GetDeviceSpecific(String deviceSpecificParentID, out DeviceSpecific ds) 580void IDeviceSpecificDesigner.SetDeviceSpecific(String deviceSpecificParentID, DeviceSpecific ds) 636private static readonly String _alternateUrl = "AlternateUrl"; 637private static readonly String _navigateUrl = "NavigateUrl"; 727foreach(String key in source.State.Keys) 855String newValue = (String) property.GetValue(component); 856String oldValue = (String) _specialProp_buffer[navigateUrl ? _navigateUrl : _alternateUrl]; 908String prefix 910String propertyName = prefix + property.Name; 911String value = ((IAttributeAccessor)_choice).GetAttribute(propertyName) as String; 980String prefix 985String propertyName = prefix + property.Name; 1009String oldValueString = 1013String newValueString = 1089String ICustomTypeDescriptor.GetClassName() 1094String ICustomTypeDescriptor.GetComponentName() 1240String deviceSpecificID 1265internal InvalidChoiceException(String message) : base(message)
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (1)
25private static readonly String _propertyOverridesDescription = "PropertyOverrides";
UI\MobileControls\Design\SelectionListDesigner.cs (12)
34private const String _dataSourcePropertyName = "DataSource"; 35private const String _dataMemberPropertyName = "DataMember"; 36private const String _dataTextFieldPropertyName = "DataTextField"; 37private const String _dataValueFieldPropertyName = "DataValueField"; 42public String DataValueField 56public String DataTextField 68public String DataMember 105public String DataSource 115return String.Empty; 261protected override String GetDesignTimeNormalHtml() 265String oldDataTextField = null, oldDataValueField = null; 512typeof(String),
UI\MobileControls\Design\StylesEditorDialog.cs (46)
92String initialStyleName) : base (stylesheet.Site) 359new String[2]{"System.Web.UI.MobileControls.PagerStyle", 362foreach (String mobileStyle in mobileStyles) 365String[] subItems = {type.Name, type.Namespace}; 371foreach (String key in styles) 377String[] subItems = {type.Name, type.Namespace}; 402_currentNewStyleType = Type.GetType((String) _lvAvailableStyles.Items[0].SubItems[1].Text + "." + 432foreach (String key in styles) 484private String AutoIDStyle() 486String newStyleID = _currentNewStyleType.Name; 496private int StyleIndex(String name) 501if (String.Compare(name, styleNode.RuntimeStyle.Name, StringComparison.OrdinalIgnoreCase) == 0) 520_txtType.Text = String.Empty; 548documentElement.SetInnerHTML(String.Empty); 554tridentDocument.SetBgColor(String.Empty); 560documentElement.SetInnerHTML(String.Empty); 587String name = _previewStyle.Font.Name; 622String finalHTML = "<div align='center'><table width='100%' height='100%'><tr><td><p align='center'>" + 683String oldValue = e.Node.Text; 684String newValue = e.Label; 686String messageTitle = SR.GetString(SR.Style_ErrorMessageTitle); 689if (String.Compare(oldValue, newValue , StringComparison.OrdinalIgnoreCase) != 0 && StyleIndex(newValue) >= 0) 759String newStyleAutoID = AutoIDStyle(); 800_currentNewStyleType = Type.GetType((String) _lvAvailableStyles.SelectedItems[0].SubItems[1].Text + "." + 853String message = SR.GetString(SR.StylesEditorDialog_DeleteStyleMessage); 854String caption = SR.GetString(SR.StylesEditorDialog_DeleteStyleCaption); 862String deletedStyle = ((StyleNode)SelectedStyle).RuntimeStyle.Name; 990String reference = currentStyle.StyleReference; 1009if (0 == String.Compare(style.Name, reference, StringComparison.OrdinalIgnoreCase)) 1071String fontName = currentStyle.Font.Name; 1072String reference = currentStyle.StyleReference; 1082if (0 == String.Compare(style.Name, reference, StringComparison.OrdinalIgnoreCase)) 1169private String _fullName; 1173private String _styleReference; 1211internal String FullName 1234String reference = RuntimeStyle.StyleReference; 1239if (0 == String.Compare(RuntimeStyle.Name, reference, StringComparison.OrdinalIgnoreCase)) 1292private String _oldName; 1293private String _newName; 1296String oldName, 1297String newName) 1303internal String OldName 1311internal String NewName 1328private String _name; 1330internal StyleDeletedEventArgs(String name) 1335internal String Name
UI\MobileControls\Design\StyleSheetDesigner.cs (47)
52private const String _templatesStylePropName = "TemplateStyle"; 53private const String _persistedStylesPropName = "PersistedStyles"; 55private const String _designTimeHTML = 65private const String _specialCaseDesignTimeHTML = 86private static readonly String[][] _templateFrameNames = 87new String[][] { 88new String [] { Constants.HeaderTemplateTag, Constants.FooterTemplateTag }, 89new String [] { Constants.ItemTemplateTag, Constants.AlternatingItemTemplateTag, Constants.ItemDetailsTemplateTag }, 90new String [] { Constants.SeparatorTemplateTag }, 91new String [] { Constants.ContentTemplateTag } 94private const String _templateStyle = "__TemplateStyle__"; 162TemplateStyle = (String) IMobileWebFormServices.GetCache(_styleSheet.ID, _templateStyle); 164(String) IMobileWebFormServices.GetCache( 211String[] templateNames = GetTemplateFrameNames(verb.Index); 290protected override String[] GetTemplateFrameNames(int index) 468duplicateNamesList.Add((String)entry.Key); 473protected override String GetDesignTimeNormalHtml() 475String curStyle, message; 487String curChoice; 508String errorMsg = null; 509String errorIconUrl = null; 546return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 565String cycledStyles = String.Empty; 577return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 590return String.Format(CultureInfo.CurrentCulture, _designTimeHTML, 674foreach (String key in styles) 681String reference = style.StyleReference; 682String name = style.Name; 688if (0 == String.Compare(name, reference, StringComparison.OrdinalIgnoreCase)) 728String IDeviceSpecificDesigner.CurrentDeviceSpecificID 767String styleName = (String) _mergedUI.CbStyles.SelectedItem; 777bool IDeviceSpecificDesigner.GetDeviceSpecific(String deviceSpecificParentID, out DeviceSpecific ds) 792void IDeviceSpecificDesigner.SetDeviceSpecific(String deviceSpecificParentID, DeviceSpecific ds) 802if (CurrentChoice != null && 0 == String.Compare(CurrentStyle.Name, deviceSpecificParentID, StringComparison.OrdinalIgnoreCase)) 867foreach (String key in styles) 912_tmpCurrentStyle = (Style) _styleSheet[((String) _mergedUI.CbStyles.SelectedItem).ToLower(CultureInfo.InvariantCulture)]; 913_deviceSpecificEditor.Refresh((String) _mergedUI.CbStyles.SelectedItem, _tmpCurrentStyle.DeviceSpecific); 1002foreach (String key in styles) 1031public String TemplateStyle 1046if (!String.IsNullOrEmpty(value) && 1050foreach (String key in styles) 1072String marginTop = null, marginBottom = null, marginRight = null; 1101TypeDescriptor.CreateProperty(this.GetType(), _templatesStylePropName, typeof(String), 1128foreach (String key in styleKeys) 1243protected override String GetErrorMessage(out bool infoMode)
UI\MobileControls\Design\StyleSheetRefUrlEditor.cs (2)
24protected override String Caption 35protected override String Filter
UI\MobileControls\Design\TemplatingOptionsDialog.cs (39)
51private String[] _schemasFriendly; 52private String[] _schemasUrl; 74_schemasFriendly = new String[] { SR.GetString(SR.TemplatingOptionsDialog_HTMLSchemaFriendly), 76_schemasUrl = new String[] { SR.GetString(SR.MarkupSchema_HTML32), 87String currentDeviceSpecificID = _dsd.CurrentDeviceSpecificID; 234String friendlySchema; 237_cmbSchemas.Text = String.Empty; 258foreach (String strSchema in _strCollSchemas) 280private String FriendlyToUrlSchema(String friendlySchema) 284if (0 == String.Compare(_schemasFriendly[i], friendlySchema, StringComparison.OrdinalIgnoreCase)) 292private String UrlToFriendlySchema(String urlSchema) 296if (0 == String.Compare(_schemasUrl[i], urlSchema, StringComparison.Ordinal)) 309String currentChoiceIdentifier = _cmbChoices.SelectedItem as String; 312DeviceSpecificChoice dsc = GetChoiceFromIdentifier((String) currentChoiceIdentifier, _ds); 334foreach (String key in styleKeys) 381private bool CaseSensitiveComboSearch(ComboBox cmb, String str) 385if (String.Compare(str, (String) obj, StringComparison.Ordinal) == 0) 398(!((String)_cmbChoices.SelectedItem).Equals(SR.GetString(SR.DeviceFilter_NoChoice))); 401private DeviceSpecificChoice GetChoiceFromIdentifier(String choiceIdentifier, DeviceSpecific ds) 428void IRefreshableDeviceSpecificEditor.Refresh(String deviceSpecificID, DeviceSpecific ds) 445String oldDeviceSpecificID, String newDeviceSpecificID) {} 447String deviceSpecificID) {} 456_designer.CurrentChoice = GetChoiceFromIdentifier((String) _cmbChoices.SelectedItem, _ds); 472_cmbSchemas.Text = String.Empty; 487DeviceSpecificChoice choice = GetChoiceFromIdentifier((String) _cmbChoices.SelectedItem, _ds); 488String urlSchema = FriendlyToUrlSchema(_cmbSchemas.Text); 489if (0 != String.Compare(choice.Xmlns, urlSchema, StringComparison.Ordinal)) 491String previousUrlSchema = choice.Xmlns; 497if (0 == String.Compare(choiceTmp.Xmlns, previousUrlSchema, StringComparison.Ordinal)) 508if (0 == String.Compare(_schemasUrl[i], previousUrlSchema, StringComparison.Ordinal)) 521String friendlySchema = UrlToFriendlySchema(urlSchema); 552String IDeviceSpecificDesigner.CurrentDeviceSpecificID 584bool IDeviceSpecificDesigner.GetDeviceSpecific(String deviceSpecificParentID, out DeviceSpecific ds) 589void IDeviceSpecificDesigner.SetDeviceSpecific(String deviceSpecificParentID, DeviceSpecific ds)
UI\MobileControls\Design\TextBoxDesigner.cs (1)
70protected override String GetDesignTimeNormalHtml()
UI\MobileControls\Design\TextViewDesigner.cs (3)
77protected override String GetDesignTimeNormalHtml() 84String originalText = _textView.Text; 120protected override String GetErrorMessage(out bool infoMode)
UI\MobileControls\Design\Util\DesignerUtility.cs (9)
56internal static String ChoiceToUniqueIdentifier(DeviceSpecificChoice choice) 62internal static String ChoiceToUniqueIdentifier(String filter, String argument) 64if (String.IsNullOrEmpty(filter)) 70argument = String.Empty; 72return String.Format(CultureInfo.InvariantCulture, "{0} (\"{1}\")", filter, argument); 76internal static void EnsureFileCheckedOut(ISite site, String fileName) 132String key = ChoiceToUniqueIdentifier(node.Name, node.Argument);
UI\MobileControls\Design\Util\EditableTreeList.cs (7)
26private const String _assertMsgNullNodeSelected = 30private const String _assertMsgOutOfBounds = 315internal String GetUniqueLabel(String label) 318String uniqueLabel = label + index; 326internal bool LabelExists(String label) 330if(String.Compare(node.Text, label, ((!_caseSensitive) ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) == 0)
UI\MobileControls\Design\Util\GenericUI.cs (9)
115internal static void ShowErrorMessage(String title, String message) 128internal static String BuildCommaDelimitedList(ICollection stringList) 132foreach (String str in stringList) 143internal static void ShowWarningMessage(String title, String message) 156internal static bool ConfirmYesNo(String title, String message) 203return !String.Equals(rtlText, "RTL_False", StringComparison.Ordinal);
UI\MobileControls\Design\Util\HeaderLabel.cs (2)
21private String _text; 44public override String Text
UI\MobileControls\Design\Util\ImageCreator.cs (5)
22const String _fontFamily = "Tahoma"; // default font used for the 26String text, 46String controlID, 47String title, 48String message,
UI\MobileControls\Design\Util\MSHTMLHost.cs (8)
131throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 180throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 236throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 240throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 244throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 254throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 258throw new COMException(String.Empty, NativeMethods.E_NOTIMPL); 262throw new COMException(String.Empty, NativeMethods.E_NOTIMPL);
UI\MobileControls\Design\Util\SimpleParser.cs (16)
31private const String _pattern = 93new String[] { 110internal static bool IsWellFormed(String text) 141String startTag = match.Groups["tagname"].Value; 154String endTag = match.Groups["tagname"].Value; 159String startTag = stack.Pop(); 161if (String.Compare(endTag, startTag, StringComparison.OrdinalIgnoreCase) != 0) 249private static bool IsEndTagOptional(String element) 275internal void Push(String tagName) 280internal String Pop() 284return String.Empty; 286return (String)_tagStack.Pop(); 315internal void Add(String key) 320internal bool Contains(String key) 325internal void AddRange(String[] keysCollection) 327foreach (String key in keysCollection)
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (2)
27private String _path; 73internal String Url
UI\MobileControls\Design\Util\UnsettableComboBox.cs (7)
25private String notSetText; 26private String notSetCompactText; 34internal String NotSetText 46internal String NotSetCompactText 58public override String Text 66return String.Empty; 78base.Text = String.Empty;
UI\MobileControls\Design\Util\WebConfigManager.cs (14)
29private readonly String _path = null; 138String filterName = childNode.Attributes["name"].Value; 167if (String.Equals(child.Name, name, StringComparison.Ordinal) && 241private String _name; 242private String _type; 243private String _method; 244private String _compare; 245private String _argument; 367public override String ToString() 376internal String Name 382internal String Type 388internal String Method 394internal String Compare 400internal String Argument
UI\MobileControls\Design\ValidationSummaryDesigner.cs (1)
68protected override String GetDesignTimeNormalHtml()
UI\MobileControls\DesignerAdapterAttribute.cs (3)
28private readonly String _typeName; 31public DesignerAdapterAttribute(String adapterTypeName) 43public virtual String TypeName
UI\MobileControls\DesignerDeviceConfig.cs (1)
21internal DesignerDeviceConfig(String pageAdapterType) : base(Type.GetType (pageAdapterType))
UI\MobileControls\DeviceSpecific.cs (4)
102public ITemplate GetTemplate(String templateName) 368public override void AppendLiteralString(String text) 374public override Type GetChildControlType(String tagName, IDictionary attributes) 376if (String.Compare(tagName, "Choice", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\DeviceSpecificChoice.cs (42)
39private String _deviceFilter = String.Empty; 40private String _argument; 41private String _xmlns; 53public String Filter 65value = String.Empty; 72public String Argument 90public String Xmlns 154String propertyName = (String)enumerator.Key; 155String propertyValue = enumerator.Value as String; 159if (String.Equals(propertyName, "id", StringComparison.OrdinalIgnoreCase)) { 172String containingObjectName = propertyName.Substring(0, dash); 208private bool FindAndApplyProperty(Object parentObject, String name, String value) 227if (type.IsAssignableFrom(typeof(String))) 260private bool FindAndApplyEvent(Object parentObject, String name, String value) 266String eventName = name.Substring(2); 340typeof(String) 365protected String GetAttribute(String key) 368if (o != null & !(o is String)) 373return (String)o; 378protected void SetAttribute(String key, String value) 395String IAttributeAccessor.GetAttribute(String name) { 399void IAttributeAccessor.SetAttribute(String name, String value) { 495String tagName, 496String id, 511public override void AppendLiteralString(String text) 517public override Type GetChildControlType(String tagName, IDictionary attributes) 597private String _templateName; 601internal String TemplateName 632String tagName, 633String id, 653public override void AppendLiteralString(String text) 720private String _name; 740public String Name
UI\MobileControls\ErrorFormatterPage.cs (1)
63private MobileControl CreateControlForText(String text)
UI\MobileControls\FactoryGenerator.cs (3)
115private static String GetUniqueCompilationName() { 136String name = GetUniqueCompilationName(); 159String typeName = GetUniqueCompilationName();
UI\MobileControls\FontInfo.cs (4)
51public String Name 126public override String ToString() 128String size = (this.Size.Equals(FontSize.NotSet) ? null : Enum.GetName(typeof(FontSize), this.Size)); 129String s = this.Name;
UI\MobileControls\Form.cs (11)
69public String Title 73String s = (String) ViewState["Title"]; 74return((s != null) ? s : String.Empty); 111public String Action 115String s = (String) ViewState["Action"]; 116return((s != null) ? s : String.Empty); 141protected void RaisePostBackEvent(String eventArgument) 637String type = device.PreferredRenderingType; 750void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\IControlAdapter.cs (2)
55bool HandlePostBackEvent(String eventArgument); 62bool LoadPostData(String postDataKey,
UI\MobileControls\Image.cs (9)
44protected void RaisePostBackEvent(String argument) 56public String AlternateText 77public String ImageUrl 97public String NavigateUrl 116public String SoftkeyLabel 120String s = (String) ViewState["Softkeylabel"]; 121return((s != null) ? s : String.Empty); 130void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\IndividualDeviceConfig.cs (6)
36private String _name; 45private String _parentConfigName; 70String name, 73String parentConfigName) 256internal /*public*/ String Name 264internal /*public*/ String ParentConfigName
UI\MobileControls\IObjectListFieldCollection.cs (1)
44int IndexOf(String fieldIDOrTitle);
UI\MobileControls\IPageAdapter.cs (4)
64String postEventSourceID, 65String postEventArgumentID, 80bool HandlePagePostBackEvent(String eventSource, String eventArgument);
UI\MobileControls\Link.cs (13)
48public String NavigateUrl 52String s = (String) ViewState["NavigateUrl"]; 53return((s != null) ? s : String.Empty); 68public String SoftkeyLabel 72String s = (String) ViewState["SoftkeyLabel"]; 73return((s != null) ? s : String.Empty); 83protected void RaisePostBackEvent(String argument) 91String target = NavigateUrl; 92String prefix = Constants.FormIDPrefix; 95String targetID = target.Substring(prefix.Length); 105void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\List.cs (5)
95public virtual String DataMember 115public String DataTextField 134public String DataValueField 478protected void RaisePostBackEvent(String eventArgument) 618void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\ListCommandEventArgs.cs (1)
29protected static readonly String DefaultCommand = "Default";
UI\MobileControls\ListControlBuilder.cs (2)
28public override Type GetChildControlType(String tagName, IDictionary attributes) 30if (String.Compare(tagName, "item", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ListDataHelper.cs (16)
27private String _dataTextField; 28private String _dataValueField; 72internal /*public*/ String DataMember 76String s = (String)_parentViewState["DataMember"]; 77return s == null ? String.Empty : s; 86internal /*public*/ String DataTextField 90String s = (String)_parentViewState["DataTextField"]; 91return (s != null) ? s : String.Empty; 99internal /*public*/ String DataValueField 103String s = (String)_parentViewState["DataValueField"]; 104return (s != null) ? s : String.Empty; 183String textField = null; 184String valueField = null;
UI\MobileControls\LiteralText.cs (7)
47public String Text 53String s = (String)ViewState[MobileControl.InnerTextViewStateKey]; 83String text = this.Text; 121public String PagedText 127String text = Text; 155return (stop > start) ? text.Substring(start, stop - start) : String.Empty;
UI\MobileControls\LiteralTextContainerControlBuilder.cs (2)
47new CompileLiteralTextParser(Parser, this, String.Empty, 1); 59public override void AppendLiteralString(String text)
UI\MobileControls\LiteralTextParser.cs (18)
67public String Text; 72public LiteralElement(String text) 83Text = String.Empty; 102public String GetAttribute(String attributeName) 105return (o != null) ? (String)o : String.Empty; 112protected abstract void ProcessTagInnerText(String text); 146private static LiteralElementType TagNameToType(String tagName) 158internal /*public*/ static bool IsValidText(String validText) 183internal /*public*/ void Parse(String literalText) 281private void ParseTag(String literalText, int tagStart, int tagFinish) 307String tagName = literalText.Substring(tagStart, tagNameFinish - tagStart); 352ParseText(String.Empty); 431private IDictionary ParseTagAttributes(String literalText, int attrStart, int attrFinish, String tagName) 572private void ParseText(String text) 644_currentTag.Text = String.Empty;
UI\MobileControls\MobileCategoryAttribute.cs (10)
20private const String _categoryDeviceSpecific = "Category_DeviceSpecific"; 21private const String _categoryPrefix = "Category_"; 22private const String _usCategoryDeviceSpecific = "Device Specific"; 26internal /*public*/ MobileCategoryAttribute(String category) : base(category) 48protected override String GetLocalizedString(String value) 51String localizedValue = null; 58String categoryName = value.Substring(_prefixLength); 67localizedValue = (String) SR.GetString(value); 72localizedValue = (String) SR.GetString(SR.Category_DeviceSpecific);
UI\MobileControls\MobileControl.cs (44)
52internal const String InnerTextViewStateKey = "_!InnerText"; 53private static String[] _ignoredCustomAttributes; 58_ignoredCustomAttributes = new String[2]; 165return String.Empty; 180public Form ResolveFormReference(String formID) 192internal Form ResolveFormReferenceNoThrow(String formID) 266public virtual ITemplate GetTemplate(String templateName) 334public new String ResolveUrl(String relativeUrl) 349String baseUrl = UrlPath.MakeVirtualPathAppAbsolute(TemplateSourceDirectory); 392String url = UrlPath.Combine(baseUrl, relativeUrl); 524String illegalCustomAttributes = null; 527foreach (String key in keys) 529String keyLower = key.ToLower(CultureInfo.InvariantCulture); 631String s = (String)ViewState[InnerTextViewStateKey]; 719protected String GetAttribute(String name) 721return (_customAttributes != null) ? (String)_customAttributes[name] : null; 726protected void SetAttribute(String name, String value) 776public virtual String StyleReference 887private String _cachedInnerText = null; 896protected String InnerText 900String text = null; 901String innerTextAttribute = (String)ViewState[InnerTextViewStateKey]; 937text = String.Empty; 986text = String.Empty; 997text = String.Empty; 1034internal String GetControlText(out bool containTag, out bool containDataboundLiteral) 1040private String GetControlText(out bool containTag, out bool containDataboundLiteral, bool trim) 1045String returnedText = null; 1054String text; 1142return String.Empty; 1150static internal void TranslateAndAppendText(String text, StringWriter writer) 1208internal String ToString(Object o) 1211return String.Empty; 1212if (o is String) 1213return (String)o; 1513String IAttributeAccessor.GetAttribute(String name) { 1517void IAttributeAccessor.SetAttribute(String name, String value) {
UI\MobileControls\MobileControlBuilder.cs (2)
40public override Type GetChildControlType(String tagName, IDictionary attributes) 44if (String.Compare(tagName, typeof(DeviceSpecific).Name, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\MobileControlsSection.cs (1)
722((value == null) ? String.Empty : value.ToString()),
UI\MobileControls\MobileControlsSectionHandler.cs (13)
44String cookielessDataDictionaryType = config["cookielessDataDictionaryType"]; 45if (!String.IsNullOrEmpty(cookielessDataDictionaryType)) { 83String deviceName = helper.RemoveStringAttribute("name", false); 110String controlName = helper.RemoveStringAttribute("name", true); 111String adapterName = helper.RemoveStringAttribute("adapter", true); 123if (String.IsNullOrEmpty(deviceName)) { 154String deviceName) 156String nameOfDeviceToInheritFrom = 165String predicateClass = helper.RemoveStringAttribute("predicateClass", propertiesRequired); 167String predicateMethod = helper.RemoveStringAttribute("predicateMethod", predicateClass != null); 168String pageAdapterClass = helper.RemoveStringAttribute("pageAdapter", propertiesRequired); 208private Type CheckedGetType(String typename, 209String whereUsed,
UI\MobileControls\MobileControlsSectionHelper.cs (2)
53String nameOfDeviceToInheritFrom = device.InheritsFrom; 62Debug.Assert(!String.IsNullOrEmpty(device.PredicateMethod));
UI\MobileControls\MobileListItem.cs (21)
62private String _text; 63private String _value; 72public MobileListItem(String text) : this(null, text, null) 77public MobileListItem(String text, String value) : this(null, text, value) 88public MobileListItem(Object dataItem, String text, String value) 124public static implicit operator MobileListItem(String s) 133public String Text 137String s; 148s = String.Empty; 167public String Value 171String s; 182s = String.Empty; 231public static MobileListItem FromString(String s) 237public override String ToString() 248String sa0 = _flags.Get(TEXTISDIRTY) ? _text : null; 249String sa1 = _flags.Get(VALUEISDIRTY) ? _value : null; 257return new String[2] { sa0, sa1 }; 265String[] sa = (String[])state;
UI\MobileControls\MobileListItemCollection.cs (3)
121public virtual void Add(String item) 150public virtual void Insert(int index, String item) 184public virtual void Remove(String item)
UI\MobileControls\MobilePage.cs (72)
47public static readonly String HiddenPostEventSourceId = postEventSourceID; 49public static readonly String HiddenPostEventArgumentId = postEventArgumentID; 51public static readonly String ViewStateID = "__VIEWSTATE"; 53public static readonly String HiddenVariablePrefix = "__V_"; 55public static readonly String PageClientViewStateKey = "__P"; 57private const String DesignerAdapter = "System.Web.UI.MobileControls.Adapters.HtmlPageAdapter"; 63private String _eventSource; 158public override String Theme { 174public new String Title { 176return String.Empty; 184public override String StyleSheetTheme { 334String _clientViewStateString; 342public String ClientViewState 394private void AddClientViewState(String id, Object viewState) 438private String _appPath; 441public String MakePathAbsolute(String virtualPath) 458String path = Request.CurrentExecutionFilePath; 477private String _relativeFilePath; 483public String RelativeFilePath 492return String.Empty; 497String s = Context.Request.CurrentExecutionFilePath; 498String filePath = Context.Request.FilePath; 517private String _absoluteFilePath; 523public String AbsoluteFilePath 538private String _uniqueFilePathSuffix; 544public new String UniqueFilePathSuffix 556_uniqueFilePathSuffix = String.Concat( 564private static String RemoveQueryStringElement(String queryStringText, String elementName) 584queryStringText = String.Empty; 608public String QueryStringText 621return String.Empty; 624String fullQueryString; 652private String _activeFormID; 723public Form GetForm(String id) 743public void RedirectToMobilePage(String url) 749public void RedirectToMobilePage(String url, bool endResponse) 757foreach(String name in dictionary.Keys) 761url = String.Concat(url, "&"); 765url = String.Concat(url, "?"); 768url = String.Concat(url, name + "=" + dictionary[name]); 830private const String UserAgentHeader = "User-Agent"; 834String varyByHeader, 835String varyByCustom, 837String varyByParam) 843String varyByContentEncoding, 844String varyByHeader, 845String varyByCustom, 847String varyByParam) 857foreach (String header in headerList) 940String key = collection.GetKey(i); 947String eventSource = collection[postEventSourceID]; 971private void RaisePagePostBackEvent(String eventSource, String eventArgument) 978protected override void RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 1077foreach (String s in arr) 1118private static readonly String _controlsRequiringPostBackKey = ".PBC"; 1125String clientViewStateString = _requestValueCollection[ViewStateID]; 1152_activeFormID = (String) pair.First; 1196MobileControl ctl = FindControl((String)entry.Key) as MobileControl; 1271if (String.Compare(Request.HttpMethod, "GET", StringComparison.OrdinalIgnoreCase) == 0) 1282String activeFormID = ActiveForm == Forms[0] ? null : ActiveForm.UniqueID; 1495private String CreateQueryStringTextFromCollection( 1498const String systemPostFieldPrefix = "__"; 1503return String.Empty; 1508String name = collection.GetKey(i); 1527String controlId = name; 1551String sourceKey, 1554String [] values = sourceCollection.GetValues(sourceKey); 1555foreach (String value in values)
UI\MobileControls\MobileSysDescriptionAttribute.cs (2)
26internal MobileSysDescriptionAttribute(String description) : base(description) 33public override String Description
UI\MobileControls\ObjectList.cs (42)
71public static String SelectMoreCommand 110public virtual String DataMember 114String s = (String)ViewState["DataMember"]; 115return s == null ? String.Empty : s; 203public String LabelField 207String s = (String)ViewState["LabelField"]; 208return (s != null) ? s : String.Empty; 225public String DefaultCommand 229String s = (String)ViewState["DefaultCommand"]; 230return (s != null) ? s : String.Empty; 247public String TableFields 251String s = (String)ViewState["TableFields"]; 252return (s != null) ? s : String.Empty; 483String labelField = LabelField; 493String tableFields = TableFields; 501String fieldName = (nextSemicolon == -1) ? 516private int GetFieldIndex(String field) 857String title; 888(type == typeof(String)) || 893private ObjectListField CreateAutoGeneratedField(String title, String dataField) 1124protected void RaisePostBackEvent(String eventArgument) 1392public String DetailsCommandText 1396String detailsCommandText = (String)ViewState["DetailsCommandText"]; 1397return detailsCommandText != null ? detailsCommandText : String.Empty; 1413public String BackCommandText 1417String backCommandText = (String) ViewState["BackCommandText"]; 1418return backCommandText != null ? backCommandText : String.Empty; 1434public String MoreText 1438String moreText = (String)ViewState["MoreText"]; 1439return moreText != null ? moreText : String.Empty; 1553void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) { 1573public override Type GetChildControlType(String tagName, IDictionary attributes) 1575if (String.Compare(tagName, "Field", StringComparison.OrdinalIgnoreCase) == 0) 1579else if (String.Compare(tagName, "Command", StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ObjectListCommand.cs (8)
34private String _name; 35private String _text; 44public ObjectListCommand(String name, String text) 54public String Name 58return (_name == null) ? String.Empty : _name; 75public String Text 79return (_text == null) ? String.Empty : _text;
UI\MobileControls\ObjectListCommandCollection.cs (7)
66private String[] _savedState; 114public void Remove(String s) 128public int IndexOf(String s) 133if (String.Compare(command.Name, s, StringComparison.OrdinalIgnoreCase) == 0) 168_savedState = new String[commands.Count * 2]; 203String[] commandStates = (String[])state;
UI\MobileControls\ObjectListCommandEventArgs.cs (2)
29protected static readonly String DefaultCommand = "Default"; 41public ObjectListCommandEventArgs(ObjectListItem item, String commandName) : base(commandName, item)
UI\MobileControls\ObjectListField.cs (24)
44public String Name 48String s = (String)ViewState["Name"]; 49return (s == null) ? String.Empty : s; 61public String DataField 65String s = (String)ViewState["DataField"]; 66return (s == null) ? String.Empty : s; 79public String DataFormatString 83String s = (String)ViewState["DataFormatString"]; 84return (s == null) ? String.Empty : s; 97public String Title 101String s = (String)ViewState["Title"]; 102return (s == null) ? String.Empty : s; 139internal String UniqueID 146return (String)o; 148return (String)ViewState["DataField"]; 184String dataField = DataField; 214String dataText; 217String dataFormatString = DataFormatString; 220dataText = String.Format(CultureInfo.InvariantCulture, dataFormatString, data); 229dataText = String.Empty;
UI\MobileControls\ObjectListFieldCollection.cs (3)
177public int IndexOf(String fieldIDOrName) 183String id = field.UniqueID; 184if (id != null && String.Compare(id, fieldIDOrName, StringComparison.OrdinalIgnoreCase) == 0)
UI\MobileControls\ObjectListItem.cs (10)
32private String[] _fields; 43_fields = new String[owner.AllFields.Count]; 46private int FieldIndexFromKey(String key) 58public String this[String key] 72public String this[int index] 76String s = _fields[index]; 77return (s != null) ? s : String.Empty; 179_fields = new String[fieldCount - 1]; 182_fields[i - 1] = (String)itemState[i];
UI\MobileControls\ObjectListTitleAttribute.cs (3)
28private readonly String _title; 31public ObjectListTitleAttribute(String title) 37public virtual String Title
UI\MobileControls\PagedControl.cs (1)
32private const String _itemCountViewStateKey = "_!PagedControlItemCount";
UI\MobileControls\PagerStyle.cs (27)
35NextPageTextKey = RegisterStyle("NextPageText", typeof(String), String.Empty, false), 36PreviousPageTextKey = RegisterStyle("PreviousPageText", typeof(String), String.Empty, false), 37PageLabelKey = RegisterStyle("PageLabel", typeof(String), String.Empty, false); 47public String NextPageText 51return (String)this[NextPageTextKey]; 67public String PreviousPageText 71return (String)this[PreviousPageTextKey]; 87public String PageLabel 91return (String)this[PageLabelKey]; 100public String GetNextPageText(int currentPageIndex) 102String s = (String)this[NextPageTextKey, true]; 103if (!String.IsNullOrEmpty(s)) 105return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex + 1); 114public String GetPreviousPageText(int currentPageIndex) 116String s = (String)this[PreviousPageTextKey, true]; 117if (!String.IsNullOrEmpty(s)) 119return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex - 1); 128public String GetPageLabelText(int currentPageIndex, int pageCount) 130String s = (String)this[PageLabelKey, true]; 133s = String.Empty; 137s = String.Format(CultureInfo.CurrentCulture, s, currentPageIndex, pageCount);
UI\MobileControls\PersistNameAttribute.cs (6)
24public static readonly PersistNameAttribute Default = new PersistNameAttribute(String.Empty); 26private String _name = String.Empty; 29public String Name 38public PersistNameAttribute(String name) 53return(String.Compare(((PersistNameAttribute)obj).Name, _name, StringComparison.OrdinalIgnoreCase) == 0);
UI\MobileControls\PhoneCall.cs (22)
50public String PhoneNumber 54String s = (String) ViewState["PhoneNumber"]; 55return((s != null) ? s : String.Empty); 59const String PhoneNumberFormat = "[\\+#]?[ \\d\\(\\)\\.-]*\\d[ \\d\\(\\)\\.-]*"; 63if (!String.IsNullOrEmpty(value)) { 88public String AlternateFormat 92String s = (String) ViewState["AlternateFormat"]; 109public String AlternateUrl 113String s = (String) ViewState["AlternateUrl"]; 114return((s != null) ? s : String.Empty); 129public String SoftkeyLabel 133String s = (String) ViewState["Softkeylabel"]; 134return((s != null) ? s : String.Empty); 143protected void RaisePostBackEvent(String argument) 164String target = AlternateUrl; 165String prefix = Constants.FormIDPrefix; 168String targetID = target.Substring(prefix.Length); 178void IPostBackEventHandler.RaisePostBackEvent(String eventArgument) {
UI\MobileControls\RangeValidator.cs (6)
64public String MaximumValue 83public String MinimumValue 128String maximumValue = MaximumValue; 140String minumumValue = MinimumValue; 182String leftText, String rightText,
UI\MobileControls\RegularExpressionValidator.cs (1)
63public String ValidationExpression
UI\MobileControls\RequiredFieldValidator.cs (1)
61public String InitialValue
UI\MobileControls\SelectionList.cs (6)
125public virtual String DataMember 145public String DataTextField 164public String DataValueField 410protected bool LoadPostData(String postDataKey, NameValueCollection postCollection) 461public String Title 545bool IPostBackDataHandler.LoadPostData(String key, NameValueCollection data) {
UI\MobileControls\SessionViewState.cs (7)
48private static readonly String ViewStateKey = "ViewState"; 138public String Url; 139public String Id; 149String s = (String)info.GetString("s"); 171info.AddValue("s", String.Empty); 273arr.Add(String.Format(CultureInfo.InvariantCulture, "{0}({1})", item.Url, item.Id));
UI\MobileControls\Style.cs (22)
49FontNameKey = RegisterStyle("FontName" , typeof(String) , String.Empty , true), 71foreach(String key in State.Keys) 82control.Font.Name = (String)this[FontNameKey, true]; 105style.Font.Name = (String)this[FontNameKey, true]; 227public String Name 231String name = (String)State["Name"]; 232return name != null ? name : String.Empty; 249public virtual String StyleReference 253return (String)State["StyleReference"]; 276String reference = StyleReference; 278if (String.IsNullOrEmpty(reference)) 285String.Equals(reference, _referredStyle.Name, StringComparison.OrdinalIgnoreCase), 336String exceptionResource; 514internal String FontName 518return (String)this[FontNameKey]; 730public ITemplate GetTemplate(String templateName) 735internal ITemplate GetTemplateInternal(String templateName, Hashtable stylesEncountered) 795public static Object RegisterStyle(String name, Type type, Object defaultValue, bool inherit) 802public String Name; 807public Property(String name, Type type, Object defaultValue, bool inherit)
UI\MobileControls\StyleSheet.cs (23)
50private String _resolvedPath; 92String name = style.Name; 93if (String.IsNullOrEmpty(name)) { 99String lowerName = name.ToLower(CultureInfo.InvariantCulture); 118public Style this[String name] 131if (String.IsNullOrEmpty(name)) { 135if (!String.Equals(name, value.Name, StringComparison.OrdinalIgnoreCase)) { 168String lowerName = name.ToLower(CultureInfo.InvariantCulture); 198public void Remove(String name) 215public String ReferencePath 219String s = (String)ViewState["ReferencePath"]; 220return s != null ? s : String.Empty; 248String resolvedPath = UrlPath.Combine(parent.TemplateSourceDirectory, 253String.Compare(ss.ResolvedPath, resolvedPath, StringComparison.OrdinalIgnoreCase) == 0) 297foreach (String key in _styles.Keys) 320private String ResolvedPath 506public override String StyleReference 512return String.Empty; 692public Style this[String name] 710public bool Remove(String name) 746public override Type GetChildControlType(String name, IDictionary attributes) 748String lowerCaseName = name.ToLower(CultureInfo.InvariantCulture);
UI\MobileControls\TextBox.cs (4)
48protected bool LoadPostData(String key, NameValueCollection data) 56String value = data[key]; 199public String Title 228bool IPostBackDataHandler.LoadPostData(String key, NameValueCollection data) {
UI\MobileControls\TextControl.cs (1)
40public String Text
UI\MobileControls\TextView.cs (8)
58public String Text 331internal void AddElement(String text, String href, bool isBold, bool isUnderline, bool breakAfter) 387String text = Text; 433String text = element.Text != null ? element.Text : String.Empty; 434String href = null; 447protected override void ProcessTagInnerText(String text)
UI\MobileControls\TextViewElement.cs (6)
38private String _text; 39private String _url; 45public String Text 54public String Url 89internal TextViewElement(String text, String url, bool isBold, bool isItalic, bool breakAfter)
UI\MobileControls\ValidationSummary.cs (15)
62public String HeaderText 66String s = (String) ViewState["HeaderText"]; 67return((s != null) ? s : String.Empty); 83public String FormToValidate 87String s = (String) ViewState["FormToValidate"]; 88return((s != null) ? s : String.Empty); 103public String BackLabel 120public override String StyleReference 147String.Compare(Form.UniqueID, FormToValidate, StringComparison.OrdinalIgnoreCase) == 0) 175public String[] GetErrorMessages() 177String[] errorDescriptions = null; 197errorDescriptions = new String[count]; 203errorDescriptions[iMessage] = String.Copy(val.ErrorMessage);
System.Web.Services (225)
parent\parent\inc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
System\Web\Services\Description\ProtocolImporter.cs (1)
685value = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.String)), "Concat", parameters);
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
202public String ProtocolName {
System\Web\Services\Description\ServiceDescriptionSerializer.cs (190)
39WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 40WriteAttribute(@"targetNamespace", @"", ((global::System.String)o.@TargetNamespace)); 128WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 183WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 245WriteAttribute(@"location", @"", ((global::System.String)o.@Location)); 267WriteAttribute(@"location", @"", ((global::System.String)o.@Location)); 289WriteAttribute(@"location", @"", ((global::System.String)o.@Location)); 317WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 393WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 470WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 531WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 532WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 533if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 534WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 570WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 571WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 572if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 573WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 612WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 803WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 804WriteAttribute(@"type", @"", ((global::System.String)o.@Type)); 811if (((global::System.String)o.@RepeatsString) != @"1") { 812WriteAttribute(@"repeats", @"", ((global::System.String)o.@RepeatsString)); 814WriteAttribute(@"pattern", @"", ((global::System.String)o.@Pattern)); 845WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 867WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 868WriteAttribute(@"type", @"", ((global::System.String)o.@Type)); 893if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 894WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 896if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 897WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 899WriteAttribute(@"parts", @"", ((global::System.String)o.@PartsString)); 924if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 925WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 927if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 928WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 930WriteAttribute(@"parts", @"", ((global::System.String)o.@PartsString)); 953WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 957if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 958WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 960if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 961WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 986WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 990if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 991WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 993if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 994WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 1018WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 1022if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 1023WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 1025if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 1026WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 1051WriteAttribute(@"part", @"", ((global::System.String)o.@Part)); 1055if ((((global::System.String)o.@Encoding) != null) && (((global::System.String)o.@Encoding).Length != 0)) { 1056WriteAttribute(@"encodingStyle", @"", ((global::System.String)o.@Encoding)); 1058if ((((global::System.String)o.@Namespace) != null) && (((global::System.String)o.@Namespace).Length != 0)) { 1059WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 1088WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1212WriteAttribute(@"soapAction", @"", ((global::System.String)o.@SoapAction)); 1247WriteAttribute(@"location", @"", ((global::System.String)o.@Location)); 1269WriteAttribute(@"soapAction", @"", ((global::System.String)o.@SoapAction)); 1307WriteAttribute(@"transport", @"", ((global::System.String)o.@Transport)); 1332WriteAttribute(@"verb", @"", ((global::System.String)o.@Verb)); 1354WriteAttribute(@"transport", @"", ((global::System.String)o.@Transport)); 1385WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1440WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1441if ((((global::System.String)o.@ParameterOrderString) != null) && (((global::System.String)o.@ParameterOrderString).Length != 0)) { 1442WriteAttribute(@"parameterOrder", @"", ((global::System.String)o.@ParameterOrderString)); 1519WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1567WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1615WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1663WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1718WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1825WriteAttribute(@"targetNamespace", @"", ((global::System.String)o.@TargetNamespace)); 1826WriteAttribute(@"version", @"", ((global::System.String)o.@Version)); 1827WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 1919WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 1969WriteAttribute(@"source", @"", ((global::System.String)o.@Source)); 1970WriteAttribute(@"lang", @"http://www.w3.org/XML/1998/namespace", ((global::System.String)o.@Language)); 2017WriteAttribute(@"source", @"", ((global::System.String)o.@Source)); 2064WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2074WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2111WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2121WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 2122WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 2173WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2183WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 2184WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 2185WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 2220WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2230WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 2231WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 2238WriteAttribute(@"default", @"", ((global::System.String)o.@DefaultValue)); 2242WriteAttribute(@"fixed", @"", ((global::System.String)o.@FixedValue)); 2246if ((((global::System.String)o.@Name) != null) && (((global::System.String)o.@Name).Length != 0)) { 2247WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2312WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2322WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2352WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2362if ((((global::System.String)o.@XPath) != null) && (((global::System.String)o.@XPath).Length != 0)) { 2363WriteAttribute(@"xpath", @"", ((global::System.String)o.@XPath)); 2385WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2395WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2425WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2435WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2466WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2476WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2516WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2548WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2631WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2641WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2665WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2675WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2699WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2709WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2733WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2743WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2767WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2777WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2801WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2811WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2835WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2845WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2869WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2879WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2903WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2913WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2937WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2947WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 2971WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 2981WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 3005WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3015WriteAttribute(@"value", @"", ((global::System.String)o.@Value)); 3039WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3118WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3128WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 3215WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3225WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 3249WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3259WriteAttribute(@"default", @"", ((global::System.String)o.@DefaultValue)); 3260WriteAttribute(@"fixed", @"", ((global::System.String)o.@FixedValue)); 3264WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 3312WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3343WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3353WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 3354WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 3376WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3386WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 3387WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 3416WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3426WriteAttribute(@"minOccurs", @"", ((global::System.String)o.@MinOccursString)); 3427WriteAttribute(@"maxOccurs", @"", ((global::System.String)o.@MaxOccursString)); 3478WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3522WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3594WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3666WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3709WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3814WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3867WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3877WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 3878WriteAttribute(@"public", @"", ((global::System.String)o.@Public)); 3879WriteAttribute(@"system", @"", ((global::System.String)o.@System)); 3900WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3910WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 3953WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation)); 3954WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3984WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation)); 3985WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 3995WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 4016WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation)); 4017WriteAttribute(@"id", @"", ((global::System.String)o.@Id)); 4084WriteAttribute(@"namespace", @"", ((global::System.String)o.@Namespace)); 4085WriteAttribute(@"location", @"", ((global::System.String)o.@Location));
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\Description\WebReference.cs (1)
139public String ProtocolName
System\Web\Services\Description\WebReferenceOptions.cs (1)
218WriteNullableStringLiteral(@"type", @"http://microsoft.com/webReference/", ((System.String)a[ia]));
System\Web\Services\Description\WebServicesInteroperability.cs (2)
625return String.Empty; 780return String.Empty;
System\Web\Services\Discovery\DiscoveryDocumentSerializer.cs (6)
75WriteAttribute(@"address", @"", ((global::System.String)o.@Address)); 95WriteAttribute(@"ref", @"", ((global::System.String)o.@Ref)); 114WriteAttribute(@"ref", @"", ((global::System.String)o.@Ref)); 115WriteAttribute(@"docRef", @"", ((global::System.String)o.@DocRef)); 134WriteAttribute(@"ref", @"", ((global::System.String)o.@Ref)); 135WriteAttribute(@"targetNamespace", @"", ((global::System.String)o.@TargetNamespace));
System\Web\Services\Discovery\DynamicDiscoSearcher.cs (1)
155if ( String.Compare(file.Name, fileToSkipFirst, StringComparison.OrdinalIgnoreCase) == 0 ) { // ignore case compare
System\Web\Services\Discovery\LinkGrep.cs (5)
89if (String.Compare(tag, "link", StringComparison.OrdinalIgnoreCase) == 0) { 100if (String.Compare(attrName, "type", StringComparison.OrdinalIgnoreCase) == 0 && 104else if (String.Compare(attrName, "rel", StringComparison.OrdinalIgnoreCase) == 0 && 105String.Compare(attrValue, "alternate", StringComparison.OrdinalIgnoreCase) == 0) { 108else if (String.Compare(attrName, "href", StringComparison.OrdinalIgnoreCase) == 0) {
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
114if (String.Compare(method.name, name, StringComparison.OrdinalIgnoreCase) == 0)
System\Web\Services\Protocols\RequestResponse.cs (4)
275private static String[] _entitiesList = new String[] { 533internal /*public*/ static char Lookup(String entity) 544foreach (String s in _entitiesList)
System\Web\Services\Protocols\Scalars.cs (6)
235if (String.Compare(paramDecl, 0, paramName, 0, paramName.Length, StringComparison.OrdinalIgnoreCase) == 0) { 254return (String.Compare(type, ContentType.TextXml, StringComparison.OrdinalIgnoreCase) == 0) || 255(String.Compare(type, ContentType.ApplicationSoap, StringComparison.OrdinalIgnoreCase) == 0); 260return (String.Compare(type, ContentType.TextXml, StringComparison.OrdinalIgnoreCase) == 0) || 261(String.Compare(type, ContentType.ApplicationXml, StringComparison.OrdinalIgnoreCase) == 0); 266return String.Compare(type, ContentType.TextHtml, StringComparison.OrdinalIgnoreCase) == 0;
System.Windows.Forms (543)
misc\CompatibleIComparer.cs (1)
49String obj = o as string;
misc\DbgUtil.cs (6)
232string message = String.Empty; 259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 291string trace = String.Empty; 337string args = String.Empty; 357trace += String.Format(CultureInfo.CurrentCulture, "at {0} {1}.{2}({3})\r\n", fileName, mi.DeclaringType, mi.Name, args ); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
misc\DpiHelper.cs (1)
135var value = dpiAwarenessValue.ToLowerInvariant();
misc\GDI\UnsafeNativeMethods.cs (1)
84public static IntPtr CreateDC(String lpszDriverName, string lpszDeviceName, string lpszOutput, HandleRef /*DEVMODE*/ lpInitData)
misc\GDI\WindowsPen.cs (1)
192return String.Format( CultureInfo.InvariantCulture, "{0}: Style={1}, Color={2}, Width={3}, Brush={4}",
misc\GDI\WindowsSolidBrush.cs (1)
67return String.Format( CultureInfo.InvariantCulture, "{0}: Color={1}", this.GetType().Name, this.Color );
misc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
34var value = section.BitmapSuffix;
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (1)
2617public const String IsolationDllName = "clr.dll";
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (10)
29internal const String CRYPT32 = "crypt32.dll"; 30internal const String KERNEL32 = "kernel32.dll"; 38internal const String MSCORWKS = "clr.dll"; 368String.Compare(snIdValue, "StrongNameSignature", StringComparison.Ordinal) != 0) { 405else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 412else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) { 422else if (String.Compare(uriValue, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) { 444else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 621if (String.Compare(publisherName, signerCert.SubjectName.Name, StringComparison.Ordinal) != 0 || 622String.Compare(publisherIssuerKeyHash, issuerKeyHash, StringComparison.Ordinal) != 0) {
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (10)
478if (subjectNode == null || String.Compare(signingCertificate.Subject, subjectNode.InnerText, StringComparison.Ordinal) != 0) 605String.Compare(snIdValue, signatureKind, StringComparison.Ordinal) != 0) 650else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 659else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) 671else if (String.Compare(uriValue, "#StrongNameKeyInfo", StringComparison.Ordinal) == 0) 698else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 1232if (String.Compare(publisherName, signerCert.SubjectName.Name, StringComparison.Ordinal) != 0 || 1233String.Compare(publisherIssuerKeyHash, issuerKeyHash, StringComparison.Ordinal) != 0) 1768string timestamp = String.Empty; 1842string timestamp = String.Empty;
winforms\Managed\System\Resources\ResXDataNode.cs (7)
277if(String.IsNullOrEmpty(fileRefTextEncoding)) 440if (String.Equals(mimeTypeName, ResXResourceWriter.BinSerializedObjectMimeType) 441|| String.Equals(mimeTypeName, ResXResourceWriter.Beta2CompatSerializedObjectMimeType) 442|| String.Equals(mimeTypeName, ResXResourceWriter.CompatBinSerializedObjectMimeType)) { 460else if (String.Equals(mimeTypeName, ResXResourceWriter.SoapSerializedObjectMimeType) 461|| String.Equals(mimeTypeName, ResXResourceWriter.CompatSoapSerializedObjectMimeType)) { 480else if (String.Equals(mimeTypeName, ResXResourceWriter.ByteArraySerializedObjectMimeType)) {
winforms\Managed\System\Resources\ResXFileRef.cs (1)
148return String.Empty;
winforms\Managed\System\Resources\ResXResourceSet.cs (1)
39public ResXResourceSet(String fileName) {
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
469if (!String.IsNullOrEmpty(modifiedBasePath)) {
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2749String.Empty);
winforms\Managed\System\WinForms\Application.cs (5)
374String cb = asm.CodeBase; 1258private static string GetDataPath(String basePath) { 1406if (String.Equals(process.MainModule.ModuleName, IEEXEC, StringComparison.OrdinalIgnoreCase)) 1422if (String.Equals(clrPath + "\\" + IEEXEC, process.MainModule.FileName, StringComparison.OrdinalIgnoreCase)) 1448String[] arguments = Environment.GetCommandLineArgs();
winforms\Managed\System\WinForms\AxHost.cs (30)
3652private String val; 3655public ClsidAttribute(String clsid) { 3660public String Value { 3741throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.AXNoSinkAdvise, eventInterface.Name), hr)); 3996MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 4000MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 4008FieldInfo IReflect.GetField(String name, BindingFlags bindingAttr) { 4016PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr) { 4020PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { 4028MemberInfo[] IReflect.GetMember(String name, BindingFlags bindingAttr) { 4036Object IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, 4037Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 5282MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 5286MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 5294FieldInfo IReflect.GetField(String name, BindingFlags bindingAttr) { 5302PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr) { 5306PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { 5314MemberInfo[] IReflect.GetMember(String name, BindingFlags bindingAttr) { 5322Object IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, 5323Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 6361MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 6365MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 6373FieldInfo IReflect.GetField(String name, BindingFlags bindingAttr) { 6381PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr) { 6389PropertyInfo IReflect.GetProperty(String name, BindingFlags bindingAttr, Binder binder,Type returnType, Type[] types, ParameterModifier[] modifiers) { 6423MemberInfo[] IReflect.GetMember(String name, BindingFlags bindingAttr) { 6451Object IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, 6452Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 6637if (String.Compare(sie.Name, "Data", true, CultureInfo.InvariantCulture) == 0) { 6649else if (String.Compare(sie.Name, "PropertyBagBinary", true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\Binding.cs (11)
54private string formatString = String.Empty; 72public Binding(string propertyName, Object dataSource, string dataMember) : this(propertyName, dataSource, dataMember, false, 0, null, String.Empty, null) { 76public Binding(string propertyName, Object dataSource, string dataMember, bool formattingEnabled) : this(propertyName, dataSource, dataMember, formattingEnabled, 0, null, String.Empty, null) { 80public Binding(string propertyName, Object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode dataSourceUpdateMode) : this(propertyName, dataSource, dataMember, formattingEnabled, dataSourceUpdateMode, null, String.Empty, null) { 84public Binding(string propertyName, Object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode dataSourceUpdateMode, object nullValue) : this(propertyName, dataSource, dataMember, formattingEnabled, dataSourceUpdateMode, nullValue, String.Empty, null) { 374value = String.Empty; 536if(tempPropInfo==null && String.Equals (propInfos[i].Name, propertyName, StringComparison.OrdinalIgnoreCase)) { 541if(tempPropIsNullInfo == null && String.Equals (propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) { 567if(tempValidateInfo==null && String.Equals (eventInfos[i].Name, validateName, StringComparison.OrdinalIgnoreCase)) { 623string errorText = String.Empty; 637if (!String.IsNullOrEmpty(errorText)) {
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (2)
263internal abstract String GetListName(); 314protected internal abstract String GetListName(ArrayList listAccessors);
winforms\Managed\System\WinForms\BindingMemberInfo.cs (1)
76return (String.Equals(this.BindingMember, otherMember.BindingMember, StringComparison.OrdinalIgnoreCase));
winforms\Managed\System\WinForms\BindingNavigator.cs (3)
39private String countItemFormat = SR.GetString(SR.BindingNavigatorCountItemFormat); 468public String CountItemFormat { 554countItem.Text = DesignMode ? CountItemFormat : String.Format(CultureInfo.CurrentCulture, CountItemFormat, count);
winforms\Managed\System\WinForms\BindingSource.cs (17)
62private string dataMember = String.Empty; 109public BindingSource() : this(null, String.Empty) { 188if (String.IsNullOrEmpty(dataMember)) { 214if (String.Equals(key, dataMember, StringComparison.OrdinalIgnoreCase)) { 248value = String.Empty; 311return String.Empty; 320if (String.Equals(value, this.InnerListFilter, StringComparison.Ordinal)) { 356if (String.Compare(value, this.InnerListSort, false, CultureInfo.InvariantCulture) == 0) { 645return String.Empty; 653((i < sortsColln.Count - 1) ? "," : String.Empty)); 797public int Find(String propertyName, object key) { 868if (String.IsNullOrEmpty(this.dataMember)) { 1052if (!String.IsNullOrEmpty(this.dataMember)) { 1118if (String.IsNullOrEmpty(sortString)) { 1132if (length >= 5 && String.Compare(current, length - 4, " ASC", 0, 4, true, CultureInfo.InvariantCulture) == 0) { 1135else if (length >= 6 && String.Compare(current, length - 5, " DESC", 0, 5, true, CultureInfo.InvariantCulture) == 0) { 1748if (ds is ITypedList && !String.IsNullOrEmpty(this.dataMember)) {
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 (2)
454return String.Empty; 563if (String.IsNullOrEmpty(text)) {
winforms\Managed\System\WinForms\ColumnHeaderConverter.cs (1)
68if (id == null && !String.IsNullOrEmpty(col.ImageKey)) {
winforms\Managed\System\WinForms\ComboBox.cs (10)
1276if (!String.IsNullOrEmpty(candidate)) { 1277if (String.Compare(candidate, base.Text, true, CultureInfo.CurrentCulture) == 0) { 1289if (DropDownStyle == ComboBoxStyle.DropDownList && !IsHandleCreated && !String.IsNullOrEmpty(value) && FindStringExact(value) == -1) 1304(selectedItem == null || (String.Compare(value, GetItemText(selectedItem), false, CultureInfo.CurrentCulture) != 0))) { 2399if (!String.IsNullOrEmpty(oldText) && String.IsNullOrEmpty(WindowText)) { 2927Debug.Assert(DisplayMember.Equals(String.Empty), "if this list is sorted it means that dataSource was null when Sorted first became true. at that point DisplayMember had to be String.Empty"); 4017String itemName1 = comboBox.GetItemText(item1); 4018String itemName2 = comboBox.GetItemText(item2); 4407if (String.Compare(this.owner.GetItemText(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
108String errString = SR.GetString(SR.ErrorPropertyPageFailed);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Enum.cs (4)
114if (String.Compare(names[i], s, true, CultureInfo.InvariantCulture) == 0 || 115String.Compare(stringValues[i], s, true, CultureInfo.InvariantCulture) == 0) { 119if (bestMatch == -1 && 0 == String.Compare(names[i], s, true, CultureInfo.InvariantCulture)) { 169if (String.Compare(stringValues[i], strVal, true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1306errorInfo = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DispInvokeFailed, "SetValue", hr));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
500Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Adding Browsable(false) to property '" + pi.Name + "' because Invoke(dispid=0x{0:X} ,DISPATCH_PROPERTYGET) returned hr=0x{1:X}. Properties that do not return S_OK are hidden by default.", pi.DispId, hr)); 541Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ITypeInfo::GetDocumentation didn't return a name for DISPID 0x{0:X} but returned SUCEEDED(hr), Component=" + cnd.GetClassName(typeInfo), dispid)); 648Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring function item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", i, hr)); 766Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetVarDesc returned hr=0x{1:X} or NULL", hr)); 789Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetDocumentation returned hr=0x{1:X} or NULL", hr)); 905Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring variable item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", hr));
winforms\Managed\System\WinForms\Control.cs (14)
3398if (String.IsNullOrEmpty(name)) { 3411if (String.IsNullOrEmpty(value)) { 11142Text = String.Empty; 14898if (String.IsNullOrEmpty(key)) { 14975public virtual int IndexOfKey(String key) { 14977if (String.IsNullOrEmpty(key)) { 15107if (String.IsNullOrEmpty(key)) { 16847Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "IDispatch::Invoke failed. HR: 0x" + String.Format(CultureInfo.CurrentCulture, "{0:X}", hr)); 17330String errorString = null; 18909public String Name { 19845if (!String.IsNullOrEmpty(fileName)) { 19942var help = Help; 20164ns = String.Empty; 20206ns = String.Empty;
winforms\Managed\System\WinForms\ControlBindingsCollection.cs (6)
64if (String.Equals(binding.PropertyName, propertyName, StringComparison.OrdinalIgnoreCase)) 92return Add(propertyName, dataSource, dataMember, false, this.DefaultDataSourceUpdateMode, null, String.Empty, null); 97return Add(propertyName, dataSource, dataMember, formattingEnabled, this.DefaultDataSourceUpdateMode, null, String.Empty, null); 102return Add(propertyName, dataSource, dataMember, formattingEnabled, updateMode, null, String.Empty, null); 107return Add(propertyName, dataSource, dataMember, formattingEnabled, updateMode, nullValue, String.Empty, null); 152(String.Compare(binding.PropertyName, this[i].PropertyName, false, CultureInfo.InvariantCulture) == 0)) {
winforms\Managed\System\WinForms\Cursor.cs (2)
60if (String.Equals(sie.Name, "CursorData", StringComparison.OrdinalIgnoreCase) ){ 66else if (String.Compare(sie.Name, "CursorResourceId", true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\DataFormats.cs (1)
215if (String.Equals(formatList[n].Name, format, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGrid.cs (7)
926String errorMessage = null; 3673String errorMessage = null; 3757Set_ListManager(null, String.Empty, true); 4451Set_ListManager(null, String.Empty, true); 5704if (String.IsNullOrEmpty(this.DataMember)) 6969public void NavigateTo(int rowNumber, String relationName) { 8723if (!gridTable.IsDefault && String.Compare(lm.GetListName(), gridTable.MappingName, true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (4)
207if (String.Equals(column.MappingName, columnName, StringComparison.OrdinalIgnoreCase)) 219if (String.Equals(column.MappingName, mappingName, StringComparison.OrdinalIgnoreCase)) 257if (String.IsNullOrEmpty(column.MappingName)) 389if (String.Compare(column.MappingName, name, true, CultureInfo.InvariantCulture) == 0)
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
562string errString = String.Empty; 568if (!String.IsNullOrEmpty(errString)) {
winforms\Managed\System\WinForms\DataGridRow.cs (5)
36private string tooltip = String.Empty; 626errString = String.Empty; 629if (!String.IsNullOrEmpty(tooltip)) { 631tooltip = String.Empty; 636if (String.IsNullOrEmpty(errString))
winforms\Managed\System\WinForms\DataGridTableCollection.cs (3)
170if (String.Equals(table.MappingName, tableName, StringComparison.OrdinalIgnoreCase)) 178if (String.IsNullOrEmpty(table.MappingName)) 272if (String.Compare(table.MappingName, name, true, CultureInfo.InvariantCulture) == 0)
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
57public void AddToolTip(String toolTipString, IntPtr toolTipId, Rectangle iconBounds)
winforms\Managed\System\WinForms\DataGridView.cs (11)
406private string toolTipCaption = String.Empty; 2368return String.Empty; 4791this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4798this.toolTipCaption = String.Empty; 4805this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4845this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption) /*activate*/); 4852this.toolTipCaption = String.Empty; 4858bool activate = !String.IsNullOrEmpty(this.toolTipCaption); 4940this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption)); 4947this.toolTipCaption = String.Empty; 4954this.toolTipControl.Activate(!String.IsNullOrEmpty(this.toolTipCaption));
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
41if (!String.IsNullOrEmpty(name))
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
40private static Type defaultFormattedValueType = typeof(System.String); 279String.IsNullOrEmpty(GetErrorText(rowIndex))) 918if (!String.IsNullOrEmpty(errorText)) 955string text = (formattedString != null) ? formattedString : String.Empty; 986string text = (formattedString != null) ? formattedString : String.Empty;
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
240!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (12)
887if (!String.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropCellToolTipText)) 1582if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 1614bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 1616String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 1617String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase)) 3115if (String.IsNullOrEmpty(toolTipText)) 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"); 4781return String.Empty; 4835return String.Empty; 4961if (formattedValue == null || (formattedValueAsString != null && String.IsNullOrEmpty(formattedValueAsString))) 4983return String.Empty;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (6)
598String.IsNullOrEmpty(GetErrorText(rowIndex))) 1478String.Empty, 1526String.Empty, 1570String.Empty, 1610if (!String.IsNullOrEmpty(errorText)) 1871return String.Empty;
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
345!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewColumn.cs (8)
48private string dataPropertyName = String.Empty; 74this.name = String.Empty; 273value = String.Empty; 321!String.IsNullOrEmpty(defaultCellStyle.Format) || 585this.HeaderCell.ValueType.IsAssignableFrom(typeof(System.String))) 856if (this.Site != null && !String.IsNullOrEmpty(this.Site.Name)) 866if (String.IsNullOrEmpty(value)) 1018if (String.Compare(this.ToolTipText, value, false /*ignore case*/, CultureInfo.InvariantCulture) != 0)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (3)
227if (String.Equals(dataGridViewColumn.Name, columnName, StringComparison.OrdinalIgnoreCase)) 478if (0 == String.Compare(dataGridViewColumn.Name, columnName, true, CultureInfo.InvariantCulture)) 1144if (0 == String.Compare(dataGridViewColumn.Name, columnName, true, CultureInfo.InvariantCulture))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (8)
162if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 191bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 193String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 194String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase)) 925!String.IsNullOrEmpty(formattedValueStr)) 1298return String.Empty; 1303return String.Empty; 1319return String.Empty;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (18)
58private static Type defaultFormattedValueType = typeof(System.String); 255return String.Empty; 656return String.Empty; 1072String.IsNullOrEmpty(GetErrorText(rowIndex))) 1172String strValue = value as String; 1183else if (strValue != null && String.IsNullOrEmpty(strValue) && this.DisplayType == typeof(String)) 1185displayValue = String.Empty; 1211(!(value is String) || !String.IsNullOrEmpty(strValue))) 1231value = String.Empty; 1596if (String.IsNullOrEmpty(displayMember)) 1624if (String.IsNullOrEmpty(valueMember)) 2643if (!String.IsNullOrEmpty(errorText)) 2690throw new FormatException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Formatter_CantConvert), value, this.DisplayType)); 3152String itemName1 = this.dataGridViewComboBoxCell.GetItemDisplayText(item1); 3153String itemName2 = this.dataGridViewComboBoxCell.GetItemDisplayText(item2);
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
76if (String.Compare(valueStr, this.Text, true, CultureInfo.CurrentCulture) != 0)
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (9)
25string dataMember = String.Empty; 348if (String.Equals(column.DataPropertyName, sortField.Name, StringComparison.OrdinalIgnoreCase)) 388if (String.Compare(this.props[i].Name, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 419if (String.Compare(this.props[boundColumnIndex].Name, sortProperty.Name, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 724if (String.Compare(dataGridViewColumn.DataPropertyName, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 1044dataGridViewColumn.HeaderText = !String.IsNullOrEmpty(this.props[i].DisplayName) ? this.props[i].DisplayName : this.props[i].Name; 1133dataMember = String.Empty; 1238return String.Empty; 1272return String.Empty;
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
26private static Type defaultFormattedValueType = typeof(System.String); 505if (String.Equals(themeFilename, AEROTHEMEFILENAME, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
373String.IsNullOrEmpty(GetErrorText(rowIndex))) 962if (!String.IsNullOrEmpty(errorText)) 1000return String.Empty;
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
337!String.IsNullOrEmpty(defaultCellStyle.Format) ||
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
27private static Type defaultFormattedValueType = typeof(System.String); 617String.IsNullOrEmpty(GetErrorText(rowIndex))) 1152if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
1523!String.IsNullOrEmpty(dataGridViewCols[i].DataPropertyName) && 1586String.Compare(finalClonedColumns[clonedColIndex].DataPropertyName, 2716if (String.IsNullOrEmpty(this.editingControl.AccessibleName)) 3328return String.IsNullOrEmpty(this.toolTipCaption) && this.ShowCellToolTips; 7483if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 7755if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 8198if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 11672this.DataMember = String.Empty; 14541String.Compare((string)dataGridViewColumn.HeaderCell.Value, dataGridViewColumn.Name, false, CultureInfo.InvariantCulture) == 0) 17594String.Compare(dataGridViewColumn.DataPropertyName, 19510String.Compare(dataGridViewColumn.DataPropertyName, 29935if (!String.IsNullOrEmpty(toolTip))
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (11)
235if (String.Equals(format, DataFormats.Html, StringComparison.OrdinalIgnoreCase)) 266bool csv = String.Equals(format, DataFormats.CommaSeparatedValue, StringComparison.OrdinalIgnoreCase); 268String.Equals(format, DataFormats.Text, StringComparison.OrdinalIgnoreCase) || 269String.Equals(format, DataFormats.UnicodeText, StringComparison.OrdinalIgnoreCase)) 374String.IsNullOrEmpty(GetErrorText(rowIndex))) 894if (!String.IsNullOrEmpty(formattedString)) 1035if (!String.IsNullOrEmpty(errorText)) 1117if (!String.IsNullOrEmpty(errorText)) 1236return String.Empty; 1252return String.Empty; 1324return String.Empty;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (3)
41private static Type defaultFormattedValueType = typeof(System.String); 375String.IsNullOrEmpty(GetErrorText(rowIndex))) 786if (!String.IsNullOrEmpty(errorText))
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (9)
341!String.IsNullOrEmpty(formattedValueStr) && 376else if (computeErrorIconBounds && !String.IsNullOrEmpty(errorText)) 496return String.Empty; 508if (value != null && !(value is String)) 513return String.Empty; 516if (String.IsNullOrEmpty(strValue)) 531return String.Empty; 536return String.Empty; 573return String.Empty;
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 (3)
381return String.Empty; 443if (String.IsNullOrEmpty(textData)) { 542return new String[] {format};
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
257string caption = String.Empty;
winforms\Managed\System\WinForms\DomainUpDown.cs (2)
71Text = String.Empty; 717return String.Compare(p.ToString(), q.ToString(), false, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ErrorProvider.cs (5)
352if (parentControl != null && value != null && !String.IsNullOrEmpty(this.dataMember)) { 443SetError(binding.Control, (e.ErrorText == null ? String.Empty : e.ErrorText)); 533if (String.IsNullOrEmpty(outputError)) { 947cparams.Caption = String.Empty; 1343this.error = String.Empty;
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (2)
42return String.Empty; 61this._path = String.Empty;
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (4)
141selectedPath = (value == null) ? String.Empty : value; 199descriptionText = (value == null) ? String.Empty : value; 222descriptionText = String.Empty; 223selectedPath = String.Empty;
winforms\Managed\System\WinForms\Formatter.cs (5)
18static private Type stringType = typeof(String); 110return String.Empty; 127if (value is IFormattable && !String.IsNullOrEmpty(formatString)) { 375return String.Compare(valueStr, formattedNullValueStr, true, GetFormatterCulture(formatInfo)) == 0; 388return String.Format(CultureInfo.CurrentCulture, SR.GetString(stringResId), value, targetType.Name);
winforms\Managed\System\WinForms\Help.cs (1)
440if ((String.IsNullOrEmpty(param)) &&
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
843string strColor = oColor as String;
winforms\Managed\System\WinForms\ImageIndexConverter.cs (3)
57String stringValue = value as String; 58if (stringValue != null && String.Compare(stringValue, SR.GetString(SR.toStringNone), true, culture) == 0) {
winforms\Managed\System\WinForms\ImageList.cs (4)
113private string key = String.Empty; 127key = (value == null ? String.Empty : value); 135key = String.Empty; 1482public int IndexOfKey(String key) {
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
53if (String.Equals(sie.Name, "Data", StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\KeysConverter.cs (1)
142return String.Compare(ConvertToString(a), ConvertToString(b), false, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\LinkLabel.cs (5)
598if (String.IsNullOrEmpty(text)) { 737if (String.IsNullOrEmpty(Text)) { 753if (String.IsNullOrEmpty(text)) { 2250public virtual int IndexOfKey(String 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\ListBox.cs (4)
1108if (String.Compare(value, GetItemText(Items[index]), true, CultureInfo.CurrentCulture) == 0) { 2837String itemName1 = listControl.GetItemText(item1); 2838String itemName2 = listControl.GetItemText(item2); 3377if (String.Compare(this.owner.GetItemText(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
winforms\Managed\System\WinForms\ListControl.cs (10)
54private string formatString = String.Empty; 246value = String.Empty; 318if (String.Compare(props[i].Name, bindingMemberInfo.BindingField, true, CultureInfo.CurrentCulture) == 0) { 539found = String.Compare(str, GetItemText(items[index]), ignorecase, CultureInfo.CurrentCulture) == 0; 542found = String.Compare(str, 0, GetItemText(items[index]), 0, length, ignorecase, CultureInfo.CurrentCulture) == 0; 563return String.Empty; 577ListControlConvertEventArgs e = new ListControlConvertEventArgs(filteredItem, typeof(String), item); 581if (e.Value != item && e.Value is String) { 588stringTypeConverter = TypeDescriptor.GetConverter(typeof(String)); 592return (string) Formatter.FormatObject(filteredItem, typeof(String), this.DisplayMemberConverter, stringTypeConverter, formatString, formatInfo, null, System.DBNull.Value);
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 (17)
73private string toolTipCaption = String.Empty; 2878if (!String.IsNullOrEmpty(fileName)) { 2980if (!String.IsNullOrEmpty(this.backgroundImageFileName) || this.bkImgFileNames != null) { 2991if (!String.IsNullOrEmpty(this.backgroundImageFileName)) { 3002this.backgroundImageFileName = String.Empty; 3150return FindItem(false, String.Empty, false, new Point(x, y), searchDirection, -1, false); 3202if (String.Equals(text,lvsi.Text, StringComparison.OrdinalIgnoreCase)) { 3463String header = group.Header; 4823this.backgroundImageFileName = String.Empty; 4828if (String.IsNullOrEmpty(fileNameToDelete)) { 6181string text = String.Empty; 6400return (String.Compare(currentItem.Text,nextItem.Text, false, CultureInfo.CurrentCulture)); 6403return (String.Compare(nextItem.Text,currentItem.Text, false, CultureInfo.CurrentCulture)); 6848public virtual int IndexOfKey(String key) { 7640public virtual int IndexOfKey(String key) { 7807public virtual int IndexOfKey(String key) { 8671public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\ListViewGroup.cs (3)
288if (!String.IsNullOrEmpty(this.Name)) { 402if (String.Compare(key, this[i].Name, false /*case insensitive*/, System.Globalization.CultureInfo.CurrentCulture) == 0) { 417if (String.Compare(key, this[i].Name, false /*case insensitive*/, System.Globalization.CultureInfo.CurrentCulture) ==0) {
winforms\Managed\System\WinForms\ListViewItem.cs (7)
74private String toolTipText = String.Empty; 916value = String.Empty; 1001if (!String.IsNullOrEmpty(this.ImageIndexer.Key)) { 1104if (String.IsNullOrEmpty(this.groupName)) { 1324if (!String.IsNullOrEmpty(ImageIndexer.Key)) { 2039public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
103text = (text == null) ? String.Empty : text; 105windowListItem.Text = String.Format(CultureInfo.CurrentCulture, "&{0} {1}", accel, text);
winforms\Managed\System\WinForms\Menu.cs (1)
1030public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\MenuItem.cs (3)
1192windowItem.Text = String.Format(CultureInfo.CurrentUICulture, "&{0} {1}", accel, forms[i].Text); 1410String menuItemText = String.Empty;
winforms\Managed\System\WinForms\MessageBox.cs (2)
335return ShowCore(null, text, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 397return ShowCore(owner, text, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
2667var help = base.Help; 2724var value = string.Empty;
winforms\Managed\System\WinForms\NativeMethods.cs (5)
6052public static int GetPInvokeStringLength(String s) { 6073private static int GetEmbeddedNullStringLengthAnsi(String s) { 6076String left = s.Substring(0, n); 6077String right = s.Substring(n+1); 6087private static extern int lstrlen(String s);
winforms\Managed\System\WinForms\NativeWindow.cs (1)
1559String appDomain = Convert.ToString(AppDomain.CurrentDomain.GetHashCode(), 16);
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
472this.Text = String.Empty;
winforms\Managed\System\WinForms\PictureBox.cs (2)
623public void Load(String url) 846public void LoadAsync(String url)
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
16private string lastKnownColorScheme = String.Empty;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
1896if (String.Compare(tab.TabName, viewTabs[i].TabName, false, CultureInfo.InvariantCulture) < 0) { 3607String errString = SR.GetString(SR.ErrorPropertyPageFailed);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (4)
681keyWord = String.Empty; 1774str = String.Empty; 3121return String.Compare(((PropertyDescriptor)left).DisplayName, ((PropertyDescriptor)right).DisplayName, true, CultureInfo.CurrentCulture); 3169return String.Compare(AttributeTypeSorter.GetTypeIdString(a1), AttributeTypeSorter.GetTypeIdString(a2), false, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
57if (this.IsHandleCreated || !String.IsNullOrEmpty(value)) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (3)
296int result = String.Compare(entryName, sortString, false, CultureInfo.InvariantCulture); 338int result = String.Compare(a1.Name, a2.Name, false, CultureInfo.InvariantCulture); 342result = String.Compare(a1.PropertyType.FullName, a2.PropertyType.FullName, true, System.Globalization.CultureInfo.CurrentCulture);
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 (5)
1577if (0 == String.Compare(propName, allGridEntries.GetEntry(i).PropertyLabel, true, CultureInfo.InvariantCulture)) { 1810if (text != null && text.Length > 0 && String.Compare(text.Substring(0,1), letter, true, CultureInfo.InvariantCulture) == 0) { 1988if (value == curValue || 0 == String.Compare(textValue, itemTextValue, true, CultureInfo.InvariantCulture)) { 2693equal = 0 == String.Compare((string)value, rgvalue.ToString(), true, CultureInfo.CurrentCulture); 4786if (!String.Equals(text, Edit.Text)) {
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
26protected String objValueClassName;
winforms\Managed\System\WinForms\PropertyManager.cs (4)
40if (this.dataSource != null && !String.IsNullOrEmpty(this.propName)) { 47if (this.dataSource != null && !String.IsNullOrEmpty(this.propName)) { 86internal override String GetListName() { 124protected internal override String GetListName(ArrayList listAccessors) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
1373String text = StreamOut(RichTextBoxConstants.SFF_SELECTION | RichTextBoxConstants.SF_TEXT | RichTextBoxConstants.SF_UNICODE); 3125if(!String.IsNullOrEmpty(result) && (result[result.Length-1] == '\0')) {
winforms\Managed\System\WinForms\SendKeys.cs (1)
348if (String.Equals(keywords[i].keyword, keyword, StringComparison.OrdinalIgnoreCase))
winforms\Managed\System\WinForms\StatusBar.cs (1)
1451public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\StringSorter.cs (1)
179return String.Compare(s1, s2, false, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TabControl.cs (2)
62private string controlTipText = String.Empty; 2510public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
56if (!String.IsNullOrEmpty(stringVal) && converter != null) { 437if (!String.IsNullOrEmpty(stringVal)) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1827if (String.IsNullOrEmpty(this.WindowText)) {
winforms\Managed\System\WinForms\ToolBar.cs (1)
2056public virtual int IndexOfKey(String 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 (6)
2757if (!String.IsNullOrEmpty(text)) { 3531Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Item to get mouse move: {0}", (item == null) ? "null" : item.ToString())); 3533Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "This is a new item - last item to get was {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3542Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseEnter on: {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3559Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (item == null) ? "null" : item.ToString())); 3568Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (this == null) ? "null" : this.ToString()));
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
465throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfTypes, contentPanelType.Name, panelType.Name)), value.GetType().Name);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1153String ISite.Name {
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
2392toolText = String.Join("", toolText.Split('&')); 3927Debug.WriteLineIf(ToolStrip.SelectionDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[Selection DBG] WBI.Unselect: {0}", this.ToString())); 4704layoutOptions.text = ((Owner.DisplayStyle & ToolStripItemDisplayStyle.Text) == ToolStripItemDisplayStyle.Text) ? Owner.Text : String.Empty;
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
388public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
164if (ToolStrips[i] != null && String.Equals(((ToolStrip)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal)) { 183if (ToolStrips[i] != null && String.Equals(((ToolStrip)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal)) 672if (String.IsNullOrEmpty(key)) { 700if (String.IsNullOrEmpty(key)) { 1714Debug.WriteLineIf(ToolStrip.SnapFocusDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[ProcessMenuKey] MenuStripToActivate is: {0}", menuStripToActivate));
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1215return String.Empty;
winforms\Managed\System\WinForms\ToolStripPanel.cs (10)
976Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "RC.MoveControl - Point {0} is not in current rafting container drag bounds {1}, calling MoveOutsideContainer", clientLocation, DragBounds)); 1049Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tThere is no row corresponding to this point, creating a new one.")); 1097Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tThere was a row, but we cant add the control to it, creating/inserting new row.")); 1105Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tAttempts to leave the current row failed as there's no space in the next row. Since there's only one control, just keep the row.")); 1124Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tCalling JoinRow.")); 1239Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ToolStripPanelRow has not been assigned! Should be set to {0}.", i)); 1242Debug.Fail(String.Format(CultureInfo.CurrentCulture, "Detected orphan cell! {0} is in row {1}. It shouldnt have a cell in {2}! \r\n\r\nTurn on DEBUG_PAINT in ToolStripPanel and ToolStripPanelRow to investigate.", cell.Control.Name, goodRowIndex, i)); 1258Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].ControlsInternal[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).Margin)); 1283string fail = String.Format(CultureInfo.CurrentCulture, 1290fail += String.Format(CultureInfo.CurrentCulture,
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(ToolStrip).Name)), control.GetType().Name);
winforms\Managed\System\WinForms\ToolStripSettings.cs (7)
216if (String.IsNullOrEmpty(toolStripPanelName) && toolStripPanel.Parent is ToolStripContainer && !String.IsNullOrEmpty(toolStripPanel.Parent.Name)) { 341return String.Empty; 375this.ToolStripPanelName = String.Empty; 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 (5)
537string title = !String.IsNullOrEmpty(toolTipTitle) ? toolTipTitle : " "; 934if (toolTipIcon > 0 || !String.IsNullOrEmpty(toolTipTitle)) { 936string title = !String.IsNullOrEmpty(toolTipTitle) ? toolTipTitle : " "; 1236return String.Empty; 1450if (info == null || String.IsNullOrEmpty(info.Caption)) {
winforms\Managed\System\WinForms\TreeNode.cs (1)
1534if (!String.IsNullOrEmpty(this.StateImageKey)) {
winforms\Managed\System\WinForms\TreeNodeCollection.cs (1)
427public virtual int IndexOfKey(String key) {
winforms\Managed\System\WinForms\TreeView.cs (2)
611if (String.IsNullOrEmpty(value) || value.Equals(SR.GetString(SR.toStringNone))) { 1100if (String.IsNullOrEmpty(value) || value.Equals(SR.GetString(SR.toStringNone))) {
winforms\Managed\System\WinForms\TreeViewImageIndexConverter.cs (2)
44if (String.Compare(strValue, SR.GetString(SR.toStringDefault), true, culture) == 0) { 47else if (String.Compare(strValue, SR.GetString(SR.toStringNone), true, culture) == 0) {
winforms\Managed\System\WinForms\TrustManager.cs (5)
237if (!String.Equals(element.Tag, "IApplicationTrustManager", StringComparison.Ordinal)) 458String deploymentUrl, 751private static string GetZoneNameFromDeploymentUrl(String deploymentUrl) 833String deploymentUrl, 866String deploymentUrl,
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (2)
36internal TrustManagerMoreInformation(TrustManagerPromptOptions options, String publisherName) 107private void FillContent(TrustManagerPromptOptions options, String publisherName)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
2192String[] pbstrKey, 6595public override String GetString()
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (10)
75return String.Empty; 91return String.Empty; 107return String.Empty; 123return String.Empty; 139return String.Empty; 155return String.Empty; 171return String.Empty; 189return String.Empty; 205return String.Empty; 221return String.Empty;
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (3)
494if (!String.IsNullOrEmpty(textToDraw)) { 870if (String.IsNullOrEmpty(textToDraw)) { 895if (String.IsNullOrEmpty(textToDraw)) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
747Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
357return String.Compare(string1, string2, ignoreCase, CultureInfo.InvariantCulture) == 0; 561throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeOfControl.Name)), value.GetType().Name);
System.Windows.Forms.DataVisualization (490)
Common\Annotation\AnnotationBase.cs (13)
184 private string _axisXName = String.Empty; 185 private string _axisYName = String.Empty; 207 private string _anchorDataPointName = String.Empty; 220 private string _tooltip = String.Empty; 272 private string _url = String.Empty; 273 private string _mapAreaAttributes = String.Empty; 274private string _postbackValue = String.Empty; 379if (String.IsNullOrEmpty(value)) 1378 _axisXName = String.Empty; 1422 _axisYName = String.Empty; 1522 _anchorDataPointName = String.Empty; 3353 string name = String.Empty; 3374 string name = String.Empty;
Common\Annotation\AnnotationCollection.cs (1)
272 string url = String.Empty;
Common\Annotation\ArrowAnnotation.cs (1)
339String.Empty,
Common\Annotation\CalloutAnnotation.cs (10)
786 String.Empty); 882 String.Empty, 1046String.Empty, 1069 String.Empty, 1199 String.Empty, 1230 String.Empty, 1251 String.Empty, 1287 String.Empty, 1406 String.Empty, 1453 String.Empty,
Common\Annotation\GroupAnnotation.cs (1)
965 String.Empty);
Common\Annotation\ImageAnnotation.cs (2)
73 private string _imageName = String.Empty; 631 String.Empty);
Common\Annotation\PolygonAnnotation.cs (2)
698String.Empty, 718String.Empty,
Common\Annotation\RectangleAnnotation.cs (2)
424 String.Empty, 667 String.Empty,
Common\Annotation\TextAnnotation.cs (1)
494 String.Empty);
Common\ChartTypes\BarChart.cs (16)
370 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 374else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 378else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 875if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 877if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 879if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 881else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1228if (String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0) 1339 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1343 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1347 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1901if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1903else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1905else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1907else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\BoxPlotChart.cs (25)
265 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 283 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 287else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 291else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 466 if(String.Compare( showAverageValue, "True", StringComparison.OrdinalIgnoreCase ) == 0 ) 470 else if(String.Compare( showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 522 if(String.Compare(showMedianValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 526 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 751 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase ) != 0) 778if (String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1035 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1052 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1056else if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1060else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1253 if(String.Compare(showAverageValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 1257 else if(String.Compare(showAverageValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 1302 if(String.Compare( showMedianValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1306 else if(String.Compare(showMedianValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1551 if(String.Compare( boxPlotSeries.ChartTypeName, ChartTypeNames.BoxPlot, StringComparison.OrdinalIgnoreCase) != 0) 1580 String valueName = "Y"; 1647 string boxPercentile = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotPercentile)) ? boxPoint[CustomPropertyName.BoxPlotPercentile] : String.Empty; 1652 string boxWhiskerPercentile = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotWhiskerPercentile)) ? boxPoint[CustomPropertyName.BoxPlotWhiskerPercentile] : String.Empty; 1708 string showUnusualValues = (boxPoint.IsCustomPropertySet(CustomPropertyName.BoxPlotShowUnusualValues)) ? boxPoint[CustomPropertyName.BoxPlotShowUnusualValues] : String.Empty; 1715 if(String.Compare(showUnusualValues, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1719 else if(String.Compare(showUnusualValues, "False", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\BubbleChart.cs (6)
219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 258 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 358 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 && 385 if(String.Compare(ser[CustomPropertyName.BubbleUseSizeForLabel], "true", StringComparison.OrdinalIgnoreCase) == 0) 400 if( String.Compare(ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 476 if( String.Compare( ser.ChartTypeName, ChartTypeNames.Bubble, StringComparison.OrdinalIgnoreCase) == 0 &&
Common\ChartTypes\ColumnChart.cs (7)
281 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0 ) 285 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 289 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0 678 if(String.Compare( attribValue, "False", StringComparison.OrdinalIgnoreCase)==0) 682 else if(String.Compare( attribValue, "True", StringComparison.OrdinalIgnoreCase)==0) 686 else if(String.Compare( attribValue, "Auto", StringComparison.OrdinalIgnoreCase)==0)
Common\ChartTypes\ErrorBarChart.cs (34)
312 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 363 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase) ==0 364|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 374 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 378 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 382 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 414 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) ==0) 418 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) ==0) 428 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) ==0) 506if(String.Compare( errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 510 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 516 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 656 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 660 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 665 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 740 string markerStyle = String.Empty; 819 if(markerStyle.Length > 0 && String.Compare(markerStyle, "None", StringComparison.OrdinalIgnoreCase) != 0) 839 if(String.Compare(markerStyle, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1091 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1143 if(String.Compare(linkedSeriesChartType, ChartTypeNames.Column, StringComparison.OrdinalIgnoreCase ) == 0 1144|| String.Compare(linkedSeriesChartType, ChartTypeNames.RangeColumn, StringComparison.OrdinalIgnoreCase) == 0 1154 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase ) == 0) 1158 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase ) == 0) 1162 else if(String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase ) == 0) 1258 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1262 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase) == 0) 1268 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase) == 0) 1426 if(String.Compare(errorBarStyle, "Both", StringComparison.OrdinalIgnoreCase ) == 0) 1430 else if(String.Compare(errorBarStyle, "UpperError", StringComparison.OrdinalIgnoreCase ) == 0) 1435 else if(String.Compare(errorBarStyle, "LowerError", StringComparison.OrdinalIgnoreCase ) == 0) 1515 string markerStyle = String.Empty; 1606 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 ) 1801 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 || errorBarSeries.Chart == null) 1814 String valueName = "Y";
Common\ChartTypes\FastLineChart.cs (1)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\FastPointChart.cs (1)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\FunnelChart.cs (1)
2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\KagiChart.cs (1)
108if (String.Compare(series.ChartTypeName, ChartTypeNames.Kagi, StringComparison.OrdinalIgnoreCase) != 0 || !series.IsVisible())
Common\ChartTypes\LineChart.cs (3)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 1391 if(String.Compare(pointAttr.dataPoint[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0) 1400if (String.Compare(pointAttr.dataPoint.series[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\PieChart.cs (35)
282 if( String.Compare(series.ChartTypeName, ChartTypeNames.Pie, StringComparison.OrdinalIgnoreCase ) != 0 && 283 String.Compare(series.ChartTypeName, ChartTypeNames.Doughnut, StringComparison.OrdinalIgnoreCase ) != 0 526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 831 if( String.Compare(explodedAttrib,"true", StringComparison.OrdinalIgnoreCase) == 0 ) 1107 if( String.Compare(labelStyleAttrib,"disabled",StringComparison.OrdinalIgnoreCase) == 0 ) 1109else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1119if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1121else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1133if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1135else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1146if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1148else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1528if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1530else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1540if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1542else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1554if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1556else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1566if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1568else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1606 if( String.Compare(labelStyleAttrib,"disabled", StringComparison.OrdinalIgnoreCase) == 0 ) 1608else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1618if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1620else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1632if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1634else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 1644if (String.Compare(labelStyleAttrib, "disabled", StringComparison.OrdinalIgnoreCase) == 0) 1646else if (String.Compare(labelStyleAttrib, "outside", StringComparison.OrdinalIgnoreCase) == 0) 2436 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 2572 if( String.Compare(explodedAttrib,"true",StringComparison.OrdinalIgnoreCase) == 0 ) 5612private String GetPointLabel(DataPoint point) 5614String pointLabel = String.Empty; 5623String.Equals(point.series.GetCustomProperty(CustomPropertyName.PieAutoAxisLabels), "false", StringComparison.OrdinalIgnoreCase)) 5625pointLabel = String.Empty;
Common\ChartTypes\PointAndFigureChart.cs (2)
124 if(String.Compare( series.ChartTypeName, ChartTypeNames.PointAndFigure, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible()) 718 if(attrValue != null && String.Compare( attrValue, "True", StringComparison.OrdinalIgnoreCase ) != 0 )
Common\ChartTypes\PointChart.cs (12)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 724if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 728else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 732else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 736else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 740else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 744else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 748else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 752else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 756else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 760else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1562 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\PolarChart.cs (2)
210 if(String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase ) == 0) 214 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase ) == 0)
Common\ChartTypes\RadarChart.cs (15)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 1091if (String.Compare(attrib, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 1095else if (String.Compare(attrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1099else if (String.Compare(attrib, "Bottom", StringComparison.OrdinalIgnoreCase) == 0) 1103else if (String.Compare(attrib, "TopLeft", StringComparison.OrdinalIgnoreCase) == 0) 1107else if (String.Compare(attrib, "TopRight", StringComparison.OrdinalIgnoreCase) == 0) 1111else if (String.Compare(attrib, "BottomLeft", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(attrib, "BottomRight", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(attrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1123else if (String.Compare(attrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1127else if (String.Compare(attrib, "Top", StringComparison.OrdinalIgnoreCase) == 0) 1350 if(String.Compare(attributeValue, "Area", StringComparison.OrdinalIgnoreCase) == 0 ) 1354else if (String.Compare(attributeValue, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1358 else if(String.Compare(attributeValue, "Marker", StringComparison.OrdinalIgnoreCase) == 0) 1458 if( String.Compare(emptyPointValue, "Zero", StringComparison.OrdinalIgnoreCase) == 0 )
Common\ChartTypes\RenkoChart.cs (1)
115 if( String.Compare( series.ChartTypeName, ChartTypeNames.Renko, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible())
Common\ChartTypes\StackedAreaChart.cs (15)
132if (String.Compare(ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 167 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 247 if(String.Compare(series.ChartArea, ser.ChartArea, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 248 String.Compare(series.ChartTypeName, ser.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 277if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 463 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 808 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 914 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1226 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0) 1244 if(String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1259 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0) 1262if (pointProperties != null && String.Compare(ser.Name, secondPoint.dataPoint.series.Name, StringComparison.Ordinal) == 0) 1624 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1625String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1647if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StackedBarChart.cs (19)
235 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 236String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 279if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 540 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 570 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 592 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 659 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 992 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1113if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1115else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1117else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1119else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0) 1287 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1288String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1320if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 1860if (String.Compare(valueLabelAttrib, "Left", StringComparison.OrdinalIgnoreCase) == 0) 1862else if (String.Compare(valueLabelAttrib, "Right", StringComparison.OrdinalIgnoreCase) == 0) 1864else if (String.Compare(valueLabelAttrib, "Center", StringComparison.OrdinalIgnoreCase) == 0) 1866else if (String.Compare(valueLabelAttrib, "Outside", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\StackedColumnChart.cs (12)
230 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 231String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 274if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0) 547 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 577 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 599 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 669 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 998 if( String.Compare( ser.ChartTypeName, Name, StringComparison.OrdinalIgnoreCase ) != 0 1043if (String.Compare(series.ChartTypeName, chartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1330 if(String.Compare(series.ChartArea, ser.ChartArea, StringComparison.Ordinal) == 0 && 1331String.Compare(series.ChartTypeName, ser.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 && 1363if (String.Compare(series.Name, ser.Name, StringComparison.Ordinal) == 0)
Common\ChartTypes\StockChart.cs (17)
336 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 685 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 689else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 693else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 714 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 719else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 724else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0) 966if (String.Compare(valueType, "High", StringComparison.OrdinalIgnoreCase) == 0) 970else if (String.Compare(valueType, "Low", StringComparison.OrdinalIgnoreCase) == 0) 974else if (String.Compare(valueType, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1134 if( String.Compare( ser.ChartTypeName, this.Name, StringComparison.OrdinalIgnoreCase ) != 0 1510 if(String.Compare(styleType, "Candlestick", StringComparison.OrdinalIgnoreCase) == 0) 1514else if (String.Compare(styleType, "Triangle", StringComparison.OrdinalIgnoreCase) == 0) 1518else if (String.Compare(styleType, "Line", StringComparison.OrdinalIgnoreCase) == 0) 1539 if(String.Compare(showOpenClose, "Both", StringComparison.OrdinalIgnoreCase) == 0) 1544else if (String.Compare(showOpenClose, "Open", StringComparison.OrdinalIgnoreCase) == 0) 1549else if (String.Compare(showOpenClose, "Close", StringComparison.OrdinalIgnoreCase) == 0)
Common\ChartTypes\ThreeLineBreakChart.cs (1)
117 if(String.Compare(series.ChartTypeName, ChartTypeNames.ThreeLineBreak, StringComparison.OrdinalIgnoreCase ) != 0 || !series.IsVisible())
Common\Converters\AxisConverters.cs (6)
313if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 317else if (String.Compare(crossingValue, Constants.MinValue, StringComparison.OrdinalIgnoreCase) == 0) 321else if (String.Compare(crossingValue, Constants.MaxValue, StringComparison.OrdinalIgnoreCase) == 0) 513if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 661if (String.Compare(crossingValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 665else if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\CustomAttributesConverters.cs (2)
470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item)); 625 return (String.Compare(val, defaultValue, StringComparison.Ordinal) == 0);
Common\Converters\DataManagerConverters.cs (1)
822 public static Color[] StringToColorArray(String colorNames)
Common\Converters\ElementPositionConverter.cs (1)
113if (String.Compare(posValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\Converters\LegendConverters.cs (2)
290if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0) 490if (String.Compare(stringValue, Constants.AutoValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\DataManager\DataPoint.cs (53)
174 if(String.Compare(sortBy, "X", StringComparison.Ordinal) == 0) 178else if (String.Compare(sortBy, "Y", StringComparison.Ordinal) == 0) 182else if (String.Compare(sortBy, "AXISLABEL", StringComparison.Ordinal) == 0) 1526 else if(columnDataType == typeof(String)) 1819internal string _lastLabelText = String.Empty; 1968 if(String.Compare(propertyName, "AxisLabel", StringComparison.OrdinalIgnoreCase) == 0) 1972else if (String.Compare(propertyName, "Tooltip", StringComparison.OrdinalIgnoreCase) == 0) 1977 else if(String.Compare(propertyName, "Url", StringComparison.OrdinalIgnoreCase) == 0) 1981else if (String.Compare(propertyName, "PostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1985else if (String.Compare(propertyName, "LabelUrl", StringComparison.OrdinalIgnoreCase) == 0) 1989else if (String.Compare(propertyName, "LabelPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 1993else if (String.Compare(propertyName, "LegendUrl", StringComparison.OrdinalIgnoreCase) == 0) 1997else if (String.Compare(propertyName, "LegendPostBackValue", StringComparison.OrdinalIgnoreCase) == 0) 2002else if (String.Compare(propertyName, "Label", StringComparison.OrdinalIgnoreCase) == 0) 2006else if (String.Compare(propertyName, "LegendTooltip", StringComparison.OrdinalIgnoreCase) == 0) 2010else if (String.Compare(propertyName, "LegendText", StringComparison.OrdinalIgnoreCase) == 0) 2014else if (String.Compare(propertyName, "LabelToolTip", StringComparison.OrdinalIgnoreCase) == 0) 2110 if(paramType == typeof(String)) 2217 if(paramType == typeof(String)) 2396 if(String.Compare(valueName, "X", StringComparison.Ordinal) == 0) 2577if (!String.IsNullOrEmpty(strToReplace)) 2863public DataPointCustomProperties(Series series, bool pointProperties): base( series, String.Empty) 4693 if(String.Compare(attributeName, name, StringComparison.OrdinalIgnoreCase) == 0) 4768if (String.Compare(existingAttributeNameStr, values[0], StringComparison.OrdinalIgnoreCase) == 0) 4824 return (String)GetAttributeObject(CommonCustomProperties.ToolTip); 4878 return (String)GetAttributeObject(CommonCustomProperties.Url); 4928 return (String)GetAttributeObject(CommonCustomProperties.MapAreaAttributes); 4967return (String)GetAttributeObject(CommonCustomProperties.PostBackValue); 5096 return (String)GetAttributeObject(CommonCustomProperties.LegendText); 5154 return (String)GetAttributeObject(CommonCustomProperties.LegendToolTip); 5441 return (String)GetAttributeObject(CommonCustomProperties.LabelToolTip); 5495 return (String)GetAttributeObject(CommonCustomProperties.LegendUrl); 5548 return (String)GetAttributeObject(CommonCustomProperties.LegendMapAreaAttributes); 5588return (String)GetAttributeObject(CommonCustomProperties.LegendPostBackValue); 5651 return (String)GetAttributeObject(CommonCustomProperties.LabelUrl); 5703 return (String)GetAttributeObject(CommonCustomProperties.LabelMapAreaAttributes); 5743return (String)GetAttributeObject(CommonCustomProperties.LabelPostBackValue); 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 (14)
144if (String.IsNullOrEmpty(item.ChartArea) && Chart.ChartAreas != null) 148if (String.IsNullOrEmpty(item.Legend) && Chart.Legends != null) 217private string _chartArea = String.Empty; 223private string _legend = String.Empty; 226 private string _dataSourceXMember = String.Empty; 229 private string _dataSourceYMembers = String.Empty; 888 if(this.Enabled && !String.IsNullOrEmpty(this.ChartArea)) 926 type == typeof(String) || 1617 if(String.Compare(this["UseDummyData"], "True", StringComparison.OrdinalIgnoreCase) == 0) 1807 _dataSourceXMember = String.Empty; 1850 _dataSourceYMembers = String.Empty; 2375 if(String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedArea, StringComparison.OrdinalIgnoreCase) == 0) 2379else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedBar, StringComparison.OrdinalIgnoreCase) == 0) 2383else if (String.Compare(this.ChartTypeName, ChartTypeNames.OneHundredPercentStackedColumn, StringComparison.OrdinalIgnoreCase) == 0)
Common\Formulas\FormulaHelpers.cs (9)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula)); 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\Formulas\TimeSeriesAndForecasting.cs (5)
164if (String.Equals(parameterList[0],"Exponential", StringComparison.OrdinalIgnoreCase)) 169else if (String.Equals(parameterList[0],"Linear", StringComparison.OrdinalIgnoreCase)) 174else if (String.Equals(parameterList[0],"IsLogarithmic", StringComparison.OrdinalIgnoreCase) || 175String.Equals(parameterList[0],"Logarithmic", StringComparison.OrdinalIgnoreCase)) 180else if (String.Equals(parameterList[0],"Power", StringComparison.OrdinalIgnoreCase))
Common\General\Axis.cs (4)
285 private string _toolTip = String.Empty; 290private string _url = String.Empty; 298 private string _mapAreaAttributes = String.Empty; 300private string _postbackValue = String.Empty;
Common\General\AxisLabels.cs (6)
225String.Empty 248!String.IsNullOrEmpty(((Axis)this).SubAxisName) || 830 if(!String.IsNullOrEmpty(result)) 838String labelSeriesName = ser[DataFormula.IndexedSeriesLabelsSourceAttr]; 839if (!String.IsNullOrEmpty(labelSeriesName)) 845if (!String.IsNullOrEmpty(result))
Common\General\AxisScrollZoom.cs (2)
1529if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0) 1689if (String.Compare(crossingValue, Constants.NotSetValue, StringComparison.OrdinalIgnoreCase) == 0)
Common\General\BaseClasses.cs (1)
266private string _name = String.Empty;
Common\General\BaseCollections.cs (3)
421return String.IsNullOrEmpty(name) || 448if (String.IsNullOrEmpty(item.Name)) 472if (String.IsNullOrEmpty(item.Name))
Common\General\Chart.cs (5)
1111if (String.IsNullOrEmpty(yFields)) 1114if (String.IsNullOrEmpty(seriesGroupByField)) 1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) ) 1425series.YValueMembers = String.Empty; 1426series.XValueMember = String.Empty;
Common\General\ChartArea.cs (7)
352if (String.IsNullOrEmpty(value)) 2780 if(String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Polygon", StringComparison.OrdinalIgnoreCase) == 0) 2784else if (String.Compare(series[CustomPropertyName.AreaDrawingStyle], "Circle", StringComparison.OrdinalIgnoreCase) == 0) 2816 if(String.Compare( styleName, "Auto", StringComparison.OrdinalIgnoreCase) == 0 ) 2820 else if(String.Compare( styleName,"Circular", StringComparison.OrdinalIgnoreCase) == 0) 2824 else if(String.Compare( styleName,"Radial", StringComparison.OrdinalIgnoreCase) == 0) 2828else if (String.Compare(styleName, "Horizontal", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartArea3D.cs (5)
905 if(String.Compare(attribValue, "False", StringComparison.OrdinalIgnoreCase) == 0) 909 else if(String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0) 913else if (String.Compare(attribValue, "Auto", StringComparison.OrdinalIgnoreCase) == 0) 950 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 ) 981 if(String.Compare(curSeries.ChartTypeName, smallestIntervalSeries.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0 )
Common\General\ChartAreaAxes.cs (2)
1261 string[] stringArray = new String[list.Count]; 1531 if( String.Compare( chartType, Common.DataManager.Series[seriesName].ChartTypeName, StringComparison.OrdinalIgnoreCase ) == 0 )
Common\General\ChartAreaCollection.cs (1)
71get { return this.Count > 0 ? this[0].Name : String.Empty; }
Common\General\ChartElement.cs (1)
1366if (String.Compare(attribValue, "True", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics.cs (10)
4362 String.Empty, 4379 String.Empty, 4941 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 4945else if (String.Compare(styleName, "SoftEdge", StringComparison.OrdinalIgnoreCase) == 0) 4949else if (String.Compare(styleName, "Concave", StringComparison.OrdinalIgnoreCase) == 0) 5534 if(String.Compare(styleName, "Default", StringComparison.OrdinalIgnoreCase) == 0) 5538else if (String.Compare(styleName, "Cylinder", StringComparison.OrdinalIgnoreCase) == 0) 5542else if (String.Compare(styleName, "Emboss", StringComparison.OrdinalIgnoreCase) == 0) 5546else if (String.Compare(styleName, "LightToDark", StringComparison.OrdinalIgnoreCase) == 0) 5550else if (String.Compare(styleName, "Wedge", StringComparison.OrdinalIgnoreCase) == 0)
Common\General\ChartGraphics3D.cs (3)
2704(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2718(neighborDataPoint == null || String.Compare(neighborDataPoint.dataPoint.series.Name, point.dataPoint.series.Name, StringComparison.Ordinal) == 0)) 2737if (String.Compare(neighborDataPoint.dataPoint.series.Name, point3D.dataPoint.series.Name, StringComparison.Ordinal) != 0)
Common\General\FormulaData.cs (1)
458if (!String.IsNullOrEmpty(inputPoint.AxisLabel))
Common\General\ImageMap.cs (22)
167 private string _toolTip = String.Empty; 168private string _url = String.Empty; 169private string _attributes = String.Empty; 170private string _postBackValue = String.Empty; 194: this(String.Empty, url, String.Empty, String.Empty, path, null) 205: this(String.Empty, url, String.Empty, String.Empty, rect, null) 218: this(shape, String.Empty, url, String.Empty, String.Empty, coordinates, null) 350return String.Empty; 422string checkValue = value.Trim().Replace("\r", String.Empty).Replace("\n", String.Empty); 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\Label.cs (2)
459private string _imagePostbackValue = String.Empty; 467private string _postbackValue = String.Empty;
Common\General\Legend.cs (6)
313 private string _title = String.Empty; 2638 if (String.IsNullOrEmpty(value)) 4868get { return this.Count > 0 ? this[0].Name : String.Empty; } 5192private string _postbackValue = String.Empty; 5248this.PostBackValue = String.Empty; 5266this.PostBackValue = String.Empty;
Common\General\LegendColumns.cs (3)
164private string _postbackValue = String.Empty; 871private string _postbackValue = String.Empty; 950this.PostBackValue = String.Empty;
Common\General\Selection.cs (12)
410if (this.SelectedObject == null && !String.IsNullOrEmpty(this.SeriesName)) 414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType); 938 if(!String.IsNullOrEmpty(series)) 1011 if(!String.IsNullOrEmpty(series)) 2018string alowedElements = String.Empty; 2049if (!String.IsNullOrEmpty(alowedElements) && alowedElements.IndexOf(region.Type.ToString() + ";", StringComparison.Ordinal) == -1) 2157result.Add(this.GetHitTestResult(String.Empty, 0, ChartElementType.Nothing, null, null)); 2632string dataPointSeries = String.Empty; 2694if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2714if (String.IsNullOrEmpty(dataPointSeries) || dataPointIndex == -1) 2983String areaName = series.ChartArea; 2985if (String.IsNullOrEmpty(areaName))
Common\General\StripLine.cs (1)
167private string _postbackValue = String.Empty;
Common\General\Title.cs (6)
202 private string _text = String.Empty; 241 private string _toolTip = String.Empty; 244private string _url = String.Empty; 245 private string _mapAreaAttributes = String.Empty; 246private string _postbackValue = String.Empty; 1539 String.Empty,
Common\SR.cs (8)
9181 public static string ExceptionImageLoaderUnsupportedType(String typeName) 9186 public static string ExceptionImageLoaderIncorrectImageUrl(String url) 9191 public static string ExceptionImageLoaderIncorrectImageLocation(String location) 9196 public static string ExceptionAnnotationNameIsNotUnique(String name) 9206 public static string ExceptionAnnotationNameNotFound(String name) 9211 public static string ExceptionTitleNameIsNotUnique(String name) 9216 public static string ExceptionTitleNameAddedIsNotUnique(String name) 9221 public static string ExceptionTitleNameNotFound(String name)
Common\Utilities\CustomAttributesRegistry.cs (3)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)), 1888 public string Name = String.Empty; 1903 public string Description = String.Empty;
Common\Utilities\ImageLoader.cs (1)
193else if (control.IsDesignMode() && !String.IsNullOrEmpty(control.webFormDocumentURL))
Common\Utilities\KeywordsRegistry.cs (6)
381 public string Name = String.Empty; 386 public string Keyword = String.Empty; 392 public string KeywordAliases = String.Empty; 397 public string Description = String.Empty; 402 public string AppliesToTypes = String.Empty; 407 public string AppliesToProperties = String.Empty;
Common\Utilities\ValueConverter.cs (5)
70format = format ?? String.Empty; 120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
Common\Utilities\XmlSerializer.cs (7)
756MethodInfo mi = list.GetType().GetMethod("IndexOf", new Type[] { typeof(String) }); 1110String typeStr = attr.ConverterTypeName; 1632String properyName = propertyType.ToString(); 1646if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2502String properyName = propertyType.ToString(); 2514if (hasCustomProperties && !String.IsNullOrEmpty(dataPoint.CustomProperties) && IsSerializableContent("CustomProperties", objectToSerialize)) 2964 string typeName = String.Empty;
WinForm\ChartWinControl.cs (4)
508 !String.IsNullOrEmpty(chartPicture.BackImage)) 566 !String.IsNullOrEmpty(chartPicture.BorderSkin.BackImage)) 1873 string buildNumber = String.Empty; 2914 String.Empty);
WinForm\Utilities\AccessibleObject.cs (1)
827!String.IsNullOrEmpty(point._lastLabelText) ? point._lastLabelText : point.Label,
System.Workflow.Activities (212)
Common\BasePropertyDescriptor.cs (3)
329string qualifier = String.Empty; 501string propertyName = String.Empty; 756if (String.IsNullOrEmpty(typeName))
Common\CompilerHelpers.cs (1)
140if (!String.IsNullOrEmpty(language) &&
Common\CompModHelpers.cs (9)
69string keyPath = String.Empty; 428className = activity.GetValue(WorkflowMarkupSerializer.XClassProperty) as String; 430if (!String.IsNullOrEmpty(className)) 474namespaceName = String.Empty; 475className = String.Empty; 955string interfaceName = String.Empty; 956string method = String.Empty; 964if (!String.IsNullOrEmpty(interfaceName)) 968if (String.Compare(inheritedInterface.FullName, interfaceName, StringComparison.Ordinal) == 0)
Common\TypeSystemHelpers.cs (3)
83if ((bracketContent == String.Empty) || (bracketContent.TrimStart()[0] == ',')) 416string simpleTypeName = String.Empty; 417string decoratorString = String.Empty;
ConstrainedGroup.cs (1)
111public Activity GetDynamicActivity(String childActivityName)
CorrelationValidator.cs (12)
119if (correlator == null || String.IsNullOrEmpty(correlator.Name)) 125if (String.IsNullOrEmpty(correlator.OwnerActivityName)) 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) 715if (String.Compare("e", parameterDeclaration.Name, StringComparison.Ordinal) == 0) 723if (String.Compare("e", parameterInfo.Name, StringComparison.Ordinal) == 0) 738if (String.Compare(parsedPropertyName[0], parameterDeclaration.Name, StringComparison.Ordinal) == 0) 746if (String.Compare(parsedPropertyName[0], parameterInfo.Name, StringComparison.Ordinal) == 0) 766if (String.Compare(propertyInfo.Name, parsedPropertyName[index], StringComparison.Ordinal) == 0) 784if (String.Compare(fieldInfo.Name, parsedPropertyName[index], StringComparison.Ordinal) == 0) 824if (String.IsNullOrEmpty(operation))
Delay.cs (1)
233if (!String.IsNullOrEmpty(timeSpan))
Designers\EventSinkActivityDesigner.cs (1)
72PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["EventName"], Activity, String.Empty);
Designers\InvokeMethodActivityDesigner.cs (1)
71PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["MethodName"], Activity, String.Empty);
Designers\InvokeWebServiceDesigner.cs (1)
150PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["MethodName"], Activity, String.Empty);
Designers\ServiceDesigner.cs (4)
69HelpText = String.Empty; 74HelpText = String.Empty; 79HelpText = String.Empty; 84HelpText = String.Empty;
Designers\SetStateDesigner.cs (4)
30private string previousTargetState = String.Empty; 72return String.Empty; 76return String.Empty; 147if (String.IsNullOrEmpty(targetState))
Designers\StateDesigner.cs (4)
279if (String.IsNullOrEmpty(text)) 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))
Designers\WebServiceReceiveDesigner.cs (2)
55propertyDescriptor.SetValue(Activity, String.Empty); 103string typeName = value as String;
EventHandlers.cs (1)
442public Activity GetDynamicActivity(String childActivityName)
Executors\Helpers.cs (1)
16if (correlator != null && !String.IsNullOrEmpty(correlator.OwnerActivityName))
Executors\WorkflowWebService.cs (4)
38protected Object[] Invoke(Type interfaceType, String methodName, bool isActivation, Object[] parameters) 178private static MethodMessage PrepareMessage(Type interfaceType, String operation, object[] parameters, bool responseRequired) 181String securityIdentifier = null; 204WorkflowActivityTrace.Activity.TraceEvent(TraceEventType.Warning, 0, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Workflow Web Host Encountered Workflow Instance Ownership conflict for instanceid {0}.", instance.InstanceId));
InvokeSchedule.cs (1)
133if (designerHost != null && String.Compare(designerHost.RootComponentClassName, type.FullName, StringComparison.Ordinal) == 0)
InvokeWebService.cs (4)
70static DependencyProperty SessionCookieMapProperty = DependencyProperty.RegisterAttached("SessionCookieMap", typeof(Dictionary<String, System.Net.CookieContainer>), typeof(InvokeWebServiceActivity)); 169Dictionary<String, System.Net.CookieContainer> sessionCookieContainers; 172sessionCookieContainers = (Dictionary<String, System.Net.CookieContainer>)rootActivity.GetValue(SessionCookieMapProperty); 176sessionCookieContainers = new Dictionary<String, System.Net.CookieContainer>();
LocalService\CorrelationResolver.cs (7)
317Dictionary<String, CorrelationAliasAttribute> corrAliases = null; 332String location = paramAttribute.Name; 347private CorrelationAliasAttribute GetMatchingCorrelationAlias(CorrelationParameterAttribute paramAttribute, Dictionary<String, CorrelationAliasAttribute> correlationAliases, bool defaultParameter) 365private CorrelationPropertyValue GetCorrelationProperty(ParameterInfo[] parameters, String propertyName, String location) 383private void GetMethodInfo(Type interfaceType, string methodName, out MethodInfo methodInfo, out Dictionary<String, CorrelationAliasAttribute> correlationAliases) 385correlationAliases = new Dictionary<String, CorrelationAliasAttribute>();
LocalService\CorrelationTokenTypeConvertor.cs (2)
35string correlatorName = value as String; 36if (!String.IsNullOrEmpty(correlatorName))
LocalService\ExternalDataExchangeService.cs (3)
72throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 92String.Format(Thread.CurrentThread.CurrentCulture, SR.GetString(SR.Error_UnknownConfigurationParameter), key), "parameters"); 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
LocalService\LogicalCallContext.cs (4)
20String identity; 22internal IdentityContextData(String identity) 34this.identity = (String)enumerator.Value; 46internal String Identity
LocalService\MessageEventSubscriptionService.cs (4)
25String operation; 48public MessageEventSubscription(IComparable queueName, Guid subscriptionId, Type interfaceType, String operation) 54public MessageEventSubscription(IComparable queueName, Guid instanceId, Type interfaceType, String operation, Guid subscriptionId) 76public virtual String MethodName
LocalService\MessageQueueKey.cs (2)
28String stringifiedKey; 231if (String.IsNullOrEmpty(this.activityId))
LocalService\MethodMessage.cs (3)
55object[] args, String identity) : 62object[] args, String identity, bool responseRequired) 226void PopulateIdentity(LogicalCallContext callContext, String identity)
LocalService\WorkflowMessageEventArgs.cs (6)
60public CorrelationAliasAttribute(String name, String path) 66public String Name 74public String Path 90String identity; 152public String Identity
LocalService\WorkflowMessageEventHandler.cs (3)
27public EventDeliveryFailedException(String message) 33public EventDeliveryFailedException(String message, Exception innerException) 117String securityIdentifier = null;
Role\ADRole.cs (14)
22public abstract String Name { set; get; } 24public abstract IList<String> GetIdentities(); 26public abstract bool IncludesIdentity(String identity); 38public bool IncludesIdentity(String identity) 60private String m_name; 94String path = info.GetString("m_root\\path"); 108public override String Name 179queries.Add(new DirectoryLocalQuery(ActiveDirectoryRoleFactory.Configuration.DistinguishedName, (String)entry.Properties[ActiveDirectoryRoleFactory.Configuration.DistinguishedName][0], DirectoryQueryOperation.NotEqual)); 241public override IList<String> GetIdentities() 243List<String> identityRefs = new List<String>(); 251public override bool IncludesIdentity(String identity) 256foreach (String roleIdentity in this.GetIdentities()) 258if (String.Compare(identity, roleIdentity, StringComparison.Ordinal) == 0)
Role\ADRoleFactory.cs (3)
20private static String s_configurationSectionName = "System.Workflow.Runtime.Hosting.ADRoleFactory"; 32public static ActiveDirectoryRole CreateFromAlias(String alias) 54public static ActiveDirectoryRole CreateFromEmailAddress(String emailAddress)
Role\ADRoleFactoryConfiguration.cs (11)
16private const String _RootPath = "RootPath"; 17private const String _Manager = "Manager"; 18private const String _DistinguishedName = "DistiguishedName"; 19private const String _DirectReports = "DirectReports"; 20private const String _Group = "Group"; 21private const String _Member = "Member"; 31public String Manager 38public String DistinguishedName 45public String DirectReports 52public String Group 59public String Member
Role\DirectoryGroupQuery.cs (8)
36foreach (String value in entry.Properties["objectClass"]) 38if (String.Compare(value, ActiveDirectoryRoleFactory.Configuration.Group, StringComparison.Ordinal) == 0) 49foreach (String propValue in entry.Properties[ActiveDirectoryRoleFactory.Configuration.Member]) 63private static bool Contains(ICollection propertyNames, String testPropertyName) 65foreach (String propertyName in propertyNames) 67if (String.Compare(propertyName, testPropertyName, StringComparison.Ordinal) == 0) 73private static String BuildUri(String propValue)
Role\DirectoryLocalQuery.cs (7)
15internal String m_name; 16internal String m_value; 19public DirectoryLocalQuery(String name, String value, DirectoryQueryOperation operation) 42String strStart = "("; 43String strOperation = ""; 44String strEnd = ")";
Role\DirectoryRedirect.cs (6)
15private String m_getPropertyName; 16private String m_searchPropertyName; 19public DirectoryRedirect(String getPropertyName, String searchPropertyName) 24public DirectoryRedirect(String getPropertyName, String searchPropertyName, bool recursive)
Role\DirectoryRootQuery.cs (7)
15private String m_name; 16private String m_value; 19public DirectoryRootQuery(String name, String value, DirectoryQueryOperation operation) 42String strStart = "("; 43String strOperation = ""; 44String strEnd = ")";
Role\RoleExceptions.cs (2)
18public WorkflowAuthorizationException(String activityName, String principalName)
Rules\Design\Dialogs\RuleSetDialog.cs (6)
425ListViewItem listViewItem = new ListViewItem(new string[] { rule.Name, String.Empty, String.Empty, String.Empty, String.Empty }); 525retval = String.Compare(item1.SubItems[0].Text, item2.SubItems[0].Text, StringComparison.CurrentCulture); 529retval = String.Compare(item1.SubItems[col].Text, item2.SubItems[col].Text, StringComparison.CurrentCulture);
Rules\Helpers.cs (2)
28string className = String.Empty; 43if (!String.IsNullOrEmpty(className))
Rules\RuleValidation.cs (1)
3873authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0);
Sequence.cs (4)
191String activeChildQualifiedName = this.GetValue(ActiveChildQualifiedNameProperty) as String; 200String activeChildQualifiedName = this.GetValue(ActiveChildQualifiedNameProperty) as String;
SetState.cs (1)
90if (String.IsNullOrEmpty(setState.TargetStateName))
SR.cs (3)
30private string resourceSet = String.Empty; 48String localizedString = rm.GetString(value); 115return String.Format(CultureInfo.CurrentCulture, res, args);
State.cs (5)
84public Activity GetDynamicActivity(String childActivityName) 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))
StateMachineSubscription.cs (3)
68private string _eventActivityName = String.Empty; 69private string _eventDrivenName = String.Empty; 70private string _stateName = String.Empty;
StateValidator.cs (2)
227if (String.IsNullOrEmpty(initialStateName)) 280if (!String.IsNullOrEmpty(completedStateName))
WebServiceFault.cs (5)
186if (String.IsNullOrEmpty(webServiceFault.InputActivityName)) 198if ((activity is WebServiceFaultActivity && String.Compare(((WebServiceFaultActivity)activity).InputActivityName, webServiceFault.InputActivityName, StringComparison.Ordinal) == 0) || 199(activity is WebServiceOutputActivity && String.Compare(((WebServiceOutputActivity)activity).InputActivityName, webServiceFault.InputActivityName, StringComparison.Ordinal) == 0)) 212if (String.Compare(activity.QualifiedName, webServiceFault.InputActivityName, StringComparison.OrdinalIgnoreCase) == 0) 247if (String.IsNullOrEmpty(webServiceReceive.MethodName))
WebServiceReceive.cs (4)
541if (String.IsNullOrEmpty(webServiceReceive.MethodName)) 679if (member is CodeMemberMethod && String.Compare(member.Name, methodInfo.Name, language == SupportedLanguages.CSharp ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) == 0) 693String namespaceName = ""; 716String webServiceTypeName = className.Substring(className.LastIndexOf('.') + 1) + "_WebService";
WebServiceResponse.cs (19)
256if (this.InputActivityName != null && !String.IsNullOrEmpty(this.InputActivityName.Trim())) 311if (String.IsNullOrEmpty(webServiceResponse.InputActivityName)) 322if ((activity is WebServiceOutputActivity && String.Compare(((WebServiceOutputActivity)activity).InputActivityName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0) || 323(activity is WebServiceFaultActivity && String.Compare(((WebServiceFaultActivity)activity).InputActivityName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0)) 335if (String.Compare(activity.QualifiedName, webServiceResponse.InputActivityName, StringComparison.Ordinal) == 0) 370if (String.IsNullOrEmpty(webServiceReceive.MethodName)) 423validationError.PropertyName = (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) == 0) ? paramName : ParameterInfoBasedPropertyDescriptor.GetParameterPropertyName(webServiceReceive.GetType(), paramName); 429validationError.PropertyName = (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) == 0) ? paramName : ParameterInfoBasedPropertyDescriptor.GetParameterPropertyName(webServiceReceive.GetType(), paramName); 442if (String.Compare(paramName, "(ReturnValue)", StringComparison.Ordinal) != 0) 574IEnumerable<String> searchBoundaryPath = GetActivityPath(searchBoundary); 575IEnumerable<String> currentActivityPath = GetActivityPath(webServiceActivity); 577String leastCommonParent = FindLeastCommonParent(searchBoundaryPath, currentActivityPath); 592static IEnumerable<String> GetActivityPath(Activity activity) 596foreach (String path in GetActivityPath(activity.Parent)) 603static String FindLeastCommonParent(IEnumerable<String> source, IEnumerable<String> dest) 608String leastCommonParent = null; 613leastCommonParent = (String)srcEnum.Current;
System.Workflow.ComponentModel (281)
AuthoringOM\Activity.cs (4)
152internal static readonly DependencyProperty SynchronizationHandlesProperty = DependencyProperty.Register("SynchronizationHandles", typeof(ICollection<String>), typeof(Activity), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 1379ICollection<String> handles = (ICollection<String>)GetValue(SynchronizationHandlesProperty); 1902public override String ToString()
AuthoringOM\Behaviors\Compensate.cs (1)
228if (String.IsNullOrEmpty(compensate.TargetActivityName))
AuthoringOM\Behaviors\SynchronizationScope.cs (8)
41public ICollection<String> SynchronizationHandles 45return this.GetValue(SynchronizationHandlesProperty) as ICollection<String>; 92if (destinationType == typeof(string) && value is ICollection<String>) 93return Stringify(value as ICollection<String>); 113internal static string Stringify(ICollection<String> synchronizationHandles) 131internal static ICollection<String> UnStringify(string stringifiedValue) 133ICollection<String> synchronizationHandles = new List<String>();
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
94if (!String.IsNullOrEmpty(timeSpan))
AuthoringOM\Bind.cs (9)
300authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 751string bindString = String.Empty; 760bindString += (!String.IsNullOrEmpty(bindString)) ? "." + path : path; 890string relativeBindExpression = String.Empty; 906if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(Name) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor) 1213if (paramType != typeof(String) && paramType != typeof(System.Int32)) 1219if (paramType == typeof(String) && argName.StartsWith("\"", StringComparison.Ordinal) && argName.EndsWith("\"", StringComparison.Ordinal)) 1782internal String Error 1792this.pathValue = (path != null) ? path.Trim() : String.Empty;
AuthoringOM\Compiler\CompileXomlTask.cs (11)
156if (String.Compare(this.projectExt, ".csproj", StringComparison.OrdinalIgnoreCase) == 0) 160else if (String.Compare(this.projectExt, ".vbproj", StringComparison.OrdinalIgnoreCase) == 0) 689if (String.Compare(ProjectExtension, ".csproj", StringComparison.OrdinalIgnoreCase) != 0 && String.Compare(ProjectExtension, ".vbproj", StringComparison.OrdinalIgnoreCase) != 0) 1069if (String.Compare(extension, ".rules", StringComparison.OrdinalIgnoreCase) == 0 || 1070String.Compare(extension, WorkflowDesignerLoader.DesignerLayoutFileExtension, StringComparison.OrdinalIgnoreCase) == 0) 1080if (String.Compare(extension, ".xoml", StringComparison.OrdinalIgnoreCase) == 0) 1106if (String.Compare(extension, ".rules", StringComparison.OrdinalIgnoreCase) == 0 || 1107String.Compare(extension, WorkflowDesignerLoader.DesignerLayoutFileExtension, StringComparison.OrdinalIgnoreCase) == 0) 1117if (String.Compare(extension, ".xoml", StringComparison.OrdinalIgnoreCase) == 0) 1184if (0 == String.Compare(Path.GetExtension(info.cultureNeutralFilename), ".resx", StringComparison.OrdinalIgnoreCase))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
480String defaultMember = attr.MemberName; 635return this.typeProvider.GetType(String.Format(CultureInfo.InvariantCulture, "{0}[]", this.FullName)); 972protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
AuthoringOM\Compiler\TypeSystem\Helper.cs (2)
150String[] argumentNames = new String[codeAttribute.Arguments.Count];
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (3)
72String accessor = "get_" + this.Name; 85String accessor = "set_" + this.Name; 216private string name = String.Empty;
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
238if (!String.IsNullOrEmpty(type.AssemblyQualifiedName)) 720protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (3)
585else if (entry.Key is String) 798List<string> names = new List<String>(); 1046return String.Format(CultureInfo.CurrentCulture, res, args);
AuthoringOM\Compiler\Validation\BindValidator.cs (4)
616if (String.IsNullOrEmpty(bind.Path)) 626string path = String.Empty; 642if (!String.IsNullOrEmpty(memberName)) 671string qualifier = (!String.IsNullOrEmpty(refActivity.QualifiedName)) ? refActivity.QualifiedName : bind.Name;
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
131PropertyValidationContext childContext = new PropertyValidationContext(propValue, null, String.Empty);
AuthoringOM\Compiler\Validation\ValidationError.cs (1)
86return String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2}", this.isWarning ? "warning" : "error", this.errorNumber, this.errorText);
AuthoringOM\Compiler\XomlCompiler.cs (2)
643authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 772results.Errors.Add(new WorkflowCompilerError(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message)));
AuthoringOM\Compiler\XomlCompilerError.cs (3)
17String Document { get; } 19String Text { get; } 20String ErrorNumber { get; }
AuthoringOM\Compiler\XomlCompilerHelpers.cs (14)
108if (String.IsNullOrEmpty(fileName)) 118if (!String.IsNullOrEmpty(fileName)) 255authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 456string[] stringArray = new String[userLibraryPaths.Count]; 823throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataDispenser")); 833throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataImport")); 854string typeRefName = String.Empty; 869throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataAssemblyImport")); 898String publicKeyString = String.Empty; 901publicKeyString += String.Format("{0}", Marshal.ReadByte(publicKeyOrToken, pos).ToString("x2")); 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 (3)
442if (String.IsNullOrEmpty(value)) 445if (String.Compare(value, SupportedLanguages.CSharp.ToString(), StringComparison.OrdinalIgnoreCase) != 0 && 446String.Compare(value, SupportedLanguages.VB.ToString(), StringComparison.OrdinalIgnoreCase) != 0)
AuthoringOM\ComponentFactoryHelpers.cs (1)
111if (!String.IsNullOrEmpty(typeName))
AuthoringOM\DependencyProperty.cs (1)
51private string name = String.Empty;
AuthoringOM\Design\ActivityDesigner.cs (16)
74private string text = String.Empty; 532if (String.IsNullOrEmpty(Text)) 761string title = String.Empty; 779string tipText = (!String.IsNullOrEmpty(Activity.Description)) ? Activity.Description : ActivityDesigner.GetActivityDescription(Activity.GetType()); 794this.rulesText = String.Empty; 814this.rulesText += String.Format(CultureInfo.CurrentCulture, "{0}: {1}", ruleName, ruleDescription); 1131this.Text = (!String.IsNullOrEmpty(activity.Name)) ? activity.Name : activity.GetType().Name; 1435ShowInfoTip(String.Empty); 1674if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.IsEmpty) 1708if (!String.IsNullOrEmpty(Text)) 1952return (descriptionAttribute != null) ? descriptionAttribute.Description : String.Empty; 2089if (!(handler is String) || String.IsNullOrEmpty((String)handler)) 2125List<String> customPropertyNames = new List<String>();
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (9)
28string prefix = String.Empty; 48string associatedActivityName = String.Empty; 54if (!String.IsNullOrEmpty(associatedActivityName)) 321string stringValue = String.Empty; 336if (!String.IsNullOrEmpty(colorValue)) 376string convertedValue = String.Empty; 391if (!String.IsNullOrEmpty(sizeValue)) 426string convertedValue = String.Empty; 441if (!String.IsNullOrEmpty(pointValue))
AuthoringOM\Design\CommandSet.cs (2)
752string filter = String.Empty; 841string description = String.Empty;
AuthoringOM\Design\ComponentSerializationService.cs (5)
151this.serializedXmlString = (String)info.GetValue(SerializedXmlString, typeof(String)); 646if (!String.IsNullOrEmpty(propertyName) && propertyType != null) 689if (!String.IsNullOrEmpty(propertyName) && propertyType != null) 809return String.Empty;
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
324if (String.IsNullOrEmpty(Text)) 1289if (!String.IsNullOrEmpty(Text))
AuthoringOM\Design\Connector.cs (2)
618string activityName = String.Empty; 672string activityName = String.Empty;
AuthoringOM\Design\CustomActivityDesigner.cs (1)
493if (String.IsNullOrEmpty(customProperty.UITypeEditor))
AuthoringOM\Design\DesignerHelpers.cs (1)
1744string ruleName = namePropertyDescriptor.GetValue(value) as String;
AuthoringOM\Design\DesignerWidgets.cs (11)
827ShowInfoTip(String.Empty); 884workflowView.ShowInfoTip(String.Empty, infoTip); 2149private string infoTipTitle = String.Empty; 2150private string infoTipText = String.Empty; 2152private string inplaceTipText = String.Empty; 2202if (String.IsNullOrEmpty(text)) 2230if (String.IsNullOrEmpty(text)) 2420private string helpText = String.Empty; 2972string description = String.Empty; 2996string help = String.Empty; 3020string name = String.Empty;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
199List<String> customPropertyNames = new List<String>();
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (5)
419error = String.Empty; 468string error = String.Empty; 648List<String> stockActivityTypeNames = new List<string>(); 905return String.Compare(treeNode1.Text, treeNode2.Text, StringComparison.CurrentCulture); 1168return String.Empty;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1037string typeName = String.Empty;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (4)
543if (ex.InnerException != null && !String.IsNullOrEmpty(ex.InnerException.Message)) 656String description = String.Empty; 851string transactionDescription = String.Empty;
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (4)
171string infoTip = String.Empty; 220parentView.ShowInfoTip(String.Empty); 284ParentView.ShowInfoTip(String.Empty); 600private string description = String.Empty;
AuthoringOM\Design\PropertyDescriptors.cs (3)
526if (!String.IsNullOrEmpty(activityBind.Path)) 728if (!String.IsNullOrEmpty(id)) 741if (String.IsNullOrEmpty(id))
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
44private string helpText = String.Empty;
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (4)
39private string text = String.Empty; 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 (2)
60return String.Empty; 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 (15)
115private string xml = String.Empty; 166private string name = String.Empty; 169private string filePath = String.Empty; 307if (String.IsNullOrEmpty(path)) 353string themePath = (registryValue is string) ? (string)registryValue : String.Empty; 393themeKey.SetValue(WorkflowTheme.ThemePathKey, String.Empty); 644string directory = String.Empty; 743string errors = String.Empty; 850private string designerTypeName = String.Empty; 987private string designerImagePath = String.Empty; 1438private string watermarkImagePath = String.Empty; 1502if (!String.IsNullOrEmpty(value) && value.Contains(Path.DirectorySeparatorChar.ToString()) && Path.IsPathRooted(value)) 1994private string watermarkImagePath = String.Empty; 2553if (!String.IsNullOrEmpty(value) && value.Contains(Path.DirectorySeparatorChar.ToString()) && Path.IsPathRooted(value)) 3207return String.Empty;
AuthoringOM\Design\TypeConverters.cs (2)
231convertedValue = String.Format(CultureInfo.InvariantCulture, ("Activity={0}, Path={1}"), (activity != null) ? activity.QualifiedName : activityBind.Name, activityBind.Path); 391return new String[] { activityID, path };
AuthoringOM\Design\UITypeEditors.cs (2)
161if (!String.IsNullOrEmpty(e.Message)) 196if (!String.IsNullOrEmpty(e.Message))
AuthoringOM\Design\WinOEToolBoxItem.cs (1)
18private const String ActivitySuffix = "Activity";
AuthoringOM\Design\WorkflowInlining.cs (1)
294return String.Empty;
AuthoringOM\Design\WorkflowLayouts.cs (1)
623headerFooterData.FileName = (serviceDesignerLoader != null) ? serviceDesignerLoader.FileName : String.Empty;
AuthoringOM\Design\WorkflowPrinting.cs (1)
182headerFooterData.FileName = (serviceDesignerLoader != null) ? serviceDesignerLoader.FileName : String.Empty;
AuthoringOM\Design\WorkflowView.cs (1)
799this.workflowToolTip.SetText(String.Empty, text);
AuthoringOM\Design\XomlDesignerLoader.cs (3)
173string fullClassName = activity.GetValue(WorkflowMarkupSerializer.XClassProperty) as String; 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\Sequence.cs (5)
22private static DependencyProperty ActiveChildQualifiedNameProperty = DependencyProperty.RegisterAttached("ActiveChildQualifiedName", typeof(String), typeof(SequenceHelper)); 106String activeChildQualifiedName = activity.GetValue(ActiveChildQualifiedNameProperty) as String; 114String activeChildQualifiedName = activity.GetValue(ActiveChildQualifiedNameProperty) as String;
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
166else if (objectType != null && TypeProvider.IsAssignable(typeof(ICollection<String>), objectType) && !objectType.IsArray && serializerType == typeof(CodeDomSerializer))
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
299private int Position(String name)
AuthoringOM\Serializer\CompositeActivityMarkupSerializer.cs (2)
25string prefix = String.Empty; 31prefix = String.Empty;
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (3)
136prefix = String.Empty; 199string prefix = String.Empty; 220string prefix = String.Empty;
AuthoringOM\Serializer\FormatterServicesNoSerializableCheck.cs (3)
40internal static readonly String FakeNameSeparatorString = "+"; 143String typeName = classNamesUnique ? parentType.Name : parentType.FullName; 150allNames.Add(String.Concat(typeName, FakeNameSeparatorString, field.Name));
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (2)
42string prefix = String.Empty; 80string typePrefix = String.Empty;
AuthoringOM\Serializer\PrimitiveCodeDomSerializer.cs (2)
55if (codeProvider != null && String.Equals(codeProvider.FileExtension, JSharpFileExtension)) 72String stringValue = value as string;
AuthoringOM\Serializer\PropertySegmentSerializer.cs (2)
73String stringValue = String.Empty;
AuthoringOM\Serializer\StringCollectionMarkupSerializer.cs (2)
26return (value is ICollection<String>); 36return SynchronizationHandlesTypeConverter.Stringify(value as ICollection<String>);
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (2)
33ICollection<String> handles = obj as ICollection<String>;
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (3)
155string typeNamespace = (type.Namespace != null) ? type.Namespace : String.Empty; 156string assemblyName = (type.Assembly != null && type.Assembly != this.localAssembly) ? type.Assembly.FullName : String.Empty; 171prefix = (mappingForType.Prefix.Equals(StandardXomlKeys.WorkflowPrefix, StringComparison.Ordinal)) ? String.Empty : mappingForType.Prefix;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (25)
38public static readonly DependencyProperty ClrNamespacesProperty = DependencyProperty.RegisterAttached("ClrNamespaces", typeof(List<String>), typeof(WorkflowMarkupSerializer), new PropertyMetadata(null, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) })); 79fileName = String.Empty; 92List<String> clrMappings = rootActivity.GetValue(WorkflowMarkupSerializer.ClrNamespacesProperty) as List<String>; 95clrMappings = new List<String>(); 653string stringValue = String.Empty; 732string propertyName = String.Empty; 735string prefix = String.Empty; 773string propertyName = String.Empty; 956string propertyName = String.Empty; 1183if (valueType.IsPrimitive || valueType == typeof(System.String) || valueType.IsEnum 1242if (propertyType.IsPrimitive || propertyType == typeof(System.String)) 1273if (type.IsPrimitive || type.IsEnum || type == typeof(System.String)) 2057string propertyName = String.Empty; 2063if (!String.IsNullOrEmpty(ownerTypeName) && !String.IsNullOrEmpty(propertyName)) 2319authorized = (String.Compare(bool.TrueString, authorizedType.Authorized, StringComparison.OrdinalIgnoreCase) == 0); 2345string prefix = String.Empty, tagName = String.Empty, xmlns = String.Empty; 2353xmlns = String.Empty; 2380xmlns = String.Empty; 2487string prefix = String.Empty; 3089string contentPropertyName = String.Empty; 3094if (!String.IsNullOrEmpty(contentPropertyName))
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (24)
38private string xmlns = String.Empty; 39private string clrns = String.Empty; 40private string targetAssemblyName = String.Empty; 41private string prefix = String.Empty; 42private string unifiedAssemblyName = String.Empty; 267string assemblyName = String.Empty; 271assemblyName = (index + 1 < clrNamespace.Length) ? clrNamespace.Substring(index + 1).Trim() : String.Empty; 283clrNamespace = String.Empty; 304string assemblyName = String.Empty; 329string clrNamespace = (type.Namespace != null) ? type.Namespace : String.Empty; 330string xmlNamespace = String.Empty; 331string assemblyName = String.Empty; 332string prefix = String.Empty; 362assemblyName = String.Empty; 363else if (String.IsNullOrEmpty(assemblyName)) 366if (String.IsNullOrEmpty(xmlNamespace)) 381assemblyName = String.Empty; 382else if (String.IsNullOrEmpty(assemblyName)) 387if (String.IsNullOrEmpty(prefix)) 419xmlNamespace += (String.IsNullOrEmpty(clrNamespace)) ? StandardXomlKeys.GlobalNamespace : clrNamespace; 420if (!String.IsNullOrEmpty(assemblyName)) 427string prefix = String.Empty; 442if (String.IsNullOrEmpty(prefix) || !IsNamespacePrefixUnique(prefix, manager.PrefixBasedMappings.Keys)) 444string basePrefix = (String.IsNullOrEmpty(prefix)) ? "ns" : prefix;
AuthoringOM\Serializer\XamlInterfaces.cs (1)
179string prefix = String.Empty;
AuthoringOM\SR.cs (2)
29private string resourceSet = String.Empty; 47String localizedString = rm.GetString(value);
Shared\BasePropertyDescriptor.cs (3)
328string qualifier = String.Empty; 500string propertyName = String.Empty; 755if (String.IsNullOrEmpty(typeName))
Shared\CompilerHelpers.cs (1)
138if (!String.IsNullOrEmpty(language) &&
Shared\CompModHelpers.cs (9)
67string keyPath = String.Empty; 426className = activity.GetValue(WorkflowMarkupSerializer.XClassProperty) as String; 428if (!String.IsNullOrEmpty(className)) 472namespaceName = String.Empty; 473className = String.Empty; 953string interfaceName = String.Empty; 954string method = String.Empty; 962if (!String.IsNullOrEmpty(interfaceName)) 966if (String.Compare(inheritedInterface.FullName, interfaceName, StringComparison.Ordinal) == 0)
Shared\TypeSystemHelpers.cs (3)
82if ((bracketContent == String.Empty) || (bracketContent.TrimStart()[0] == ',')) 415string simpleTypeName = String.Empty; 416string decoratorString = String.Empty;
Shared\XomlSerializationHelpers.cs (3)
362List<String> clrNamespaces = rootActivity.GetValue(WorkflowMarkupSerializer.ClrNamespacesProperty) as List<String>; 370if (!String.IsNullOrEmpty(clrNamespace))
System.Workflow.Runtime (101)
CorrelationToken.cs (2)
113throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CorrelationAlreadyInitialized, this.Name)); 276if (!String.IsNullOrEmpty(ownerActivityName))
DebugEngine\DebugController.cs (5)
306hostName = String.Empty; 307uri = String.Empty; 485string controllerConduitTypeName = debugEngineSubKey.GetValue(ControllerConduitTypeName, String.Empty) as string; 486if (!String.IsNullOrEmpty(controllerConduitTypeName) && Type.GetType(controllerConduitTypeName) != null) 1085if (args.LoadedAssembly.Location != String.Empty)
DebugEngine\DebugControllerThread.cs (2)
103string evaluationFrameTypeName = debugEngineSubKey.GetValue(ExpressionEvaluationFrameTypeName, String.Empty) as string; 104if (!String.IsNullOrEmpty(evaluationFrameTypeName) && Type.GetType(evaluationFrameTypeName) != null)
Hosting\DbResourceAllocator.cs (9)
62if (String.IsNullOrEmpty(connectionString)) 76if (String.IsNullOrEmpty(connectionString) && (runtime != null)) 98if (String.IsNullOrEmpty(connectionString)) 126if (String.Compare(sharedConnectionTransactionService.ConnectionString, this.connString, StringComparison.Ordinal) != 0) 127throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 306this.connString = String.Concat(this.connString, ";OLE DB Services=-4"); 311if (String.IsNullOrEmpty(connectionString) || String.IsNullOrEmpty(connectionString.Trim())) 372String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidTransaction));
Hosting\DefaultWorkflowSchedulerService.cs (8)
54throw new ArgumentOutOfRangeException(MAX_SIMULTANEOUS_WORKFLOWS_KEY, maxSimultaneousWorkflows, String.Empty); 69throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, "null")); 72throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, key)); 78throw new ArgumentOutOfRangeException(MAX_SIMULTANEOUS_WORKFLOWS_KEY, maxSimultaneousWorkflows, String.Empty); 103throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 116throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 118throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 133throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId"), "timerId");
Hosting\ManualWorkflowSchedulerService.cs (7)
87throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, "null")); 90throw new ArgumentException(String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, key)); 108throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 130throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 132throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 247throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId"));
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
42if (String.IsNullOrEmpty(connectionString))
Hosting\SqlWorkflowPersistenceService.cs (5)
739if (String.IsNullOrEmpty(connectionString)) 792String.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.UnknownConfigurationParameter, key), "parameters"); 802if (String.IsNullOrEmpty(connectionString)) 1040throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted)); 1088throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted));
Hosting\WorkflowRuntimeService.cs (4)
67throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 69throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceAlreadyStarted, this.GetType().Name)); 77throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotStarted, this.GetType().Name));
Lock.cs (4)
87private String m_name; 107internal InstanceLock(Guid id, String name, int priority, LockPriorityOperator lockOperator) 283workflowExec.FireWorkflowSuspended((String)eseg.EventInfo); 292workflowExec.FireWorkflowTerminated((String)eseg.EventInfo);
PerformanceCounterManager.cs (13)
49private static String c_PerformanceCounterCategoryName = ExecutionStringManager.PerformanceCounterCategory; 205private String m_instanceName; 224internal void SetInstanceName(String instanceName) 228if (String.IsNullOrEmpty(instanceName)) 289internal List<PerformanceCounter> CreateCounters(String name) 300if (!String.IsNullOrEmpty(this.m_instanceName)) 356throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString())); 419internal String Name; 420internal String Description; 425String name, 426String description, 430System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(name)); 431System.Diagnostics.Debug.Assert(!String.IsNullOrEmpty(description));
RTTrackingProfile.cs (1)
700&& (0 == String.Compare(activity.QualifiedName, qualifiedId, StringComparison.Ordinal)))
Scheduler.cs (1)
153throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidActivityName, item.ActivityId));
System\Activities\Statements\InteropEnvironment.cs (1)
360!String.Equals(propertyInfo.Name, activityNameMetaProperty, StringComparison.Ordinal))
Tracking.cs (3)
1620throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.NullProfileForChannel, this._scheduleType.AssemblyQualifiedName)); 1844internal static Guid HashServiceType(String serviceFullTypeName) 1868internal static Guid HashStringToGuid(String stringToHash)
Tracking\SqlTrackingService.cs (1)
141if (String.IsNullOrEmpty(connectionString))
Tracking\SqlTrackingWorkflowInstance.cs (2)
223throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId)); 370throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId));
Tracking\TrackingLocation.cs (1)
397if (0 != String.Compare(_keyName, keyName, StringComparison.Ordinal))
Tracking\TrackingProfileSerializer.cs (2)
75nsmgr.AddNamespace(String.Empty, _ns); 1276writer.WriteValue(null == s ? String.Empty : s);
WorkflowDefinitionDispenser.cs (1)
261throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowTypeMismatch, workflowType.FullName));
WorkflowEventArgs.cs (7)
43private Dictionary<String, Object> _outputParameters; 50this._outputParameters = new Dictionary<String, Object>(); 55public Dictionary<String, Object> OutputParameters 92private String _error; 94internal WorkflowSuspendedEventArgs(WorkflowInstance instance, String error) 100public String Error 114internal WorkflowTerminatedEventArgs(WorkflowInstance instance, String error)
WorkflowExecutor.cs (6)
565throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CannotStartInstanceTwice, this.InstanceId)); 1446string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 1566string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 2978string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 3028throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceServiceWithPersistOnClose, activity.Name)); 3146throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "dependencyObject", typeof(Activity).ToString()));
WorkflowInstance.cs (2)
33throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId")); 209throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId));
WorkflowQueuingService.cs (4)
182throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName), MessageQueueErrorCode.QueueNotAvailable); 214throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName), MessageQueueErrorCode.QueueNotAvailable); 456if (name is String && (String)name == pendingNotification)
WorkflowRuntime.cs (9)
157throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 255throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId")); 595string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, instanceId); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 1130throw new InvalidOperationException(String.Format( 1136throw new InvalidOperationException(String.Format( 1141throw new InvalidOperationException(String.Format( 1146throw new InvalidOperationException(String.Format( 1189throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString()));
System.WorkflowServices (28)
SR.cs (2)
51string resourceSet = String.Empty; 72String localizedString = rm.GetString(value);
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
42string endpointUri = String.Format(CultureInfo.InvariantCulture, "{0}/{1}", baseUri, Interlocked.Increment(ref uriCounter));
System\Workflow\Activities\ChannelTokenTypeConverter.cs (2)
38string endpointName = value as String; 39if (!String.IsNullOrEmpty(endpointName))
System\Workflow\Activities\ContextTokenTypeConverter.cs (2)
38string contextName = value as String; 39if (!String.IsNullOrEmpty(contextName))
System\Workflow\Activities\ContractType.cs (2)
260String defaultMember = attr.MemberName; 480protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
System\Workflow\Activities\Design\OperationPickerDialog.cs (3)
74if (String.IsNullOrEmpty(contractName)) 152String key = serviceContractListItem.Name; 166String key = serviceOperation.ContractName;
System\Workflow\Activities\Design\ServiceContractListItem.cs (2)
69if (String.IsNullOrEmpty(operation.Name)) 117if (String.IsNullOrEmpty(operation.Name))
System\Workflow\Activities\Design\ServiceOperationListItem.cs (1)
27public virtual String ContractName
System\Workflow\Activities\Design\TypedServiceOperationListItem.cs (1)
23public override String ContractName
System\Workflow\Activities\Design\WorkflowServiceOperationListItem.cs (1)
20public override String ContractName
System\Workflow\Activities\OperationInfo.cs (1)
141if (String.Compare(operationInfo.ContractName, this.ContractName, StringComparison.Ordinal) != 0)
System\Workflow\Activities\OperationInfoBase.cs (3)
96if (String.Compare(operationInfo.Name, this.Name, StringComparison.Ordinal) != 0) 100if (String.Compare(operationInfo.PrincipalPermissionName, this.PrincipalPermissionName, StringComparison.Ordinal) != 0) 104if (String.Compare(operationInfo.PrincipalPermissionRole, this.PrincipalPermissionRole, StringComparison.Ordinal) != 0)
System\Workflow\Activities\OperationParameterInfo.cs (1)
178if (String.Compare(parameter.Name, this.Name, StringComparison.Ordinal) != 0)
System\Workflow\Activities\ReceiveActivity.cs (2)
1225string fullClassName = (String)rootActivity.GetValue(WorkflowMarkupSerializer.XClassProperty); 1226if (!String.IsNullOrEmpty(fullClassName))
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
41if (!String.IsNullOrEmpty(operationName))
System\Workflow\Activities\SendActivity.cs (1)
85public SendActivity(String name)
System\Workflow\Activities\SendActivityDesigner.cs (1)
42if (!String.IsNullOrEmpty(operationName))
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
31if (!String.IsNullOrEmpty(operationContractAttribute.Name))
System.Xml (647)
parent\misc\InvariantComparer.cs (4)
16String sa = a as String; 17String sb = b as String;
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (7)
69private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) 75const String c_versionKey = "Version"; 76const String c_profileKey = "Profile"; 86String[] components = frameworkName.Split(c_componentSeparator); 150if (!String.IsNullOrEmpty(value))
parent\parent\parent\parent\InternalApis\NDP_Common\inc\Win8Helpers.cs (5)
24internal const String KERNEL32 = "kernel32.dll"; 46private static extern IntPtr GetProcAddress(IntPtr hModule, String methodName); 51private static extern IntPtr GetModuleHandle(String moduleName); 54private static bool DoesWin32MethodExist(String moduleName, String methodName)
System\Xml\Base64Decoder.cs (1)
25private static readonly String CharsBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
System\Xml\BinaryXml\SqlUtils.cs (2)
463public override String ToString() { 565public override String ToString() {
System\Xml\BinaryXml\XmlBinaryReader.cs (37)
21internal static readonly Type TypeOfString = typeof(System.String); 75this.prefix = this.localname = this.namespaceUri = String.Empty; 87throw new XmlException(Res.XmlBinary_NoRemapPrefix, new String[] { prefix, this.namespaceUri, namespaceUri }); 221this.symtable[0] = String.Empty; 291Dictionary<String, NamespaceDecl> namespaces; 343this.namespaces = new Dictionary<String, NamespaceDecl>(hasher); 344AddInitNamespace(String.Empty, String.Empty); 481return String.Empty; 600ns = String.Empty; 639ns = String.Empty; 987return XmlConvert.ToBoolean(String.Empty); 1069return XmlConvert.ToDateTime(String.Empty, XmlDateTimeSerializationMode.RoundtripKind); 1155return XmlConvert.ToDouble(String.Empty); 1241return XmlConvert.ToSingle(String.Empty); 1327return XmlConvert.ToDecimal(String.Empty); 1413return XmlConvert.ToInt32(String.Empty); 1499return XmlConvert.ToInt64(String.Empty); 1534value = String.Empty; 1565value = String.Empty; 1602Dictionary<String, String> nstable = new Dictionary<String, String>(); 1710prefixStr = String.Empty; 1739throw new XmlException(Res.XmlBin_InvalidQNameID, String.Empty); 1746throw new XmlException(Res.XmlBin_InvalidQNameID, String.Empty); 2046return String.Empty; 2057unsafe String GetStringAligned(byte[] data, int offset, int cch) { 2259QName xmlDeclQName = new QName(String.Empty, this.xnt.Add("xml"), String.Empty); 2312throw new XmlException(Res.Xml_PrefixForEmptyNs, String.Empty); 2419String value = GetString(this.tokDataPos, this.tokLen); 3573throw new XmlException( Res.XmlBin_InvalidQNameID, String.Empty ); 3578return String.Concat( qname.prefix, ":", qname.localname ); 3711throw new XmlException(Res.XmlBin_InvalidQNameID, String.Empty); 3894throw new XmlException(Res.XmlBin_InvalidQNameID, String.Empty);
System\Xml\Core\ReadOnlyTernaryTree.cs (1)
54public byte FindCaseInsensitiveString(String stringToFind) {
System\Xml\Core\SecureStringHasher.cs (6)
23internal class SecureStringHasher : IEqualityComparer<String> { 45public bool Equals( String x, String y ) { 46return String.Equals( x, y, StringComparison.Ordinal ); 50public int GetHashCode( String key ) { 79MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Core\XmlParserContext.cs (46)
18private String _docTypeName = String.Empty; 19private String _pubId = String.Empty; 20private String _sysId = String.Empty; 21private String _internalSubset = String.Empty; 22private String _xmlLang = String.Empty; 24private String _baseURI = String.Empty; 27public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr,String xmlLang, XmlSpace xmlSpace) 28: this(nt, nsMgr, null, null, null, null, String.Empty, xmlLang, xmlSpace) 33public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr,String xmlLang, XmlSpace xmlSpace, Encoding enc) 34: this(nt, nsMgr, null, null, null, null, String.Empty, xmlLang, xmlSpace, enc) 39public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, String docTypeName, 40String pubId, String sysId, String internalSubset, String baseURI, 41String xmlLang, XmlSpace xmlSpace) 47public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, String docTypeName, 48String pubId, String sysId, String internalSubset, String baseURI, 49String xmlLang, XmlSpace xmlSpace, Encoding enc) 68_docTypeName = (null == docTypeName ? String.Empty : docTypeName); 69_pubId = (null == pubId ? String.Empty : pubId); 70_sysId = (null == sysId ? String.Empty : sysId); 71_internalSubset = (null == internalSubset ? String.Empty : internalSubset); 72_baseURI = (null == baseURI ? String.Empty : baseURI); 73_xmlLang = (null == xmlLang ? String.Empty : xmlLang); 97public String DocTypeName { 102_docTypeName = (null == value ? String.Empty : value); 106public String PublicId { 111_pubId = (null == value ? String.Empty : value); 115public String SystemId { 120_sysId = (null == value ? String.Empty : value); 124public String BaseURI { 129_baseURI = (null == value ? String.Empty : value); 133public String InternalSubset { 138_internalSubset = (null == value ? String.Empty : value); 142public String XmlLang { 147_xmlLang = (null == value ? String.Empty : value);
System\Xml\Core\XmlReader.cs (3)
1557public static XmlReader Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) { 1575public static XmlReader Create(Stream input, XmlReaderSettings settings, String baseUri) { 1601public static XmlReader Create(TextReader input, XmlReaderSettings settings, String baseUri) {
System\Xml\Core\XmlReaderSettings.cs (1)
377internal XmlReader CreateReader(String inputUri, XmlParserContext inputContext) {
System\Xml\Core\XmlTextEncoder.cs (1)
85return String.Empty;
System\Xml\Core\XmlTextReader.cs (3)
101public XmlTextReader( String url, XmlNameTable nt ) { 232public override String LookupNamespace( String prefix ) {
System\Xml\Core\XmlTextReaderImpl.cs (8)
1343public override String LookupNamespace( String prefix ) { 2985if ( 0 == String.Compare( newEncodingName, "ucs-2", StringComparison.OrdinalIgnoreCase ) || 29860 == String.Compare( newEncodingName, "utf-16", StringComparison.OrdinalIgnoreCase ) || 29870 == String.Compare( newEncodingName, "iso-10646-ucs-2", StringComparison.OrdinalIgnoreCase ) || 29880 == String.Compare( newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase ) ) { 29910 != String.Compare( newEncodingName, "ucs-4", StringComparison.OrdinalIgnoreCase ) ) { 3007if ( 0 == String.Compare( newEncodingName, "utf-8", StringComparison.OrdinalIgnoreCase ) ) {
System\Xml\Core\XmlTextWriter.cs (6)
60defaultNs = String.Empty; 277public XmlTextWriter(String filename, Encoding encoding) 656if (0 == String.Compare(name, "xml", StringComparison.OrdinalIgnoreCase) && this.stateTable == stateTableDocument) { 697ws = String.Empty; 764public override void WriteRaw(String data) { 928String xlang = stack[i].xmlLang;
System\Xml\Core\XmlValidatingReader.cs (2)
172public override String LookupNamespace( String prefix ) {
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
505public override String LookupNamespace( String prefix ) {
System\Xml\Core\XmlWellFormedWriter.cs (2)
597curDeclPrefix = String.Empty; 1140string prefix = String.Empty;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
414curDeclPrefix = String.Empty; 954string prefix = String.Empty;
System\Xml\Core\XmlWriter.cs (6)
543public void WriteElementString(string localName, String value) { 548public void WriteElementString(string localName, String ns, String value) { 557public void WriteElementString(string prefix, String localName, String ns, String value) {
System\Xml\Core\XmlWriterAsync.cs (3)
495public async Task WriteElementStringAsync(string prefix, String localName, String ns, String value) {
System\Xml\Core\XsdValidatingReader.cs (1)
156TypeOfString = typeof(System.String);
System\Xml\Dom\XmlAttribute.cs (10)
62public override String Name { 67public override String LocalName { 72public override String NamespaceURI { 77public override String Prefix { 95public override String Value { 106public override String InnerText { 299public override String BaseURI { 303return String.Empty; 319internal override String XmlLang { 323return String.Empty;
System\Xml\Dom\XmlCDataSection.cs (2)
21public override String Name { 28public override String LocalName {
System\Xml\Dom\XmlCharacterData.cs (6)
22public override String Value { 41return String.Empty; 70public virtual String Substring(int offset, int count) { 78return String.Empty; 83public virtual void AppendData(String strData) { 141public virtual void ReplaceData(int offset, int count, String strData) {
System\Xml\Dom\XmlComment.cs (2)
18public override String Name { 23public override String LocalName {
System\Xml\Dom\XmlDeclaration.cs (4)
44set { this.encoding = ( (value == null) ? String.Empty : value ); } 52this.standalone = String.Empty; 60public override String Value { 116public override String Name {
System\Xml\Dom\XmlDocument.cs (44)
71internal String baseURI; 116strEmpty = nt.Add( String.Empty ); 117baseURI = String.Empty; 128internal static void CheckName( String name ) { 286public override String Name { 291public override String LocalName { 487public XmlAttribute CreateAttribute( String name ) { 488String prefix = String.Empty; 489String localName = String.Empty; 490String namespaceURI = String.Empty; 499internal void SetDefaultNamespace( String prefix, String localName, ref String namespaceURI ) { 508public virtual XmlCDataSection CreateCDataSection( String data ) { 514public virtual XmlComment CreateComment( String data ) { 530public XmlElement CreateElement( String name ) { 531string prefix = String.Empty; 532string localName = String.Empty; 593public virtual XmlEntityReference CreateEntityReference( String name ) { 599public virtual XmlProcessingInstruction CreateProcessingInstruction( String target, String data ) { 604public virtual XmlDeclaration CreateXmlDeclaration( String version, string encoding, string standalone ) { 609public virtual XmlText CreateTextNode( String text ) { 734public virtual XmlNodeList GetElementsByTagName( String name ) { 742public XmlAttribute CreateAttribute( String qualifiedName, String namespaceURI ) { 743string prefix = String.Empty; 744string localName = String.Empty; 752public XmlElement CreateElement( String qualifiedName, String namespaceURI ) { 753string prefix = String.Empty; 754string localName = String.Empty; 761public virtual XmlNodeList GetElementsByTagName( String localName, String namespaceURI ) { 848throw new InvalidOperationException( String.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Import), node.NodeType.ToString() ) ); 1420internal String Version { 1429internal String Encoding { 1438internal String Standalone { 1447internal XmlEntity GetEntityNode( String name ) { 1473public override String BaseURI { 1477internal void SetBaseURI( String inBaseURI ) {
System\Xml\Dom\XmlDocumentFragment.cs (2)
59public override String Name { 64public override String LocalName {
System\Xml\Dom\XmlDomTextWriter.cs (1)
25public XmlDOMTextWriter( String filename, Encoding encoding ) : base( filename,encoding ){
System\Xml\Dom\XmlElement.cs (2)
230return String.Empty; 289return String.Empty;
System\Xml\Dom\XmlEntity.cs (16)
15String notationName; 16String name; 17String unparsedReplacementStr; 18String baseURI; 22internal XmlEntity( String name, String strdata, string publicId, string systemId, String notationName, XmlDocument doc ) : base( doc ) { 103public String PublicId { 108public String SystemId { 114public String NotationName { 119public override String OuterXml { 120get { return String.Empty; } 123public override String InnerXml { 124get { return String.Empty; } 136public override String BaseURI { 140internal void SetBaseURI( String inBaseURI ) {
System\Xml\Dom\XmlEntityReference.cs (4)
59public override String Value { 154public override String BaseURI { 173internal String ChildBaseURI { 183return String.Empty;
System\Xml\Dom\XmlImplementation.cs (1)
28if (String.Compare("XML", strFeature, StringComparison.OrdinalIgnoreCase) == 0) {
System\Xml\Dom\XmlLoader.cs (10)
371String publicId = null; 372String systemId = null; 373String internalSubset = reader.Value; 374String localName = reader.LocalName; 601String lang = null; 604String baseURI = this.doc.BaseURI; 623mgr.AddNamespace( String.Empty, attr.Value ); 750private String EntitizeName(String name) { 809private XmlReader CreateInnerXmlReader( String xmlFragment, XmlNodeType nt, XmlParserContext context, XmlDocument doc ) {
System\Xml\Dom\XmlNamedNodemap.cs (6)
22public virtual XmlNode GetNamedItem(String name) { 45public virtual XmlNode RemoveNamedItem(String name) { 76public virtual XmlNode GetNamedItem(String localName, String namespaceURI) { 84public virtual XmlNode RemoveNamedItem(String localName, String namespaceURI) {
System\Xml\Dom\XmlNode.cs (6)
698if (String.Compare("XML", feature, StringComparison.OrdinalIgnoreCase) == 0) { 861public virtual String BaseURI { 876return String.Empty; 1140internal virtual String XmlLang { 1152return String.Empty; 1169return String.Empty;
System\Xml\Dom\XmlNodeReader.cs (60)
32const String strPublicID = "PUBLIC"; 33const String strSystemID = "SYSTEM"; 34const String strVersion = "version"; 35const String strStandalone = "standalone"; 36const String strEncoding = "encoding"; 50internal String name; 51internal String value; 53internal VirtualAttribute(String name, String value) { 114public String NamespaceURI { 118public String Name { 123return String.Empty; //Text node's name is String.Empty 133return String.Empty; 138public String LocalName { 144return String.Empty; 196public String Prefix { 217public String Value { 220String retValue = null; 234StringBuilder strb = new StringBuilder(String.Empty); 245return ( retValue == null )? String.Empty : retValue; 249public String BaseURI { 257public String XmlLang { 323String strTemp = doc.Version; 344public String GetDeclarationAttr( XmlDeclaration decl, String name ) { 355public String GetDeclarationAttr( int i ) { 361public int GetDecAttrInd( String name ) { 378String strTemp = docType.PublicId; 393public String GetDocumentTypeAttr ( XmlDocumentType docType, String name ) { 402public String GetDocumentTypeAttr( int i ) { 408public int GetDocTypeAttrInd( String name ) { 418private String GetAttributeFromElement( XmlElement elem, String name ) { 425public String GetAttribute( String name ) { 441private String GetAttributeFromElement( XmlElement elem, String name, String ns ) { 447public String GetAttribute( String name, String ns ) { 463public String GetAttribute( int attributeIndex ) { 557private bool MoveToAttributeFromElement( XmlElement elem, String name, String ns ) { 733public String LookupNamespace(string prefix) { 791internal String LookupPrefix(string namespaceName) { 1002return String.Empty; 1011return String.Empty; 1021return String.Empty; 1030return String.Empty; 1049return String.Empty; 1061public override String BaseURI { 1104return String.Empty; 1144String ns = ( namespaceURI == null ) ? String.Empty : namespaceURI; 1179String ns = ( namespaceURI == null ) ? String.Empty : namespaceURI; 1487public override String LookupNamespace(string prefix) { 1623String IXmlNamespaceResolver.LookupNamespace( string prefix ) {
System\Xml\Dom\XmlNotation.cs (12)
14String publicId; 15String systemId; 16String name; 18internal XmlNotation( String name, String publicId, String systemId, XmlDocument doc ): base( doc ) { 57public String PublicId { 63public String SystemId { 68public override String OuterXml { 69get { return String.Empty; } 72public override String InnerXml { 73get { return String.Empty; }
System\Xml\Dom\XmlProcessingInstruction.cs (5)
27public override String Name { 31return String.Empty; 41public override String Value { 47public String Target { 53public String Data {
System\Xml\Dom\XmlSignificantWhiteSpace.cs (3)
23public override String Name { 30public override String LocalName { 69public override String Value {
System\Xml\Dom\XmlText.cs (4)
24public override String Name { 31public override String LocalName { 70public override String Value { 99String splitData = Substring(offset, count);
System\Xml\Dom\XmlWhitespace.cs (3)
23public override String Name { 30public override String LocalName { 63public override String Value {
System\Xml\Schema\DataTypeImplementation.cs (5)
524string s1 = (string)this.ValueConverter.ChangeType(value, typeof(System.String), namespaceResolver); //Using value here to avoid info loss 951string s1 = (string)itemValueConverter.ChangeType(item, typeof(System.String), namespaceResolver); 963string s1 = (string)this.ValueConverter.ChangeType(valueToCheck, typeof(System.String), namespaceResolver); 1169string s1 = (string)this.ValueConverter.ChangeType(valueToCheck, typeof(System.String), nsmgr); //Using value here to avoid info loss 1224return String.Compare(value1.ToString(), value2.ToString(), StringComparison.Ordinal);
System\Xml\Schema\Inference\Infer.cs (4)
267foreach(String prefix in this.NamespaceManager) 271String ns = this.NamespaceManager.LookupNamespace(this.nametable.Get(prefix)); 364if (prefix.Length != 0 && String.Compare(prefix, "xml", StringComparison.OrdinalIgnoreCase) != 0) 520if (childURI == String.Empty)
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (3)
40public XmlSchemaInferenceException(String message) : base (message, ((Exception)null), 0, 0) 44public XmlSchemaInferenceException(String message, Exception innerException) : base (message, innerException, 0, 0) 49public XmlSchemaInferenceException(String message, Exception innerException, int lineNumber, int linePosition) :
System\Xml\Schema\Parser.cs (1)
402eref.AppendChild(dummyDocument.CreateTextNode(String.Empty));
System\Xml\Schema\SchemaAttDef.cs (6)
25private String defExpanded; // default value in its expanded form 49public SchemaAttDef(XmlQualifiedName name, String prefix) 141internal String DefaultValueExpanded { 142get { return(defExpanded != null) ? defExpanded : String.Empty;} 189String s1 = values[0].ToString(); 192String s2 = values[1].ToString();
System\Xml\Schema\SchemaElementDecl.cs (1)
49internal SchemaElementDecl(XmlQualifiedName name, String prefix)
System\Xml\Schema\SchemaEntity.cs (11)
15private String url; // Url for external entity (system id) 16private String pubid; // Pubid for external entity 17private String text; // Text for internal entity 95internal static bool IsPredefinedEntity(String n) { 108internal String Url { 113internal String Pubid { 133internal String Text { 148internal String BaseURI { 149get { return (baseURI == null) ? String.Empty : baseURI; } 158internal String DeclaredURI { 159get { return (declaredURI == null) ? String.Empty : declaredURI; }
System\Xml\Schema\SchemaNotation.cs (4)
18private String systemLiteral; // System literal 19private String pubid; // pubid literal 29internal String SystemLiteral { 34internal String Pubid {
System\Xml\Schema\ValidationEventArgs.cs (1)
43public String Message {
System\Xml\Schema\XdrBuilder.cs (1)
606builder._TargetNamespace = String.Empty;
System\Xml\Schema\XmlSchemaCollection.cs (4)
121public XmlSchema Add(String ns, XmlReader reader) { 131public XmlSchema Add(String ns, XmlReader reader, XmlResolver resolver) { 371private String namespaceUri; 375internal String NamespaceURI {
System\Xml\Schema\XmlSchemaDataType.cs (1)
256if (t == typeof(IEnumerable) && t != typeof(System.String)) {
System\Xml\Schema\XmlSchemaException.cs (3)
79public XmlSchemaException(String message) : this (message, ((Exception)null), 0, 0) { 86public XmlSchemaException(String message, Exception innerException) : this (message, innerException, 0, 0) { 90public XmlSchemaException(String message, Exception innerException, int lineNumber, int linePosition) :
System\Xml\Schema\XmlSchemaSet.cs (6)
279public XmlSchema Add(String targetNamespace, String schemaUri) { 319public XmlSchema Add(String targetNamespace, XmlReader schemaDocument) { 496public bool Contains(String targetNamespace) { 703public ICollection Schemas(String targetNamespace) { 814internal void Add(String targetNamespace, XmlReader reader, Hashtable validatedNamespaces) {
System\Xml\Schema\XmlSchemaValidationException.cs (3)
38public XmlSchemaValidationException(String message) : base (message, ((Exception)null), 0, 0) { 42public XmlSchemaValidationException(String message, Exception innerException) : base (message, innerException, 0, 0) { 46public XmlSchemaValidationException(String message, Exception innerException, int lineNumber, int linePosition) :
System\Xml\Serialization\Compilation.cs (1)
451new Type[] { typeof(String) },
System\Xml\Serialization\PrimitiveXmlSerializers.cs (21)
18WriteNullableStringLiteral(@"string", @"", ((System.String)o)); 580System.String id4_boolean; 581System.String id14_unsignedInt; 582System.String id15_unsignedLong; 583System.String id7_float; 584System.String id10_dateTime; 585System.String id6_long; 586System.String id9_decimal; 587System.String id8_double; 588System.String id17_guid; 589System.String id19_TimeSpan; 590System.String id2_Item; 591System.String id13_unsignedShort; 592System.String id18_char; 593System.String id3_int; 594System.String id12_byte; 595System.String id16_base64Binary; 596System.String id11_unsignedByte; 597System.String id5_short; 598System.String id1_string; 599System.String id1_QName;
System\Xml\Serialization\SchemaObjectWriter.cs (42)
23int ns = String.Compare(a1.NamespaceURI, a2.NamespaceURI, StringComparison.Ordinal); 25return String.Compare(a1.Name, a2.Name, StringComparison.Ordinal); 35return String.Compare(f1.GetType().Name + ":" + f1.Value, f2.GetType().Name + ":" + f2.Value, StringComparison.Ordinal); 43int ns = String.Compare(qn1.Namespace, qn2.Namespace, StringComparison.Ordinal); 45return String.Compare(qn1.Name, qn2.Name, StringComparison.Ordinal); 230if (o == null) return String.Empty; 251WriteAttribute(@"id", @"", ((System.String)o.@Id)); 253WriteAttribute(@"default", @"", ((System.String)o.@DefaultValue)); 254WriteAttribute(@"fixed", @"", ((System.String)o.@FixedValue)); 263WriteAttribute(@"name", @"", ((System.String)o.@Name)); 408WriteAttribute(@"id", @"", ((System.String)o.@Id)); 429WriteAttribute(@"source", @"", ((System.String)o.@Source)); 430WriteAttribute(@"lang", @"http://www.w3.org/XML/1998/namespace", ((System.String)o.@Language)); 462WriteAttribute(@"id", @"", ((System.String)o.@Id)); 464WriteAttribute(@"name", @"", ((System.String)o.@Name)); 487WriteAttribute(@"id", @"", ((System.String)o.@Id)); 515WriteAttribute(@"id", @"", ((System.String)o.@Id)); 528WriteAttribute(@"id", @"", ((System.String)o.@Id)); 617WriteAttribute(@"id", @"", ((System.String)o.@Id)); 618WriteAttribute(@"name", @"", ((System.String)o.@Name)); 630WriteAttribute(@"id", @"", ((System.String)o.@Id)); 644WriteAttribute(@"id", @"", ((System.String)o.@Id)); 668WriteAttribute(@"id", @"", ((System.String)o.@Id)); 669WriteAttribute(@"name", @"", ((System.String)o.@Name)); 707WriteAttribute(@"id", @"", ((System.String)o.@Id)); 723WriteAttribute(@"id", @"", ((System.String)o.@Id)); 737WriteAttribute(@"id", @"", ((System.String)o.@Id)); 754WriteAttribute(@"id", @"", ((System.String)o.@Id)); 771WriteAttribute(@"id", @"", ((System.String)o.@Id)); 798WriteAttribute(@"id", @"", ((System.String)o.@Id)); 861WriteAttribute(@"id", @"", ((System.String)o.@Id)); 862WriteAttribute(@"name", @"", ((System.String)o.@Name)); 908WriteAttribute(@"id", @"", ((System.String)o.@Id)); 909WriteAttribute(@"name", @"", ((System.String)o.@Name)); 930WriteAttribute(@"id", @"", ((System.String)o.@Id)); 931WriteAttribute(@"name", @"", ((System.String)o.@Name)); 949WriteAttribute(@"id", @"", ((System.String)o.@Id)); 977WriteAttribute(@"id", @"", ((System.String)o.@Id)); 1010WriteAttribute(@"id", @"", ((System.String)o.@Id)); 1026WriteAttribute(@"id", @"", ((System.String)o.@Id)); 1055WriteAttribute(@"id", @"", ((System.String)o.@Id)); 1056WriteAttribute(@"name", @"", ((System.String)o.@Name));
System\Xml\Serialization\SoapReflectionImporter.cs (4)
59defaultNamespace = String.Empty; 180return ImportTypeMapping(model, String.Empty, limiter); 652attribute.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), (a.SoapAttribute == null ? String.Empty : a.SoapAttribute.DataType), limiter); 666element.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), (a.SoapElement == null ? String.Empty : a.SoapElement.DataType), limiter);
System\Xml\Serialization\XmlMapping.cs (2)
110return type.FullName + ":" + (root == null ? String.Empty : root.Key) + ":" + (ns == null ? String.Empty : ns);
System\Xml\Serialization\XmlMemberMapping.cs (1)
74get { return Accessor.Mapping != null ? Accessor.Mapping.TypeName : String.Empty; }
System\Xml\Serialization\XmlReflectionImporter.cs (4)
77defaultNamespace = String.Empty; 1352accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(modelScope.GetTypeModel(choiceIdentifierType), ns, ImportContext.Element, String.Empty, null, limiter); 1480element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, String.Empty, null, limiter); 1696element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, String.Empty, null, false, openModel, limiter);
System\Xml\Serialization\XmlRootAttribute.cs (1)
84get { return (ns == null ? String.Empty : ns) + ":" + ElementName + ":" + nullable.ToString(); }
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1649return String.Compare(e1.ToString(string.Empty), e2.ToString(string.Empty), StringComparison.Ordinal);
System\Xml\Serialization\XmlSerializationILGen.cs (2)
326new Type[] { typeof(String), typeof(String) },
System\Xml\Serialization\XmlSerializationReader.cs (4)
1123return new XmlQualifiedName(r.NameTable.Add(value), r.LookupNamespace(String.Empty)); 4555Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int whileIterations{0} = 0;", nextWhileLoopIndex)); 4556Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int readerCount{0} = ReaderCount;", nextWhileLoopIndex)); 4562Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "CheckReaderCount(ref whileIterations{0}, ref readerCount{1});", loopIndex, loopIndex));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (45)
243new Type[] { typeof(String) }, 292new Type[] { typeof(String), typeof(String) }, 298ilg.LoadMember(idNameFields[name ?? String.Empty]); 300ilg.LoadMember(idNameFields[ns ?? String.Empty]); 824new Type[] { typeof(String) }, 856new Type[] { typeof(String) }, 864Type argType = source == "false" ? typeof(Boolean) : typeof(String); 1075new Type[] { typeof(String), typeof(Hashtable), typeof(String) }, 1237new Type[] { typeof(String) }, 1466new Type[] { typeof(String), typeof(String) }, 1533new Type[] { typeof(String), typeof(String) }, 1754ilg.LoadMember(idNameFields[name ?? String.Empty]); 1759ilg.LoadMember(idNameFields[ns ?? String.Empty]); 1808ilg.LoadMember(idNameFields[name ?? String.Empty]); 1816ilg.LoadMember(idNameFields[ns ?? String.Empty]); 1962new Type[] { typeof(String), typeof(String) }, 1965MethodInfo String_get_Length = typeof(String).GetMethod( 1984ilg.Ldstr(String.Empty); 2127MethodInfo String_Split = typeof(String).GetMethod( 2224new Type[] { typeof(String) }, 2400new Type[] { typeof(String) }, 2445new Type[] { typeof(String) }, 2458new Type[] { typeof(String), typeof(Boolean) }, 3344new Type[] { typeof(String), typeof(String), typeof(String), typeof(String), typeof(String), typeof(String) }, 3363new Type[] { typeof(String), typeof(String), typeof(String) }, 3455ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", nextWhileLoopIndex)); 3458ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "readerCount{0}", nextWhileLoopIndex)); 3472ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", loopIndex))); 3473ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "readerCount{0}", loopIndex))); 3503new Type[] { typeof(String) }, 3516new Type[] { typeof(String) }, 3539new Type[] { typeof(Type), typeof(Object), typeof(String) }, 3551new Type[] { typeof(String) },
System\Xml\Serialization\XmlSerializationWriter.cs (34)
305value = String.Empty; 927protected void WriteElementString(String localName, String value) { 932protected void WriteElementString(String localName, String ns, String value) { 937protected void WriteElementString(String localName, String value, XmlQualifiedName xsiType) { 942protected void WriteElementString(String localName, String ns, String value, XmlQualifiedName xsiType) { 955protected void WriteElementStringRaw(String localName, String value) { 960protected void WriteElementStringRaw(String localName, byte[] value) { 965protected void WriteElementStringRaw(String localName, String ns, String value) { 970protected void WriteElementStringRaw(String localName, String ns, byte[] value) { 975protected void WriteElementStringRaw(String localName, String value, XmlQualifiedName xsiType) { 980protected void WriteElementStringRaw(String localName, byte[] value, XmlQualifiedName xsiType) { 985protected void WriteElementStringRaw(String localName, String ns, String value, XmlQualifiedName xsiType) { 995protected void WriteElementStringRaw(String localName, String ns, byte[] value, XmlQualifiedName xsiType) { 1014protected void WriteElementQualifiedName(String localName, XmlQualifiedName value) { 1027protected void WriteElementQualifiedName(String localName, String ns, XmlQualifiedName value) { 1219if (name == null) name = String.Empty; 2226string ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : String.Empty; 2330string ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : String.Empty; 3419writer.Write(String.Format(CultureInfo.InvariantCulture, helperClassesForUseReflection,
System\Xml\Serialization\XmlSerializationWriterILGen.cs (49)
209argTypes.Add(typeof(String)); 212argTypes.Add(typeof(String)); 231new Type[] { typeof(String), typeof(String) }, 258new Type[] { typeof(String), typeof(String) }, 606LocalBuilder strArray = ilg.DeclareLocal(typeof(String[]), "strArray"); 607ilg.NewArray(typeof(String), constants.Length); 614ilg.Stelem(typeof(String)); 634new Type[] { typeof(Int64), typeof(String[]), typeof(Int64[]), typeof(String) }, 761new Type[] { typeof(String), typeof(String) }, 773new Type[] { typeof(String), typeof(String) }, 790new Type[] { typeof(String) }, 836new Type[] { typeof(String), typeof(String) }, 848new Type[] { typeof(String), typeof(String) }, 907new Type[] { typeof(String), typeof(String) }, 947new Type[] { typeof(String), typeof(String), typeof(Object), typeof(Boolean) }, 1016new Type[] { typeof(String), typeof(String), typeof(Object), typeof(Boolean), typeof(XmlSerializerNamespaces) }, 1027new Type[] { typeof(String), typeof(String) }, 1125string ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : String.Empty; 1137new Type[] { typeof(String), typeof(String), typeof(String) }, 1195new Type[] { typeof(String) }, 1287string ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : String.Empty; 1413new Type[] { typeof(String), typeof(String) }, 1695new Type[] { typeof(String), typeof(String), typeof(String), typeof(String) }, 1721new Type[] { typeof(String), typeof(String) }, 2007new Type[] { cast, typeof(String), typeof(String), typeof(Boolean), typeof(Boolean) }, 2107new Type[] { typeof(String), typeof(String), typeof(String) }, 2328new Type[] { typeof(String) }, 2385String[] vars = initValue.Source.Split('.');
System\Xml\XmlConvert.cs (1)
1130internal static String ToXPathString(Object value){
System\Xml\XmlException.cs (7)
91public XmlException(String message) : this (message, ((Exception)null), 0, 0) { 98public XmlException(String message, Exception innerException) : this (message, innerException, 0, 0) { 102public XmlException(String message, Exception innerException, int lineNumber, int linePosition) : 106internal XmlException(String message, Exception innerException, int lineNumber, int linePosition, string sourceUri) : 129internal XmlException(string res, String arg, IXmlLineInfo lineInfo) : 132internal XmlException(string res, String arg, Exception innerException, IXmlLineInfo lineInfo) : 135internal XmlException(string res, String arg, IXmlLineInfo lineInfo, string sourceUri) :
System\Xml\XmlNamespacemanager.cs (5)
189if ( String.Equals( nsdecls[declIndex].uri, uri ) && nsdecls[declIndex].scopeId == scopeId ) { 273if ( String.Equals( nsdecls[thisDecl].prefix, prefix ) && nsdecls[thisDecl].uri != null ) { 284if ( String.Equals( nsdecls[thisDecl].uri, uri ) ) { 286if ( String.Equals( LookupNamespace( prefix ), uri ) ) { 297if ( String.Equals( nsdecls[thisDecl].prefix, prefix ) && nsdecls[thisDecl].uri != null ) {
System\Xml\XmlNameTable.cs (6)
24public abstract String Get(char[] array, int offset, int length); 33public abstract String Get(String array); 40public abstract String Add(char[] array, int offset, int length); 48public abstract String Add(String array);
System\Xml\XmlQualifiedName.cs (3)
174MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static); 272int i = String.CompareOrdinal(a.Namespace, b.Namespace); 274i = String.CompareOrdinal(a.Name, b.Name);
System\Xml\Xslt\XsltException.cs (4)
67public XsltException(String message) : this (message, (Exception) null) {} 69public XsltException(String message, Exception innerException) : 143public XsltCompileException(String message) : base (message) {} 145public XsltCompileException(String message, Exception innerException) : base (message, innerException) {}
System\Xml\Xslt\XslTransform.cs (4)
234public void Transform(String inputfile, String outputfile, XmlResolver resolver) { 251public void Transform(String inputfile, String outputfile) {
UIAutomationClient (4)
MS\Internal\Automation\ProxyManager.cs (3)
282if (String.Compare(className, str, StringComparison.OrdinalIgnoreCase) == 0) 523if (!String.IsNullOrEmpty(baseClassName)) 538if (proxy == null && !String.IsNullOrEmpty(baseClassName))
MS\Internal\Automation\WindowShowOrOpenTracker.cs (1)
86if (String.Compare(str, 0, _wcpClassName, 0, _wcpClassName.Length, StringComparison.OrdinalIgnoreCase) == 0)
UIAutomationClientsideProviders (17)
MS\Internal\AutomationProxies\Misc.cs (1)
606String str = new string((char*)memAddr.ToPointer(), 0, maxLength);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (4)
378if(String.Compare(className, "eHome Render Window", StringComparison.OrdinalIgnoreCase) == 0) 872if(pattern == InvokePattern.Pattern && !String.IsNullOrEmpty(_acc.DefaultAction)) 877else if(pattern == ValuePattern.Pattern && !String.IsNullOrEmpty(_acc.Value)) 1096if (String.Compare(className, str, StringComparison.OrdinalIgnoreCase) == 0)
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
221if (String.IsNullOrEmpty(name))
MS\Internal\AutomationProxies\WindowsAltTab.cs (2)
372String localizedName = String.Empty;
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
694return (0 == String.Compare(Misc.GetClassName(hwndEx), ComboboxEx32, StringComparison.OrdinalIgnoreCase));
MS\Internal\AutomationProxies\WindowsIPAddress.cs (2)
235private IPAddress GetIPAddressFromString (String strIPAddress) 237String [] strIPAddresses = strIPAddress.Split (IP_ADDRESS_SEPERATOR);
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
928return (String.Compare(Misc.ProxyGetClassName(hwnd), WindowsMenu.MenuClassName, StringComparison.OrdinalIgnoreCase) == 0);
MS\Internal\AutomationProxies\WindowsTooltip.cs (5)
194return String.Compare(className, "tooltips_class32", StringComparison.OrdinalIgnoreCase) == 0 || 195String.Compare(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase) == 0 || 196String.Compare(className, "VBBubble", StringComparison.OrdinalIgnoreCase) == 0; 203if (String.Compare(className, CLASS_TITLEBAR_TOOLTIP, StringComparison.OrdinalIgnoreCase) == 0) 207else if (String.Compare(className, "VBBubble", StringComparison.OrdinalIgnoreCase) == 0)
WindowsBase (390)
Base\MS\Internal\ContentType.cs (18)
90if (String.CompareOrdinal(contentType, String.Empty) == 0) 92_contentType = String.Empty; 263result = (String.Compare(_type, contentType.TypeComponent, StringComparison.OrdinalIgnoreCase) == 0 && 264String.Compare(_subType, contentType.SubTypeComponent, StringComparison.OrdinalIgnoreCase) == 0); 280return String.Empty; 282Debug.Assert(String.CompareOrdinal(_type, String.Empty) != 0 283|| String.CompareOrdinal(_subType, String.Empty) != 0); 446while (String.CompareOrdinal(parameterAndValue, String.Empty) != 0) 556if (String.CompareOrdinal(token, String.Empty)==0) 582if (String.CompareOrdinal(parameterValue, String.Empty) == 0) 717private string _type = String.Empty; 718private string _subType = String.Empty;
Base\MS\Internal\IO\Packaging\CaseInsensitiveOrdinalStringComparer.cs (12)
32Invariant.Assert((x is String) && (y is String)); 33return (String.CompareOrdinal(((String) x).ToUpperInvariant(), 34((String) y).ToUpperInvariant()) == 0); 39Invariant.Assert((x is String) && (y is String)); 41return String.CompareOrdinal(((String) x).ToUpperInvariant(), 42((String) y).ToUpperInvariant()); 48Invariant.Assert(str is String); 50return ((String) str).ToUpperInvariant().GetHashCode();
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileReference.cs (2)
196String streamName = null; 218String str = ContainerUtilities.ReadByteLengthPrefixedDWordPaddedUnicodeString(reader, out byteLength);
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStorageReference.cs (4)
89return (String.CompareOrdinal(_fullName.ToUpperInvariant(), r._fullName.ToUpperInvariant()) == 0); 120return String.CompareOrdinal(_fullName.ToUpperInvariant(), r._fullName.ToUpperInvariant()); 140_fullName = String.Empty; 167private String _fullName; // whack-path
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileStreamReference.cs (3)
103return (String.CompareOrdinal(_fullName.ToUpperInvariant(), r._fullName.ToUpperInvariant()) == 0); 133return String.CompareOrdinal(_fullName.ToUpperInvariant(), r._fullName.ToUpperInvariant()); 172private String _fullName; // whack-path
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (8)
135internal static int WriteByteLengthPrefixedDWordPaddedUnicodeString(BinaryWriter writer, String outputString) 187internal static String ReadByteLengthPrefixedDWordPaddedUnicodeString(BinaryReader reader) 203internal static String ReadByteLengthPrefixedDWordPaddedUnicodeString(BinaryReader reader, out int bytesRead) 213String inString = null; 247inString = String.Empty; 413return String.Empty; 425CheckStringForEmbeddedPathSeparator((String)arrayPath[counter], "Path array element"); 427pathBuilder.Append((String)arrayPath[counter]);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
694if (String.CompareOrdinal(
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (1)
412if (String.CompareOrdinal(
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (5)
90if (String.CompareOrdinal(idValue, dataObject.Id) == 0) 126if (String.CompareOrdinal(reference.Type, _XAdESTargetType) == 0) 138if (String.CompareOrdinal(uri, idValue) == 0) 165if (String.CompareOrdinal(dataObject.Id, XTable.Get(XTable.ID.OpcAttrValue)) != 0) 194if ((temp != null) && (String.CompareOrdinal(temp.NamespaceURI, _XAdESNameSpace) == 0))
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (14)
128internal void Delete(String id) 202if (relationshipType.Trim() == String.Empty) 314&& (String.CompareOrdinal(RelationshipsTagName, reader.LocalName) == 0) 315&& (String.CompareOrdinal(PackagingUtilities.RelationshipNamespaceUri, reader.NamespaceURI) == 0)) 338&& (String.CompareOrdinal(RelationshipTagName, reader.LocalName) == 0) 339&& (String.CompareOrdinal(PackagingUtilities.RelationshipNamespaceUri, reader.NamespaceURI) == 0)) 362if (!(String.CompareOrdinal(RelationshipsTagName,reader.LocalName) == 0 && (reader.NodeType == XmlNodeType.EndElement))) 403if (targetAttributeValue == null || targetAttributeValue == String.Empty) 410if (typeAttributeValue == null || typeAttributeValue == String.Empty) 416if (idAttributeValue == null || idAttributeValue == String.Empty) 434if (reader.NodeType == XmlNodeType.EndElement && String.CompareOrdinal(RelationshipTagName, reader.LocalName) == 0) 640if (String.CompareOrdinal(target.Scheme, PackUriHelper.UriSchemePack) == 0) 667private void ThrowForInvalidAttributeValue(XmlCompatibilityReader reader, String attributeName, Exception ex) 690return String.Concat("R", Guid.NewGuid().ToString("N").Substring(0, _timestampLength));
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (5)
622String valueType = PackageXmlStringTable.GetValueType(xmlStringIndex); 637if (String.CompareOrdinal(valueType, "String") == 0) 648else if (String.CompareOrdinal(valueType, "DateTime") == 0) 684String typeValue = reader.GetAttribute(PackageXmlStringTable.GetXmlString(PackageXmlEnum.Type), 707|| String.CompareOrdinal(name, typeValue.Substring(index + 1, typeValue.Length - index - 1)) != 0)
Base\MS\Internal\IO\Packaging\PartManifestEntry.cs (9)
43internal String HashAlgorithm { get { return _hashAlgorithm; } } 44internal String HashValue { get { return _hashValue; } } 45internal List<String> Transforms { get { return _transforms; } } 70internal PartManifestEntry(Uri uri, ContentType contentType, String hashAlgorithm, 71String hashValue, List<String> transforms, List<PackageRelationshipSelector> relationshipSelectors) 125private String _hashAlgorithm; 126private String _hashValue; 127private List<String> _transforms;
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
51Debug.Assert(prefixName != null && prefixName != String.Empty);
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (1)
724if (String.CompareOrdinal(inputString, convertedString) != 0)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (42)
79String signatureId, 146String currentHashAlgorithmName = String.Empty; // guaranteed not to match 182if (String.CompareOrdinal( 196String.CompareOrdinal(partEntry.HashAlgorithm, currentHashAlgorithmName) != 0) 214String base64EncodedHashValue = GenerateDigestValue(s, partEntry.Transforms, hashAlgorithm); 217if (String.CompareOrdinal(base64EncodedHashValue, partEntry.HashValue) != 0) 242internal List<String> GetPartTransformList(Uri partName) 247List<String> transformList = null; 261transformList = new List<String>(); 426internal String TimeFormat 453internal static String GenerateDigestValue( 455String transformName, 458List<String> transforms = null; 461transforms = new List<String>(1); 478internal static String GenerateDigestValue( 480List<String> transforms, 497foreach (String transformName in transforms) 501|| (String.CompareOrdinal(transformName, XTable.Get(XTable.ID.RelationshipsTransformName)) == 0)) 521String hashValueString = System.Convert.ToBase64String(HashStream(hashAlgorithm, transformStream)); 571internal static HashAlgorithm GetHashAlgorithm(String hashAlgorithmName) 602private static Transform StringToTransform(String transformName) 606if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NTransformUrl) == 0) 610else if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NWithCommentsTransformUrl) == 0) 629internal static bool IsValidXmlCanonicalizationTransform(String transformName) 633if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NTransformUrl) == 0 || 634String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NWithCommentsTransformUrl) == 0) 701(String.CompareOrdinal(node.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0) || 702(String.CompareOrdinal(node.LocalName, XTable.Get(XTable.ID.SignatureTagName)) != 0)) 778String signatureId, 950SortedDictionary<String, PackageRelationship> partRelationships = 951new SortedDictionary<String, PackageRelationship>(StringComparer.Ordinal); 1071if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0) 1081&& (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) == 0) 1084if (!signaturePropertiesTagFound && String.CompareOrdinal(reader.LocalName, signaturePropertiesTagName) == 0) 1094else if (!manifestTagFound && String.CompareOrdinal(reader.LocalName, manifestTagName) == 0) 1126String opcId = XTable.Get(XTable.ID.OpcAttrValue); 1130if (String.CompareOrdinal(dataObject.Id, opcId) == 0) 1175String signatureId) 1257if (String.CompareOrdinal(currentReference.Uri, XTable.Get(XTable.ID.OpcLinkAttrValue)) == 0) 1299private String _hashAlgorithmName; // first hash algorithm obtained - considered to be the setting for the entire signature 1304private String _signingTimeFormat; // format string
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (31)
133if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) == 0 134&& (String.CompareOrdinal(reader.LocalName, referenceTagName) == 0) 170|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 197|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 257List<String> transforms = null; // optional transform algorithm names 263if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 271String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.DigestMethodTagName)) == 0) 279String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.DigestValueTagName)) == 0) 287String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.TransformsTagName)) == 0) 310private static List<String> ParseTransformsTag(XmlReader reader, Uri partUri, ref List<PackageRelationshipSelector> relationshipSelectors) 330List<String> transforms = null; 339String transformName = null; 343|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 344|| String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.TransformTagName)) != 0) 359if (String.CompareOrdinal(transformName, XTable.Get(XTable.ID.RelationshipsTransformName)) == 0) 367transforms = new List<String>(); 384transforms = new List<String>(); 432&& (String.CompareOrdinal(reader.NamespaceURI, XTable.Get(XTable.ID.OpcSignatureNamespace)) == 0)) 435if (String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.RelationshipReferenceTagName)) == 0) 450else if ((String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.ID.RelationshipsGroupReferenceTagName)) == 0)) 595private static Uri ParsePartUriAttribute(String attrValue, out ContentType contentType) 607String query = attrValue.Substring(index); 656String relationshipPartString; 672String opcNamespace = XTable.Get(XTable.ID.OpcSignatureNamespace); 673String opcNamespacePrefix = XTable.Get(XTable.ID.OpcSignatureNamespacePrefix); 713String transformName = null; 764String transformName = String.Empty; 806private static XmlNode GenerateDigestValueNode(XmlDocument xDoc, HashAlgorithm hashAlgorithm, Stream s, String transformName) 823SortedDictionary<String, PackageRelationship> 824relationshipsDictionarySortedById = new SortedDictionary<String, PackageRelationship>(StringComparer.Ordinal);
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (27)
50internal static String DefaultDateTimeFormat 68internal static bool LegalFormat(String candidateFormat) 100String xmlDateTimeFormat, 101String signatureId) 156internal static DateTime ParseSigningTime(XmlReader reader, string signatureId, out String timeFormat) 177&& (String.CompareOrdinal(reader.NamespaceURI, w3cSignatureNameSpace) == 0) 178&& (String.CompareOrdinal(reader.LocalName, signaturePropertyTag) == 0) 206if (((String.CompareOrdinal(signaturePropertyTag, reader.LocalName) == 0 212if ((String.CompareOrdinal(signaturePropertiesTag, reader.LocalName) == 0 241private static DateTime ParseSignatureTimeTag(XmlReader reader, out String timeFormat) 260&& (String.CompareOrdinal(reader.NamespaceURI, opcSignatureNameSpace) == 0) 261&& (String.CompareOrdinal(reader.LocalName, signatureTimeTag) == 0) 267if (String.CompareOrdinal(reader.NamespaceURI, opcSignatureNameSpace) == 0 272if ((String.CompareOrdinal(reader.LocalName, timeValueTagName) == 0) 293else if ((String.CompareOrdinal(reader.LocalName, timeFormatTagName) == 0) 320if (String.CompareOrdinal(signatureTimeTag, reader.LocalName) == 0 328&& String.CompareOrdinal(signaturePropertyTag, reader.LocalName) == 0) 355private static String DateTimeToXmlFormattedTime(DateTime dt, string format) 369private static DateTime XmlFormattedTimeToDateTime(String s, String format) 388private static int GetIndex(String format) 392if (String.CompareOrdinal(_dateTimePatternMap[i].Format, format) == 0) 405private static string[] ConvertXmlFormatStringToDateTimeFormatString(String format) 420&& (String.CompareOrdinal(idAttrValue,XTable.Get(XTable.ID.SignaturePropertyIdAttrValue)) == 0)) 441if (String.CompareOrdinal(idTargetValue, String.Empty) == 0) 447if (signatureId != null && String.CompareOrdinal(idTargetValue, "#" + signatureId) == 0)
Base\MS\Internal\IO\Packaging\XmlStringTable.cs (1)
33internal static String Get(ID i)
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryFileHeader.cs (1)
439Debug.Assert(String.CompareOrdinal(_stringFileName, fileBlock.FileName) == 0);
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (1)
793if (0 != String.CompareOrdinal(_localFileHeader.FileName, fileName))
Base\MS\Internal\NamedObject.cs (2)
27if (String.IsNullOrEmpty(name)) 39_name = String.Format(CultureInfo.InvariantCulture, "{{{0}}}", _name);
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (4)
675if (String.CompareOrdinal(newElement, oldElement) == 0) 1360if (String.CompareOrdinal( 1883if (String.CompareOrdinal(addressType, distributionPointType) == 0) 1966if (String.CompareOrdinal(_rightNames[i], rightName) == 0)
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (4)
617if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Windows.ToString().ToUpperInvariant()) == 0) 621else if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Passport.ToString().ToUpperInvariant()) == 0) 625else if (String.CompareOrdinal(userIdTypeStr, AuthenticationType.Internal.ToString().ToUpperInvariant()) == 0) 637else if (String.CompareOrdinal(userIdTypeStr, UnspecifiedAuthenticationType.ToUpperInvariant()) == 0)
Base\System\ComponentModel\PropertyChangedEventManager.cs (12)
150String[] keys = new String[ic.Count]; 213String key = (String)ide.Key; 263foreach (String key in _toRemove) 277String key = (String)installDE.Key; 516else if (!String.IsNullOrEmpty(propertyName)) 521ListenerList<PropertyChangedEventArgs> genericListeners = (ListenerList<PropertyChangedEventArgs>)dict[String.Empty]; 565Debug.Assert((String)de.Key != AllListenersKey, "special key should not appear"); 637List<String> _toRemove = new List<String>();
Base\System\IO\FileFormatException.cs (3)
85public FileFormatException(Uri sourceUri, String message) 122public FileFormatException(Uri sourceUri, String message, Exception innerException) 165typeof(String)
Base\System\IO\Packaging\CompoundFile\FormatVersion.cs (3)
74public FormatVersion(String featureId, 175public String FeatureIdentifier 566private String _featureIdentifier;
Base\System\IO\Packaging\CompoundFile\StreamInfo.cs (2)
839if (String.CompareOrdinal(id, 846else if (String.CompareOrdinal(id,
Base\System\IO\Packaging\EncryptedPackage.cs (1)
942String.CompareOrdinal(id.ToUpperInvariant(),
Base\System\IO\Packaging\Package.cs (2)
668public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id) 687public void DeleteRelationship(String id)
Base\System\IO\Packaging\PackageDigitalSignature.cs (3)
164public String TimeFormat 193public String SignatureType 269public List<String> GetPartTransformList(Uri partName)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (30)
182public Dictionary<String, String> TransformMapping 212public String HashAlgorithm 223if (value == String.Empty) 267public String TimeFormat 311static public String SignatureOriginRelationshipType 323static public String DefaultHashAlgorithm 353_transformDictionary = new Dictionary<String, String>(4); 413String signatureId) 468String signatureId, 478if ((signatureId == null) || (signatureId == String.Empty)) 943public StringMatchPredicate(String id) 948public bool Match(String id) 950return (String.CompareOrdinal(_id, id) == 0); 994String signatureId, 1009List<String> ids = new List<String>(); 1013if (String.CompareOrdinal(obj.Id, XTable.Get(XTable.ID.OpcAttrValue)) == 0) 1026if ((signatureId != null) && (signatureId != String.Empty)) 1406private String _hashAlgorithmString = DefaultHashAlgorithm; 1407private String _signatureTimeFormat = XmlSignatureProperties.DefaultDateTimeFormat; 1409private Dictionary<String, String> _transformDictionary; 1416private static readonly String _guidStorageFormatString = @"N"; // N - simple format without adornments 1417private static readonly String _defaultHashAlgorithm = SignedXml.XmlDsigSHA256Url; 1418private static readonly String _originRelationshipType = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin"; 1419private static readonly String _originToSignatureRelationshipType = "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature"; 1420private static readonly String _defaultSignaturePartNamePrefix = "/package/services/digital-signature/xml-signature/"; 1421private static readonly String _defaultSignaturePartNameExtension = ".psdsxs";
Base\System\IO\Packaging\PackagePart.cs (1)
440public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id)
Base\System\IO\Packaging\PackageRelationship.cs (3)
106public String Id 196Debug.Assert(relationshipType.Trim() != String.Empty, 273private String _id;
Base\System\IO\Packaging\PackageRelationshipCollection.cs (2)
129Debug.Assert(filter.Trim() != String.Empty, 212if (String.CompareOrdinal(r.RelationshipType, _filter)==0)
Base\System\IO\Packaging\PackUriHelper.cs (19)
113if (fragment == String.Empty || fragment[0] != '#') 139absolutePackageUri = String.Concat(PackUriHelper.UriSchemePack, Uri.SchemeDelimiter, absolutePackageUri); 149packUri = new Uri(String.Concat(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), fragment)); 240if (partName == String.Empty) 467partName = String.Concat(partName, _relationshipPartExtensionName); // Adding the ".rels" extension 772partUriString = String.Empty; 787if (partName == String.Empty) 822if (String.CompareOrdinal(partUri.OriginalString.ToUpperInvariant(), wellFormedPartName.ToUpperInvariant()) != 0) 938String partName = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped); 942return String.Empty; 970String hostAndPort = packUri.GetComponents(UriComponents.HostAndPort, UriFormat.UriEscaped); 978if (packageUri.Fragment != String.Empty) 991if (partName == String.Empty) 1239Debug.Assert(segments.Length > 0 && segments[0] == String.Empty); 1242Debug.Assert(String.CompareOrdinal((Path.GetExtension(segments[segments.Length - 1])), _relationshipPartUpperCaseExtension) == 0); 1250result = (String.CompareOrdinal(segments[segments.Length - 2], _relationshipPartUpperCaseSegmentName) == 0); 1260if(String.CompareOrdinal(segments[segments.Length - 3], _relationshipPartUpperCaseSegmentName) == 0) 1300return String.CompareOrdinal(this.NormalizedPartUriString, otherPartUri.NormalizedPartUriString); 1320private static readonly string _relsrelsUpperCaseExtension = String.Concat(_relationshipPartUpperCaseExtension, _relationshipPartUpperCaseExtension);
Base\System\IO\Packaging\ZipPackage.cs (12)
486return String.Concat(_forwardSlash, zipItemName); 696if (String.CompareOrdinal(pieces[i].NormalizedPrefixName, normalizedPrefixNameForCurrentSequence) != 0) 845return (String.CompareOrdinal(extensionA.ToUpperInvariant(), extensionB.ToUpperInvariant()) == 0); 1141&& (String.CompareOrdinal(reader.NamespaceURI, TypesNamespaceUri) == 0) 1142&& (String.CompareOrdinal(reader.Name, TypesTagName) == 0)) 1165&& (String.CompareOrdinal(reader.NamespaceURI, TypesNamespaceUri) == 0) 1166&& (String.CompareOrdinal(reader.Name, DefaultTagName) == 0)) 1173&& (String.CompareOrdinal(reader.NamespaceURI, TypesNamespaceUri) == 0) 1174&& (String.CompareOrdinal(reader.Name, OverrideTagName) == 0)) 1179if (reader.NodeType == XmlNodeType.EndElement && reader.Depth == 0 && String.CompareOrdinal(reader.Name, TypesTagName) == 0) 1397if (reader.NodeType == XmlNodeType.EndElement && String.CompareOrdinal(elementName, reader.LocalName) == 0) 1469if (attributeValue == String.Empty)
Base\System\Security\Permissions\MediaPermission.cs (5)
398String className = securityElement.Attribute("class"); 405String unrestricted = securityElement.Attribute("Unrestricted"); 416String audio = securityElement.Attribute("Audio"); 427String video = securityElement.Attribute("Video"); 438String image = securityElement.Attribute("Image");
Base\System\Security\Permissions\WebBrowserPermission.cs (3)
260String className = securityElement.Attribute("class"); 267String unrestricted = securityElement.Attribute("Unrestricted"); 276String level = securityElement.Attribute("Level");
Base\System\Security\RightsManagement\LocalizedNameDescriptionPair.cs (2)
115return (String.CompareOrdinal(localizedNameDescr.Name, Name) == 0) 117(String.CompareOrdinal(localizedNameDescr.Description, Description) == 0);
Base\System\Security\RightsManagement\PublishLicense.cs (1)
84String contentIdStr = ClientSession.GetContentIdFromPublishLicense(_serializedPublishLicense);
Base\System\Security\RightsManagement\UseLicense.cs (1)
183return (String.CompareOrdinal(_serializedUseLicense, obj._serializedUseLicense) == 0);
Base\System\Security\RightsManagement\User.cs (4)
157return (String.CompareOrdinal(_name.ToUpperInvariant(), userObj._name.ToUpperInvariant()) == 0) 262return (String.CompareOrdinal(_name.ToUpperInvariant(), userObj._name.ToUpperInvariant()) == 0) 308return (0 == String.CompareOrdinal(AnyoneUserName.ToUpperInvariant(), name.ToUpperInvariant())); 313return (0 == String.CompareOrdinal(OwnerUserName.ToUpperInvariant(), name.ToUpperInvariant()));
Base\System\Windows\Freezable.cs (2)
1986private static void Debug_VerifyInstance(String methodName, Freezable original, Freezable newInstance) 1992String.Format(System.Globalization.CultureInfo.InvariantCulture,
Base\System\Windows\Generated\Int32Rect.cs (2)
184String firstToken = th.NextTokenRequired(); 392return String.Format(provider,
Base\System\Windows\Generated\Int32RectConverter.cs (1)
91String source = value as string;
Base\System\Windows\Generated\Point.cs (2)
164String firstToken = th.NextTokenRequired(); 322return String.Format(provider,
Base\System\Windows\Generated\PointConverter.cs (1)
91String source = value as string;
Base\System\Windows\Generated\Rect.cs (2)
184String firstToken = th.NextTokenRequired(); 326return String.Format(provider,
Base\System\Windows\Generated\RectConverter.cs (1)
91String source = value as string;
Base\System\Windows\Generated\Size.cs (2)
178String firstToken = th.NextTokenRequired(); 318return String.Format(provider,
Base\System\Windows\Generated\SizeConverter.cs (1)
91String source = value as string;
Base\System\Windows\Generated\Vector.cs (2)
164String firstToken = th.NextTokenRequired(); 322return String.Format(provider,
Base\System\Windows\Generated\VectorConverter.cs (1)
91String source = value as string;
Base\System\Windows\Input\KeyConverter.cs (5)
123return String.Empty; 136String strKey = MatchKey(key, culture); 137if (strKey != null && (strKey.Length != 0 || strKey == String.Empty)) 147if (keyToken == String.Empty) 236return String.Empty;
Base\System\Windows\Input\ModifierKeysConverter.cs (2)
168if (token == String.Empty) 216string modifiers = String.Empty;
Base\System\Windows\Markup\IReceiveMarkupExtension.cs (1)
10void ReceiveMarkupExtension(String property, MarkupExtension markupExtension, IServiceProvider serviceProvider);
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
237else if (typeof(String).IsAssignableFrom(type)) 321else if (type == typeof(String)) 421else if (typeof(String).IsAssignableFrom(type))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (7)
658if (String.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 660return LookupNamespace(String.Empty); 663else if (String.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal)) 832if (String.IsNullOrEmpty(mappedNamespace) || namespaceName == mappedNamespace) 968if (!String.IsNullOrEmpty(pair)) 1016if (!String.IsNullOrEmpty(prefix)) 1225if (String.IsNullOrEmpty(requiresValue))
Base\System\Windows\Media\Generated\Matrix.cs (2)
198String firstToken = th.NextTokenRequired(); 342return String.Format(provider,
Base\System\Windows\Media\Generated\MatrixConverter.cs (1)
92String source = value as string;
Base\System\Windows\NameScope.cs (3)
48if (name == String.Empty) 93if (name == String.Empty) 119if (_nameMap == null || name == null || name == String.Empty)
Base\System\Windows\SplashScreen.cs (1)
75if (String.IsNullOrEmpty(resourceName))
Base\System\Windows\Threading\Dispatcher.cs (13)
1865Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>; 1879Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>; 1880List<String> list = (tuple != null) ? tuple.Item2 : new List<String>(); 1881_reservedPtsCache = new Tuple<Object, List<String>>(value, list); 2770_reservedPtsCache = new Tuple<Object, List<String>>(_reservedPtsCache, new List<String>()); 2775Tuple<Object, List<String>> tuple = _reservedPtsCache as Tuple<Object, List<String>>; 2778List<String> list = tuple.Item2; 2779list.Add(String.Format(System.Globalization.CultureInfo.InvariantCulture,
Base\System\Windows\Threading\DispatcherOperation.cs (1)
306internal String Name
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
312internal static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, String procName); 318internal static extern SafeLibraryHandle LoadLibrary(String libPath); 432String fxDir = RuntimeEnvironment.GetRuntimeDirectory(); 433String zlibDllPath = Path.Combine(fxDir, ZLibNativeDllName); 454private static DT CreateDelegate<DT>(String entryPointName) { 746return String.Empty; 748String msgStr = new String((SByte*) zStreamPtr->msg);
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (7)
86if (String.CompareOrdinal(encoding, _webNameUTF8) == 0 87|| String.CompareOrdinal(encoding, _webNameUnicode) == 0) 340internal static Stream CreateUserScopedIsolatedStorageFileStreamWithRandomName(int retryCount, out String fileName) 428if (String.CompareOrdinal(reader.Name, XmlNamespace) != 0 && 429String.CompareOrdinal(reader.Prefix, XmlNamespace) != 0) 492private static void DeleteIsolatedStorageFile(String fileName) 732internal Stream GetStream(String fileName)
Shared\MS\Internal\ResourceIDHelper.cs (1)
36string resourceID = String.Empty;
Shared\MS\Internal\SafeSecurityHelper.cs (1)
197if ( (String.Compare(curAsmName.Name, assemblyName.Name, true, TypeConverterHelper.InvariantEnglishUS) == 0) &&
Shared\MS\Internal\SecurityHelper.cs (1)
1378return (String.Compare(m1, m2, StringComparison.OrdinalIgnoreCase) == 0);
Shared\MS\Win32\HwndWrapper.cs (1)
127string className = String.Format(CultureInfo.InvariantCulture, "HwndWrapper[{0};{1};{2}]", appName, threadName, randomName);
Shared\MS\Win32\NativeMethodsCLR.cs (2)
75return String.Format(System.Globalization.CultureInfo.CurrentCulture,"[{0}, {1}, {2}, {3}, {4}, {5}]", this.eM11, this.eM12, this.eM21, this.eM22, this.eDx, this.eDy ); 6253internal override String GetString()
Shared\MS\Win32\NativeMethodsOther.cs (4)
1514internal String lpszName; // (*)Name of document 1515internal String lpszOutput; // Name of output file (null) 1516internal String lpszDatatype; // Type of data ("raw" or "emf") can be null 1545public unsafe static extern Int32 OpenPrinterA(String printerName, IntPtr* phPrinter, void* pDefaults);
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
3781String[] pbstrKey,
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
307attrValue = tca.Value as String; 405if (String.IsNullOrEmpty(assemblyPath)) 410if (!String.IsNullOrEmpty(assemblyPath))
WsatConfig (16)
CommandLine\ArgumentsParser.cs (10)
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)) 412if (!String.IsNullOrEmpty(value))
CommandLine\ConsoleEntryPoint.cs (2)
43public static int Main(String[] args) 235if (String.IsNullOrEmpty(rawArg))
CommandLine\OptionUsage.cs (2)
167string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}:{1}", option, optionUse); 173string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}", option);
Configuration\CertificateManager.cs (1)
207if (String.IsNullOrEmpty(thumbprint))
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);
WsatUI (21)
Configuration\CertificateManager.cs (1)
207if (String.IsNullOrEmpty(thumbprint))
Configuration\ETWWsatTraceSession.cs (15)
33EVENT_TRACE_PROPERTIES properties = new EVENT_TRACE_PROPERTIES(String.Empty, String.Empty); 69EVENT_TRACE_PROPERTIES properties = new EVENT_TRACE_PROPERTIES(String.Empty, String.Empty); 93EVENT_TRACE_PROPERTIES properties = new EVENT_TRACE_PROPERTIES(String.Empty, String.Empty); 157String errLogFileName = String.Empty; 160if (!String.IsNullOrEmpty(logFileNameInRegistry)) 165if (!String.IsNullOrEmpty(logFileNameInRegistry)) 201string timeStamp = String.Format(System.Globalization.CultureInfo.InvariantCulture, 211string backupFile2 = backupFile + "-" + String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0:00}", attemptNum); 240string logFileName = String.Empty; 287EVENT_TRACE_PROPERTIES properties2 = new EVENT_TRACE_PROPERTIES(String.Empty, String.Empty);
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);
MMCUI\AcceptedCertificatesForm.cs (2)
66String.Empty, 70String.IsNullOrEmpty(store[i].FriendlyName) ? SR.GetString(SR.FriendlyNameNone) : store[i].FriendlyName,
MMCUI\ACLWrapper.cs (2)
126String name, 152internal String Name;
XamlBuildTask (33)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (3)
188paramValue = String.Empty; 265else if (type == typeof(String)) 347else if (type == typeof(String))
Microsoft\Build\Tasks\Xaml\AttributeParameterData.cs (1)
99TextValue = String.Empty;
Microsoft\Build\Tasks\Xaml\ClassData.cs (4)
38public IList<String> CodeSnippets 44codeSnippets = new List<String>(); 98public String Namespace 128internal String RootNamespace
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
58if (!String.IsNullOrEmpty(classData.Namespace)) 281else if (paramInfo.Type.UnderlyingType == typeof(String))
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
545classData.Namespace = String.Empty;
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (4)
197if (!String.IsNullOrEmpty(originalString)) 199return String.Join(", ", originalString, stringToAppend); 228if (!String.IsNullOrEmpty(requiredPropertiesNotSpecified)) 294if (!String.IsNullOrWhiteSpace(typeName))
Microsoft\Build\Tasks\Xaml\NamedObject.cs (1)
18public String Name
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
432if (this.Language.Equals("VB") && !String.IsNullOrWhiteSpace(classData.RootNamespace)) 437if (!String.IsNullOrWhiteSpace(classData.Namespace))
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
18static string fileNotfound = String.Empty;
Microsoft\Build\Tasks\Xaml\WrappingXamlSchemaContext.cs (1)
89foreach (var ns in originalNamespaces)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (13)
43static string _private = String.Empty; 47static string _public = String.Empty; 51static string _internal = String.Empty; 55static string _protected = String.Empty; 59static string _protectedInternal = String.Empty; 63static string _protectedAndInternal = String.Empty; 67static string _publicClass = String.Empty; 71static string _internalClass = String.Empty; 75static string _fileNotLoaded = String.Empty; 510if (!String.IsNullOrEmpty(rootNamespace) && 511!String.IsNullOrEmpty(clrNs) && 564assemblyName = assemblyIndex > -1 ? typeNs.Substring(assemblyIndex) : String.Empty; 779bool isManagedSystemMetadata = !String.IsNullOrEmpty(isSystemReference)