10 writes to laterInitParam
System.Xml (10)
System\Xml\Core\XmlTextReaderImpl.cs (7)
642
laterInitParam
= new LaterInitParam();
704
laterInitParam
= null;
728
laterInitParam
= new LaterInitParam();
767
laterInitParam
= null;
785
laterInitParam
= new LaterInitParam();
814
laterInitParam
= null;
3264
laterInitParam
= null;
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
104
laterInitParam
= null;
126
laterInitParam
= null;
141
laterInitParam
= null;
76 references to laterInitParam
System.Xml (76)
System\Xml\Core\XmlTextReaderImpl.cs (48)
643
laterInitParam
.inputUriStr = uriStr;
644
laterInitParam
.inputbaseUri = baseUri;
645
laterInitParam
.inputContext = context;
646
laterInitParam
.inputUriResolver = uriResolver;
647
laterInitParam
.initType = InitInputType.UriString;
656
laterInitParam
.useAsync = true;
666
if (
laterInitParam
.useAsync) {
669
System.Threading.Tasks.Task<object> t =
laterInitParam
.inputUriResolver.GetEntityAsync(
laterInitParam
.inputbaseUri, string.Empty, typeof(Stream));
676
stream = (Stream)
laterInitParam
.inputUriResolver.GetEntity(
laterInitParam
.inputbaseUri, string.Empty, typeof(Stream));
680
throw new XmlException(Res.Xml_CannotResolveUrl,
laterInitParam
.inputUriStr);
685
if (
laterInitParam
.inputContext != null) {
686
enc =
laterInitParam
.inputContext.Encoding;
691
InitStreamInput(
laterInitParam
.inputbaseUri, reportedBaseUri, stream, null, 0, enc);
696
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
697
ProcessDtdFromParserContext(
laterInitParam
.inputContext);
729
laterInitParam
.inputStream = stream;
730
laterInitParam
.inputBytes = bytes;
731
laterInitParam
.inputByteCount = byteCount;
732
laterInitParam
.inputbaseUri = baseUri;
733
laterInitParam
.inputContext = context;
735
laterInitParam
.initType = InitInputType.Stream;
744
laterInitParam
.useAsync = true;
754
if (
laterInitParam
.inputContext != null) {
755
enc =
laterInitParam
.inputContext.Encoding;
759
InitStreamInput(
laterInitParam
.inputbaseUri, reportedBaseUri,
laterInitParam
.inputStream,
laterInitParam
.inputBytes,
laterInitParam
.inputByteCount, enc);
764
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
765
ProcessDtdFromParserContext(
laterInitParam
.inputContext);
786
laterInitParam
.inputTextReader = input;
787
laterInitParam
.inputContext = context;
788
laterInitParam
.initType = InitInputType.TextReader;
797
laterInitParam
.useAsync = true;
805
InitTextReaderInput(reportedBaseUri,
laterInitParam
.inputTextReader);
810
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
811
ProcessDtdFromParserContext(
laterInitParam
.inputContext);
1136
switch (
laterInitParam
.initType) {
1157
if (
laterInitParam
!= null) {
2622
if (
laterInitParam
!= null &&
laterInitParam
.useAsync) {
2694
if (
laterInitParam
!= null &&
laterInitParam
.useAsync) {
System\Xml\Core\XmlTextReaderImplAsync.cs (28)
60
switch (
laterInitParam
.initType) {
77
Stream stream = (Stream)(await
laterInitParam
.inputUriResolver.GetEntityAsync(
laterInitParam
.inputbaseUri, string.Empty, typeof(Stream)).ConfigureAwait(false));
80
throw new XmlException(Res.Xml_CannotResolveUrl,
laterInitParam
.inputUriStr);
85
if (
laterInitParam
.inputContext != null) {
86
enc =
laterInitParam
.inputContext.Encoding;
91
await InitStreamInputAsync(
laterInitParam
.inputbaseUri, reportedBaseUri, stream, null, 0, enc).ConfigureAwait(false);
96
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
97
await ProcessDtdFromParserContextAsync(
laterInitParam
.inputContext).ConfigureAwait(false);
113
if (
laterInitParam
.inputContext != null) {
114
enc =
laterInitParam
.inputContext.Encoding;
118
await InitStreamInputAsync(
laterInitParam
.inputbaseUri, reportedBaseUri,
laterInitParam
.inputStream,
laterInitParam
.inputBytes,
laterInitParam
.inputByteCount, enc).ConfigureAwait(false);
123
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
124
await ProcessDtdFromParserContextAsync(
laterInitParam
.inputContext).ConfigureAwait(false);
132
await InitTextReaderInputAsync(reportedBaseUri,
laterInitParam
.inputTextReader).ConfigureAwait(false);
137
if (
laterInitParam
.inputContext != null &&
laterInitParam
.inputContext.HasDtdInfo) {
138
await ProcessDtdFromParserContextAsync(
laterInitParam
.inputContext).ConfigureAwait(false);
148
if (
laterInitParam
!= null) {
846
if (
laterInitParam
!= null &&
laterInitParam
.useAsync) {
918
if (
laterInitParam
!= null &&
laterInitParam
.useAsync) {