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-06-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0077.cs
blob
a521f77912a549ceaec5a4c5e2b0e868fbc88c4c
1
// CS0077: The `as' operator cannot be used with a non-nullable value type `ErrorCS0077.Foo'
2
// Line: 10
3
4
using
System
;
5
6
class
ErrorCS0077
{
7
struct
Foo { }
8
public static void
Main
() {
9
Foo s1
,
s2
;
10
s1
=
s2
as
ErrorCS0077
.
Foo
;
11
}
12
}
13