Skip to content

Ensure synthesized BoundBaseReference always uses correct type.#34500

Merged
AlekseyTs merged 1 commit intodotnet:features/DefaultInterfaceImplementationfrom
AlekseyTs:SynthesizedBoundBaseReference
Mar 28, 2019
Merged

Ensure synthesized BoundBaseReference always uses correct type.#34500
AlekseyTs merged 1 commit intodotnet:features/DefaultInterfaceImplementationfrom
AlekseyTs:SynthesizedBoundBaseReference

Conversation

@AlekseyTs
Copy link
Contributor

No description provided.

@AlekseyTs AlekseyTs requested a review from a team as a code owner March 27, 2019 04:53
@AlekseyTs AlekseyTs added the Feature - Default Interface Impl Default Interface Implementation label Mar 27, 2019
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review

var compilation0 = CreateCompilation(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandardLatest);
compilation0.VerifyDiagnostics();

var verifier = CompileAndVerify(compilation0, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
Copy link
Member

@333fred 333fred Mar 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!ExecutionConditionUtil.IsMonoOrCoreClr ? null : @"M1" [](start = 74, length = 54)

Consider inverting this conditional to make it simpler to read. #WontFix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider inverting this conditional to make it simpler to read.

I find it much easier to have the string at the end, especially when it is multi-line.

Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (commit 1)

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off for a very small change

1 similar comment
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off for a very small change

Copy link
Member

@jaredpar jaredpar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@AlekseyTs AlekseyTs merged commit aee400d into dotnet:features/DefaultInterfaceImplementation Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants