From 49737ea36db3ad5ed9ec99bc83a283af9e159c0b Mon Sep 17 00:00:00 2001 From: Julian Holfeld Date: Sun, 20 Oct 2024 18:54:26 +0200 Subject: [PATCH] fix: use this. qualifier (#709) --- .editorconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index c5fc1081..ddcfb426 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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