Skip to content

Conversation

@arenekosreal
Copy link

Removed the ExtensionAttribute definition from the namespace System.Runtime.CompilerServices.

This causes CS1685 warning when building on dotnet 10.0. This attribute should exist in netstandard2.1 and net4.5 target frameworks according to documentation. Only mono platform may missing this before net4.0, but that target framework is not in our list now.

Fixes: #24

Removed the ExtensionAttribute definition from the namespace System.Runtime.CompilerServices.

This causes `CS1685` warning when building on dotnet 10.0. This attribute should exist in `netstandard2.1` and `net4.5` target frameworks according to [documentation](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.extensionattribute?view=net-10.0#applies-to). Only mono platform may missing this before net4.0, but that target framework is not in our list now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CS1685 warning when building projects target to net10

1 participant