Visitar URL original
C#: Deprecate the StructuralComparisonConfiguration interface and use sameGvn instead. by michaelnebel · Pull Request #8391 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260308051702/https://github.com/github/codeql/pull/8391
Skip to content

C#: Deprecate the StructuralComparisonConfiguration interface and use sameGvn instead.#8391

Merged
michaelnebel merged 14 commits intogithub:mainfrom
michaelnebel:csharp/gvn-interface
Mar 21, 2022
Merged

C#: Deprecate the StructuralComparisonConfiguration interface and use sameGvn instead.#8391
michaelnebel merged 14 commits intogithub:mainfrom
michaelnebel:csharp/gvn-interface

Conversation

@michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Mar 10, 2022 •

In this PR we deprecate the StructuralComparisonConfiguration interface as it is no longer needed.
Instead one can directly compare the global value numbers of the control flow expressions.

@github-actions github-actions bot added the C# label Mar 10, 2022
@michaelnebel michaelnebel changed the title C#: Retire the StructuralComparisonConfiguration interface C#: Deprecate the StructuralComparisonConfiguration interface Mar 10, 2022
@michaelnebel michaelnebel changed the title C#: Deprecate the StructuralComparisonConfiguration interface C#: Deprecate the StructuralComparisonConfiguration interface and use sameGvn instead. Mar 11, 2022
@michaelnebel michaelnebel force-pushed the csharp/gvn-interface branch from 23ba3f1 to 283d15d Compare March 11, 2022 10:15
@michaelnebel michaelnebel marked this pull request as ready for review March 11, 2022 11:45
@michaelnebel michaelnebel requested a review from a team as a code owner March 11, 2022 11:45
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Mar 11, 2022
@michaelnebel
Copy link
Contributor Author

What is the default approach in such scenarios, when it comes to change notes? Should this be documented by a change note or is the deprecation description enough in itself?

@michaelnebel michaelnebel force-pushed the csharp/gvn-interface branch from 19a9bc9 to a3b58ca Compare March 14, 2022 13:29
@michaelnebel michaelnebel force-pushed the csharp/gvn-interface branch from a3b58ca to ba67ea0 Compare March 15, 2022 08:10
@hvitved
Copy link
Contributor

hvitved commented Mar 16, 2022

What is the default approach in such scenarios, when it comes to change notes? Should this be documented by a change note or is the deprecation description enough in itself?

I would think that getting deprecation warnings should be enough.

Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really great. Just one minor suggestion.

@michaelnebel michaelnebel requested a review from hvitved March 16, 2022 15:01
@michaelnebel michaelnebel merged commit d31ef37 into github:main Mar 21, 2022
@michaelnebel michaelnebel deleted the csharp/gvn-interface branch March 21, 2022 13:10
@michaelnebel michaelnebel requested a review from hvitved March 16, 2022 15:01
@michaelnebel michaelnebel merged commit d31ef37 into github:main Mar 21, 2022
@michaelnebel michaelnebel deleted the csharp/gvn-interface branch March 21, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C# no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants