dotnet / dotnet/roslyn

Tests targeting NetStandard due to behavior changes

Open
#78,248 0 comments 0 reactions 0 assignees View on GitHub
Area-Compilers
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

These are some of the test types targeting `netstandard2.0` due to behavior changes: either compilation or runtime. This is typically because the runtime API has evolved such that existing code samples don't work as they used to. These typically require a bit of investigation.

Types:

- [ ] QueryTests
- [ ] StackAllocInitializerTests
- [ ] ImplicitObjectCreationTests

Methods:

- [ ] TestNamedAndOptionalParametersUnsafe
- [ ] CS0152_DuplicateDefaultLabel2
- [ ] InitOnlyOnReadonlyInit_ReassignsSelf
- [ ] TestSuppressUnreferencedVarAssgOnIntPtr
- [ ] DefaultPattern
- [ ]

Contributor guide

Open the contributing guide

Research direction

Locate the tests and methods listed in the issue, then inspect why each targets netstandard2.0 and whether the difference is compilation or runtime behavior. Compare the relevant test projects and run the affected tests. Done means the listed cases have been investigated and their target-framework handling is resolved, with the tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.