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