491 references to List
System (158)
compmod\system\codedom\CodeAttributeArgumentCollection.cs (8)
58return ((CodeAttributeArgument)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeAttributeDeclarationCollection.cs (8)
58return ((CodeAttributeDeclaration)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeCatchClauseCollection.cs (8)
58return ((CodeCatchClause)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeCommentStatementCollection.cs (8)
58return ((CodeCommentStatement)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeDirectiveCollection.cs (8)
35return ((CodeDirective)(List[index])); 38List[index] = value; 43return List.Add(value); 66return List.Contains(value); 70List.CopyTo(array, index); 74return List.IndexOf(value); 78List.Insert(index, value); 82List.Remove(value);
compmod\system\codedom\CodeExpressionCollection.cs (8)
58return ((CodeExpression)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeNamespaceCollection.cs (8)
58return ((CodeNamespace)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeParameterDeclarationExpressionCollection.cs (8)
58return ((CodeParameterDeclarationExpression)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeStatementCollection.cs (8)
58return ((CodeStatement)(List[index])); 61List[index] = value; 70return List.Add(value); 113return List.Contains(value); 121List.CopyTo(array, index); 129return List.IndexOf(value); 136List.Insert(index, value); 144List.Remove(value);
compmod\system\codedom\CodeTypeDeclarationCollection.cs (8)
58return ((CodeTypeDeclaration)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeTypeMemberCollection.cs (8)
58return ((CodeTypeMember)(List[index])); 61List[index] = value; 70return List.Add(value); 105return List.Contains(value); 113List.CopyTo(array, index); 121return List.IndexOf(value); 128List.Insert(index, value); 136List.Remove(value);
compmod\system\codedom\CodeTypeParameterCollection.cs (8)
34return ((CodeTypeParameter)(List[index])); 37List[index] = value; 42return List.Add(value); 69return List.Contains(value); 73List.CopyTo(array, index); 77return List.IndexOf(value); 81List.Insert(index, value); 85List.Remove(value);
compmod\system\codedom\CodeTypeReferenceCollection.cs (8)
58return ((CodeTypeReference)(List[index])); 61List[index] = value; 70return List.Add(value); 119return List.Contains(value); 127List.CopyTo(array, index); 135return List.IndexOf(value); 142List.Insert(index, value); 150List.Remove(value);
compmod\system\codedom\compiler\CompilerErrorCollection.cs (8)
55return ((CompilerError)(List[index])); 58List[index] = value; 67return List.Add(value); 102return List.Contains(value); 110List.CopyTo(array, index); 156return List.IndexOf(value); 163List.Insert(index, value); 171List.Remove(value);
compmod\system\componentmodel\design\DesignerVerbCollection.cs (8)
40return (DesignerVerb)(List[index]); 43List[index] = value; 51return List.Add(value); 80List.Insert(index, value); 86return List.IndexOf(value); 92return List.Contains(value); 98List.Remove(value); 104List.CopyTo(array, index);
net\System\Net\X509CertificateCollection.cs (8)
28return ((X509Certificate)(List[index])); 31List[index] = value; 36return List.Add(value); 58foreach (X509Certificate cert in List) { 67List.CopyTo(array, index); 71return List.IndexOf(value); 75List.Insert(index, value); 83List.Remove(value);
security\system\security\cryptography\x509\x509certificate2collection.cs (6)
60return (X509Certificate2) List[index]; 65List[index] = value; 73return List.Add(certificate); 115return List.Contains(certificate); 122List.Insert(index, certificate); 133List.Remove(certificate);
services\monitoring\system\diagnosticts\CounterCreationDataCollection.cs (8)
42return ((CounterCreationData)(List[index])); 45List[index] = value; 53return List.Add(value); 85return List.Contains(value); 92List.CopyTo(array, index); 99return List.IndexOf(value); 106List.Insert(index, value); 113List.Remove(value);
services\monitoring\system\diagnosticts\EventLogPermissionEntryCollection.cs (8)
26return (EventLogPermissionEntry)List[index]; 29List[index] = value; 34return List.Add(value); 57return List.Contains(value); 61List.CopyTo(array, index); 65return List.IndexOf(value); 69List.Insert(index, value); 73List.Remove(value);
services\monitoring\system\diagnosticts\PerformanceCounterPermissionEntryCollection.cs (8)
26return (PerformanceCounterPermissionEntry)List[index]; 29List[index] = value; 35return List.Add(value); 58return List.Contains(value); 62List.CopyTo(array, index); 66return List.IndexOf(value); 70List.Insert(index, value); 74List.Remove(value);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlBulkCopyColumnMappingCollection.cs (1)
40return (SqlBulkCopyColumnMapping)this.List[index];
System.Messaging (16)
System\Messaging\AccessControlList.cs (8)
70return List.Add(entry); 78List.Insert(index, entry); 86return List.IndexOf(entry); 99return List.Contains(entry); 107List.Remove(entry); 115List.CopyTo(array, index); 121int ACECount = List.Count; 133AccessControlEntry ace = (AccessControlEntry)List[i];
System\Messaging\MessageQueuePermissionEntryCollection.cs (8)
29return (MessageQueuePermissionEntry)List[index]; 33List[index] = value; 41return List.Add(value); 74return List.Contains(value); 80List.CopyTo(array, index); 86return List.IndexOf(value); 92List.Insert(index, value); 98List.Remove(value);
System.Web (60)
HttpException.cs (8)
652get { return ((ParserError)List[index]); } 653set { List[index] = value; } 657return List.Add(value); 681return List.Contains(value); 685List.CopyTo(array, index); 689return List.IndexOf(value); 693List.Insert(index, value); 697List.Remove(value);
UI\WebControls\EmbeddedMailObjectsCollection.cs (8)
21return (EmbeddedMailObject)List[index]; 24List[index] = value; 29return List.Add(value); 33return List.Contains(value); 37List.CopyTo(array, index); 41return List.IndexOf(value); 45List.Insert(index, value); 59List.Remove(value);
UI\WebControls\RoleGroupCollection.cs (7)
27return (RoleGroup)List[index]; 33List.Add(group); 38List.CopyTo(array, index); 43return List.Contains(group); 77return List.IndexOf(group); 82List.Insert(index, group); 97List.RemoveAt(index);
UI\WebParts\ProxyWebPartConnectionCollection.cs (9)
37return (WebPartConnection)List[index]; 40List[index] = value; 49foreach (WebPartConnection connection in List) { 60return List.Add(value); 70return List.Contains(value); 74List.CopyTo(array, index); 78return List.IndexOf(value); 82List.Insert(index, value); 135List.Remove(value);
UI\WebParts\WebPartConnectionCollection.cs (10)
41return (WebPartConnection)List[index]; 44List[index] = value; 55foreach (WebPartConnection connection in List) { 69return List.Add(value); 82return List.Contains(value); 86foreach (WebPartConnection connection in List) { 95List.CopyTo(array, index); 99return List.IndexOf(value); 106List.Insert(index, value); 152List.Remove(value);
UI\WebParts\WebPartDisplayModeCollection.cs (9)
29return (WebPartDisplayMode)List[index]; 35foreach (WebPartDisplayMode displayMode in List) { 46return List.Add(value); 56return List.Add(value); 74return List.Contains(value); 78List.CopyTo(array, index); 82return List.IndexOf(value); 86List.Insert(index, value); 96foreach (WebPartDisplayMode existingDisplayMode in List) {
UI\WebParts\WebPartTransformerCollection.cs (9)
23return (WebPartTransformer) List[index]; 26List[index] = value; 31return List.Add(transformer); 41return List.Contains(transformer); 45List.CopyTo(array, index); 49return List.IndexOf(transformer); 53List.Insert(index, transformer); 64if (List.Count > 0) { 92List.Remove(transformer);
System.Web.DataVisualization (3)
Common\General\AxisScaleSegments.cs (3)
888 return (AxisScaleSegment)this.List[(int)index]; 907 return this.List.Add(segment); 964 if(this.List.Count == 0)
System.Web.Services (191)
System\Web\Services\Description\MimeFormatExtensions.cs (16)
75get { return (MimePart)List[index]; } 76set { List[index] = value; } 81return List.Add(mimePart); 86List.Insert(index, mimePart); 91return List.IndexOf(mimePart); 96return List.Contains(mimePart); 101List.Remove(mimePart); 106List.CopyTo(array, index); 219get { return (MimeTextMatch)List[index]; } 220set { List[index] = value; } 225return List.Add(match); 230List.Insert(index, match); 235return List.IndexOf(match); 240return List.Contains(match); 245List.Remove(match); 250List.CopyTo(array, index);
System\Web\Services\Description\MimeParameters.cs (8)
26get { return (MimeParameter)List[index]; } 27set { List[index] = value; } 31return List.Add(parameter); 35List.Insert(index, parameter); 39return List.IndexOf(parameter); 43return List.Contains(parameter); 47List.Remove(parameter); 51List.CopyTo(array, index);
System\Web\Services\Description\ServiceDescription.cs (123)
1409get { return (object)List[index]; } 1410set { List[index] = value; } 1418return List.Add(extension); 1426List.Insert(index, extension); 1434return List.IndexOf(extension); 1442return List.Contains(extension); 1450List.Remove(extension); 1458List.CopyTo(array, index); 1466for (int i = 0; i < List.Count; i++) { 1467object item = List[i]; 1482for (int i = 0; i < List.Count; i++) { 1483object item = List[i]; 1497for (int i = 0; i < List.Count; i++) { 1498XmlElement element = List[i] as XmlElement; 1513for (int i = 0; i < List.Count; i++) { 1514XmlElement element = List[i] as XmlElement; 1671get { return (OperationMessage)List[index]; } 1672set { List[index] = value; } 1680return List.Add(operationMessage); 1688List.Insert(index, operationMessage); 1696return List.IndexOf(operationMessage); 1704return List.Contains(operationMessage); 1712List.Remove(operationMessage); 1720List.CopyTo(array, index); 1729for (int i = 0; i < List.Count; i++) { 1730OperationInput input = List[i] as OperationInput; 1745for (int i = 0; i < List.Count; i++) { 1746OperationOutput output = List[i] as OperationOutput; 1761if (List.Count == 0) { 1764else if (List.Count == 1) { 1765if (List[0] is OperationInput) { 1773if (List[0] is OperationInput) { 1796if (Count > 1 || (Count == 1 && value.GetType() == List[0].GetType())) 1834get { return (Import)List[index]; } 1835set { List[index] = value; } 1843return List.Add(import); 1851List.Insert(index, import); 1859return List.IndexOf(import); 1867return List.Contains(import); 1875List.Remove(import); 1883List.CopyTo(array, index); 1907get { return (Message)List[index]; } 1908set { List[index] = value; } 1916return List.Add(message); 1924List.Insert(index, message); 1932return List.IndexOf(message); 1940return List.Contains(message); 1948List.Remove(message); 1956List.CopyTo(array, index); 1996get { return (Port)List[index]; } 1997set { List[index] = value; } 2005return List.Add(port); 2013List.Insert(index, port); 2021return List.IndexOf(port); 2029return List.Contains(port); 2037List.Remove(port); 2045List.CopyTo(array, index); 2085get { return (PortType)List[index]; } 2086set { List[index] = value; } 2094return List.Add(portType); 2102List.Insert(index, portType); 2110return List.IndexOf(portType); 2118return List.Contains(portType); 2126List.Remove(portType); 2134List.CopyTo(array, index); 2174get { return (Binding)List[index]; } 2175set { List[index] = value; } 2183return List.Add(binding); 2191List.Insert(index, binding); 2199return List.IndexOf(binding); 2207return List.Contains(binding); 2215List.Remove(binding); 2223List.CopyTo(array, index); 2263get { return (Service)List[index]; } 2264set { List[index] = value; } 2272return List.Add(service); 2280List.Insert(index, service); 2288return List.IndexOf(service); 2296return List.Contains(service); 2304List.Remove(service); 2312List.CopyTo(array, index); 2352get { return (MessagePart)List[index]; } 2353set { List[index] = value; } 2361return List.Add(messagePart); 2369List.Insert(index, messagePart); 2377return List.IndexOf(messagePart); 2385return List.Contains(messagePart); 2393List.Remove(messagePart); 2401List.CopyTo(array, index); 2441get { return (OperationBinding)List[index]; } 2442set { List[index] = value; } 2450return List.Add(bindingOperation); 2458List.Insert(index, bindingOperation); 2466return List.IndexOf(bindingOperation); 2474return List.Contains(bindingOperation); 2482List.Remove(bindingOperation); 2490List.CopyTo(array, index); 2514get { return (FaultBinding)List[index]; } 2515set { List[index] = value; } 2523return List.Add(bindingOperationFault); 2531List.Insert(index, bindingOperationFault); 2539return List.IndexOf(bindingOperationFault); 2547return List.Contains(bindingOperationFault); 2555List.Remove(bindingOperationFault); 2563List.CopyTo(array, index); 2603get { return (Operation)List[index]; } 2604set { List[index] = value; } 2612return List.Add(operation); 2620List.Insert(index, operation); 2628return List.IndexOf(operation); 2636return List.Contains(operation); 2644List.Remove(operation); 2652List.CopyTo(array, index); 2676get { return (OperationFault)List[index]; } 2677set { List[index] = value; } 2685return List.Add(operationFaultMessage); 2693List.Insert(index, operationFaultMessage); 2701return List.IndexOf(operationFaultMessage); 2709return List.Contains(operationFaultMessage); 2717List.Remove(operationFaultMessage); 2725List.CopyTo(array, index); 2810for (int i = 0; i < List.Count; i++) { 2811RemoveValue(List[i]);
System\Web\Services\Description\ServiceDescriptions.cs (8)
33get { return (ServiceDescription)List[index]; } 34set { List[index] = value; } 50return List.Add(serviceDescription); 58List.Insert(index, serviceDescription); 66return List.IndexOf(serviceDescription); 74return List.Contains(serviceDescription); 82List.Remove(serviceDescription); 90List.CopyTo(array, index);
System\Web\Services\Description\WebReferenceCollection.cs (8)
34get { return (WebReference)List[index]; } 35set { List[index] = value; } 43return List.Add(webReference); 51List.Insert(index, webReference); 59return List.IndexOf(webReference); 67return List.Contains(webReference); 75List.Remove(webReference); 83List.CopyTo(array, index);
System\Web\Services\Description\WebServicesInteroperability.cs (10)
684get { return (BasicProfileViolation)List[index]; } 685set { List[index] = value; } 693return List.Add(violation); 718List.Insert(index, violation); 726return List.IndexOf(violation); 734return List.Contains(violation); 742List.Remove(violation); 750List.CopyTo(array, index); 758if (List.Count > 0) { 760for (int i = 0; i < List.Count; i++) {
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (5)
554return (DiscoveryClientResult) List[i]; 557List[i] = value; 566return List.Add(value); 574return List.Contains(value); 582List.Remove(value);
System\Web\Services\Discovery\DiscoveryReferences.cs (5)
24return (DiscoveryReference) List[i]; 27List[i] = value; 36return List.Add(value); 44return List.Contains(value); 52List.Remove(value);
System\Web\Services\Protocols\SoapHeaders.cs (8)
29get { return (SoapHeader)List[index]; } 30set { List[index] = value; } 38return List.Add(header); 46List.Insert(index, header); 54return List.IndexOf(header); 62return List.Contains(header); 70List.Remove(header); 78List.CopyTo(array, index);
System.Windows.Forms.DataVisualization (3)
Common\General\AxisScaleSegments.cs (3)
888 return (AxisScaleSegment)this.List[(int)index]; 907 return this.List.Add(segment); 964 if(this.List.Count == 0)
System.Xml (59)
System\Xml\Schema\XmlSchemaObjectCollection.cs (8)
41get { return (XmlSchemaObject)List[index]; } 42set { List[index] = value; } 58return List.Add(item); 66List.Insert(index, item); 74return List.IndexOf(item); 82return List.Contains(item); 90List.Remove(item); 98List.CopyTo(array, index);
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (12)
74List.Remove(Names[name]); 81List.Clear(); 87foreach (object o in this.List) { 88clone.List.Add(o); 94get { return (SchemaImporterExtension)List[index]; } 95set { List[index] = value; } 106return List.Add(extension); 110List.Insert(index, extension); 114return List.IndexOf(extension); 118return List.Contains(extension); 122List.Remove(extension); 126List.CopyTo(array, index);
System\Xml\Serialization\XmlAnyElementAttributes.cs (8)
25get { return (XmlAnyElementAttribute)List[index]; } 26set { List[index] = value; } 34return List.Add(attribute); 42List.Insert(index, attribute); 50return List.IndexOf(attribute); 58return List.Contains(attribute); 66List.Remove(attribute); 74List.CopyTo(array, index);
System\Xml\Serialization\XmlArrayItemAttributes.cs (8)
25get { return (XmlArrayItemAttribute)List[index]; } 26set { List[index] = value; } 34return List.Add(attribute); 42List.Insert(index, attribute); 50return List.IndexOf(attribute); 58return List.Contains(attribute); 66List.Remove(attribute); 74List.CopyTo(array, index);
System\Xml\Serialization\XmlElementAttributes.cs (8)
25get { return (XmlElementAttribute)List[index]; } 26set { List[index] = value; } 34return List.Add(attribute); 42List.Insert(index, attribute); 50return List.IndexOf(attribute); 58return List.Contains(attribute); 66List.Remove(attribute); 74List.CopyTo(array, index);
System\Xml\Serialization\XmlSchemas.cs (15)
46get { return (XmlSchema)List[index]; } 47set { List[index] = value; } 124if (List.Contains(schema)) 125return List.IndexOf(schema); 126return List.Add(schema); 134if (List.Contains(schema)) 135return List.IndexOf(schema); 138return List.Add(schema); 164List.Insert(index, schema); 172return List.IndexOf(schema); 180return List.Contains(schema); 196List.Remove(schema); 204List.CopyTo(array, index); 279foreach (XmlSchema schema in List) { 622foreach (XmlSchema s in List) {