Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate IsExternalInit definitions #66020

Merged
merged 4 commits into from
Dec 15, 2022
Merged

Consolidate IsExternalInit definitions #66020

merged 4 commits into from
Dec 15, 2022

Conversation

tmat
Copy link
Member

@tmat tmat commented Dec 14, 2022

Remove redundant definitions and link the one defined in compilers instead.

@tmat
Copy link
Member Author

tmat commented Dec 14, 2022

@dotnet/roslyn-compiler @dotnet/roslyn-ide

<ItemGroup>
<Compile Include="..\..\..\Compilers\Core\Portable\InternalUtilities\IsExternalInit.cs" Link="Utilities\IsExternalInit.cs" />
</ItemGroup>

<ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

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

nit: unnecessary empty line above

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 1) with a nit to consider

@jcouv jcouv self-assigned this Dec 14, 2022
@tmat tmat merged commit 0d6ace5 into dotnet:main Dec 15, 2022
@tmat tmat deleted the IsExternalInit branch December 15, 2022 03:59
@ghost ghost added this to the Next milestone Dec 15, 2022
@@ -5,6 +5,8 @@
// Copied from:
// https://github.com/dotnet/runtime/blob/fdd104ec5e1d0d2aa24a6723995a98d0124f724b/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/CompilerFeatureRequiredAttribute.cs

#if !NET6_0_OR_GREATER
Copy link
Member

Choose a reason for hiding this comment

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

💡 You'll probably want a type forwarder here so the API binding surface is the same in netstandard2.0 and net6.0

@Cosifne Cosifne modified the milestones: Next, 17.5 P3 Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants