Organize async methods naming rule

This commit is contained in:
Yahia Chiheb 2019-07-16 02:44:36 +01:00
Родитель 29dc0aa9c5
Коммит 9dbda2f9e0
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -138,13 +138,15 @@ dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = priva
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
# Async suffix
# async methods should end with Async suffix
dotnet_naming_rule.async_methods_end_with_async.severity = warning
dotnet_naming_rule.async_methods_end_with_async.symbols = any_async_methods
dotnet_naming_rule.async_methods_end_with_async.style = end_with_async
dotnet_naming_rule.async_methods_end_with_async.severity = warning
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
dotnet_naming_symbols.any_async_methods.required_modifiers = async
dotnet_naming_style.end_with_async.required_suffix = Async
dotnet_naming_style.end_with_async.capitalization = pascal_case