summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1620-3.cs
blob: 83d982f3958d313a650444eb2e39788a8feb5f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CS1620: Argument `#1' is missing `out' modifier
// Line: 24

using System;

namespace TestNamespace
{
	public class Test
	{
		public Test ()
		{
			int os;
			TestMethod (os);
			Console.WriteLine (os);
		}

		public void TestMethod (out int os)
		{
			os = 3;
		}
	}
}