dotnet / roslyn-analyzers

MIT License
1.58k stars 464 forks source link

RS1035 false positive for Environment.ProcessorCount #7343

Closed Youssef1313 closed 3 months ago

Youssef1313 commented 3 months ago

Re-using Roslyn's ObjectPool implementation in generator project causes RS1035

https://github.com/dotnet/roslyn/blob/967907da1e4846c15b30a68e37ddcdfc9964781a/src/Dependencies/PooledObjects/ObjectPool%601.cs#L110

Youssef1313 commented 3 months ago

Duplicate of https://github.com/dotnet/roslyn-analyzers/issues/6571