Skip to content

Commit 2566dd8

Browse files
committed
Fix missing namespaces in the Disabled attribute that is conditionally compiled.
1 parent 78f4a82 commit 2566dd8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Rubberduck.Parsing/Common/DisabledAttribute.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
using System;
22

33
namespace Rubberduck.Parsing.Common
4-
{
5-
// Conditional cannot be an expression, so we use combined #if and an
6-
// non-existent flag to ensure that the code is always checked at the
7-
// compile time but omitted in non-debug builds.
8-
#if !DEBUG
9-
[Conditional("I_WILL_NEVER_EXIST_CRY_MY_BELOVED_DUCK")]
4+
{
5+
// Conditional cannot be an expression, so we use combined #if and an
6+
// non-existent flag to ensure that the code is always checked at the
7+
// compile time but omitted in non-debug builds.
8+
#if !DEBUG
9+
[System.Diagnostics.Conditional("I_WILL_NEVER_EXIST_CRY_MY_BELOVED_DUCK")]
1010
#endif
1111
[AttributeUsage(AttributeTargets.Class)]
1212
public class DisabledAttribute : Attribute

0 commit comments

Comments
 (0)