-
Notifications
You must be signed in to change notification settings - Fork 4k
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
VBOverloadResolutionPriority: break attribute binding cycles, clone a bunch of C# tests #76008
VBOverloadResolutionPriority: break attribute binding cycles, clone a bunch of C# tests #76008
Conversation
… bunch of C# tests
@cston, @dotnet/roslyn-compiler For the second review |
1 similar comment
@cston, @dotnet/roslyn-compiler For the second review |
throw DirectCast(Nothing, System.Exception) | ||
End Sub | ||
" | ||
|
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.
It looks like these are not used. #Resolved
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.
It looks like these are not used.
Looks this way. Will remove.
|
||
Dim compilation = CreateCompilation({source, OverloadResolutionPriorityAttributeDefinitionVB}, options:=TestOptions.DebugExe) | ||
|
||
' Note, VB silently ignores attributes at wrong location |
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.
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.
It looks like there is such a test already: Overrides_ChangePriorityInMetadata_Methods
.
" | ||
|
||
Dim compilation = CreateCompilation(source, options:=TestOptions.DebugExe) | ||
compilation.AssertTheseEmitDiagnostics( |
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.
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.
Is that not useful here?
It is done below. The compilation is recreated after we check diagnostics
9e8ad61
into
dotnet:features/VBOverloadResolutionPriority
No description provided.