File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,12 @@ public static class UsingExperimentalApiAnalyzerTest
1313 [ MemberData ( nameof ( TestData ) ) ]
1414 public static async Task Common ( string source )
1515 {
16- const string AttributeSource = @"
17- namespace System.Diagnostics.CodeAnalysis
18- {
19- public sealed class ExperimentalAttribute : System.Attribute { }
20- }" ;
21-
2216 var d = await RoslynTestUtils . RunAnalyzer (
2317 new UsingExperimentalApiAnalyzer ( ) ,
2418 null ,
2519 new [ ]
2620 {
2721 source ,
28- AttributeSource ,
2922 } ) . ConfigureAwait ( false ) ;
3023
3124 var expectedCount = source . CountSpans ( ) ;
@@ -81,7 +74,7 @@ public class ExpClass
8174 using System.Diagnostics.CodeAnalysis;
8275
8376 #pragma warning disable R9A029
84- [assembly: Experimental]
77+ [assembly: Experimental(diagnosticId: ""TBD"", UrlFormat = ""TBD"") ]
8578 #pragma warning restore R9A029
8679
8780 public class TestClass : /*0+*/ExpClass/*-0*/
You can’t perform that action at this time.
0 commit comments