projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unify naming convention for all 2.0 files
[mono.git]
/
mcs
/
errors
/
cs0019-48.cs
diff --git a/mcs/errors/cs0019-48.cs
b/mcs/errors/cs0019-48.cs
new file mode 100644
(file)
index 0000000..
83c6d2e
--- /dev/null
+++ b/
mcs/errors/cs0019-48.cs
@@ -0,0
+1,10
@@
+// CS0019: Operator `??' cannot be applied to operands of type `T' and `T'
+// Line: 8
+
+class F
+{
+ T Bar<T> (T t)
+ {
+ return t ?? default(T);
+ }
+}