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--
  • 659
  • 1
  • 7
  • 18

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,378
  • 1
  • 18
  • 33
K--
  • 659
  • 1
  • 7
  • 18