53 references to StartsWith
mscorlib (2)
system\diagnostics\eventing\eventsource.cs (1)
6579if (etwFormat && key.StartsWith("event_"))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (1)
742if (m_traits[i].StartsWith("ETW_"))
PresentationFramework (1)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
12110isWPFControl = name.StartsWith("System.Windows.Controls.");
System (17)
compmod\system\componentmodel\basenumberconverter.cs (4)
92else if (AllowHex && text.StartsWith("0x") 93|| text.StartsWith("0X") 94|| text.StartsWith("&h") 95|| text.StartsWith("&H")) {
compmod\system\componentmodel\CultureInfoConverter.cs (1)
136if (info != null && GetCultureName(info).ToLower(CultureInfo.CurrentCulture).StartsWith(text)) {
compmod\system\componentmodel\LicFileLicenseProvider.cs (1)
32return key.StartsWith(GetKey(type));
compmod\system\componentmodel\SyntaxCheck.cs (1)
50return value.StartsWith("\\\\");
net\System\Net\_FtpControlStream.cs (2)
419if (entry.Command.StartsWith("SIZE ")) { 421} else if (entry.Command.StartsWith("MDTM ")) {
net\System\Net\_PrefixLookup.cs (1)
150if (prefix.Length > longestMatchPrefix && lookupKey.StartsWith(prefix))
net\System\Net\cookie.cs (1)
517if (!path.StartsWith(CookieParser.CheckQuoted(m_path))) {
net\System\Net\cookiecontainer.cs (1)
774if (uri.AbsolutePath.StartsWith(CookieParser.CheckQuoted(path))) {
net\System\Net\HttpWebResponse.cs (1)
212if (srchString.Trim().StartsWith("text/")) {
net\System\Net\mail\SmtpDateTime.cs (3)
228Debug.Assert(offset.StartsWith("-") || offset.StartsWith("+"), 236positive = offset.StartsWith("+");
net\System\Net\webclient.cs (1)
608if (contentType.ToLower(CultureInfo.InvariantCulture).StartsWith("multipart/")) {
System.Drawing (6)
commonui\System\Drawing\ColorConverter.cs (4)
165(text.Length == 8 && (text.StartsWith("0x") || text.StartsWith("0X"))) || 166(text.Length == 8 && (text.StartsWith("&h") || text.StartsWith("&H")))) {
commonui\System\Drawing\FontConverter.cs (2)
121if (!styleStr.StartsWith(styleHdr)){ 652else if (fontName.StartsWith(name)) {
System.Messaging (10)
System\Messaging\MessageQueue.cs (10)
649if (pathUpper.StartsWith(PREFIX_FORMAT_NAME)) 653else if (pathUpper.StartsWith(PREFIX_LABEL)) 1173if (pathUpper.StartsWith(PREFIX_LABEL)) 1179else if (pathUpper.StartsWith(PREFIX_FORMAT_NAME)) 1822if (pathUpper.StartsWith(PREFIX_FORMAT_NAME)) 1824else if (pathUpper.StartsWith(PREFIX_LABEL)) 2199if (upperPath.StartsWith(PREFIX_LABEL) || 2200upperPath.StartsWith(PREFIX_FORMAT_NAME) || 3552if (upperPath.StartsWith(PREFIX_LABEL)) 3555if (upperPath.StartsWith(PREFIX_FORMAT_NAME))
System.Runtime.Remoting (3)
metadata\wsdlwriter.cs (3)
463if (!type.FullName.StartsWith("System.")) 2351if (!itype.FullName.StartsWith("System.")) 2376if (baseType != null && !baseType.FullName.StartsWith("System."))
System.Windows.Forms (11)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
848if (!s.StartsWith("Version=") && !s.StartsWith("version=")) {
winforms\Managed\System\Resources\ResXFileRef.cs (1)
246if(stringValue.StartsWith("\"")) {
winforms\Managed\System\WinForms\AxHost.cs (1)
4038if (name.StartsWith("[DISPID=")) {
winforms\Managed\System\WinForms\BindingSource.cs (1)
1141if (current.StartsWith("[")) {
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
376found = Items[index].ToString().ToUpper(CultureInfo.InvariantCulture).StartsWith(text);
winforms\Managed\System\WinForms\FileDialog.cs (3)
175if (value.StartsWith(".")) 879Debug.Assert(!extensions[j].StartsWith("."), 881Debug.Assert(currentExtension.Length == 0 || currentExtension.StartsWith("."),
winforms\Managed\System\WinForms\TrustManager.cs (2)
704if (string.IsNullOrEmpty(uri.Host) && host.StartsWith("/")) 709else if (uri.LocalPath.Length > 2 && (uri.LocalPath[1] == ':' || uri.LocalPath.StartsWith("\\\\")))
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
608if (bind.Name.StartsWith("/")) 631path = path.StartsWith(".") ? path.Substring(1) : path; 658path = path.StartsWith(".") ? path.Substring(1) : path;