Skip to content

Incorrect "Cast is redundant" #27239

@gafter

Description

@gafter
using System;
public class C
{
    public static void Main()
    {
        object o = null;
        TypedReference r2 = (TypedReference)o;
    }
}

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions