1039e75d0c
* Maybe really fixes closures * fornat * add ai generated tests * fix tests * fix tests * added test with correct number of closures? * closures are self contained. don't increment on attached properties * format * MergeClosure should reuse if exists, not just set * add not null on a method
555 B
555 B
Coding standards, domain knowledge, and preferences that AI should follow
C# Coding Standards
- Use the csharpier formatter for formatting C# code.
- Use the .editorconfig file for code style settings.
- Always use
varwhen the type is obvious from the right side of the assignment. - Always add braces for
if,else,for,foreach,while, anddostatements, even if they are single-line statements.
Testing
- Use xUnit for unit testing.
- Use FluentAssertions for assertions in tests.
- Use Moq for mocking dependencies in tests.