Specifies that this class should be compiled after the compiler has made other (specified) classes runnable.
To indicate that the class compiler should compile this class after other classes are runnable, use the following syntax:
Class MyApp.MyClass [ DependsOn = classlist ]
A class name. For example:
[ DependsOn = MyApp.Class1 ]
A comma-separated list of class names, enclosed in parentheses. For example:
[ DependsOn = (MyApp.Class1,MyApp.Class2,...) ]
This keyword specifies that the class compiler should compile this class after making the specified classes runnable.
This keyword is useful if compilation of this class uses these other classes in the method generator logic. It is also useful if the class contains initial expressions that invoke other classes.
This keyword affects only compilation order, not runtime behavior.
The DependsOn keyword affects only classes with common values for the System
This keyword is inherited from all superclasses. If the subclass specifies a value for the keyword, that value specifies additional
classes that must be runnable before the subclass can be compiled.
By default, this keyword is not specified.