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

gcs1502.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac3e383bfc871269418ce73afeea21fa862b2292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1502: The best overloaded method match for `Global.Test1(int?)' has some invalid arguments
// Line: 8

using System;

class Global {
	static void Main() {
		Console.Write(Test1((decimal?)2));
	}	
	static string Test1(int? value) {
		return "ok";
	}
}