Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0716.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 48a64eb9ebcc2c251764b3625d80d0dd29ace0cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0716: Cannot convert to static type `StaticClass'
// Line: 10

static class StaticClass {
}

class MainClass {
    public static void Method (object arg)
    {
        ((StaticClass)arg).ToString ();
    }
}