Closed Simply007 closed 2 years ago
Hi @Simply007,
the problem is, that GetPropertyValueAsync
uses naming convention for asynchronous methods. And in this AssetElementValueConverter
case, it is really not a problem that it runs synchronously.
In linked PR this issue from warning is fixed by removal of async
keyword and creating a new Task
from the result. This solution is already used in NodaTimeValueConverterAttribute
.
Brief bug description
What went wrong?
AssetElementValueConverter.GetPropertyValueAsync
is marked as async but does not use await.Repro steps
Expected behavior
No warning
Context
Related to #318