56 references to IndexOf
mscorlib (10)
system\array.cs (2)
2814return Array.IndexOf(_this, value) != -1; 2832return Array.IndexOf(_this, value);
system\resources\resourcemanager.cs (1)
1495int pos = Array.IndexOf(installedSatellites, lookForCulture.Name);
system\rttype.cs (2)
4129if (Array.IndexOf(names, value) >= 0) 4605if (namedParams != null && Array.IndexOf(namedParams, null) != -1)
system\text\encodingprovider.cs (1)
59if (Array.IndexOf(s_providers, provider) >= 0)
system\threading\executioncontext.cs (1)
712Contract.Assert(Array.IndexOf(current._localChangeNotifications, local) >= 0);
system\threading\Tasks\Task.cs (1)
5497signaledTaskIndex = Array.IndexOf(tasks, firstCompleted.Result);
system\type.cs (1)
1506if (Array.IndexOf(names, value) >= 0)
system\typenameparser.cs (1)
314if (Array.IndexOf<char>(SPECIAL_CHARS, c) >= 0)
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
617if (Array.IndexOf<char>(InvalidFileNameChars, unescapedChar) >= 0)
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (2)
90if (Array.IndexOf(InputManager.SynchronizedInputEvents, args.RoutedEvent) >= 0) 104Array.IndexOf(InputManager.SynchronizedInputEvents, args.RoutedEvent) >= 0)
Core\CSharp\System\Windows\GlobalEventManager.cs (2)
118if(Array.IndexOf(routedEvents, routedEvent) < 0) 137if(Array.IndexOf(routedEvents, routedEvent) < 0)
Core\CSharp\System\Windows\Input\InputManager.cs (2)
966Array.IndexOf(SynchronizedInputEvents, input.RoutedEvent) < 0 && 967Array.IndexOf(PairedSynchronizedInputEvents, input.RoutedEvent) < 0)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
1137int i = Array.IndexOf(s_supportedDUCEFormats, format); 1744return (Array.IndexOf(s_supportedDUCEFormats, format) != -1);
PresentationFramework (2)
src\Framework\MS\Internal\Data\RBNode.cs (1)
55public int OffsetOf(T x) { return Array.IndexOf(_data, x); }
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
647return Array.IndexOf(NextLineCharacters, ch) > -1;
System (3)
compmod\system\componentmodel\CultureInfoConverter.cs (1)
214int invariantIndex = Array.IndexOf(installedCultures, CultureInfo.InvariantCulture);
net\System\Net\_SecureChannel.cs (1)
655found = Array.IndexOf(issuers, issuer)!=-1;
services\monitoring\system\diagnosticts\EventLog.cs (1)
519if( Array.IndexOf(sources, source) == -1) {
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (2)
93if (-1 == Array.IndexOf<Delegate>(initial, callback)) 121if (-1 != Array.IndexOf<Delegate>(list, callback))
System.Core (1)
Microsoft\Scripting\Actions\RuleCache.cs (1)
80int i = Array.IndexOf(_rules, oldRule);
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (2)
93if (-1 == Array.IndexOf<Delegate>(initial, callback)) 121if (-1 != Array.IndexOf<Delegate>(list, callback))
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
193return Array.IndexOf(_items, value) >= 0;
System.Data.Entity (3)
System\Data\Objects\DataClasses\EntityReference.cs (1)
532int keyIndex = Array.IndexOf(keyNames, principalProps[i].Name);
System\Data\Objects\ELinq\TypeSystem.cs (1)
268int propIndex = Array.IndexOf(interfaceMap.InterfaceMethods, getInterfaceProp);
System\Data\Objects\Internal\ForeignKeyFactory.cs (1)
127int keyIndex = Array.IndexOf(keyNames, principalProps[i].Name);
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
308int index = Array.IndexOf(this.items, value);
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractImporter.cs (1)
500isReturn = Array.IndexOf<string>(parameterOrder, part.Name) == -1;
System\ServiceModel\Description\TypeLoader.cs (1)
453int methodIndex = Array.IndexOf(ifaceMap.InterfaceMethods, opMethod);
System\UriTemplateHelpers.cs (1)
67if (mustBeEspeciallyInteresting && Array.IndexOf(queryKeys, queryKeyName) == -1)
System.Web (3)
UI\WebControls\DetailsView.cs (1)
2227if (includeKeys || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) {
UI\WebControls\FormView.cs (1)
1899if (!includeKeys && Array.IndexOf(dataKeyNames, entry.Key) != -1) {
UI\WebControls\GridView.cs (1)
2764if (includePrimaryKey || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) {
System.Web.Extensions (2)
UI\PageRequestManager.cs (1)
530(_updatePanelsRequireUpdate != null && Array.IndexOf(_updatePanelsRequireUpdate, panel.UniqueID) != -1);
UI\WebControls\ListView.cs (1)
2048if (includePrimaryKey || (Array.IndexOf(DataKeyNamesInternal, entry.Key) == -1)) {
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Control.cs (2)
19551index = Array.IndexOf(ctrls, ownerControl); 19560index = Array.IndexOf(ctrls, ownerControl);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
953if (Array.IndexOf(dgRows, this.owner) == -1) { 976if (Array.IndexOf(dgRows, this.owner) == -1) {
winforms\Managed\System\WinForms\ListBox.cs (1)
3495index = Array.IndexOf(innerArray, item);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3998index = Array.IndexOf(components, component);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntryCollection.cs (1)
62return Array.IndexOf(entries, child);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
123int index = Array.IndexOf(controls, c);
System.Workflow.Activities (1)
Common\NativeMethods.cs (1)
218if ((null == expectedHRFailure) || (Array.IndexOf(expectedHRFailure, hr) < 0))
System.Workflow.ComponentModel (1)
Shared\NativeMethods.cs (1)
232if ((null == expectedHRFailure) || (Array.IndexOf(expectedHRFailure, hr) < 0))
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
862rval = (Array.IndexOf(entry._patterns, pattern)>=0);
MS\Internal\AutomationProxies\WindowsListView.cs (2)
258int location = Array.IndexOf (groupIds, groupID); 299int location = Array.IndexOf (groupIds, groupID);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
624if (Array.IndexOf(_validProperties, xmlStringIndex) == -1) // An unexpected element is an error.