TNG / ArchUnitNET

A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Apache License 2.0
932 stars 61 forks source link

Completely Filter Compiler Attributes from Architecture #305

Closed alexanderlinne closed 1 month ago

alexanderlinne commented 2 months ago

Relates to #229. Compiler Attributes are currently filtered in the ArchBuilder but are still introduced to the architecture through the AddAttributesAndAttributeDependencies load task.

With this patch, the attributes Microsoft.CodeAnalysis.EmbeddedAttribute, System.Runtime.CompilerServices.NullableAttribute and System.Runtime.CompilerServices.NullableContextAttribute will also be filtered in that load task.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.43%. Comparing base (717deb0) to head (9a63b55).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #305 +/- ## ========================================== + Coverage 65.42% 65.43% +0.01% ========================================== Files 256 256 Lines 22940 22947 +7 Branches 1948 1949 +1 ========================================== + Hits 15009 15016 +7 Misses 7378 7378 Partials 553 553 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.