91 references to IndexOf
mscorlib (5)
system\runtime\remoting\configuration.cs (3)
760
int genericTypeIndex = value.
IndexOf
("[");
767
int index = value.
IndexOf
(",");
1364
int index = asmName.
IndexOf
(",");
system\runtime\remoting\objref.cs (1)
732
int index = uri.
IndexOf
(RemotingConfiguration.ApplicationId);
system\runtime\remoting\soapinteroptypes.cs (1)
1684
index = value.
IndexOf
(" ");
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2082
int colonIdx = uriInput.
IndexOf
(":");
2090
int semicolonIdx = uriInput.
IndexOf
(";");
2102
int equalIdx = uriInput.
IndexOf
("=");
System (37)
compmod\system\componentmodel\design\ToolboxItemAttribute.cs (1)
73
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + toolboxItemTypeName + " . Please remove the .dll extension");
compmod\system\componentmodel\DesignerAttribute.cs (3)
34
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + designerTypeName + " . Please remove the .dll extension");
58
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + designerTypeName + " . Please remove the .dll extension");
71
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + designerTypeName + " . Please remove the .dll extension");
compmod\system\componentmodel\EditorAttribute.cs (2)
40
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + typeName + " . Please remove the .dll extension");
50
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + typeName + " . Please remove the .dll extension");
compmod\system\componentmodel\TypeConverterAttribute.cs (1)
61
Debug.Assert(temp.
IndexOf
(".DLL") == -1, "Came across: " + typeName + " . Please remove the .dll extension");
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
738
int prefixSeparatorIndex = ipPrefix.
IndexOf
("/");
net\System\Net\_Connection.cs (4)
2183
fHaveChunked = transferEncodingString.
IndexOf
(HttpWebRequest.ChunkedHeader) != -1;
2310
if (connection.
IndexOf
("keep-alive") != -1) {
2313
else if (connection.
IndexOf
("close") != -1) {
2681
int i = server.
IndexOf
("/");
net\System\Net\_FtpControlStream.cs (5)
303
if (entry.Command.
IndexOf
("USER") != -1)
332
&& entry.Command.
IndexOf
("PASS") != -1)
437
if (entry.Command.
IndexOf
("CWD") != -1)
940
int start = str.
IndexOf
("for ");
991
int pos2 = str.
IndexOf
(" bytes).");
net\System\Net\_ServiceNameStore.cs (1)
133
int i = uriPrefix.
IndexOf
("://") + 3;
net\System\Net\_WebProxyDataBuilder.cs (1)
91
if (proxyString.
IndexOf
("://") == -1) {
net\System\Net\DnsPermission.cs (1)
174
if (className.
IndexOf
( this.GetType().FullName ) < 0)
net\System\Net\HttpListenerRequest.cs (2)
741
m_KeepAlive = header.
IndexOf
("close") < 0 || header.
IndexOf
("keep-alive") >= 0 ? TriState.True : TriState.False;
net\System\Net\HttpWebRequest.cs (4)
2812
fChunked = (newValue.
IndexOf
(ChunkedHeader) != -1);
2860
fKeepAlive = (newValue.
IndexOf
("keep-alive") != -1) ;
2861
fClose = (newValue.
IndexOf
("close") != -1) ;
2966
fContinue100 = (newValue.
IndexOf
(ContinueHeader) != -1) ;
net\System\Net\HttpWebResponse.cs (6)
218
int i = srchString.
IndexOf
(";");
356
return proxyConnectionHeader.ToLower(CultureInfo.InvariantCulture).
IndexOf
("close") < 0 ||
357
proxyConnectionHeader.ToLower(CultureInfo.InvariantCulture).
IndexOf
("keep-alive") >= 0;
371
connectionHeader.
IndexOf
("keep-alive") >= 0);
378
connectionHeader.
IndexOf
("close") < 0 ||
379
connectionHeader.
IndexOf
("keep-alive") >= 0);
net\System\Net\mail\smtppermission.cs (1)
206
if (className.
IndexOf
(this.GetType().FullName) < 0) {
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (1)
196
if (className.
IndexOf
(this.GetType().FullName) < 0) {
net\System\Net\SocketPermission.cs (1)
469
if (className.
IndexOf
(this.GetType().FullName) < 0) {
net\System\Net\WebPermission.cs (1)
803
if (className.
IndexOf
(this.GetType().FullName) < 0) {
net\System\Net\webproxy.cs (1)
295
if (address.
IndexOf
("://") == -1) {
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (1)
417
int indexOfSlash = keyPath.
IndexOf
(@"/");
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (1)
443
int indexOfSlash = keyPath.
IndexOf
(@"/");
System.Drawing (3)
commonui\System\Drawing\FontConverter.cs (2)
115
int styleIndex = text.
IndexOf
(styleHdr);
150
int eqIndex = styleStr.
IndexOf
("=");
commonui\System\Drawing\Printing\PrintingPermission.cs (1)
197
if (className == null || className.
IndexOf
(this.GetType().FullName) == -1) {
System.IdentityModel (1)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
419
int delimiterIndex = x509ExtensionFormattedString.
IndexOf
(subjectName) - 1;
System.Runtime.Remoting (11)
channels\http\httpsocketmanager.cs (1)
62
int sep = header.
IndexOf
(":");
channels\ipc\ipcclientchannel.cs (1)
267
int start = simpleChannelUri.
IndexOf
("://");
channels\sinks\soapformattersinks.cs (1)
617
if (userAgent.
IndexOf
("MS .NET Remoting") == -1)
metadata\wsdlparser.cs (4)
1663
int index = binding.name.
IndexOf
("Binding");
2223
int colonIndex = qname.
IndexOf
(":");
6381
int index = _arrayType.
IndexOf
("[");
6562
int index = name.
IndexOf
(":");
metadata\wsdlwriter.cs (4)
415
int index = refTypeName.
IndexOf
("+");
781
int index = url.
IndexOf
("&");
2251
int index = qname.
IndexOf
(":");
2272
index = arrayTypeName.
IndexOf
("[");
System.Windows.Forms (21)
winforms\Managed\System\Resources\ResXDataNode.cs (3)
511
else if (typeName.
IndexOf
("System.Byte[]") != -1 && typeName.
IndexOf
("mscorlib") != -1) {
1036
int indexOfComma = name.
IndexOf
(",");
winforms\Managed\System\Resources\ResXFileRef.cs (3)
177
if(fileName.
IndexOf
(";") != -1 || fileName.
IndexOf
("\"") != -1) {
255
int nextSemiColumn = stringValue.
IndexOf
(";");
winforms\Managed\System\Resources\ResXResourceReader.cs (2)
662
int indexStart = typeName.
IndexOf
(",");
669
int indexStart = typeName.
IndexOf
(",");
winforms\Managed\System\Resources\ResXResourceWriter.cs (2)
674
int indexStart = typeName.
IndexOf
(",");
680
int indexStart = typeName.
IndexOf
(",");
winforms\Managed\System\WinForms\Application.cs (1)
294
int firstDot = ns.
IndexOf
(".");
winforms\Managed\System\WinForms\AxHost.cs (1)
4039
int endIndex = name.
IndexOf
("]");
winforms\Managed\System\WinForms\BindingSource.cs (1)
195
if (dataMember.
IndexOf
(".") != -1) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
32
if (pd.DISPID == NativeMethods.ActiveX.DISPID_MOUSEICON || pd.Name.
IndexOf
("Icon") != -1) {
winforms\Managed\System\WinForms\Control.cs (2)
20167
int firstDot = ns.
IndexOf
("/");
20208
int firstDot = ns.
IndexOf
(".");
winforms\Managed\System\WinForms\DataGridTextBox.cs (2)
166
if ( Text.
IndexOf
("\r\n") < 0 || SelectionStart + SelectionLength < Text.
IndexOf
("\r\n"))
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (2)
193
if (!(this.Text.
IndexOf
("\r\n") < 0 || this.SelectionStart + this.SelectionLength < this.Text.
IndexOf
("\r\n")))
winforms\Managed\System\WinForms\OpacityConverter.cs (1)
50
int indexOfPercent = ((string)value).
IndexOf
("%");
System.Workflow.Activities (3)
Common\CompModHelpers.cs (2)
1081
int indexOfDot = activityName.
IndexOf
(".");
1414
int indexOfDot = activityName.
IndexOf
(".");
WebServiceReceive.cs (1)
698
if (rootActivity.GetType().FullName.
IndexOf
(".") != -1)
System.Workflow.ComponentModel (5)
AuthoringOM\Design\ComponentSerializationService.cs (1)
392
int index = name.
IndexOf
(",");
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
312
int commaIndex = typeName.
IndexOf
(",");
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2058
int separatorIndex = fullPropertyName.
IndexOf
(".");
Shared\CompModHelpers.cs (2)
1079
int indexOfDot = activityName.
IndexOf
(".");
1412
int indexOfDot = activityName.
IndexOf
(".");