CA1724 raises issue with unrelated matches.

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
devtools

Research direction

The issue names no files or tests; start by reproducing CA1724 with the two namespace and type names shown. Confirm the result by checking that the unrelated type and namespace no longer produce a conflict while genuine conflicts remain detected.

Written by the indexing model from the issue text.

Description

This rule raises a conflict for a namespace something like below.

Aaa.Bbb.Ccc.Ddd.Host.Startup and AAA.Bbb.CCc.Ddd.Sdk.Core.Startup

Aaa.Bbb.Ccc.Ddd.Host.Startup is a type in the application.
AAA.Bbb.CCc.Ddd.Sdk.Core.Startup is a namespace in the referenced assembly.

Dominant language
JavaScript
Stars
65
Forks
23
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/code-analysis

All issues in dotnet/code-analysis

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.