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