-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
Description
Summary
Two new analyzers were recently added which are currently flagging types in the management libraries. Because of this, two NoWarn suppressions were added in the Directory.Build.Common.props file for all management packages.
- AZC0034: Flags types that share names with one or more types in a different namespace/library.
- AZC0035: Flags types that follow output model patterns and do not have a corresponding factory method.
Scope of work
-
Investigate flagged types and evaluate:
- AZC0034: Any approved type names from a stable release do not need to be changed
- AZC0035: If there are ways other than a model factory to create them, they do not need to be changed.
-
If a type is being inappropriately flagged, add a local suppression in that type.
-
If the detection is valid, rename the type and/or add the appropriate model factory method.
-
Remove the warning suppressions for AZC0034 and AZC0035 in the Directory.Build.Common.props file.
Success criteria
- Global suppressions removed from Directory.Build.Common.props.
- Any suppressions legitimately needed after individual review have been added to the types themselves or the most local scope possible.
- The management libraries can be built locally and in CI without analyzer errors.
Reactions are currently unavailable