12 references to AsyncHelper
dotnet-svcutil-lib (12)
Bootstrapper\SvcutilBootstrapper.cs (1)
180
await
AsyncHelper
.RunAsync(() => this.Options.Save(paramsFilePath), cancellationToken).ConfigureAwait(false);
Metadata\MetadataDocumentLoader.cs (3)
319
var schema = await
AsyncHelper
.RunAsync(() => XmlNS.Schema.XmlSchema.Read(reader, null), cancellationToken).ConfigureAwait(false);
346
WsdlNS.ServiceDescription wsdl = await
AsyncHelper
.RunAsync(() => WsdlNS.ServiceDescription.Read(reader), cancellationToken).ConfigureAwait(false);
431
EndpointAddress epr = await
AsyncHelper
.RunAsync(() => EndpointAddress.ReadFrom(dictionaryReader), cancellationToken).ConfigureAwait(false);
Metadata\MetadataDocumentSaver.cs (1)
57
var mainWsdl = await
AsyncHelper
.RunAsync(() => metadataDocumentSaver.SaveMetadata(overwrite), cancellationToken).ConfigureAwait(false);
Metadata\ServiceDescriptor.cs (2)
166
await
AsyncHelper
.RunAsync(() =>
293
var metadataSet = new MetadataSet(await
AsyncHelper
.RunAsync(() => GetImportableMetadataSections(), cancellationToken).ConfigureAwait(false));
Shared\MSBuildProj.cs (3)
703
await
AsyncHelper
.RunAsync(() => ProjectNode.Save(writer), cancellationToken).ConfigureAwait(false);
793
await
AsyncHelper
.RunAsync(async () =>
885
await
AsyncHelper
.RunAsync(async () =>
Shared\Utilities\ProcessRunner.cs (1)
128
await
AsyncHelper
.RunAsync(() => proc.WaitForExit(), () => { try { proc.Kill(); } catch { } }, cancellationToken).ConfigureAwait(false);
Tool.cs (1)
315
await
AsyncHelper
.RunAsync(() => updateOptions.Save(paramsFile), cancellationToken).ConfigureAwait(false);