4 writes to Type
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
1231bodyPart.Type = type;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
1259parameterPart.Type = type; 1444partDescription.Type = bodyType; 1465headerDescription.Type = TypedHeaderManager.GetHeaderType(headerParameterType);
34 references to Type
dotnet-svcutil-lib (34)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (3)
160return (Body.ReturnValue != null && Body.Parts.Count == 0 && Body.ReturnValue.Type == TypeOfUntypedMessage) || 161(Body.ReturnValue == null && Body.Parts.Count == 1 && Body.Parts[0].Type == TypeOfUntypedMessage); 169return !IsTypedMessage && Body.Parts.Count == 0 && (Body.ReturnValue == null || Body.ReturnValue.Type == typeof(void));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
687if (part.Type == typeof(System.IO.Stream)) 739if (setting.Type != null) 740return _context.ServiceContractGenerator.GetCodeTypeReference(setting.Type);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
1466headerDescription.TypedHeader = (headerParameterType != headerDescription.Type);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
822return GetXmlReflectionMember(memberName, elementName, ns, part.Type, additionalAttributesProvider, part.Multiple, isWrapped);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (8)
123ValidateDataContractType(headerDescription.Type); 270item = TypedHeaderManager.Create(headerDescription.Type, dataValue, headers[i].MustUnderstand, headers[i].Relay, headers[i].Actor); 285multipleHeaderValues[headerDescription.Index] = new KeyValuePair<System.Type, System.Collections.ArrayList>(headerDescription.TypedHeader ? TypedHeaderManager.GetMessageHeaderType(headerDescription.Type) : headerDescription.Type, new ArrayList()); 302dataValue = TypedHeaderManager.Create(unknownHeaderDescription.Type, dataValue, headers[i].MustUnderstand, headers[i].Relay, headers[i].Actor); 327Type dataContractType = DataContractSerializerOperationFormatter.GetSubstituteDataContractType(headerDescription.Type, out isQueryable); 409return items.ToArray(part.Description.Type); 553_serializer = _serializerFactory.CreateSerializer(_description.Type, DictionaryName, DictionaryNamespace, _knownTypes);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
481parameterValue = TypedHeaderManager.GetContent(headerDescription.Type, parameterValue, out mustUnderstand, out relay, out actor); 487return (returnValue != null) && (returnValue.Type != typeof(void));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
76if (_responseMessage.Body.ReturnValue != null && _responseMessage.Body.ReturnValue.Type != typeof(void)) 230Type type = part.Type; 295Type type = bodyDescription.Type; 638if (description.Type.IsArray) 641_typeCode = description.Type.GetElementType().GetTypeCode(); 646_typeCode = description.Type.GetTypeCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (4)
188if (messageDescription.Body.ReturnValue != null && messageDescription.Body.ReturnValue.Type == typeof(Stream)) 192if (part.Type == typeof(Stream)) 203if (messageDescription.Body.ReturnValue.Type == typeof(Stream)) 209if (messageDescription.Body.Parts[0].Type == typeof(Stream))
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (6)
250unknownHeader = TypedHeaderManager.Create(unknownHeaderDescription.Type, unknownHeader, header.MustUnderstand, header.Relay, header.Actor); 338object bodyObject = Activator.CreateInstance(messageDescription.Body.Parts[0].Type); 435Array tArray = Array.CreateInstance(headerDescription.Type, messageHeaderOfTArray.Length); 493object[] messageHeaderOfTArray = (object[])Array.CreateInstance(TypedHeaderManager.GetMessageHeaderType(headerDescription.Type), messageHeaderOfTAttributes.Count); 498messageHeaderOfTArray[i] = TypedHeaderManager.Create(headerDescription.Type, headerValues.GetValue(i), 506return TypedHeaderManager.Create(headerDescription.Type, headerValue,