5 writes to Type
System.ServiceModel.Primitives (5)
System\ServiceModel\Description\MessagePartDescription.cs (1)
43Type = other.Type;
System\ServiceModel\Description\TypeLoader.cs (3)
1289parameterPart.Type = type; 1489partDescription.Type = bodyType; 1518headerDescription.Type = TypedHeaderManager.GetHeaderType(headerParameterType);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
621part.Type = (member.MemberType == MemberTypes.Property) ? ((PropertyInfo)member).PropertyType : ((FieldInfo)member).FieldType;
36 references to Type
System.ServiceModel.Primitives (34)
System\ServiceModel\Description\MessageDescription.cs (3)
145return (Body.ReturnValue != null && Body.Parts.Count == 0 && Body.ReturnValue.Type == TypeOfUntypedMessage) || 146(Body.ReturnValue == null && Body.Parts.Count == 1 && Body.Parts[0].Type == TypeOfUntypedMessage); 154return !IsTypedMessage && Body.Parts.Count == 0 && (Body.ReturnValue == null || Body.ReturnValue.Type == typeof(void));
System\ServiceModel\Description\MessagePartDescription.cs (1)
43Type = other.Type;
System\ServiceModel\Description\TypeLoader.cs (1)
1519headerDescription.TypedHeader = (headerParameterType != headerDescription.Type);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
582Type bodyObjectType = bodyPart.Type; 603Type bodyObjectType = bodyPart.Type; 1055return GetXmlReflectionMember(memberName, elementName, ns, part.Type, additionalAttributesProvider, part.Multiple, isEncoded, isWrapped);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (8)
145ValidateDataContractType(headerDescription.Type); 334item = TypedHeaderManager.Create(headerDescription.Type, dataValue, headers[i].MustUnderstand, headers[i].Relay, headers[i].Actor); 355multipleHeaderValues[headerDescription.Index] = new KeyValuePair<Type, ArrayList>(headerDescription.TypedHeader ? TypedHeaderManager.GetMessageHeaderType(headerDescription.Type) : headerDescription.Type, new ArrayList()); 374dataValue = TypedHeaderManager.Create(unknownHeaderDescription.Type, dataValue, headers[i].MustUnderstand, headers[i].Relay, headers[i].Actor); 400Type dataContractType = DataContractSerializerOperationFormatter.GetSubstituteDataContractType(headerDescription.Type, out isQueryable); 511return items.ToArray(part.Description.Type); 643_serializer = _serializerFactory.CreateSerializer(Description.Type, DictionaryName, DictionaryNamespace, _knownTypes);
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
503parameterValue = TypedHeaderManager.GetContent(headerDescription.Type, parameterValue, out mustUnderstand, out relay, out actor); 511return (returnValue != null) && (returnValue.Type != typeof(void));
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
85if (_responseMessage.Body.ReturnValue != null && _responseMessage.Body.ReturnValue.Type != typeof(void)) 274Type type = part.Type; 373Type type = bodyDescription.Type; 792if (description.Type.IsArray) 795_typeCode = description.Type.GetElementType().GetTypeCode(); 800_typeCode = description.Type.GetTypeCode();
System\ServiceModel\Dispatcher\StreamFormatter.cs (4)
233if (messageDescription.Body.ReturnValue != null && messageDescription.Body.ReturnValue.Type == typeof(Stream)) 240if (part.Type == typeof(Stream)) 254if (messageDescription.Body.ReturnValue.Type == typeof(Stream)) 264if (messageDescription.Body.Parts[0].Type == typeof(Stream))
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (6)
286unknownHeader = TypedHeaderManager.Create(unknownHeaderDescription.Type, unknownHeader, header.MustUnderstand, header.Relay, header.Actor); 413object bodyObject = Activator.CreateInstance(messageDescription.Body.Parts[0].Type); 532Array tArray = Array.CreateInstance(headerDescription.Type, messageHeaderOfTArray.Length); 598object[] messageHeaderOfTArray = (object[])Array.CreateInstance(TypedHeaderManager.GetMessageHeaderType(headerDescription.Type), messageHeaderOfTAttributes.Count); 603messageHeaderOfTArray[i] = TypedHeaderManager.Create(headerDescription.Type, headerValues.GetValue(i), 611return TypedHeaderManager.Create(headerDescription.Type, headerValue,
UnitTests.Common (2)
TestHelpers.cs (2)
254if (desc.Type != data.Type) 257action, section, desc.Name, data.Type, desc.Type));