Skip to content

Replace our internal usage analyzer with .NET 8.0 [Experimental] #33384

@roji

Description

@roji

EF has a "pubternal" policy, which means that we almost never use C# internal, but instead make things public, either in an Internal namespace or with an [EntityFrameworkInternal] attribute; an EF InternalUsageDiagnosticAnalyzer generates diagnostic warnings when usage of such types/members is detected from outside the assembly.

With the introduction of the Experimental attribute, we can replace our own mechanism with this. This would allow removing the analyzer, which isn't perfect and misses some cases.

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions