454 references to ConfigureAwait
mscorlib (33)
system\io\bufferedstream.cs (13)
353await sem.WaitAsync().ConfigureAwait(false); 358await _this.FlushWriteAsync(cancellationToken).ConfigureAwait(false); 377await stream.FlushAsync(cancellationToken).ConfigureAwait(false); 385await stream.FlushAsync(cancellationToken).ConfigureAwait(false); 459await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 461await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 748await semaphoreLockTask.ConfigureAwait(false); 768await FlushWriteAsync(cancellationToken).ConfigureAwait(false); // no Begin-End read version for Flush. Use Async. 1157await semaphoreLockTask.ConfigureAwait(false); 1192await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 1219await _stream.WriteAsync(_buffer, 0, totalUserBytes, cancellationToken).ConfigureAwait(false); 1230await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 1241await _stream.WriteAsync(array, offset, count, cancellationToken).ConfigureAwait(false);
system\io\stream.cs (1)
173await destination.WriteAsync(buffer, 0, bytesRead, cancellationToken).ConfigureAwait(false);
system\io\streamwriter.cs (12)
478await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 491await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 502await _this.FlushAsyncInternal(true, false, charBuffer, charPos).ConfigureAwait(false); 554await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 577await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 588await _this.FlushAsyncInternal(true, false, charBuffer, charPos).ConfigureAwait(false); 643await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 665await _this.FlushAsyncInternal(false, false, charBuffer, charPos).ConfigureAwait(false); 676await _this.FlushAsyncInternal(true, false, charBuffer, charPos).ConfigureAwait(false); 846await stream.WriteAsync(preamble, 0, preamble.Length).ConfigureAwait(false); 851await stream.WriteAsync(byteBuffer, 0, count).ConfigureAwait(false); 857await stream.FlushAsync().ConfigureAwait(false);
system\security\cryptography\cryptostream.cs (6)
352await sem.WaitAsync().ConfigureAwait(false); 607await sem.WaitAsync().ConfigureAwait(false); 643await _stream.WriteAsync(_OutputBuffer, 0, _OutputBufferIndex, cancellationToken).ConfigureAwait(false); 653await _stream.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false); 669await _stream.WriteAsync(_tempOutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false); 677await _stream.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
system\threading\Tasks\TaskToApm.cs (1)
134antecedent.ConfigureAwait(continueOnCapturedContext:false)
System (1)
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
278return task.ConfigureAwait(false);
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1240await OpenAsync(ctoken).ConfigureAwait(false); 1264await Task.Delay(1000 * ConnectRetryInterval, ctoken).ConfigureAwait(false);
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
10390await ww.WriteNodeAsync(feed._source, true).ConfigureAwait(false); 10398await ww.FlushAsync().ConfigureAwait(false); 10414await writer.WriteAsync((char)TdsEnums.XMLUNICODEBOM).ConfigureAwait(false); 10437await writer.WriteAsync(inBuff, 0, nRead).ConfigureAwait(false); 10447await writer.FlushAsync().ConfigureAwait(false); 10479await output.WriteAsync(buff, 0, nRead).ConfigureAwait(false);
System.ServiceModel (1)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
861await this.ReadBufferedMessageAsync().ConfigureAwait(false);
System.ServiceModel.Internals (2)
System\Runtime\TaskExtensions.cs (2)
99return task.ConfigureAwait(false); 109return task.ConfigureAwait(true);
System.Web (6)
Hosting\BackgroundWorkScheduler.cs (1)
37await returnedTask.ConfigureAwait(continueOnCapturedContext: false);
WebSocketPipeline.cs (1)
120await task.ConfigureAwait(continueOnCapturedContext: false);
WebSockets\AspNetWebSocket.cs (4)
273await sendCloseTask.ConfigureAwait(continueOnCapturedContext: false); 333await DoWork(() => _pipe.WriteCloseFragmentAsync(closeStatus, statusDescription), cancellationToken).ConfigureAwait(continueOnCapturedContext: false); 463await DoWork(() => _pipe.WriteFragmentAsync(buffer, (messageType == WebSocketMessageType.Text), endOfMessage), cancellationToken).ConfigureAwait(continueOnCapturedContext: false); 608return DoWork<object>(async () => { await taskDelegate().ConfigureAwait(continueOnCapturedContext: false); return null; }, cancellationToken);
System.Xml (403)
System\Xml\AsyncHelper.cs (5)
32await task.ConfigureAwait(false); 49await task.ConfigureAwait(false); 63await task.ConfigureAwait(false); 64await func().ConfigureAwait(false); 77await task.ConfigureAwait(false);
System\Xml\Base64EncoderAsync.cs (3)
43await WriteCharsAsync( charsLine, 0, leftOverChars ).ConfigureAwait(false); 66await WriteCharsAsync( charsLine, 0, charCount ).ConfigureAwait(false); 75await WriteCharsAsync( charsLine, 0, leftOverChars ).ConfigureAwait(false);
System\Xml\BinHexEncoderAsync.cs (1)
26await writer.WriteRawAsync( chars, 0, charCount ).ConfigureAwait(false);
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
30await FinishReadBinaryAsync().ConfigureAwait(false); 357await readBinaryHelper.FinishAsync().ConfigureAwait(false);
System\Xml\Core\XmlCharCheckingWriterAsync.cs (2)
82await writer.WriteCDataAsync( text.Substring( 0, i + 2 ) ).ConfigureAwait(false); 86await writer.WriteCDataAsync( text ).ConfigureAwait(false);
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (78)
33await RawTextAsync( "<?xml version=\"" ).ConfigureAwait(false); 36await RawTextAsync( "1.0" ).ConfigureAwait(false); 40await RawTextAsync( "\" encoding=\"" ).ConfigureAwait(false); 41await RawTextAsync( encoding.WebName ).ConfigureAwait(false); 46await RawTextAsync( "\" standalone=\"" ).ConfigureAwait(false); 47await RawTextAsync( standalone == XmlStandalone.Yes ? "yes" : "no" ).ConfigureAwait(false); 50await RawTextAsync( "\"?>" ).ConfigureAwait(false); 72await RawTextAsync( "<!DOCTYPE ").ConfigureAwait(false); 73await RawTextAsync(name).ConfigureAwait(false); 75await RawTextAsync( " PUBLIC \"" ).ConfigureAwait(false); 76await RawTextAsync( pubid ).ConfigureAwait(false); 77await RawTextAsync( "\" \"").ConfigureAwait(false); 79await RawTextAsync( sysid ).ConfigureAwait(false); 84await RawTextAsync( " SYSTEM \"" ).ConfigureAwait(false); 85await RawTextAsync( sysid ).ConfigureAwait(false); 94await RawTextAsync( subset ).ConfigureAwait(false); 216await this.WriteStartNamespaceDeclarationAsync( prefix ).ConfigureAwait(false); 217await this.WriteStringAsync( namespaceName ).ConfigureAwait(false); 218await this.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false); 237await RawTextAsync( " xmlns=\"" ).ConfigureAwait(false); 240await RawTextAsync( " xmlns:" ).ConfigureAwait(false); 241await RawTextAsync( prefix ).ConfigureAwait(false); 288await WriteCDataSectionAsync( text ).ConfigureAwait(false); 310await WriteCommentOrPiAsync( text, '-' ).ConfigureAwait(false); 327await RawTextAsync( name ).ConfigureAwait(false); 331await WriteCommentOrPiAsync( text, '?' ).ConfigureAwait(false); 346await RawTextAsync( name ).ConfigureAwait(false); 350await FlushBufferAsync().ConfigureAwait(false); 371await RawTextAsync( strVal ).ConfigureAwait(false); 375await FlushBufferAsync().ConfigureAwait(false); 422await RawTextAsync( surrogateChar.ToString( "X", NumberFormatInfo.InvariantInfo ) ).ConfigureAwait(false); 458await WriteRawWithCharCheckingAsync( buffer, index, count).ConfigureAwait(false); 471await WriteRawWithCharCheckingAsync(data).ConfigureAwait(false); 479await FlushBufferAsync().ConfigureAwait(false); 480await FlushEncoderAsync().ConfigureAwait(false); 483await stream.FlushAsync().ConfigureAwait(false); 486await writer.FlushAsync().ConfigureAwait(false); 518await EncodeCharsAsync( 1, bufPos, true ).ConfigureAwait(false); 522await writer.WriteAsync( bufChars, 1, bufPos - 1 ).ConfigureAwait(false); 559await stream.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false); 564await stream.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false); 721await FlushBufferAsync().ConfigureAwait(false); 744await FlushBufferAsync().ConfigureAwait(false); 750await FlushBufferAsync().ConfigureAwait(false); 902await RawTextAsync(newLineChars).ConfigureAwait(false); 908await FlushBufferAsync().ConfigureAwait(false); 937await RawTextAsync(newLineChars).ConfigureAwait(false); 942await FlushBufferAsync().ConfigureAwait(false); 951await RawTextAsync(newLineChars).ConfigureAwait(false); 956await FlushBufferAsync().ConfigureAwait(false); 1036await FlushBufferAsync().ConfigureAwait(false); 1043await FlushBufferAsync().ConfigureAwait(false); 1177await RawTextAsync(newLineChars).ConfigureAwait(false); 1183await FlushBufferAsync().ConfigureAwait(false); 1199await RawTextAsync(newLineChars).ConfigureAwait(false); 1205await FlushBufferAsync().ConfigureAwait(false); 1341await FlushBufferAsync().ConfigureAwait(false); 1356await RawTextAsync(newLineChars).ConfigureAwait(false); 1362await FlushBufferAsync().ConfigureAwait(false); 1496await FlushBufferAsync().ConfigureAwait(false); 1511await RawTextAsync(newLineChars).ConfigureAwait(false); 1517await FlushBufferAsync().ConfigureAwait(false); 1531await WriteIndentAsync().ConfigureAwait(false); 1533await base.WriteDocTypeAsync( name, pubid, sysid, subset ).ConfigureAwait(false); 1542await WriteIndentAsync().ConfigureAwait(false); 1547await base.WriteStartElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1557await WriteIndentAsync().ConfigureAwait(false); 1562await base.WriteEndElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1572await WriteIndentAsync().ConfigureAwait(false); 1577await base.WriteFullEndElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1585await WriteIndentAsync().ConfigureAwait(false); 1588await base.WriteStartAttributeAsync( prefix, localName, ns ).ConfigureAwait(false); 1600await WriteIndentAsync().ConfigureAwait(false); 1603await base.WriteCommentAsync( text ).ConfigureAwait(false); 1609await WriteIndentAsync().ConfigureAwait(false); 1612await base.WriteProcessingInstructionAsync( target, text ).ConfigureAwait(false); 1672await RawTextAsync( base.newLineChars ).ConfigureAwait(false); 1674await RawTextAsync( indentChars ).ConfigureAwait(false);
System\Xml\Core\XmlRawWriterAsync.cs (3)
210await WriteStringAsync( prefix ).ConfigureAwait(false); 211await WriteStringAsync( ":" ).ConfigureAwait(false); 213await WriteStringAsync( localName ).ConfigureAwait(false);
System\Xml\Core\XmlReaderAsync.cs (4)
82await FinishReadElementContentAsXxxAsync().ConfigureAwait(false); 92await FinishReadElementContentAsXxxAsync().ConfigureAwait(false); 102await FinishReadElementContentAsXxxAsync().ConfigureAwait(false); 197await this.WriteNodeAsync(xtw, false).ConfigureAwait(false);
System\Xml\Core\XmlSubtreeReaderAsync.cs (4)
105await reader.SkipAsync().ConfigureAwait(false); 120await reader.SkipAsync().ConfigureAwait(false); 142await SkipAsync().ConfigureAwait(false); 149await SkipAsync().ConfigureAwait(false);
System\Xml\Core\XmlTextReaderImplAsync.cs (41)
49await FinishPartialValueAsync().ConfigureAwait(false); 53await FinishOtherValueIteratorAsync().ConfigureAwait(false); 91await InitStreamInputAsync(laterInitParam.inputbaseUri, reportedBaseUri, stream, null, 0, enc).ConfigureAwait(false); 97await ProcessDtdFromParserContextAsync(laterInitParam.inputContext).ConfigureAwait(false); 118await InitStreamInputAsync(laterInitParam.inputbaseUri, reportedBaseUri, laterInitParam.inputStream, laterInitParam.inputBytes, laterInitParam.inputByteCount, enc).ConfigureAwait(false); 124await ProcessDtdFromParserContextAsync(laterInitParam.inputContext).ConfigureAwait(false); 132await InitTextReaderInputAsync(reportedBaseUri, laterInitParam.inputTextReader).ConfigureAwait(false); 138await ProcessDtdFromParserContextAsync(laterInitParam.inputContext).ConfigureAwait(false); 309await SkipPartialTextValueAsync().ConfigureAwait(false); 312await FinishReadValueChunkAsync().ConfigureAwait(false); 315await FinishReadContentAsBinaryAsync().ConfigureAwait(false); 318await FinishReadElementContentAsBinaryAsync().ConfigureAwait(false); 729await ParseCDataOrCommentAsync( XmlNodeType.Comment ).ConfigureAwait(false); 736await ParseCDataOrCommentAsync( XmlNodeType.Comment ).ConfigureAwait(false); 799await PushExternalEntityOrSubsetAsync( publicId, systemId, ps.baseUri, null ).ConfigureAwait(false); 1172await SwitchEncodingToUTF8Async().ConfigureAwait(false); 1176await SwitchEncodingAsync( encoding ).ConfigureAwait(false); 1370await SwitchEncodingToUTF8Async().ConfigureAwait(false); 1514await ParseEntityReferenceAsync().ConfigureAwait(false); 1801await ParseElementAsync_SetElement(colonPos, pos).ConfigureAwait(false); 1902await ParseElementAsync_NoAttributes().ConfigureAwait(false); 1919await ParseEndElmentAsync_PrepareData().ConfigureAwait(false); 1920await ParseEndElementAsync_CheckNameAndParse().ConfigureAwait(false); 1996await task.ConfigureAwait(false); 2379await ParseAttributeValueSlowAsync( pos, quoteChar, attr ).ConfigureAwait(false); 3326await FinishPartialValueAsync().ConfigureAwait(false); 3340await FinishPartialValueAsync().ConfigureAwait(false); 3402await SkipPartialTextValueAsync().ConfigureAwait(false); 3414await FinishReadContentAsBinaryAsync().ConfigureAwait(false); 3552await ParseDtdFromParserContextAsync().ConfigureAwait(false); 3881await ParseCDataOrCommentAsync( XmlNodeType.Comment ).ConfigureAwait(false); 3886await ParseCDataOrCommentAsync( XmlNodeType.Comment ).ConfigureAwait(false); 4127await ParseDtdAsync().ConfigureAwait(false); 4137await SkipDtdAsync().ConfigureAwait(false); 4194await SkipPublicOrSystemIdLiteralAsync().ConfigureAwait(false); 4202await SkipPublicOrSystemIdLiteralAsync().ConfigureAwait(false); 4225await SkipPublicOrSystemIdLiteralAsync().ConfigureAwait(false); 4237await SkipUntilAsync( ']', true ).ConfigureAwait(false); 4808await InitTextReaderInputAsync( uri.ToString(), uri, textReader ).ConfigureAwait(false); 4820await InitStreamInputAsync( uri, stream, null ).ConfigureAwait(false); 4842await PushExternalEntityOrSubsetAsync( entity.PublicId, entity.SystemId, entityBaseUri, entity.Name ).ConfigureAwait(false);
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (74)
31await RawTextAsync( "<?xml version=\"" ).ConfigureAwait(false); 34await RawTextAsync( "1.0" ).ConfigureAwait(false); 38await RawTextAsync( "\" encoding=\"" ).ConfigureAwait(false); 39await RawTextAsync( encoding.WebName ).ConfigureAwait(false); 44await RawTextAsync( "\" standalone=\"" ).ConfigureAwait(false); 45await RawTextAsync( standalone == XmlStandalone.Yes ? "yes" : "no" ).ConfigureAwait(false); 48await RawTextAsync( "\"?>" ).ConfigureAwait(false); 68await RawTextAsync( "<!DOCTYPE ").ConfigureAwait(false); 69await RawTextAsync(name).ConfigureAwait(false); 71await RawTextAsync( " PUBLIC \"" ).ConfigureAwait(false); 72await RawTextAsync( pubid ).ConfigureAwait(false); 73await RawTextAsync( "\" \"").ConfigureAwait(false); 75await RawTextAsync( sysid ).ConfigureAwait(false); 80await RawTextAsync( " SYSTEM \"" ).ConfigureAwait(false); 81await RawTextAsync( sysid ).ConfigureAwait(false); 90await RawTextAsync( subset ).ConfigureAwait(false); 204await this.WriteStartNamespaceDeclarationAsync( prefix ).ConfigureAwait(false); 205await this.WriteStringAsync( namespaceName ).ConfigureAwait(false); 206await this.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false); 223await RawTextAsync( " xmlns=\"" ).ConfigureAwait(false); 226await RawTextAsync( " xmlns:" ).ConfigureAwait(false); 227await RawTextAsync( prefix ).ConfigureAwait(false); 272await WriteCDataSectionAsync( text ).ConfigureAwait(false); 292await WriteCommentOrPiAsync( text, '-' ).ConfigureAwait(false); 307await RawTextAsync( name ).ConfigureAwait(false); 311await WriteCommentOrPiAsync( text, '?' ).ConfigureAwait(false); 324await RawTextAsync( name ).ConfigureAwait(false); 328await FlushBufferAsync().ConfigureAwait(false); 347await RawTextAsync( strVal ).ConfigureAwait(false); 351await FlushBufferAsync().ConfigureAwait(false); 396await RawTextAsync( surrogateChar.ToString( "X", NumberFormatInfo.InvariantInfo ) ).ConfigureAwait(false); 428await WriteRawWithCharCheckingAsync( buffer, index, count).ConfigureAwait(false); 439await WriteRawWithCharCheckingAsync(data).ConfigureAwait(false); 447await FlushBufferAsync().ConfigureAwait(false); 448await FlushEncoderAsync().ConfigureAwait(false); 451await stream.FlushAsync().ConfigureAwait(false); 466await stream.WriteAsync( bufBytes, 1, bufPos - 1 ).ConfigureAwait(false); 639await FlushBufferAsync().ConfigureAwait(false); 661await FlushBufferAsync().ConfigureAwait(false); 667await FlushBufferAsync().ConfigureAwait(false); 819await RawTextAsync(newLineChars).ConfigureAwait(false); 825await FlushBufferAsync().ConfigureAwait(false); 854await RawTextAsync(newLineChars).ConfigureAwait(false); 859await FlushBufferAsync().ConfigureAwait(false); 868await RawTextAsync(newLineChars).ConfigureAwait(false); 873await FlushBufferAsync().ConfigureAwait(false); 953await FlushBufferAsync().ConfigureAwait(false); 960await FlushBufferAsync().ConfigureAwait(false); 1094await RawTextAsync(newLineChars).ConfigureAwait(false); 1100await FlushBufferAsync().ConfigureAwait(false); 1116await RawTextAsync(newLineChars).ConfigureAwait(false); 1122await FlushBufferAsync().ConfigureAwait(false); 1258await FlushBufferAsync().ConfigureAwait(false); 1273await RawTextAsync(newLineChars).ConfigureAwait(false); 1279await FlushBufferAsync().ConfigureAwait(false); 1413await FlushBufferAsync().ConfigureAwait(false); 1428await RawTextAsync(newLineChars).ConfigureAwait(false); 1434await FlushBufferAsync().ConfigureAwait(false); 1448await WriteIndentAsync().ConfigureAwait(false); 1450await base.WriteDocTypeAsync( name, pubid, sysid, subset ).ConfigureAwait(false); 1459await WriteIndentAsync().ConfigureAwait(false); 1464await base.WriteStartElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1474await WriteIndentAsync().ConfigureAwait(false); 1479await base.WriteEndElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1489await WriteIndentAsync().ConfigureAwait(false); 1494await base.WriteFullEndElementAsync( prefix, localName, ns ).ConfigureAwait(false); 1502await WriteIndentAsync().ConfigureAwait(false); 1505await base.WriteStartAttributeAsync( prefix, localName, ns ).ConfigureAwait(false); 1517await WriteIndentAsync().ConfigureAwait(false); 1520await base.WriteCommentAsync( text ).ConfigureAwait(false); 1526await WriteIndentAsync().ConfigureAwait(false); 1529await base.WriteProcessingInstructionAsync( target, text ).ConfigureAwait(false); 1589await RawTextAsync( base.newLineChars ).ConfigureAwait(false); 1591await RawTextAsync( indentChars ).ConfigureAwait(false);
System\Xml\Core\XmlValidatingReaderImplAsync.cs (3)
39await ParseDtdFromParserContextAsync().ConfigureAwait(false); 55await ResolveEntityInternallyAsync().ConfigureAwait(false); 59await readBinaryHelper.FinishAsync().ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriterAsync.cs (75)
32await WriteEndElementAsync().ConfigureAwait(false); 35await AdvanceStateAsync(Token.EndDocument).ConfigureAwait(false); 41await writer.WriteEndDocumentAsync().ConfigureAwait(false); 61await AdvanceStateAsync(Token.Dtd).ConfigureAwait(false); 94await writer.WriteDocTypeAsync(name, pubid, sysid, subset).ConfigureAwait(false); 115await task.ConfigureAwait(false); 135await task.ConfigureAwait(false); 136await nextTaskFun().ConfigureAwait(false); 217await task.ConfigureAwait(false); 218await WriteStartElementAsync_NoAdvanceState(prefix, localName, ns).ConfigureAwait(false); 252await t.ConfigureAwait(false); 487await task.ConfigureAwait(false); 488await WriteStartAttributeAsync_NoAdvanceState(prefix, localName, namespaceName).ConfigureAwait(false); 535await rawWriter.WriteStartNamespaceDeclarationAsync(string.Empty).ConfigureAwait(false); 536await attrValueCache.ReplayAsync(rawWriter).ConfigureAwait(false); 537await rawWriter.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false); 540await rawWriter.WriteNamespaceDeclarationAsync(string.Empty, value).ConfigureAwait(false); 544await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false); 545await attrValueCache.ReplayAsync(writer).ConfigureAwait(false); 546await writer.WriteEndAttributeAsync().ConfigureAwait(false); 562await rawWriter.WriteStartNamespaceDeclarationAsync(curDeclPrefix).ConfigureAwait(false); 563await attrValueCache.ReplayAsync(rawWriter).ConfigureAwait(false); 564await rawWriter.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false); 567await rawWriter.WriteNamespaceDeclarationAsync(curDeclPrefix, value).ConfigureAwait(false); 571await writer.WriteStartAttributeAsync("xmlns", curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false); 572await attrValueCache.ReplayAsync(writer).ConfigureAwait(false); 573await writer.WriteEndAttributeAsync().ConfigureAwait(false); 591await writer.WriteStartAttributeAsync("xml", "space", XmlReservedNs.NsXml).ConfigureAwait(false); 592await attrValueCache.ReplayAsync(writer).ConfigureAwait(false); 593await writer.WriteEndAttributeAsync().ConfigureAwait(false); 598await writer.WriteStartAttributeAsync("xml", "lang", XmlReservedNs.NsXml).ConfigureAwait(false); 599await attrValueCache.ReplayAsync(writer).ConfigureAwait(false); 600await writer.WriteEndAttributeAsync().ConfigureAwait(false); 617await AdvanceStateAsync(Token.CData).ConfigureAwait(false); 618await writer.WriteCDataAsync(text).ConfigureAwait(false); 631await AdvanceStateAsync(Token.Comment).ConfigureAwait(false); 632await writer.WriteCommentAsync(text).ConfigureAwait(false); 660await AdvanceStateAsync(Token.PI).ConfigureAwait(false); 664await rawWriter.WriteXmlDeclarationAsync(text).ConfigureAwait(false); 667await writer.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false); 671await AdvanceStateAsync(Token.PI).ConfigureAwait(false); 672await writer.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false); 689await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 694await writer.WriteEntityRefAsync(name).ConfigureAwait(false); 709await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 714await writer.WriteCharEntityAsync(ch).ConfigureAwait(false); 729await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 734await writer.WriteSurrogateCharEntityAsync(lowChar, highChar).ConfigureAwait(false); 752await AdvanceStateAsync(Token.Whitespace).ConfigureAwait(false); 757await writer.WriteWhitespaceAsync(ws).ConfigureAwait(false); 806await task.ConfigureAwait(false); 807await WriteStringAsync_NoAdvanceState(text).ConfigureAwait(false); 830await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 835await writer.WriteCharsAsync(buffer, index, count).ConfigureAwait(false); 859await AdvanceStateAsync(Token.RawData).ConfigureAwait(false); 864await writer.WriteRawAsync(buffer, index, count).ConfigureAwait(false); 879await AdvanceStateAsync(Token.RawData).ConfigureAwait(false); 884await writer.WriteRawAsync(data).ConfigureAwait(false); 927await task.ConfigureAwait(false); 928await writer.WriteBase64Async(buffer, index, count).ConfigureAwait(false); 938await writer.FlushAsync().ConfigureAwait(false); 953await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 969await WriteStringAsync(prefix).ConfigureAwait(false); 970await WriteStringAsync(":").ConfigureAwait(false); 972await WriteStringAsync(localName).ConfigureAwait(false); 975await rawWriter.WriteQualifiedNameAsync(prefix, localName, ns).ConfigureAwait(false); 989await AdvanceStateAsync(Token.Text).ConfigureAwait(false); 990await base.WriteBinHexAsync(buffer, index, count).ConfigureAwait(false); 1000await AdvanceStateAsync(Token.StartDocument).ConfigureAwait(false); 1012await rawWriter.WriteXmlDeclarationAsync(standalone).ConfigureAwait(false); 1017await writer.WriteStartDocumentAsync().ConfigureAwait(false); 1038await task.ConfigureAwait(false); 1053await task.ConfigureAwait(false); 1055await AdvanceStateAsync(token).ConfigureAwait(false); 1163await nsStack[i].WriteDeclAsync(writer, rawWriter).ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (15)
29await rawWriter.WriteNamespaceDeclarationAsync(prefix, namespaceUri).ConfigureAwait(false); 33await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false); 36await writer.WriteStartAttributeAsync("xmlns", prefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false); 38await writer.WriteStringAsync(namespaceUri).ConfigureAwait(false); 39await writer.WriteEndAttributeAsync().ConfigureAwait(false); 48await writer.WriteStringAsync(singleStringValue).ConfigureAwait(false); 57await writer.WriteEntityRefAsync((string)item.data).ConfigureAwait(false); 60await writer.WriteCharEntityAsync((char)item.data).ConfigureAwait(false); 64await writer.WriteSurrogateCharEntityAsync(chars[0], chars[1]).ConfigureAwait(false); 67await writer.WriteWhitespaceAsync((string)item.data).ConfigureAwait(false); 70await writer.WriteStringAsync((string)item.data).ConfigureAwait(false); 74await writer.WriteCharsAsync(bufChunk.buffer, bufChunk.index, bufChunk.count).ConfigureAwait(false); 77await writer.WriteRawAsync((string)item.data).ConfigureAwait(false); 81await writer.WriteCharsAsync(bufChunk.buffer, bufChunk.index, bufChunk.count).ConfigureAwait(false); 84await writer.WriteStringAsync((string)item.data).ConfigureAwait(false);
System\Xml\Core\XmlWriterAsync.cs (53)
80await task.ConfigureAwait(false); 81await WriteStringAsync(value).ConfigureAwait(false); 82await WriteEndAttributeAsync().ConfigureAwait(false); 204await WriteStringAsync(prefix).ConfigureAwait(false); 205await WriteStringAsync(":").ConfigureAwait(false); 207await WriteStringAsync(localName).ConfigureAwait(false); 220await WriteAttributesAsync(reader, defattr).ConfigureAwait(false); 232await WriteStartAttributeAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 235await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 238await WriteStringAsync(reader.Value).ConfigureAwait(false); 241await WriteEndAttributeAsync().ConfigureAwait(false); 274await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 275await WriteAttributesAsync(reader, defattr).ConfigureAwait(false); 277await WriteEndElementAsync().ConfigureAwait(false); 288await this.WriteCharsAsync(writeNodeBuffer, 0, read).ConfigureAwait(false); 292await WriteStringAsync(reader.Value).ConfigureAwait(false); 297await WriteWhitespaceAsync(reader.Value).ConfigureAwait(false); 300await WriteCDataAsync(reader.Value).ConfigureAwait(false); 303await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 307await WriteProcessingInstructionAsync(reader.Name, reader.Value).ConfigureAwait(false); 310await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false); 314await WriteCommentAsync(reader.Value).ConfigureAwait(false); 317await WriteFullEndElementAsync().ConfigureAwait(false); 333await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 334await WriteAttributesAsync(reader, defattr).ConfigureAwait(false); 336await WriteEndElementAsync().ConfigureAwait(false); 347await this.WriteCharsAsync(writeNodeBuffer, 0, read).ConfigureAwait(false); 352await WriteStringAsync(await reader.GetValueAsync().ConfigureAwait(false)).ConfigureAwait(false); 357await WriteWhitespaceAsync(await reader.GetValueAsync().ConfigureAwait(false)).ConfigureAwait(false); 360await WriteCDataAsync(reader.Value).ConfigureAwait(false); 363await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 367await WriteProcessingInstructionAsync(reader.Name, reader.Value).ConfigureAwait(false); 370await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false); 374await WriteCommentAsync(reader.Value).ConfigureAwait(false); 377await WriteFullEndElementAsync().ConfigureAwait(false); 399await WriteStartElementAsync(navigator.Prefix, navigator.LocalName, navigator.NamespaceURI).ConfigureAwait(false); 406await WriteStartAttributeAsync(navigator.Prefix, navigator.LocalName, navigator.NamespaceURI).ConfigureAwait(false); 408await WriteStringAsync(navigator.Value).ConfigureAwait(false); 409await WriteEndAttributeAsync().ConfigureAwait(false); 417await WriteLocalNamespacesAsync(navigator).ConfigureAwait(false); 426await WriteStringAsync(navigator.Value).ConfigureAwait(false); 430await WriteWhitespaceAsync(navigator.Value).ConfigureAwait(false); 436await WriteCommentAsync(navigator.Value).ConfigureAwait(false); 439await WriteProcessingInstructionAsync(navigator.LocalName, navigator.Value).ConfigureAwait(false); 459await WriteEndElementAsync().ConfigureAwait(false); 462await WriteFullEndElementAsync().ConfigureAwait(false); 486await WriteFullEndElementAsync().ConfigureAwait(false); 496await WriteStartElementAsync(prefix, localName, ns).ConfigureAwait(false); 498await WriteStringAsync(value).ConfigureAwait(false); 500await WriteEndElementAsync().ConfigureAwait(false); 511await WriteLocalNamespacesAsync(nsNav).ConfigureAwait(false); 515await WriteAttributeStringAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs, ns).ConfigureAwait(false); 518await WriteAttributeStringAsync("xmlns", prefix, XmlReservedNs.NsXmlNs, ns).ConfigureAwait(false);
System\Xml\Core\XsdValidatingReaderAsync.cs (7)
196await ProcessReaderEventAsync().ConfigureAwait(false); 219await task.ConfigureAwait(false); 289await coreReader.SkipAsync().ConfigureAwait(false); 453await inlineSchemaParser.StartParsingAsync(coreReader, null).ConfigureAwait(false); 505await ProcessEndElementEventAsync().ConfigureAwait(false); 520await cachingReader.SetToReplayModeAsync().ConfigureAwait(false); 713await ProcessReaderEventAsync().ConfigureAwait(false);
System\Xml\Schema\DtdParserAsync.cs (32)
30await ParseAsync(saveInternalSubset).ConfigureAwait(false); 36await ParseAsync(false).ConfigureAwait(false); 47await ParseFreeFloatingDtdAsync().ConfigureAwait(false); 50await ParseInDocumentDtdAsync( saveInternalSubset ).ConfigureAwait(false); 98await ParseInternalSubsetAsync().ConfigureAwait(false); 109await ParseExternalSubsetAsync().ConfigureAwait(false); 116await ParseInternalSubsetAsync().ConfigureAwait(false); 121await ParseExternalSubsetAsync().ConfigureAwait(false); 147await ParseSubsetAsync().ConfigureAwait(false); 162await ParseAttlistDeclAsync().ConfigureAwait(false); 166await ParseElementDeclAsync().ConfigureAwait(false); 170await ParseEntityDeclAsync().ConfigureAwait(false); 174await ParseNotationDeclAsync().ConfigureAwait(false); 178await ParseCommentAsync().ConfigureAwait(false); 182await ParsePIAsync().ConfigureAwait(false); 189await ParseCondSectionAsync().ConfigureAwait(false); 313await ParseAttlistTypeAsync(attrDef, elementDecl, attrDefAlreadyExists).ConfigureAwait(false); 314await ParseAttlistDefaultAsync(attrDef, attrDefAlreadyExists).ConfigureAwait(false); 590await ParseElementMixedContentAsync( pcv, startParenEntityId ).ConfigureAwait(false); 602await ParseElementOnlyContentAsync( pcv, startParenEntityId ).ConfigureAwait(false); 747await ParseHowManyAsync( pcv ).ConfigureAwait(false); 792await ParseHowManyAsync( pcv ).ConfigureAwait(false); 1038await readerAdapter.ParseCommentAsync( internalSubsetValueSb ).ConfigureAwait(false); 1042await readerAdapter.ParseCommentAsync( null ).ConfigureAwait(false); 1061await readerAdapter.ParsePIAsync( internalSubsetValueSb ).ConfigureAwait(false); 1065await readerAdapter.ParsePIAsync( null ).ConfigureAwait(false); 1446await ScanNameAsync().ConfigureAwait(false); 1452await ScanQNameAsync().ConfigureAwait(false); 1458await ScanNmtokenAsync().ConfigureAwait(false); 1565await ScanQNameAsync().ConfigureAwait(false); 1581await ScanQNameAsync().ConfigureAwait(false); 2010await ScanNameAsync().ConfigureAwait(false);
System\Xml\Schema\ParserAsync.cs (1)
16await StartParsingAsync(reader, targetNamespace).ConfigureAwait(false);