20 references to DataContractSerializerDefaults
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (4)
36return CreateAddressHeader(value, DataContractSerializerDefaults.CreateSerializer(type, int.MaxValue/*maxItems*/)); 48return CreateAddressHeader(name, ns, value, DataContractSerializerDefaults.CreateSerializer(GetObjectType(value), name, ns, int.MaxValue/*maxItems*/)); 106return GetValue<T>(DataContractSerializerDefaults.CreateSerializer(typeof(T), this.Name, this.Namespace, int.MaxValue/*maxItems*/)); 289: base(name.Value, ns.Value, value, DataContractSerializerDefaults.CreateSerializer(GetObjectType(value), name, ns, int.MaxValue/*maxItems*/))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (2)
115return CreateMessage(version, action, body, DataContractSerializerDefaults.CreateSerializer(GetObjectType(body), int.MaxValue/*maxItems*/)); 240return this.GetBodyCore<T>(reader, DataContractSerializerDefaults.CreateSerializer(typeof(T), int.MaxValue/*maxItems*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (2)
30return CreateFault(code, reason, detail, DataContractSerializerDefaults.CreateSerializer( 163return GetDetail<T>(DataContractSerializerDefaults.CreateSerializer(typeof(T), int.MaxValue/*maxItems*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (1)
428_serializer = DataContractSerializerDefaults.CreateSerializer(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (2)
836return GetHeader<T>(name, ns, DataContractSerializerDefaults.CreateSerializer(typeof(T), name, ns, int.MaxValue/*maxItems*/)); 867return GetHeader<T>(index, DataContractSerializerDefaults.CreateSerializer(typeof(T), headerInfo.Name, headerInfo.Namespace, int.MaxValue/*maxItems*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
19internal bool ignoreExtensionDataObject = DataContractSerializerDefaults.IgnoreExtensionDataObject; 21internal int maxItemsInObjectGraph = DataContractSerializerDefaults.MaxItemsInObjectGraph;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultContractInfo.cs (2)
61_serializer = DataContractSerializerDefaults.CreateSerializer(_detail, _knownTypes, int.MaxValue /* maxItemsInObjectGraph */); 65_serializer = DataContractSerializerDefaults.CreateSerializer(_detail, _knownTypes, _elementName, _ns == null ? string.Empty : _ns, int.MaxValue /* maxItemsInObjectGraph */);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
88return DataContractSerializerDefaults.CreateSerializer(detailType, int.MaxValue /* maxItemsInObjectGraph */ );
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityToken.cs (2)
457return this.GetAppliesTo<T>(DataContractSerializerDefaults.CreateSerializer(typeof(T), DataContractSerializerDefaults.MaxItemsInObjectGraph));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
467return this.GetAppliesTo<T>(DataContractSerializerDefaults.CreateSerializer(typeof(T), DataContractSerializerDefaults.MaxItemsInObjectGraph));