Anonymous method with this access inside an iterator needs to initialize captured...
[mono.git] / mcs / mcs / async.cs
index bb3f0f6608d36a173ebfe814db75b74d7b04af28..05f9a63f635fab3773f90e1cd5fedcbb79c8a46f 100644 (file)
@@ -488,7 +488,7 @@ namespace Mono.CSharp
                        if (mutator != null)
                                type = mutator.Mutate (type);
 
-                       List<Field> existing_fields = null;
+                       List<Field> existing_fields;
                        if (awaiter_fields.TryGetValue (type, out existing_fields)) {
                                foreach (var f in existing_fields) {
                                        if (f.IsAvailableForReuse) {