-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
public class A
{
public virtual void M1() { }
public virtual void M2() { }
public virtual void M3() { }
public virtual void M4() { }
}
public class B : A
{
public override void M1() { }
public void M2() { }
public new void M3() { }
public new virtual void M4() { }
}type C() =
inherit B()
override this.M1() = ()
override this.M2() = () // error is expected
override this.M3() = () // error is expected
override this.M4() = ()Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Projects
Status
Done