2 writes to _v1Compat
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (2)
325
_v1Compat
= true;
375
_v1Compat
= false;
28 references to _v1Compat
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (28)
2071
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.Normalization property cannot be accessed on reader created via XmlReader.Create.");
2076
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.Normalization property cannot be changed on reader created via XmlReader.Create.");
2104
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.WhitespaceHandling property cannot be accessed on reader created via XmlReader.Create.");
2109
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.WhitespaceHandling property cannot be changed on reader created via XmlReader.Create.");
2128
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.DtdProcessing property cannot be accessed on reader created via XmlReader.Create.");
2133
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.DtdProcessing property cannot be changed on reader created via XmlReader.Create.");
2185
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.ResetState cannot be called on reader created via XmlReader.Create.");
2226
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.GetRemainder cannot be called on reader created via XmlReader.Create.");
2268
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.ReadChars cannot be called on reader created via XmlReader.Create.");
2310
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.ReadBase64 cannot be called on reader created via XmlReader.Create.");
2347
Debug.Assert(
_v1Compat
, "XmlTextReaderImpl.ReadBinHex cannot be called on reader created via XmlReader.Create.");
2427
return
_v1Compat
;
2673
if (
_v1Compat
)
4119
else if (pos == _ps.charsUsed || ((
_v1Compat
|| mangoQuirks) && chars[pos] == 0x0))
5550
if (
_v1Compat
)
5748
(
_v1Compat
&& entityType == EntityType.CharacterDec))
5768
if (!
_v1Compat
)
6791
ThrowWithoutLineInfo(
_v1Compat
? ResXml.Xml_DtdIsProhibited : ResXml.Xml_DtdIsProhibitedEx);
6851
if ((_validatingReaderCompatFlag || !
_v1Compat
) && (_dtdInfo.HasDefaultAttributes || _dtdInfo.HasNonCDataAttributes))
7414
((
_v1Compat
&& _normalize) || (!
_v1Compat
&& _checkCharacters)))
7939
if (!Ref.Equal(prefix, _xml) && !
_v1Compat
)
8067
if (
_v1Compat
)
8146
if (
_v1Compat
)
8990
if (
_v1Compat
&& pos == _ps.charsUsed - 1 && _ps.chars[pos] == (char)0 && ReadData() == 0 && _ps.isStreamEof)
9008
if ((_validatingReaderCompatFlag || !
_v1Compat
) && (_dtdInfo.HasDefaultAttributes || _dtdInfo.HasNonCDataAttributes))
9192
if ((_validatingReaderCompatFlag || !
_v1Compat
) && (_dtdInfo.HasDefaultAttributes || _dtdInfo.HasNonCDataAttributes))
9302
return
_v1Compat
;