40 references to IsConfigured
System.Text.Json (40)
System\Text\Json\Nodes\JsonValue.cs (1)
166Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
22Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
78Debug.Assert(typeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
152Debug.Assert(jsonTypeInfo.IsConfigured); 169Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
532Debug.Assert(jsonTypeInfo.IsConfigured); 554Debug.Assert(listTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (2)
428Debug.Assert(jsonTypeInfo.IsConfigured); 459Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (2)
287Debug.Assert(jsonTypeInfo.IsConfigured); 312Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (2)
140Debug.Assert(jsonTypeInfo.IsConfigured); 157Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (2)
133Debug.Assert(jsonTypeInfo.IsConfigured); 154Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (1)
134Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (2)
135Debug.Assert(jsonTypeInfo.IsConfigured); 153Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (2)
157Debug.Assert(jsonTypeInfo.IsConfigured); 174Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
137Debug.Assert(!typeInfo.IsConfigured);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
566Debug.Assert(!DeclaringTypeInfo.IsConfigured); 982internal bool IsPropertyTypeInfoConfigured => _jsonTypeInfo?.IsConfigured == true;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (5)
26Debug.Assert(IsConfigured && _parameterCache is not null); 35Debug.Assert(IsConfigured); 47Debug.Assert(IsConfigured && _propertyCache is not null); 59Debug.Assert(IsConfigured && _propertyIndex is not null); 79Debug.Assert(IsConfigured);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (5)
388Debug.Assert(IsConfigured); 414Debug.Assert(IsConfigured); 700if (!IsConfigured) 790Debug.Assert(IsConfigured); 819Debug.Assert(!IsConfigured);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (3)
19Debug.Assert(IsConfigured); 27Debug.Assert(IsConfigured); 60Debug.Assert(IsConfigured);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (3)
24Debug.Assert(IsConfigured); 91Debug.Assert(IsConfigured); 254Debug.Assert(IsConfigured);
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
256Debug.Assert(typeInfo.IsConfigured);