projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git]
/
mcs
/
tests
/
test-anon-132.cs
1
using System;
2
using System.Collections.Generic;
3
4
public class Program {
5
6
public static void Assert (Action<int> action)
7
{
8
action (42);
9
}
10
11
public static void Foo<T> (IList<T> list)
12
{
13
Assert (i => {
14
T [] backup = new T [list.Count];
15
});
16
}
17
18
public static void Main (string [] args)
19
{
20
Foo (args);
21
}
22
}