Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Add comment describing scope of test
  • Loading branch information
jtschuster committed Aug 9, 2022
commit 1d87c2ca269d344f4b327c91d55d7b490c452d05
3 changes: 3 additions & 0 deletions test/Mono.Linker.Tests.Cases/Basic/LinkerHandlesRefFields.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

namespace Mono.Linker.Tests.Cases.Basic
{
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Add a comment describing what the test is trying to validate - mainly that it's only meant to validate that linker doesn't crash or do other weird things on ref fields. And that it's not meant as full validation of all functionality around ref fields.

/// <summary>
/// This test is only to ensure that the linker does not crash when programs use ref fields (new to dotnet 7). This test does not validate any expected behaviors around ref fields.
/// </summary>
[ExpectedNoWarnings]
[SkipKeptItemsValidation]
class LinkerHandlesRefFields
Expand Down