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

cs1503.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c006bcd14283b5e008679c7f71e977d3516bc438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1503: Argument `#1' cannot convert `int' expression to type `bool'
// Line: 15

class A
{
	public static void Foo (bool test)
	{
	}
}

class B
{
	public static void Main()
	{
		A.Foo (1);
	}
}