Skip to content

Commit

Permalink
Adjust EnC test on records
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouv committed Apr 20, 2021
1 parent 1ecbcdd commit 2a5f985
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10581,6 +10581,7 @@ public void Records_AddWellKnownMember()
{
var source0 =
@"
#nullable enable
namespace N
{
record R(int X)
Expand All @@ -10590,6 +10591,7 @@ record R(int X)
";
var source1 =
@"
#nullable enable
namespace N
{
record R(int X)
Expand Down Expand Up @@ -10667,15 +10669,13 @@ protected virtual bool PrintMembers(System.Text.StringBuilder builder)
Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default),
Row(4, TableIndex.TypeSpec, EditAndContinueOperation.Default),
Row(3, TableIndex.StandAloneSig, EditAndContinueOperation.Default),
Row(10, TableIndex.MethodDef, EditAndContinueOperation.Default), // R.PrintMembers
Row(24, TableIndex.CustomAttribute, EditAndContinueOperation.Default));
Row(10, TableIndex.MethodDef, EditAndContinueOperation.Default)); // R.PrintMembers

CheckEncMap(reader1,
Handle(19, TableIndex.TypeRef),
Handle(20, TableIndex.TypeRef),
Handle(21, TableIndex.TypeRef),
Handle(10, TableIndex.MethodDef),
Handle(24, TableIndex.CustomAttribute),
Handle(3, TableIndex.StandAloneSig),
Handle(4, TableIndex.TypeSpec),
Handle(2, TableIndex.AssemblyRef));
Expand Down

0 comments on commit 2a5f985

Please sign in to comment.