repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs3005-25.cs
blob
b9410e32b7358b8a39092bade3aaf53ae0c9065d
1
// CS3005: Identifier `Foo.main()' differing only in case is not CLS-compliant
2
// Line: 9
3
// Compiler options: -warnaserror
4
5
using
System
;
6
[
assembly
:
CLSCompliant
(
false
)]
7
8
[
CLSCompliant
(
true
)]
9
public class
Foo
{
10
public static void
Main
() {}
11
public static void
main
() {}
12
}