projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d948f
)
Fix Tuples.cs code generator
author
Andrea Canciani
<ranma42@gmail.com>
Thu, 26 Dec 2013 16:18:10 +0000
(17:18 +0100)
committer
Andrea Canciani
<ranma42@gmail.com>
Thu, 26 Dec 2013 16:45:46 +0000
(17:45 +0100)
The code generator in Tuple.cs did not build because of missing
escaping of a string.
mcs/class/corlib/System/Tuples.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System/Tuples.cs
b/mcs/class/corlib/System/Tuples.cs
index ac15adfec632030813461fdb69697b3390b587ce..2323505705209999b68c20960211742d8706f16e 100644
(file)
--- a/
mcs/class/corlib/System/Tuples.cs
+++ b/
mcs/class/corlib/System/Tuples.cs
@@
-881,7
+881,7
@@
public class TupleGen
Console.WriteLine ("\t\t\tvar t = other as {0};", type_name);
Console.WriteLine ("\t\t\tif (t == null) {");
Console.WriteLine ("\t\t\t\tif (other == null) return 1;");
- Console.WriteLine ("\t\t\t\tthrow new ArgumentException (
"other
");");
+ Console.WriteLine ("\t\t\t\tthrow new ArgumentException (
\"other\
");");
Console.WriteLine ("\t\t\t}");
Console.WriteLine ();