Skip to content

Array.CreateInstance IL3050 suppression justified by closed #1638 #1978

Open
@KalleOlaviNiemitalo

Description

@KalleOlaviNiemitalo

#1656 suppressed warning IL3050 about Array.CreateInstance, using #1638 as the justification:

[UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050", Justification = "https://github.com/dotnet/command-line-api/issues/1638")]
private static Array CreateArray(Type itemType, int capacity)
=> Array.CreateInstance(itemType, capacity);

However, #1638 has been closed already, so the justification is no longer valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions