Exemple #1
0
	unsafe static void UnsafeTests ()
	{
		UnsafeClass v = new UnsafeClass ();
		Test (delegate () {
			int i = *v.GetUnsafeValue ();
		});
	}
Exemple #2
0
    unsafe static void UnsafeTests()
    {
        UnsafeClass v = new UnsafeClass();

        Test(delegate() {
            int i = *v.GetUnsafeValue();
        });
    }
Exemple #3
0
	unsafe static void UnsafeTests ()
	{
		UnsafeClass v = new UnsafeClass ();
		Test (delegate () {
			int i = *v.GetUnsafeValue ();
		});

		Test (delegate () {
			byte* buffer = stackalloc byte[8192];
		});
	}
    unsafe static void UnsafeTests()
    {
        UnsafeClass v = new UnsafeClass();

        Test(delegate() {
            int i = *v.GetUnsafeValue();
        });

        Test(delegate() {
            byte *buffer = stackalloc byte[8192];
        });
    }