projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc8645c
)
New test.
author
Marek Safar
<marek.safar@gmail.com>
Mon, 9 Jun 2008 11:21:46 +0000
(11:21 -0000)
committer
Marek Safar
<marek.safar@gmail.com>
Mon, 9 Jun 2008 11:21:46 +0000
(11:21 -0000)
svn path=/trunk/mcs/; revision=105293
mcs/errors/cs0019-37.cs
[new file with mode: 0755]
patch
|
blob
diff --git a/mcs/errors/cs0019-37.cs
b/mcs/errors/cs0019-37.cs
new file mode 100755
(executable)
index 0000000..
b326a0d
--- /dev/null
+++ b/
mcs/errors/cs0019-37.cs
@@ -0,0
+1,13
@@
+// CS0019: Operator `==' cannot be applied to operands of type `bool' and `int'
+// Line: 10
+
+class C
+{
+ static bool HasSessionId (string path)
+ {
+ if (path == null || path.Length < 5)
+ return false;
+
+ return path.StartsWith ("/(") == 0;
+ }
+}