Rule Request - Internal procedure with no references #460
Replies: 3 comments 1 reply
-
Good idea. I'm doubting on this rule in combination with the The be honest we tent to use this for our testing apps, and using it more than I would admit 😅 When opening a multi-root workspace in VS Code this could work (although there's a challenge if the project isn't loaded). I'm unsure about this in a ADO/Github pipeline. "internalsVisibleTo": [
{
"id": "51e7db57-be52-492d-a10c-ad26b45e255c",
"publisher": "MyPublisher",
"name": "MyApp.TestApp"
}
], |
Beta Was this translation helpful? Give feedback.
-
From perspective, the only use for Maybe there are two rules here. One, a warning, if there is no |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #197 ? |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is something that fits your model but I would like to have a rule that checks to see if an internal procedure has no references. I am currently refactoring and splitting a monolith app and find unreferenced code once I have made objects internal.
You would need to cover an
internal procedure
in an object withAccess = Public
and aprocedure
in an object withAccess = Internal
.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions