projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git]
/
mcs
/
tests
/
test-interpolation-07.cs
1
using System;
2
3
class CloningTests
4
{
5
static Action a;
6
7
static void Do (Action cb)
8
{
9
cb ();
10
}
11
12
static void SetupBAD ()
13
{
14
int number = 0;
15
Do(() => {
16
a = () => Console.WriteLine ($"Number: {++number}");
17
});
18
}
19
20
static void Main ()
21
{
22
SetupBAD ();
23
a ();
24
}
25
}