projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
errors
/
cs0170.cs
diff --git
a/mcs/errors/cs0170.cs
b/mcs/errors/cs0170.cs
index 9d7f5a67ee770bc5bef9d30201cf639bc5944613..366b485d184ec7f3ae944995c8c6ed9aae997398 100644
(file)
--- a/
mcs/errors/cs0170.cs
+++ b/
mcs/errors/cs0170.cs
@@
-1,9
+1,7
@@
// CS0170: Use of possibly unassigned field `a'
-// Line: 2
3
+// Line: 2
1
-using System;
-
-namespace cs0170
+namespace CS0170
{
public struct Foo {
public int a;
@@
-21,7
+19,6
@@
namespace cs0170
Foo f;
Bar b = new Bar();
b.Inc (f.a);
- Console.WriteLine (f.a);
}
}
}