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; 629Debug.Assert(_laterInitParam != null); 630Debug.Assert(_laterInitParam.inputUriResolver != null); 631Debug.Assert(_laterInitParam.inputbaseUri != null); 634if (_laterInitParam.useAsync) 638Task<object> t = _laterInitParam.inputUriResolver.GetEntityAsync(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream)); 643stream = (Stream?)_laterInitParam.inputUriResolver.GetEntity(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream)); 648throw new XmlException(SR.Xml_CannotResolveUrl, _laterInitParam.inputUriStr); 653if (_laterInitParam.inputContext != null) 655enc = _laterInitParam.inputContext.Encoding; 661InitStreamInput(_laterInitParam.inputbaseUri, _reportedBaseUri, stream, null, 0, enc); 666if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 668ProcessDtdFromParserContext(_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; 730Debug.Assert(_laterInitParam != null); 731Debug.Assert(_laterInitParam.inputStream != null); 735if (_laterInitParam.inputContext != null) 737enc = _laterInitParam.inputContext.Encoding; 741InitStreamInput(_laterInitParam.inputbaseUri, _reportedBaseUri, _laterInitParam.inputStream, _laterInitParam.inputBytes, _laterInitParam.inputByteCount, enc); 746if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 748ProcessDtdFromParserContext(_laterInitParam.inputContext); 773_laterInitParam.inputTextReader = input; 774_laterInitParam.inputContext = context; 775_laterInitParam.initType = InitInputType.TextReader; 783_laterInitParam.useAsync = true; 789Debug.Assert(_laterInitParam != null); 790Debug.Assert(_laterInitParam.inputTextReader != null); 794InitTextReaderInput(_reportedBaseUri, _laterInitParam.inputTextReader); 799if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 801ProcessDtdFromParserContext(_laterInitParam.inputContext); 1195Debug.Assert(_laterInitParam != null); 1197switch (_laterInitParam.initType) 1219if (_laterInitParam != null) 2861if (_laterInitParam != null && _laterInitParam.useAsync) 2926if (_laterInitParam != null && _laterInitParam.useAsync)
System\Xml\Core\XmlTextReaderImplAsync.cs (28)
59switch (_laterInitParam!.initType) 77Stream stream = (Stream)(await _laterInitParam!.inputUriResolver!.GetEntityAsync(_laterInitParam.inputbaseUri!, string.Empty, typeof(Stream)).ConfigureAwait(false)); 81throw new XmlException(SR.Xml_CannotResolveUrl, _laterInitParam.inputUriStr); 86if (_laterInitParam.inputContext != null) 88enc = _laterInitParam.inputContext.Encoding; 95await InitStreamInputAsync(_laterInitParam.inputbaseUri, _reportedBaseUri, stream, null, 0, enc).ConfigureAwait(false); 100if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 102await ProcessDtdFromParserContextAsync(_laterInitParam.inputContext).ConfigureAwait(false); 119if (_laterInitParam!.inputContext != null) 121enc = _laterInitParam.inputContext.Encoding; 126await InitStreamInputAsync(_laterInitParam.inputbaseUri, _reportedBaseUri, _laterInitParam!.inputStream!, _laterInitParam.inputBytes, _laterInitParam.inputByteCount, enc).ConfigureAwait(false); 131if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 133await ProcessDtdFromParserContextAsync(_laterInitParam.inputContext).ConfigureAwait(false); 141await InitTextReaderInputAsync(_reportedBaseUri!, _laterInitParam!.inputTextReader!).ConfigureAwait(false); 146if (_laterInitParam.inputContext != null && _laterInitParam.inputContext.HasDtdInfo) 148await ProcessDtdFromParserContextAsync(_laterInitParam.inputContext).ConfigureAwait(false); 159if (_laterInitParam != null) 888if (_laterInitParam != null && _laterInitParam.useAsync) 955if (_laterInitParam != null && _laterInitParam.useAsync)