5 instantiations of DataContractJsonSerializer
illink (1)
Microsoft.AspNetCore.Mvc.Testing.Tasks (1)
GenerateMvcTestManifestTask.cs (1)
43var serializer = new DataContractJsonSerializer(typeof(Dictionary<string, string>), new DataContractJsonSerializerSettings
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
227var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
227var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DiagnosticDataExtensions.cs (1)
40var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
35 references to DataContractJsonSerializer
illink (1)
Microsoft.AspNetCore.Mvc.Testing.Tasks (1)
GenerateMvcTestManifestTask.cs (1)
43var serializer = new DataContractJsonSerializer(typeof(Dictionary<string, string>), new DataContractJsonSerializerSettings
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
227var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
227var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DiagnosticDataExtensions.cs (1)
40var serializer = new DataContractJsonSerializer(typeof(IEnumerable<int>));
netstandard (1)
netstandard.cs (1)
1780[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.DataContractJsonSerializer))]
System.Private.DataContractSerialization (26)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
464return DataContractJsonSerializer.ReadJsonValue(contract, xmlReader, null); 521DataContractJsonSerializer.WriteJsonValue(JsonDataContract.GetJsonDataContract(contract), writer, graph, null, declaredType.TypeHandle); // XmlObjectSerializerWriteContextComplexJson 527contract = DataContractJsonSerializer.GetDataContract(contract, declaredType, graphType);
System\Runtime\Serialization\Json\DataContractJsonSerializerExtensions.cs (2)
8public static ISerializationSurrogateProvider? GetSerializationSurrogateProvider(this DataContractJsonSerializer serializer) 13public static void SetSerializationSurrogateProvider(this DataContractJsonSerializer serializer, ISerializationSurrogateProvider? provider)
System\Runtime\Serialization\Json\DateTimeFormat.cs (1)
11/// serialized or deserialized by <see cref="Json.DataContractJsonSerializer"/>
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
169decodedMemberNames[i] = DataContractJsonSerializer.ConvertXmlNameToJsonName(_traditionalClassDataContract.MemberNames[i]);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (2)
304s_readJsonValueMethod = typeof(DataContractJsonSerializer).GetMethod("ReadJsonValue", Globals.ScanAllMembers); 451s_writeJsonValueMethod = typeof(DataContractJsonSerializer).GetMethod("WriteJsonValue", Globals.ScanAllMembers);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
257bool requiresNameAttribute = DataContractJsonSerializer.CheckIfXmlNameRequiresMapping(classContract.MemberNames![i]);
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
50return DataContractJsonSerializer.ReadJsonValue(DataContract.GetDataContract(Globals.TypeOfObjectArray), jsonReader, context);
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (1)
125return DataContractJsonSerializer.ReadJsonValue(itemContract, xmlReader, jsonContext);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
247bool requiresNameAttribute = DataContractJsonSerializer.CheckIfXmlNameRequiresMapping(classContract.MemberNames![i]);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (6)
21internal XmlObjectSerializerReadContextComplexJson(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) 32internal static XmlObjectSerializerReadContextComplexJson CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) 41return DataContractJsonSerializer.ReadJsonValue(dataContract, reader, this); 267DataContractJsonSerializer.CheckIfTypeIsReference(dataContract); 276DataContractJsonSerializer.CheckIfTypeIsReference(dataContract); 285DataContractJsonSerializer.CheckIfTypeIsReference(dataContract);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (7)
22internal static XmlObjectSerializerWriteContextComplexJson CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) 27internal XmlObjectSerializerWriteContextComplexJson(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) 158DataContractJsonSerializer.WriteJsonValue(jsonDataContract, xmlWriter, obj, this, declaredTypeHandle); 163DataContractJsonSerializer.WriteJsonNull(xmlWriter); 372DataContractJsonSerializer.CheckIfTypeIsReference(dataContract); 381DataContractJsonSerializer.CheckIfTypeIsReference(dataContract); 390DataContractJsonSerializer.CheckIfTypeIsReference(dataContract);
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
22[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.DataContractJsonSerializer))]
System.Runtime.Serialization.Json (1)
artifacts\obj\System.Runtime.Serialization.Json\Debug\net10.0\System.Runtime.Serialization.Json.Forwards.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.DataContractJsonSerializer))]
System.ServiceModel.Web (1)
System.ServiceModel.Web.cs (1)
4[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.Json.DataContractJsonSerializer))]