File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/xunit.analyzers/Utility Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public static class Xunit
132132 public const string Assert = "Xunit.Assert" ;
133133 public const string ClassDataAttribute = "Xunit.ClassDataAttribute" ;
134134 public const string CollectionAttribute = "Xunit.CollectionAttribute" ;
135- public const string CollectionAttributeOfT = "Xunit.CollectionAttribute`1" ;
135+ public const string CollectionAttributeOfT_V3 = "Xunit.CollectionAttribute`1" ;
136136 public const string CollectionDefinitionAttribute = "Xunit.CollectionDefinitionAttribute" ;
137137 public const string DataAttribute_V2 = "Xunit.Sdk.DataAttribute" ;
138138 public const string DataAttribute_V3 = "Xunit.v3.DataAttribute" ;
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ public static class TypeSymbolFactory
4545 public static INamedTypeSymbol ? CollectionAttribute ( Compilation compilation ) =>
4646 Guard . ArgumentNotNull ( compilation ) . GetTypeByMetadataName ( Constants . Types . Xunit . CollectionAttribute ) ;
4747
48- public static INamedTypeSymbol ? CollectionAttributeOfT ( Compilation compilation ) =>
49- Guard . ArgumentNotNull ( compilation ) . GetTypeByMetadataName ( Constants . Types . Xunit . CollectionAttributeOfT ) ;
48+ public static INamedTypeSymbol ? CollectionAttributeOfT_V3 ( Compilation compilation ) =>
49+ Guard . ArgumentNotNull ( compilation ) . GetTypeByMetadataName ( Constants . Types . Xunit . CollectionAttributeOfT_V3 ) ;
5050
5151 public static INamedTypeSymbol ? CollectionDefinitionAttribute ( Compilation compilation ) =>
5252 Guard . ArgumentNotNull ( compilation ) . GetTypeByMetadataName ( Constants . Types . Xunit . CollectionDefinitionAttribute ) ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public class V3CoreContext : ICoreContext
3131 lazyAssemblyFixtureAttributeType = new ( ( ) => TypeSymbolFactory . AssemblyFixtureAttribute_V3 ( compilation ) ) ;
3232 lazyClassDataAttributeType = new ( ( ) => TypeSymbolFactory . ClassDataAttribute ( compilation ) ) ;
3333 lazyCollectionAttributeType = new ( ( ) => TypeSymbolFactory . CollectionAttribute ( compilation ) ) ;
34- lazyCollectionAttributeOfTType = new ( ( ) => TypeSymbolFactory . CollectionAttributeOfT ( compilation ) ) ;
34+ lazyCollectionAttributeOfTType = new ( ( ) => TypeSymbolFactory . CollectionAttributeOfT_V3 ( compilation ) ) ;
3535 lazyCollectionDefinitionAttributeType = new ( ( ) => TypeSymbolFactory . CollectionDefinitionAttribute ( compilation ) ) ;
3636 lazyDataAttributeType = new ( ( ) => TypeSymbolFactory . DataAttribute_V3 ( compilation ) ) ;
3737 lazyFactAttributeType = new ( ( ) => TypeSymbolFactory . FactAttribute ( compilation ) ) ;
You can’t perform that action at this time.
0 commit comments