Skip to content

RCS1263 „Parameter 'XY' could not be found“ with class primary constructor or record struct. #1730

@HSyr

Description

@HSyr
 /// <summary>
 /// Text
 /// </summary>
 /// <param name="par">Text</param>
 record struct RS ( int par );

 /// <summary>
 /// Text
 /// </summary>
 /// <param name="prop">Text</param>
 private class C ( int prop )
 {
   int Prop { get; init; } = prop;
 }

Gives:

Warning (active) RCS1263 Parameter 'par' could not be found
Warning (active) RCS1263 Parameter 'prop' could not be found

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions