diff --git a/src/Verify.Xunit/VerifyBase_Namer.cs b/src/Verify.Xunit/VerifyBase_Namer.cs index 7715ad9f94..53d5d6a9e0 100644 --- a/src/Verify.Xunit/VerifyBase_Namer.cs +++ b/src/Verify.Xunit/VerifyBase_Namer.cs @@ -66,7 +66,6 @@ string GetFilePrefix() string GetAssemblyConfiguration() { var declaringTypeAssembly = Context.MethodInfo.DeclaringType.Assembly; - var customAttributes = declaringTypeAssembly.GetCustomAttributes(); var attribute = declaringTypeAssembly.GetCustomAttribute(); if (attribute != null) {