3 writes to _isConformanceModeCheckEnabled
System.Formats.Cbor (3)
System\Formats\Cbor\Reader\CborReader.cs (1)
105_isConformanceModeCheckEnabled = true;
System\Formats\Cbor\Reader\CborReader.SkipValue.cs (2)
45_isConformanceModeCheckEnabled = !disableConformanceModeChecks; 61_isConformanceModeCheckEnabled = true;
14 references to _isConformanceModeCheckEnabled
System.Formats.Cbor (14)
System\Formats\Cbor\Reader\CborReader.Array.cs (1)
22if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode))
System\Formats\Cbor\Reader\CborReader.Integer.cs (1)
221if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresCanonicalIntegerRepresentation(ConformanceMode))
System\Formats\Cbor\Reader\CborReader.Map.cs (2)
37if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 108if (_isConformanceModeCheckEnabled)
System\Formats\Cbor\Reader\CborReader.Simple.cs (1)
172_isConformanceModeCheckEnabled &&
System\Formats\Cbor\Reader\CborReader.String.cs (8)
33if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 68if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 141if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 178if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 224if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 279if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresUtf8Validation(ConformanceMode)) 308if (_isConformanceModeCheckEnabled && CborConformanceModeHelpers.RequiresDefiniteLengthItems(ConformanceMode)) 494if (type == CborMajorType.TextString && _isConformanceModeCheckEnabled &&
System\Formats\Cbor\Reader\CborReader.Tag.cs (1)
287if (_isConformanceModeCheckEnabled && !CborConformanceModeHelpers.AllowsTags(ConformanceMode))