4 writes to _typeInfoResolver
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializerOptions.cs (4)
155_typeInfoResolver = options._typeInfoResolver; 242_typeInfoResolver = value; 938_typeInfoResolver = defaultResolver; 1118_options._typeInfoResolver = this;
15 references to _typeInfoResolver
System.Text.Json (15)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (4)
408Debug.Assert(options._typeInfoResolver != null); 520left._typeInfoResolver == right._typeInfoResolver && 580AddHashCode(ref hc, options._typeInfoResolver);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
52if (_typeInfoResolver is null)
System\Text\Json\Serialization\JsonSerializerOptions.cs (10)
155_typeInfoResolver = options._typeInfoResolver; 229return _typeInfoResolver; 879if (_typeInfoResolver is null) 934switch (_typeInfoResolver) 962else if (_typeInfoResolver is null or EmptyJsonTypeInfoResolver) 967Debug.Assert(_typeInfoResolver != null); 986IJsonTypeInfoResolver? resolver = _effectiveJsonTypeInfoResolver ?? _typeInfoResolver; 1070ThrowHelper.ThrowInvalidOperationException_SerializerOptionsReadOnly(_typeInfoResolver as JsonSerializerContext); 1095AddFlattened(options._typeInfoResolver); 1102if (ReferenceEquals(item, this) || ReferenceEquals(item, _options._typeInfoResolver))