File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/AssemblyMetadata.Generators
test/AssemblyMetadata.Generators.Tests Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ namespace AssemblyMetadata.Generators;
1111[ Generator ( LanguageNames . CSharp ) ]
1212public class AssemblyMetadataGenerator : IIncrementalGenerator
1313{
14- private static readonly HashSet < string > _attributes = new ( )
15- {
14+ private static readonly HashSet < string > _attributes =
15+ [
1616 nameof ( AssemblyCompanyAttribute ) ,
1717 nameof ( AssemblyConfigurationAttribute ) ,
1818 nameof ( AssemblyCopyrightAttribute ) ,
@@ -31,7 +31,8 @@ public class AssemblyMetadataGenerator : IIncrementalGenerator
3131 nameof ( AssemblyVersionAttribute ) ,
3232 nameof ( NeutralResourcesLanguageAttribute ) ,
3333 nameof ( TargetFrameworkAttribute ) ,
34- } ;
34+ "UserSecretsIdAttribute"
35+ ] ;
3536
3637 public void Initialize ( IncrementalGeneratorInitializationContext context )
3738 {
Original file line number Diff line number Diff line change 3434 </PropertyGroup >
3535
3636 <ItemGroup >
37- <PackageReference Include =" coverlet.collector" Version =" 6.0.1 " >
37+ <PackageReference Include =" coverlet.collector" Version =" 6.0.2 " >
3838 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
3939 <PrivateAssets >all</PrivateAssets >
4040 </PackageReference >
4343 <PrivateAssets >all</PrivateAssets >
4444 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
4545 </PackageReference >
46- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.8.0 " />
46+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.9.2 " />
4747 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.9.0" />
4848 <PackageReference Include =" MinVer" Version =" 5.0.0" PrivateAssets =" All" />
49- <PackageReference Include =" Verify.Xunit" Version =" 23.2.2 " />
49+ <PackageReference Include =" Verify.Xunit" Version =" 23.7.1 " />
5050 <PackageReference Include =" xunit" Version =" 2.7.0" />
5151 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.5.7" >
5252 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
Original file line number Diff line number Diff line change 77
88namespace AssemblyMetadata . Generators . Tests ;
99
10- [ UsesVerify ]
1110public class GeneratorTests
1211{
1312 [ Fact ]
You can’t perform that action at this time.
0 commit comments