10 writes to Index
System.ServiceModel (7)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
358partDescription.Index = index;
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
154param.Index = paramCount;
System\ServiceModel\Description\TypeLoader.cs (4)
1212parameterPart.Index = index; 1400partDescription.Index = parameterIndex; 1452headerDescription.Index = parameterIndex; 1463propertyDescription.Index = parameterIndex;
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
554part.Index = part.SerializationPosition = partList.Count;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\MessageBuilder.cs (2)
172Index = 0, 203Index = index,
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
920parts[i].Index = newIndex++;
43 references to Index
System.ServiceModel (39)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (9)
180object headerValue = parameters[headerDescription.Index]; 239object graph = parameters[part.Description.Index]; 310if (multipleHeaderValues[headerDescription.Index].Key == null) 312multipleHeaderValues[headerDescription.Index] = new KeyValuePair<System.Type, System.Collections.ArrayList>(headerDescription.TypedHeader ? TypedHeaderManager.GetMessageHeaderType(headerDescription.Type) : headerDescription.Type, new ArrayList()); 314multipleHeaderValues[headerDescription.Index].Value.Add(item); 317parameters[headerDescription.Index] = item; 346parameters[messageInfo.UnknownHeaderDescription.Index] = elementList.ToArray(messageInfo.UnknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 415parameters[part.Description.Index] = parameterValue; 419parameters[part.Description.Index] = null;
System\ServiceModel\Dispatcher\OperationFormatter.cs (5)
433object parameter = parameters[propertyDescription.Index]; 456parameters[propertyDescription.Index] = properties[propertyDescription.Name]; 577members[part.Index] = part.MemberInfo; 580members[part.Index] = part.MemberInfo; 583members[part.Index] = part.MemberInfo;
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (3)
573parameters[part.Description.Index] = DeserializeParameter(reader, parts[i]); 577parameters[part.Description.Index] = null; 635SerializeParameter(writer, part, parameters[part.Description.Index]);
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
39this.streamIndex = streamPart.Index;
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (21)
73object parameterValue = parameters[headerDescription.Index]; 80headerValues[headerIndex++] = messageHeaderOfTHelper.GetContentAndSaveHeaderAttributes(parameters[headerDescription.Index], headerDescription); 118if (unknownHeaderDescription != null && parameters[unknownHeaderDescription.Index] != null) 120foreach (object unknownHeader in (IEnumerable)parameters[unknownHeaderDescription.Index]) 170parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 232parameters[headerDescription.Index] = parameterValue; 238parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 289object bodyObject = parameters[messageDescription.Body.Parts[0].Index]; 330bodyParameters[paramIndex++] = parameters[bodyParts[i].Index]; 364parameters[messageDescription.Body.Parts[0].Index] = bodyObject; 389parameters[bodyParts[i].Index] = bodyParameters[paramIndex++]; 453attributes[headerDescription.Index] = messageHeaderOfTAttributes; 459attributes[headerDescription.Index] = new MessageHeader<object>(null, mustUnderstand, actor, relay); 470MessageHeader<object>[] messageHeaderOfTAttributes = (MessageHeader<object>[])attributes[headerDescription.Index]; 484matchingMessageHeaderOfTAttribute = (MessageHeader<object>)attributes[headerDescription.Index]; 494if (attributes[headerDescription.Index] == null) 495attributes[headerDescription.Index] = new List<MessageHeader<object>>(); 496((List<MessageHeader<object>>)attributes[headerDescription.Index]).Add(new MessageHeader<object>(null, mustUnderstand, actor, relay)); 499attributes[headerDescription.Index] = new MessageHeader<object>(null, mustUnderstand, actor, relay); 506IList<MessageHeader<object>> messageHeaderOfTAttributes = (IList<MessageHeader<object>>)attributes[headerDescription.Index]; 519MessageHeader<object> messageHeaderOfTAttribute = (MessageHeader<object>)attributes[headerDescription.Index];
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
496if (messagePart.Index > 0) 586if (messagePart.Index >= 0)
System\ServiceModel\Activities\Receive.cs (1)
537if (messagePart.Index > 0)
System\ServiceModel\Activities\SendReply.cs (1)
308if (messagePart.Index >= 0)