Skip to content

Commit d7898e7

Browse files
committed
Simplify AssemblyAttributes
1 parent 705059d commit d7898e7

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

IDisposableAnalyzers.Test/AssemblyAttributes.cs

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,13 @@
22

33
[assembly: TransitiveMetadataReferences(typeof(IDisposableAnalyzers.Test.ValidWithAllAnalyzers))]
44
[assembly: TransitiveMetadataReferences(typeof(Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute))]
5+
[assembly: TransitiveMetadataReferences(typeof(System.Windows.Forms.Form))]
6+
[assembly: TransitiveMetadataReferences(typeof(System.Windows.Controls.Control))]
7+
[assembly: TransitiveMetadataReferences(typeof(System.Reactive.Linq.Observable))]
58
[assembly: MetadataReferences(
6-
typeof(System.Linq.Enumerable),
79
typeof(System.Net.WebClient),
810
typeof(System.Data.Common.DbConnection),
9-
typeof(System.Reactive.Disposables.SerialDisposable),
1011
typeof(System.Threading.Tasks.ValueTask),
11-
typeof(System.Reactive.Disposables.ICancelable),
12-
typeof(System.Reactive.Linq.Observable),
1312
typeof(System.Xml.Serialization.XmlSerializer),
14-
typeof(System.Windows.Media.Brush),
15-
typeof(System.Windows.Controls.Control),
16-
typeof(System.Windows.Media.Matrix),
17-
typeof(System.Xaml.XamlLanguage),
1813
typeof(Moq.Mock<>),
19-
typeof(Ninject.KernelConfiguration),
20-
typeof(System.Windows.Forms.Form),
21-
typeof(Gu.Roslyn.AnalyzerExtensions.SyntaxTokenExt),
22-
typeof(Gu.Roslyn.CodeFixExtensions.Parse),
23-
typeof(NUnit.Framework.Assert))]
14+
typeof(Ninject.KernelConfiguration))]

IDisposableAnalyzers.Test/IDisposableAnalyzers.Test.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<PackageReference Include="Gu.Analyzers" Version="1.6.7-dev" PrivateAssets="all" />
2929
<PackageReference Include="Gu.Roslyn.Asserts" Version="3.2.6" />
3030
<PackageReference Include="Gu.Roslyn.Asserts.Analyzers" Version="3.2.10" PrivateAssets="all" />
31-
<PackageReference Include="Gu.Wpf.Reactive" Version="4.2.0" />
3231
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.3.1" />
3332
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="all" />
3433
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0-preview-20200116-01" />

0 commit comments

Comments
 (0)