Skip to content

[main] Disable TransitiveVersioningPinning for RoslynAnalyzers. #78038

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 1 commit into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/RoslynAnalyzers/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

<!-- Set 'NoDefaultExcludes' to ensure that we can package .editorconfig files into our analyzer NuGet packages -->
<NoDefaultExcludes>true</NoDefaultExcludes>

<!--
Disabled TransitivePinning to workaround source-build issues in SDK insertions.
A proper fix is being tracked by https://github.com/dotnet/roslyn/issues/78036
-->
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
</PropertyGroup>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ RS1018 | | DiagnosticId for analyzers must be in specified format |
RS1019 | | DiagnosticId must be unique across analyzers |
RS1020 | | Category for analyzers must be from the specified values |
RS1021 | | Invalid entry in analyzer category and diagnostic ID range specification file |
RS1022 | <https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1022.md> | Do not use types from Workspaces assembly in an analyzer |
RS1024 | | Symbols should be compared for equality |
RS1025 | | Configure generated code analysis |
RS1026 | | Enable concurrent execution |
Expand All @@ -38,18 +37,7 @@ RS1034 | | Prefer 'IsKind' for checking syntax kinds |
RS1035 | | Do not use APIs banned for analyzers |
RS1036 | | Specify analyzer banned API enforcement setting |
RS1037 | | Add "CompilationEnd" custom tag to compilation end diagnostic descriptor |
RS1038 | <https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md> | Compiler extensions should be implemented in assemblies with compiler-provided references |
RS1039 | | This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' |
RS1040 | | This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' |
RS1041 | <https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1041.md> | Compiler extensions should be implemented in assemblies targeting netstandard2.0 |
RS1042 | | Implementations of this interface are not allowed |
RS1043 | | Do not use file types for implementing analyzers, generators, and code fixers |
RS2000 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Add analyzer diagnostic IDs to analyzer release |
RS2001 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release |
RS2002 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Do not add removed analyzer diagnostic IDs to unshipped analyzer release |
RS2003 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file |
RS2004 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers |
RS2005 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Remove duplicate entries for diagnostic ID in the same analyzer release |
RS2006 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Remove duplicate entries for diagnostic ID between analyzer releases |
RS2007 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Invalid entry in analyzer release file |
RS2008 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Enable analyzer release tracking |
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

Rule ID | Missing Help Link | Title |
--------|-------------------|-------|
RS0030 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.BannedApiAnalyzers/BannedApiAnalyzers.Help.md> | Do not use banned APIs |
RS0031 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.BannedApiAnalyzers/BannedApiAnalyzers.Help.md> | The list of banned symbols contains a duplicate |
RS0035 | | External access to internal symbols outside the restricted namespace(s) is prohibited |
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,3 @@

Rule ID | Missing Help Link | Title |
--------|-------------------|-------|
RS0016 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Add public types and members to the declared API |
RS0017 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Remove deleted types and members from the declared API |
RS0022 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Constructor make noninheritable base class inheritable |
RS0024 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | The contents of the public API files are invalid |
RS0025 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Do not duplicate symbols in public API files |
RS0036 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Annotate nullability of public types and members in the declared API |
RS0037 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Enable tracking of nullability of reference types in the declared API |
RS0041 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Public members should not use oblivious types |
RS0048 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Missing shipped or unshipped public API file |
RS0050 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | API is marked as removed but it exists in source code |
RS0051 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Add internal types and members to the declared API |
RS0052 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Remove deleted types and members from the declared internal API |
RS0053 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | The contents of the internal API files are invalid |
RS0054 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Do not duplicate symbols in internal API files |
RS0055 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Annotate nullability of internal types and members in the declared API |
RS0056 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Enable tracking of nullability of reference types in the declared API |
RS0057 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Internal members should not use oblivious types |
RS0058 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Missing shipped or unshipped internal API file |
RS0061 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md> | Constructor make noninheritable base class inheritable |
Loading