}
}
+ protected override bool DoFlowAnalysis (FlowAnalysisContext fc)
+ {
+ expr.FlowAnalysis (fc);
+ return base.DoFlowAnalysis (fc);
+ }
+
public override bool Resolve (BlockContext ec)
{
expr = expr.Resolve (ec);
--- /dev/null
+using System;
+
+class Test
+{
+ public static void Main()
+ {
+ object o;
+ lock (o = new object())
+ {
+ Console.WriteLine (o);
+ }
+
+ Console.WriteLine (o);
+ }
+}
</method>\r
</type>\r
</test>\r
+ <test name="test-899.cs">\r
+ <type name="Test">\r
+ <method name="Void Main()" attrs="150">\r
+ <size>49</size>\r
+ </method>\r
+ <method name="Void .ctor()" attrs="6278">\r
+ <size>7</size>\r
+ </method>\r
+ </type>\r
+ </test>\r
<test name="test-9.cs">\r
<type name="X">\r
<method name="Int32 Main(System.String[])" attrs="150">\r