1

Maybe it's quite easy but I cannot find a way to do this

[ExecuteAlways] // some third party attribute
public class A  // and this class is also third party
{

}

// I don't want the ExecuteAlwasy attribute in B
// [!ExecuteAlways] < this is what I want
public class B : A
{

}

So how can I remove the attribute for only class B? Note that class A is not editable.

K--
  • 629
  • 1
  • 7
  • 16

1 Answers1

0

Both the codes of the parent class A and attribute [ExecuteAlways] are not editable. I don't believe there is a way to disable this attribute in B.

franiis
  • 1,316
  • 1
  • 16
  • 31
K--
  • 629
  • 1
  • 7
  • 16