Sitelet https://web.archive.org/web/20260618054445/https://github.com/github/codeql/pull/8626
Skip to content

C#: Exclude Equals and GetHashCode overrides from model generation.#8626

Merged
michaelnebel merged 4 commits into
github:mainfrom
michaelnebel:csharp/equalsgethashcodeoverrides
Apr 4, 2022
Merged

C#: Exclude Equals and GetHashCode overrides from model generation.#8626
michaelnebel merged 4 commits into
github:mainfrom
michaelnebel:csharp/equalsgethashcodeoverrides

Conversation

@michaelnebel

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the C# label Mar 31, 2022
@michaelnebel michaelnebel force-pushed the csharp/equalsgethashcodeoverrides branch 2 times, most recently from 086ef5c to 2be2ad4 Compare April 1, 2022 07:15
@michaelnebel michaelnebel marked this pull request as ready for review April 1, 2022 07:17
@michaelnebel michaelnebel requested a review from a team as a code owner April 1, 2022 07:17
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Apr 1, 2022

@tamasvajk tamasvajk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good apart from the minor typo.

Comment thread csharp/ql/src/utils/model-generator/internal/CaptureModelsSpecific.qll Outdated
@michaelnebel michaelnebel requested a review from tamasvajk April 1, 2022 07:34
Comment thread csharp/ql/src/utils/model-generator/internal/CaptureModelsSpecific.qll Outdated
Comment thread csharp/ql/src/utils/model-generator/internal/CaptureModelsSpecific.qll Outdated
@michaelnebel michaelnebel force-pushed the csharp/equalsgethashcodeoverrides branch from 26bac64 to a5cccde Compare April 1, 2022 09:33
@michaelnebel michaelnebel force-pushed the csharp/equalsgethashcodeoverrides branch from a5cccde to 5cb2bd9 Compare April 1, 2022 09:40
@michaelnebel michaelnebel dismissed tamasvajk’s stale review April 1, 2022 13:23

Renamed the predicate.

@michaelnebel

Copy link
Copy Markdown
Contributor Author

The DCA doesn't indicate that there are any performance regressions.

@michaelnebel michaelnebel merged commit 25881d6 into github:main Apr 4, 2022
@michaelnebel michaelnebel deleted the csharp/equalsgethashcodeoverrides branch April 4, 2022 07:40
@michaelnebel

Copy link
Copy Markdown
Contributor Author

The DCA doesn't indicate that there are any performance regressions.

Pr. the discussion on slack in codeql-dist-compare. I loooked that actual workflow execution (and query execution times) and not only the overview page as the uinterpreted queries are not included in the overall analysis time.

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.

3 participants