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