Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address deprecation warning when building vts under .NET v6 #139

Closed
scottprahl opened this issue Apr 16, 2024 · 1 comment · Fixed by #142
Closed

Address deprecation warning when building vts under .NET v6 #139

scottprahl opened this issue Apr 16, 2024 · 1 comment · Fixed by #142
Assignees

Comments

@scottprahl
Copy link

When building vts under .NET v6 I see

/Users/prahl/Documents/Code/git/vts/src/Vts/Range/RangeOfT.cs(132,50): warning CS0618: 
'Range<T>.AsEnumerable()' is obsolete: 'This method is deprecated. Use built-in IEnumerable implementation 
instead.' [/Users/prahl/Documents/Code/git/vts/src/Vts/Vts.csproj]
@hayakawa16
Copy link
Member

This should be just a warning and not an error. When we remove a public class, we mark it as obsolete prior to removing it so that users have a chance to modify their code. Thanks for pointing that out so we can document our process.

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 a pull request may close this issue.

3 participants