@@ -32,10 +32,8 @@ namespace System.Threading
3232
3333 DiagnosticResult [ ] expected =
3434 {
35- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
3635 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
3736 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" ) ,
38- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" )
3937 } ;
4038
4139 await this . VerifyCSharpDiagnosticAsync ( testCode , expected , CancellationToken . None ) . ConfigureAwait ( false ) ;
@@ -61,10 +59,8 @@ namespace System.Threading
6159
6260 DiagnosticResult [ ] expected =
6361 {
64- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
6562 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
6663 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" ) ,
67- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" )
6864 } ;
6965
7066 await this . VerifyCSharpDiagnosticAsync ( testCode , expected , CancellationToken . None ) . ConfigureAwait ( false ) ;
@@ -90,10 +86,8 @@ namespace System.Threading
9086
9187 DiagnosticResult [ ] expected =
9288 {
93- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorType ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO.Path" ) ,
9489 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorType ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO.Path" ) ,
9590 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorType ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks.Task" ) ,
96- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorType ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks.Task" )
9791 } ;
9892
9993 await this . VerifyCSharpDiagnosticAsync ( testCode , expected , CancellationToken . None ) . ConfigureAwait ( false ) ;
@@ -144,10 +138,8 @@ namespace System.Threading
144138
145139 DiagnosticResult [ ] expected =
146140 {
147- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
148141 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 4 , 5 ) . WithArguments ( "System.IO" ) ,
149142 this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" ) ,
150- this . CSharpDiagnostic ( SA1135UsingDirectivesMustBeQualified . DescriptorNamespace ) . WithLocation ( 5 , 5 ) . WithArguments ( "System.Threading.Tasks" )
151143 } ;
152144
153145 await this . VerifyCSharpDiagnosticAsync ( testCode , expected , CancellationToken . None ) . ConfigureAwait ( false ) ;
0 commit comments