94 PrimitiveTypeCode <TypeCode>k__BackingField =
contract.<
TypeCode>k__BackingField;
107 JsonConverter <InternalConverter>k__BackingField;
111 Type <UnderlyingType>k__BackingField =
valueContract.<UnderlyingType>k__BackingField;
112 if (
serializer.GetMatchingConverter(<UnderlyingType>k__BackingField) ==
null)
114 <InternalConverter>k__BackingField =
valueContract.<InternalConverter>k__BackingField;
115 if (<InternalConverter>k__BackingField ==
null)
180 if (memberValue ==
null)
193 while (
value !=
null)
201 return " for property '{0}'" !=
null;
220 if (
"Self referencing loop detected" ==
null)
226 text2 =
"Self referencing loop detected" +
text;
228 if (
" for property '{0}'" ==
null)
248 string text5 = text4 +
". Serializing self referenced value.";
249 string text6 =
text5 +
". Skipping serializing self referenced value.";
314 Type <UnderlyingType>k__BackingField =
contract.<UnderlyingType>k__BackingField;
355 if (
property.<Ignored>k__BackingField)
359 while (!
property.<Readable>k__BackingField);
362 if (
property.<PropertyContract>k__BackingField ==
null)
365 Type propertyType =
property._propertyType;
368 IValueProvider <ValueProvider>k__BackingField =
property.<ValueProvider>k__BackingField;
369 if (!
property.<PropertyContract>k__BackingField.IsSealed)
372 property.WritePropertyName(writer);
385 Type <UnderlyingType>k__BackingField =
contract.<UnderlyingType>k__BackingField;
456 int upperBound =
values.GetUpperBound(43159552);
460 if (
contract._finalItemContract ==
null)
568 Type type = dateTime.GetType();
586 base.ClearErrorContext();
class f__AnonymousType0<< Count > j__TPar
DefaultValueHandling _defaultValueHandling
FormatterAssemblyStyle _typeNameAssemblyFormat
NullValueHandling _nullValueHandling
IEqualityComparer _equalityComparer
IContractResolver _contractResolver
ReferenceLoopHandling _referenceLoopHandling
DateFormatHandling _dateFormatHandling
DateTimeZoneHandling _dateTimeZoneHandling
virtual void WriteValue(string value)
readonly ITraceWriter TraceWriter
readonly JsonSerializer Serializer
bool IsSpecified(JsonWriter writer, JsonProperty property, object target)
bool HasFlag(TypeNameHandling value, TypeNameHandling flag)
void OnSerializing(JsonWriter writer, JsonContract contract, object value)
string GetPropertyName(JsonWriter writer, object name, JsonContract contract, [Out] bool escape)
void SerializeISerializable(JsonWriter writer, ISerializable value, JsonISerializableContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
void SerializeValue(JsonWriter writer, object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
bool HasFlag(PreserveReferencesHandling value, PreserveReferencesHandling flag)
void SerializeObject(JsonWriter writer, object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
void SerializeMultidimensionalArray(JsonWriter writer, Array values, JsonArrayContract contract, JsonProperty member, int initialDepth, int[] indices)
void SerializeDictionary(JsonWriter writer, IDictionary values, JsonDictionaryContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
void SerializeMultidimensionalArray(JsonWriter writer, Array values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
bool ShouldWriteType(TypeNameHandling typeNameHandlingFlag, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
bool HasFlag(DefaultValueHandling value, DefaultValueHandling flag)
bool WriteStartArray(JsonWriter writer, object values, JsonArrayContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
bool ShouldWriteReference(object value, JsonProperty property, JsonContract valueContract, JsonContainerContract collectionContract, JsonProperty containerProperty)
string GetReference(JsonWriter writer, object value)
bool ShouldWriteProperty(object memberValue, JsonProperty property)
void WriteObjectStart(JsonWriter writer, object value, JsonContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
JsonContract GetContractSafe(object value)
void WriteTypeProperty(JsonWriter writer, Type type)
bool? ResolveIsReference(JsonContract contract, JsonProperty property, JsonContainerContract collectionContract, JsonProperty containerProperty)
void SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
void OnSerialized(JsonWriter writer, JsonContract contract, object value)
void SerializeConvertable(JsonWriter writer, JsonConverter converter, object value, JsonContract contract, JsonContainerContract collectionContract, JsonProperty containerProperty)
JsonSerializerInternalWriter(JsonSerializer serializer)
void SerializeString(JsonWriter writer, object value, JsonStringContract contract)
JsonSerializerProxy GetInternalSerializer()
bool CalculatePropertyValues(JsonWriter writer, object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, [Out] JsonContract memberContract, [Out] object memberValue)
void Serialize(JsonWriter jsonWriter, object value, Type objectType)
static bool TryConvertToString(object value, Type type, [Out] string s)
bool CheckForCircularReference(JsonWriter writer, object value, JsonProperty property, JsonContract contract, JsonContainerContract containerContract, JsonProperty containerProperty)
bool ShouldWriteDynamicProperty(object memberValue)
void SerializePrimitive(JsonWriter writer, object value, JsonPrimitiveContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
void HandleError(JsonWriter writer, int initialDepth)
void WriteReference(JsonWriter writer, object value)
bool ShouldSerialize(JsonWriter writer, JsonProperty property, object target)
readonly List< object > _serializeStack
void WriteReferenceIdProperty(JsonWriter writer, Type type, object value)
static bool ValueEquals(object objA, object objB)
static object GetDefaultValue(Type type)
static string GetTypeName(Type t, FormatterAssemblyStyle assemblyFormat, SerializationBinder binder)
static string ToString(object value, IFormatProvider provider)
static CultureInfo InvariantCulture
PreserveReferencesHandling
readonly StreamingContextStates m_state