Skip to content

Commit b3a84e2

Browse files
committed
add new types used by JSON.NET 11 to exclusion from convention unit test that all types in the assembly are in the Nest namespace
1 parent 8369436 commit b3a84e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tests/CodeStandards/NamingConventions.doc.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ public void AllNestTypesAreInNestNamespace()
147147
var exceptions = new List<Type>
148148
{
149149
nestAssembly.GetType("System.AssemblyVersionInformation"),
150+
nestAssembly.GetType("Microsoft.CodeAnalysis.EmbeddedAttribute", throwOnError: false),
151+
nestAssembly.GetType("System.Runtime.CompilerServices.IsReadOnlyAttribute", throwOnError: false),
150152
#if DOTNETCORE
151153
typeof(SynchronizedCollection<>),
152154
nestAssembly.GetType("System.ComponentModel.Browsable")

0 commit comments

Comments
 (0)