Skip to content

Trying to load CustomModifiers for runtime field hits an assert #97116

Description

@buyaa-n

Regex.CompileToAssembly test is failing when the ModulBuilder tries to load custom modifiers for a field:

public override Type[] GetRequiredCustomModifiers()
{
return GetSignature().GetCustomModifiers(1, true);
}

This call eventually hit assert in:

_ASSERTE(parameterIndex == 0);

This doesn't happen locally (64 bit Windows), hits the Assert in some Linux legs and 32 bit windows leg on CI, looks like a bug to me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions