If the bottom-level methods don't contain any async code, then I'd expect
the compiler would be generating warnings about marking a method as async
(unless those warnings are being suppressed)

I wonder if the compiler just discards the async bit in that case?

On Tue, 26 Mar 2019 at 16:57, David Rhys Jones <djones...@gmail.com> wrote:

> Some call APIs  but the vast majority are just mapping calls. Changing one
> object into another.
>
> Davy
>
> On Tue, 26 Mar 2019, 21:51 Greg Keogh, <gfke...@gmail.com> wrote:
>
>>
>> This is pretty typical for the entire project.
>>>     var legalEntity = await CreateLegalEntityObjectAsync(...);
>>>     var billingAccount = await CreateBillingAccountObjectAsync(...);
>>>
>>
>> But what's inside all the awaited methods? Are they actually doing
>> anything asynchronously (web service calls, overlapped file IO)? Got the
>> source code or look in ILSpy? --* GK*
>>
>>>

Reply via email to