nikhilk/scriptsharp — Issue #117: Getting error Check that your C# source on legitimate C# code
Author: aronmek
Created: 2011-10-30 19:31:28+00:00
State: open

Here is the code

public class Utilizer {
public static void Crash(Container container) {
container.Utilizer.Crahser();
}

private void Crahser() {

}
}

public class Container {

private Utilizer utilizer;

public Utilizer Utilizer {
get {
return utilizer;
}
set {
utilizer = value;
}
}
}

looks like because it's calling a method from an instance variable in the argument of the same type of the static method.