Skip to content

Enable HotReload tests for FieldRVA #114748

@AaronRobinsonMSFT

Description

@AaronRobinsonMSFT

Support was added in #114463, but we are awaiting updates from Roslyn. After the update we also will need to enabled the tests.

// FieldRVA update tests are not supported on the Mono runtime.
//[ConditionalFact(typeof(ApplyUpdateUtil), nameof (ApplyUpdateUtil.IsSupported), nameof (ApplyUpdateUtil.IsNotMonoRuntime))]
//[ActiveIssue("https://github.com/dotnet/runtime/issues/54617", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
void TestAddFieldRVA()

Also uncomment build failures involving stackalloc.

// var lsarosLen = ApplyUpdate.Test.AddFieldRVA.LocalStackAllocReadOnlySpan();
// Assert.Equal(-1, mfaLen);

// var lsarosLen = ApplyUpdate.Test.AddFieldRVA.LocalStackAllocReadOnlySpan();
// Assert.Equal(5, mfaLen);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions