1
0
mirror of synced 2024-11-23 23:21:06 +01:00

fix: use this. qualifier (#709)

This commit is contained in:
Julian Holfeld 2024-10-20 18:54:26 +02:00 committed by GitHub
parent c610b3ad93
commit 49737ea36d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,11 +41,11 @@ csharp_indent_labels = one_less_than_current
# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
# avoid this. unless absolutely necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
# use this. qualifier for member access
dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_event = true:suggestion
# Types: use keywords instead of BCL types, and permit var only when the type is clear
csharp_style_var_for_built_in_types = false:suggestion