Socket
Book a DemoInstallSign in
Socket

Liversen.DependencyCop

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Liversen.DependencyCop

Roslyn analyzers that enforce restrictions on dependencies between namespaces.

2.0.0-beta.3
Source
nugetNuGet
Version published
Maintainers
1
Created
Source

DependencyCop

This package contains a number of Roslyn analyzer rules using the .NET Compiler Platform. The rules enforce certain restrictions on dependencies between code in different namespaces.

Rule DC1001: Using namespace statements must not reference disallowed namespaces

Rule DC1002: Code must not refer code in descendant namespaces

Rule DC1003: Code must not contain namespace cycles

Rule DC1004: Rule DC1001 is not configured

Changelog

1.0 - 2.0

  • Added FixProvider for DC1001.

Keywords

Roslyn

FAQs

Package last updated on 24 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.