-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Extensions: Close some tracked follow-ups (using static directives) #80527
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1181,7 +1181,6 @@ forSemanticModel.Syntax is { } semanticModelSyntax && | |
| }); | ||
| } | ||
|
|
||
| // Tracked by https://github.com/dotnet/roslyn/issues/78957 : public API, Ensure we are not messing up relative order of events for extension members (with relation to events for enclosing types, etc.) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Already covered by |
||
| _compilation.EventQueue.TryEnqueue(new SymbolDeclaredCompilationEvent( | ||
| _compilation, methodSymbol, semanticModelWithCachedBoundNodes)); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -310,7 +310,6 @@ Cci.ITypeDefinition Cci.ITypeDefinitionMember.ContainingTypeDefinition | |
| return synthesizedGlobalMethod.ContainingPrivateImplementationDetailsType; | ||
| } | ||
|
|
||
| // Tracked by https://github.com/dotnet/roslyn/issues/78827 : code quality, share logic with Cci.ITypeMemberReference.GetContainingType implementation? | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 I removed a few similar comments, as I don't think the suggestion is necessary or that it would improve the code. |
||
| if (AdaptedMethodSymbol is SynthesizedExtensionMarker marker) | ||
| { | ||
| return ((SourceMemberContainerTypeSymbol)AdaptedMethodSymbol.ContainingType.ContainingType).GetExtensionGroupingInfo().GetCorrespondingMarkerType(marker); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4342,7 +4342,7 @@ | |
| </Field> | ||
| <Field Name="Type" Type="TypeSyntax" Optional="true"/> | ||
| </AbstractNode> | ||
| <Node Name="ParameterSyntax" Base="BaseParameterSyntax" SkipConvenienceFactories="true"> | ||
| <Node Name="ParameterSyntax" Base="BaseParameterSyntax" SkipConvenienceFactories="true" HasValidate="true"> | ||
| <TypeComment> | ||
| <summary>Parameter syntax.</summary> | ||
| </TypeComment> | ||
|
|
@@ -4357,9 +4357,8 @@ | |
| <summary>Gets the modifier list.</summary> | ||
| </PropertyComment> | ||
| </Field> | ||
| <Field Name="Type" Type="TypeSyntax" Optional="true" Override="true"/> | ||
| <Field Name="Type" Type="TypeSyntax" Optional="true" RequiredForTest="true" Override="true"/> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The generated tests generate nodes. The basic logic is to use |
||
| <Field Name="Identifier" Type="SyntaxToken" Optional="true"> | ||
| <!-- Tracked by https://github.com/dotnet/roslyn/issues/78961 : enforce that a ParameterSyntax cannot be created with both Type and Identifier missing --> | ||
| <PropertyComment> | ||
| <summary>Gets the identifier.</summary> | ||
| </PropertyComment> | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Added
TestUnusedExtensionMarksImportsAsUsed_02