37 references to Preserve
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http2\FlowControl\StreamInputFlowControl.cs (2)
73
_ = _frameWriter.WriteWindowUpdateAsync(StreamId, streamWindowUpdateSize).
Preserve
();
106
_ = _frameWriter.WriteWindowUpdateAsync(0, connectionWindowUpdateSize).
Preserve
();
Internal\Http2\Http2Connection.cs (3)
252
_frameWriter.WriteGoAwayAsync(int.MaxValue, errorCode).
Preserve
();
1507
_frameWriter.WriteGoAwayAsync(int.MaxValue, Http2ErrorCode.NO_ERROR).
Preserve
();
1518
_frameWriter.WriteGoAwayAsync(_highestOpenedStreamId, Http2ErrorCode.NO_ERROR).
Preserve
();
Internal\Http2\Http2Stream.cs (2)
171
_ = _http2Output.WriteRstStreamAsync(Http2ErrorCode.NO_ERROR).
Preserve
();
609
_ = _http2Output.WriteRstStreamAsync(error).
Preserve
();
Internal\Http3\Http3Connection.cs (2)
194
SendGoAwayAsync(GetCurrentGoAwayStreamId()).
Preserve
();
706
SendGoAwayAsync(VariableLengthIntegerHelper.EightByteLimit).
Preserve
();
Internal\Http3\Http3OutputProducer.cs (2)
54
_dataWriteProcessingTask = ProcessDataWrites().
Preserve
();
68
_dataWriteProcessingTask = ProcessDataWrites().
Preserve
();
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
260
var batchResultTask = _processBatchAsync(nextBatch, batchCancellationToken).
Preserve
();
src\Dependencies\Threading\ValueTaskExtensions.cs (1)
180
_task = task.
Preserve
();
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
260
var batchResultTask = _processBatchAsync(nextBatch, batchCancellationToken).
Preserve
();
src\Dependencies\Threading\ValueTaskExtensions.cs (1)
180
_task = task.
Preserve
();
Microsoft.CodeAnalysis.Threading.Package (2)
AsyncBatchingWorkQueue`2.cs (1)
260
var batchResultTask = _processBatchAsync(nextBatch, batchCancellationToken).
Preserve
();
ValueTaskExtensions.cs (1)
180
_task = task.
Preserve
();
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
260
var batchResultTask = _processBatchAsync(nextBatch, batchCancellationToken).
Preserve
();
src\Dependencies\Threading\ValueTaskExtensions.cs (1)
180
_task = task.
Preserve
();
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
UtilityTest\SpecializedTasksTests.cs (15)
94
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
116
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
137
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
167
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
193
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
224
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
250
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
284
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
317
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
351
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
398
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
426
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
478
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
509
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
549
var task = SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(func, transform, arg, cancellationToken).
Preserve
();
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestBodyReader.cs (1)
65
return ReadFromStreamWithTimeoutAsync(request, RequestReadTimeout, _requestReadLimit, cancellationToken).
Preserve
();
Logging\Internal\HttpResponseBodyReader.cs (1)
60
return ReadFromStreamWithTimeoutAsync(response, ResponseReadTimeout, _responseReadLimit, cancellationToken).
Preserve
();
System.Private.Xml (1)
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
2903
ValueTask<(int, int, int, bool)> parseTextTask = ParseTextAsync(orChars).
Preserve
();