Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0459-3.cs
blobdc11f42b58977f569c48d92f6e102b7d756f03a0
1 // CS0459: Cannot take the address of using variable `m'
2 // Line: 19
3 // Compiler options: -unsafe
5 using System;
7 struct S : IDisposable
9 public void Dispose ()
14 class X {
16 unsafe static void Main ()
18 using (S m = new S ()){
19 S* mm = &m;