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

cs0211.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 698d333ad97621e18ee538bdc672b29111698e5c (plain)
1
2
3
4
5
6
7
8
9
10
// cs0211.cs: Cannot take the address of the given expression
// Line: 7
// Compiler options: -unsafe

class UnsafeClass {
        unsafe UnsafeClass () {
                fixed (int* a = &(2)) {}
        }
}