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