projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
tests
/
gtest-exmethod-39.cs
1
using System;
2
using Extra;
3
4
namespace Extra
5
{
6
static class S
7
{
8
public static int Prefix (this string s, string prefix)
9
{
10
return 1;
11
}
12
}
13
}
14
15
static class SimpleTest
16
{
17
public static int Prefix (this string s, string prefix, bool bold)
18
{
19
return 0;
20
}
21
}
22
23
public class M
24
{
25
public static int Main ()
26
{
27
var res = "foo".Prefix ("1");
28
if (res != 1)
29
return 1;
30
31
return 0;
32
}
33
}