Skip to content

Commit 1814640

Browse files
committed
Fix tests.
1 parent 75c6beb commit 1814640

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using AspNetCoreAnalyzers.Tests;
22
using Gu.Roslyn.Asserts;
33

4-
[assembly: MetadataReference(typeof(object), new[] { "global", "mscorlib" })]
5-
[assembly: MetadataReference(typeof(System.Diagnostics.Debug), new[] { "global", "System" })]
6-
[assembly: TransitiveMetadataReferences(typeof(ValidCodeWithAllAnalyzers))]
4+
[assembly: TransitiveMetadataReferences(
5+
typeof(ValidCodeWithAllAnalyzers),
6+
typeof(Microsoft.EntityFrameworkCore.DbContext),
7+
typeof(Microsoft.AspNetCore.Mvc.Controller))]

AspNetCoreAnalyzers.Tests/paket.references

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ group Analyzers
1212
IDisposableAnalyzers
1313
Microsoft.CodeAnalysis.FxCopAnalyzers
1414
StyleCop.Analyzers
15-

paket.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ GROUP Test
743743
STORAGE: NONE
744744
NUGET
745745
remote: https://www.nuget.org/api/v2
746-
Gu.Roslyn.Asserts (2.6.2)
746+
Gu.Roslyn.Asserts (2.6.3)
747747
Microsoft.CodeAnalysis.CSharp.Workspaces (>= 2.0)
748748
Libuv (1.10) - restriction: >= netcoreapp2.1
749749
Microsoft.NETCore.Platforms (>= 1.0.1) - restriction: >= netstandard1.0
@@ -802,7 +802,7 @@ NUGET
802802
System.Runtime.Serialization.Primitives (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.3) (< netstandard2.0)) (&& (< net45) (>= netstandard2.0))
803803
System.Security.Cryptography.Algorithms (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.3) (< netstandard2.0)) (&& (< net45) (>= netstandard2.0))
804804
System.Threading.Thread (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.3) (< netstandard2.0)) (&& (< net45) (>= netstandard2.0))
805-
Microsoft.AspNet.WebApi.Client (5.2.6) - restriction: >= netcoreapp2.1
805+
Microsoft.AspNet.WebApi.Client (5.2.7) - restriction: >= netcoreapp2.1
806806
Newtonsoft.Json (>= 10.0.1) - restriction: && (< net45) (>= netstandard2.0)
807807
Newtonsoft.Json.Bson (>= 1.0.1) - restriction: && (< net45) (>= netstandard2.0)
808808
Microsoft.AspNetCore (2.1.6) - restriction: >= netcoreapp2.1
@@ -1850,16 +1850,15 @@ NUGET
18501850
System.Threading.Timer (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
18511851
System.Xml.ReaderWriter (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.1) (< netstandard1.2) (< win8)) (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (>= net46) (< netstandard1.4)) (&& (>= netstandard1.0) (< portable-net45+win8+wpa81) (< wp8)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
18521852
System.Xml.XDocument (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.1) (< netstandard1.2) (< win8)) (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (>= netstandard1.0) (< portable-net45+win8+wpa81) (< wp8)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
1853-
Newtonsoft.Json (11.0.2) - restriction: || (>= netcoreapp1.0) (>= uap10.0)
1853+
Newtonsoft.Json (12.0.1) - restriction: || (>= netcoreapp1.0) (>= uap10.0)
18541854
Microsoft.CSharp (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
18551855
NETStandard.Library (>= 1.6.1) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
18561856
System.ComponentModel.TypeConverter (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
18571857
System.Runtime.Serialization.Formatters (>= 4.3) - restriction: && (< net20) (>= netstandard1.3) (< netstandard2.0)
18581858
System.Runtime.Serialization.Primitives (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
18591859
System.Xml.XmlDocument (>= 4.3) - restriction: && (< net20) (>= netstandard1.3) (< netstandard2.0)
1860-
Newtonsoft.Json.Bson (1.0.1) - restriction: >= netcoreapp2.1
1861-
NETStandard.Library (>= 1.6.1) - restriction: && (< net45) (>= netstandard1.3)
1862-
Newtonsoft.Json (>= 10.0.1) - restriction: || (>= net45) (>= netstandard1.3)
1860+
Newtonsoft.Json.Bson (1.0.2) - restriction: >= netcoreapp2.1
1861+
Newtonsoft.Json (>= 12.0.1) - restriction: || (>= net45) (>= netstandard1.3)
18631862
NUnit (3.11)
18641863
NETStandard.Library (>= 1.6.1) - restriction: && (< net20) (>= netstandard1.4) (< netstandard2.0)
18651864
NETStandard.Library (>= 2.0) - restriction: && (< net20) (>= netstandard2.0)
@@ -2786,6 +2785,6 @@ NUGET
27862785
System.Xml.ReaderWriter (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net46) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
27872786
System.Xml.XmlDocument (>= 4.3) - restriction: || (&& (< monoandroid) (< monotouch) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (>= net46)
27882787
System.Xml.XPath (>= 4.3) - restriction: || (&& (< monoandroid) (< monotouch) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (>= net46)
2789-
WindowsAzure.Storage (9.3.2) - restriction: >= netcoreapp2.1
2788+
WindowsAzure.Storage (9.3.3) - restriction: >= netcoreapp2.1
27902789
NETStandard.Library (>= 1.6.1) - restriction: || (&& (< net45) (>= netstandard1.0) (< netstandard1.3) (< win8) (< wp8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< win8) (< wpa81))
27912790
Newtonsoft.Json (>= 10.0.2) - restriction: || (>= net45) (&& (>= netstandard1.0) (< netstandard1.3) (< win8)) (&& (< netstandard1.0) (>= win8)) (&& (>= netstandard1.3) (< win8)) (>= wp8) (>= wpa81)

0 commit comments

Comments
 (0)