提交 2c4c2fd0 编写于 作者: C Cyrus Najmabadi

Cleanup

上级 5a71a9a7
......@@ -835,7 +835,7 @@ class C
int M()
{
bool check = true;
#if DEBUG
#if true
[||]if (check)
return 3;
#endif
......
......@@ -402,13 +402,13 @@ end class")
<WorkItem(36117, "https://github.com/dotnet/roslyn/issues/36117")>
<Fact, Trait(Traits.Feature, Traits.Features.CodeActionsUseConditionalExpression)>
public async function TestMissingWhenCrossingPreprocessorDirective() as Task
await TestMissingInRegularAndScriptAsync(
Public Async Function TestMissingWhenCrossingPreprocessorDirective() As Task
Await TestMissingInRegularAndScriptAsync(
"
class C
function M() as integer
dim check as boolean = true
#if DEBUG
#if true
[||]if check
return 3
#end if
......
......@@ -1913,12 +1913,12 @@ Namespace Microsoft.CodeAnalysis.VisualBasic
Return Nothing
End Function
Public shadows Function SpansPreprocessorDirective(nodes As IEnumerable(Of SyntaxNode)) As Boolean Implements ISyntaxFactsService.SpansPreprocessorDirective
Return mybase.SpansPreprocessorDirective(nodes)
Public Shadows Function SpansPreprocessorDirective(nodes As IEnumerable(Of SyntaxNode)) As Boolean Implements ISyntaxFactsService.SpansPreprocessorDirective
Return MyBase.SpansPreprocessorDirective(nodes)
End Function
Public shadows Function SpansPreprocessorDirective(tokens As IEnumerable(Of SyntaxToken)) As Boolean
Return mybase.SpansPreprocessorDirective(tokens)
Public Shadows Function SpansPreprocessorDirective(tokens As IEnumerable(Of SyntaxToken)) As Boolean
Return MyBase.SpansPreprocessorDirective(tokens)
End Function
End Class
End Namespace
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册