-
Notifications
You must be signed in to change notification settings - Fork 5.3k
mark Windows-specific APIs as such #39265
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
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1b726fa
move all OSPlatformAttributes to a single file so they can be easily …
adamsitnik 45fa943
Adds System.Runtime.Versioning*Platform* annotation attributes to < .…
adamsitnik 77a3977
introduce MinimiumSupportedWindowsPlatform
adamsitnik a7faf6a
introduce IsWindowsSpecific setting that adds MinimumOSPlatform attri…
adamsitnik 3dc0639
mark all Windows-specific libraries as such
adamsitnik 62ff5d1
annotate Windows-specific System.Console methods and properites
adamsitnik 3a44806
annotate Windows-specific DpapiProtectedConfigurationProvider type
adamsitnik 41d6c39
annotate throwing Windows-specific APIs from System.Diagnostics.Proce…
adamsitnik 891848f
annotate nops Windows-specific APIs from System.Diagnostics.Process n…
adamsitnik fc992c4
annotate throwing Windows-specific APIs from System.IO.MemoryMappedFi…
adamsitnik 0e1cee8
annotate Windows-specific APIs from System.IO.Pipes namespace
adamsitnik ce1c855
the new attributes should support enums
adamsitnik 4d837ee
annotate Windows-specific APIs from HttpListenerTimeoutManager class
adamsitnik fbe827c
annotate Windows-specific APIs from System.Net.Sockets namespace
adamsitnik bec1e53
annotate Windows-specific APIs from System.Runtime.InteropServices na…
adamsitnik 1bb6eac
annotate Windows-specific APIs from System.Security.Cryptography.Csp …
adamsitnik 883fce0
annotate Windows-specific APIs from System.Security.Cryptography.X509…
adamsitnik 4452218
annotate Windows-specific APIs from System.Threading namespace
adamsitnik 51a28ce
Revert (partially) "annotate nops Windows-specific APIs from System.D…
adamsitnik bfe2749
address code review feedback: dont introduce new constants, reuse exi…
adamsitnik 596f7bf
address code review feedback
adamsitnik 14bd8e3
the attributes should be also included for netcoreapp3*
adamsitnik ad3b63e
code review: import the namespace, simplify the attribute name (in pl…
adamsitnik 6ec0ceb
add missing Socket.DuplicateAndClose and Socket(SocketInformation)
adamsitnik 9bc2c36
fix the test name (it does not throw)
adamsitnik 42d2eba
add missing DriveInfo.set_VolumeLabel
adamsitnik cfa5c5d
add System.IO.FileSystem File Encrypt and Descrypt methods
adamsitnik 99590d5
Merge remote-tracking branch 'upstream/master' into windowsSpecificAPIs
adamsitnik b585dd4
simplify the < .NET 5 check
adamsitnik 83588f8
don't include .cs files in .ilprojects this leads to crazy compiler e…
adamsitnik 2b3bb5e
enable nullable in explicit way as it's not enabled in all the projec…
adamsitnik 5490f70
include platform attributes in projects that ask for it in explicit way
adamsitnik a1dcef8
don't use full name of the attribute in the src files
adamsitnik b3da567
set IncludePlatformAttributes to true for projects that include files…
adamsitnik e4df6a9
last place where a full name was used in src
adamsitnik ede86ec
use suggestion from Viktor and Santi
adamsitnik f2b3386
apply last suggestion
adamsitnik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.