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