Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Instead of using a symbol collision with a comment block to stop people from using LINQ in the managed type system, use the BannedApiAnalyzer to ban the Linq namespace in a more standard fashion. Also update the BannedApiAnalyzer package to a version that has namespace support to allow us to enforce it (it was recently merged in).

@ghost
Copy link

ghost commented May 23, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Instead of using a symbol collision with a comment block to stop people from using LINQ in the managed type system, use the BannedApiAnalyzer to ban the Linq namespace in a more standard fashion. Also update the BannedApiAnalyzer package to a version that has namespace support to allow us to enforce it (it was recently merged in).

Author: jkoritzinsky
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@jkoritzinsky
Copy link
Member Author

OSX failures are unrelated.

@jkoritzinsky jkoritzinsky merged commit ba97cf8 into dotnet:main May 24, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 24, 2023
@jkoritzinsky jkoritzinsky deleted the banned-linq branch March 22, 2024 01:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants