41 references to IsConfigured
System.Text.Json (41)
System\Text\Json\Nodes\JsonValue.cs (1)
163Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
22Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
68Debug.Assert(typeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (2)
137Debug.Assert(jsonTypeInfo.IsConfigured); 154Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (2)
462Debug.Assert(jsonTypeInfo.IsConfigured); 484Debug.Assert(listTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (2)
383Debug.Assert(jsonTypeInfo.IsConfigured); 414Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (2)
272Debug.Assert(jsonTypeInfo.IsConfigured); 297Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (2)
131Debug.Assert(jsonTypeInfo.IsConfigured); 148Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (2)
124Debug.Assert(jsonTypeInfo.IsConfigured); 145Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (1)
125Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (2)
126Debug.Assert(jsonTypeInfo.IsConfigured); 144Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (2)
148Debug.Assert(jsonTypeInfo.IsConfigured); 165Debug.Assert(jsonTypeInfo.IsConfigured);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
134Debug.Assert(!typeInfo.IsConfigured);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
566Debug.Assert(!DeclaringTypeInfo.IsConfigured); 1003internal 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); 78Debug.Assert(IsConfigured);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (6)
390Debug.Assert(IsConfigured); 416Debug.Assert(IsConfigured); 702if (!IsConfigured) 792Debug.Assert(IsConfigured); 821Debug.Assert(!IsConfigured); 1395Debug.Assert(!_jsonTypeInfo.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); 257Debug.Assert(IsConfigured);
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
256Debug.Assert(typeInfo.IsConfigured);