4 writes to Index
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (4)
1260parameterPart.Index = index; 1445partDescription.Index = parameterIndex; 1490headerDescription.Index = parameterIndex; 1500propertyDescription.Index = parameterIndex;
38 references to Index
dotnet-svcutil-lib (38)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (8)
154object headerValue = parameters[headerDescription.Index]; 212object graph = parameters[part.Description.Index]; 283if (multipleHeaderValues[headerDescription.Index].Key == null) 285multipleHeaderValues[headerDescription.Index] = new KeyValuePair<System.Type, System.Collections.ArrayList>(headerDescription.TypedHeader ? TypedHeaderManager.GetMessageHeaderType(headerDescription.Type) : headerDescription.Type, new ArrayList()); 287multipleHeaderValues[headerDescription.Index].Value.Add(item); 290parameters[headerDescription.Index] = item; 390parameters[part.Description.Index] = parameterValue; 394parameters[part.Description.Index] = null;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (5)
446object parameter = parameters[propertyDescription.Index]; 469parameters[propertyDescription.Index] = properties[propertyDescription.Name]; 585_members[part.Index] = part.MemberInfo; 588_members[part.Index] = part.MemberInfo; 591_members[part.Index] = part.MemberInfo;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (3)
531parameters[part.Description.Index] = DeserializeParameter(reader, parts[i]); 535parameters[part.Description.Index] = null; 592SerializeParameter(writer, part, parameters[part.Description.Index]);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
41_streamIndex = streamPart.Index;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (21)
68object parameterValue = parameters[headerDescription.Index]; 75headerValues[headerIndex++] = messageHeaderOfTHelper.GetContentAndSaveHeaderAttributes(parameters[headerDescription.Index], headerDescription); 113if (unknownHeaderDescription != null && parameters[unknownHeaderDescription.Index] != null) 115foreach (object unknownHeader in (IEnumerable)parameters[unknownHeaderDescription.Index]) 164parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 227parameters[headerDescription.Index] = parameterValue; 233parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 279object bodyObject = parameters[messageDescription.Body.Parts[0].Index]; 320bodyParameters[paramIndex++] = parameters[bodyParts[i].Index]; 353parameters[messageDescription.Body.Parts[0].Index] = bodyObject; 377parameters[bodyParts[i].Index] = bodyParameters[paramIndex++]; 441_attributes[headerDescription.Index] = messageHeaderOfTAttributes; 447_attributes[headerDescription.Index] = new MessageHeader<object>(null, mustUnderstand, actor, relay); 457MessageHeader<object>[] messageHeaderOfTAttributes = (MessageHeader<object>[])_attributes[headerDescription.Index]; 471matchingMessageHeaderOfTAttribute = (MessageHeader<object>)_attributes[headerDescription.Index]; 481if (_attributes[headerDescription.Index] == null) 482_attributes[headerDescription.Index] = new List<MessageHeader<object>>(); 483((List<MessageHeader<object>>)_attributes[headerDescription.Index]).Add(new MessageHeader<object>(null, mustUnderstand, actor, relay)); 486_attributes[headerDescription.Index] = new MessageHeader<object>(null, mustUnderstand, actor, relay); 492IList<MessageHeader<object>> messageHeaderOfTAttributes = (IList<MessageHeader<object>>)_attributes[headerDescription.Index]; 505MessageHeader<object> messageHeaderOfTAttribute = (MessageHeader<object>)_attributes[headerDescription.Index];