Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Update comments on tests with fake generated backing fields - #2630

Merged
vitek-karas merged 2 commits into
dotnet:feature/damAnalyzerfrom
vitek-karas:UpdateFakeBackingFields
Feb 18, 2022
Merged

vitek-karas merged 2 commits into
dotnet:feature/damAnalyzerfrom
vitek-karas:UpdateFakeBackingFields

Conversation

@vitek-karas

Copy link
Copy Markdown
Member

The tests use fake generated backing fields, which the linker recognizes as the real thing, but the analyzer is not fooled. So it's expected the analyzer would produce warnings here - and the developer who writes code like this (hard to imagine why) should fix those warnings anyway.

The tests use fake generated backing fields, which the linker recognizes as the real thing, but the analyzer is not fooled. So it's expected the analyzer would produce warnings here - and the developer who writes code like this (hard to imagine why) should fix those warnings anyway.
@vitek-karas

Copy link
Copy Markdown
Member Author

The test failure is #2451

@vitek-karas
vitek-karas merged commit f43e55c into dotnet:feature/damAnalyzer Feb 18, 2022
@vitek-karas
vitek-karas deleted the UpdateFakeBackingFields branch February 18, 2022 11:17
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…inker#2630)

The tests use fake generated backing fields, which the linker recognizes as the real thing, but the analyzer is not fooled. So it's expected the analyzer would produce warnings here - and the developer who writes code like this (hard to imagine why) should fix those warnings anyway.

Co-authored-by: Tlakaelel Axayakatl Ceja <[email protected]>

Commit migrated from dotnet/linker@f43e55c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants