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
2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0019-37.cs
blob
b326a0dd6d666ea3b0bf12cb8f4634a0c7bb0080
1
// CS0019: Operator `==' cannot be applied to operands of type `bool' and `int'
2
// Line: 10
3
4
class
C
5
{
6
static bool
HasSessionId
(
string
path
)
7
{
8
if
(
path
==
null
||
path
.
Length
<
5
)
9
return false
;
10
11
return
path
.
StartsWith
(
"/("
) ==
0
;
12
}
13
}