-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Adding reference to MessagePackAnalyzer to check for MsgPack001 / MsgPack002 (Banned API) #19989
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
10 commits
Select commit
Hold shift + click to select a range
c31cd34
adding reference to MessagePackAnalyzer
tebeco cd96510
add .ionide/ to the .gitignore/ (VsCode extensions for FSharp that tr…
tebeco 4301c97
Update MessagePack and MessagePackAnalyzer from 2.1.80 to 2.1.90
tebeco 38813d3
add a .editorconfig specifically for src/SignalR/common/Protocols.Mes…
tebeco 9a81b49
re-use the same MsBuild variable to tie together versions of MessageP…
tebeco 0737ecc
avoid leaking MessagePackAnalyzer as a transitive by specifying Priva…
tebeco d007ebd
Make _msgPackSerializerOptions readonly by using a local function in …
tebeco 19c629f
Inline code from the local function inside the ctor itself
tebeco f1161af
fix typo 🦆
tebeco 5c9a35d
Update src/SignalR/common/Protocols.MessagePack/src/Protocol/MessageP…
BrennanConroy 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
12 changes: 12 additions & 0 deletions
12
src/SignalR/common/Protocols.MessagePack/src/.editorconfig
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# EditorConfig is awesome:http://EditorConfig.org | ||
# NOTE: Requires **VS2019 16.3** or later | ||
|
||
# New Rule Set | ||
# Description: | ||
# MsgPack001 : MsgPack001 Avoid static default for MessagePackSerializerOptions | ||
# MsgPack002 : MsgPack002 Avoid using a mutable static value for MessagePackSerializerOptions | ||
|
||
# Code files | ||
[*.{cs,vb}] | ||
dotnet_diagnostic.MsgPack001.severity = error | ||
dotnet_diagnostic.MsgPack002.severity = error |
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
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.