Skip to content

Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64 #5884

Description

@hoyosjs

Some configurations report different line numbers for Foo4 in StackAndOtherTests.script verification:

  • .NET 11 on Linux reports line 53 (AssemblyLoadContext.Default.LoadFromStream call)
  • Windows x64 with certain PDB types report line 53
  • Expected line is 57 (dllMethod.Invoke call)

The PR #5874 (cDAC bundling) widened the regex to (53|57) in 4 locations

Related: #5740 - since this had tightened the lines before. @leculver - this is the highest hit rate test failure right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions