10 writes to _laterInitParam
System.Private.Xml (10)
System\Xml\Core\XmlTextReaderImpl.cs (7)
608
_laterInitParam
= new LaterInitParam();
677
_laterInitParam
= null;
707
_laterInitParam
= new LaterInitParam();
751
_laterInitParam
= null;
772
_laterInitParam
= new LaterInitParam();
804
_laterInitParam
= null;
3574
_laterInitParam
= null;
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
110
_laterInitParam
= null;
135
_laterInitParam
= null;
151
_laterInitParam
= null;
84 references to _laterInitParam
System.Private.Xml (84)
System\Xml\Core\XmlTextReaderImpl.cs (56)
609
_laterInitParam
.inputUriStr = uriStr;
610
_laterInitParam
.inputbaseUri = baseUri;
611
_laterInitParam
.inputContext = context;
612
_laterInitParam
.inputUriResolver = uriResolver;
613
_laterInitParam
.initType = InitInputType.UriString;
622
_laterInitParam
.useAsync = true;
629
Debug.Assert(
_laterInitParam
!= null);
630
Debug.Assert(
_laterInitParam
.inputUriResolver != null);
631
Debug.Assert(
_laterInitParam
.inputbaseUri != null);
634
if (
_laterInitParam
.useAsync)
638
Task<object> t =
_laterInitParam
.inputUriResolver.GetEntityAsync(
_laterInitParam
.inputbaseUri, string.Empty, typeof(Stream));
643
stream = (Stream?)
_laterInitParam
.inputUriResolver.GetEntity(
_laterInitParam
.inputbaseUri, string.Empty, typeof(Stream));
648
throw new XmlException(SR.Xml_CannotResolveUrl,
_laterInitParam
.inputUriStr);
653
if (
_laterInitParam
.inputContext != null)
655
enc =
_laterInitParam
.inputContext.Encoding;
661
InitStreamInput(
_laterInitParam
.inputbaseUri, _reportedBaseUri, stream, null, 0, enc);
666
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
668
ProcessDtdFromParserContext(
_laterInitParam
.inputContext);
708
_laterInitParam
.inputStream = stream;
709
_laterInitParam
.inputBytes = bytes;
710
_laterInitParam
.inputByteCount = byteCount;
711
_laterInitParam
.inputbaseUri = baseUri;
712
_laterInitParam
.inputContext = context;
714
_laterInitParam
.initType = InitInputType.Stream;
722
_laterInitParam
.useAsync = true;
730
Debug.Assert(
_laterInitParam
!= null);
731
Debug.Assert(
_laterInitParam
.inputStream != null);
735
if (
_laterInitParam
.inputContext != null)
737
enc =
_laterInitParam
.inputContext.Encoding;
741
InitStreamInput(
_laterInitParam
.inputbaseUri, _reportedBaseUri,
_laterInitParam
.inputStream,
_laterInitParam
.inputBytes,
_laterInitParam
.inputByteCount, enc);
746
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
748
ProcessDtdFromParserContext(
_laterInitParam
.inputContext);
773
_laterInitParam
.inputTextReader = input;
774
_laterInitParam
.inputContext = context;
775
_laterInitParam
.initType = InitInputType.TextReader;
783
_laterInitParam
.useAsync = true;
789
Debug.Assert(
_laterInitParam
!= null);
790
Debug.Assert(
_laterInitParam
.inputTextReader != null);
794
InitTextReaderInput(_reportedBaseUri,
_laterInitParam
.inputTextReader);
799
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
801
ProcessDtdFromParserContext(
_laterInitParam
.inputContext);
1195
Debug.Assert(
_laterInitParam
!= null);
1197
switch (
_laterInitParam
.initType)
1219
if (
_laterInitParam
!= null)
2861
if (
_laterInitParam
!= null &&
_laterInitParam
.useAsync)
2926
if (
_laterInitParam
!= null &&
_laterInitParam
.useAsync)
System\Xml\Core\XmlTextReaderImplAsync.cs (28)
59
switch (
_laterInitParam
!.initType)
77
Stream stream = (Stream)(await
_laterInitParam
!.inputUriResolver!.GetEntityAsync(
_laterInitParam
.inputbaseUri!, string.Empty, typeof(Stream)).ConfigureAwait(false));
81
throw new XmlException(SR.Xml_CannotResolveUrl,
_laterInitParam
.inputUriStr);
86
if (
_laterInitParam
.inputContext != null)
88
enc =
_laterInitParam
.inputContext.Encoding;
95
await InitStreamInputAsync(
_laterInitParam
.inputbaseUri, _reportedBaseUri, stream, null, 0, enc).ConfigureAwait(false);
100
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
102
await ProcessDtdFromParserContextAsync(
_laterInitParam
.inputContext).ConfigureAwait(false);
119
if (
_laterInitParam
!.inputContext != null)
121
enc =
_laterInitParam
.inputContext.Encoding;
126
await InitStreamInputAsync(
_laterInitParam
.inputbaseUri, _reportedBaseUri,
_laterInitParam
!.inputStream!,
_laterInitParam
.inputBytes,
_laterInitParam
.inputByteCount, enc).ConfigureAwait(false);
131
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
133
await ProcessDtdFromParserContextAsync(
_laterInitParam
.inputContext).ConfigureAwait(false);
141
await InitTextReaderInputAsync(_reportedBaseUri!,
_laterInitParam
!.inputTextReader!).ConfigureAwait(false);
146
if (
_laterInitParam
.inputContext != null &&
_laterInitParam
.inputContext.HasDtdInfo)
148
await ProcessDtdFromParserContextAsync(
_laterInitParam
.inputContext).ConfigureAwait(false);
159
if (
_laterInitParam
!= null)
888
if (
_laterInitParam
!= null &&
_laterInitParam
.useAsync)
955
if (
_laterInitParam
!= null &&
_laterInitParam
.useAsync)