Method naming (ARCH002)
هذا المحتوى غير متوفر بلغتك بعد.
Key dotnet.naming.method-naming · Severity warning · Category naming
Method names must follow PascalCase. This keeps code consistent with .NET library conventions.
Incorrect
Section titled “Incorrect”public class OrderService{ public void process_order() { }}Correct
Section titled “Correct”public class OrderService{ public void ProcessOrder() { }}Rename the method to PascalCase. If needed, suppress the rule per project/workspace via except/ignore.