[xBuild] Support use of properties defined in Choose elements in project references
[mono.git] / mono / tests / verifier / valid_deep_nested_type_visibility.cs
1 using System;
2
3
4 class DeeplyNestedGeneratorUsingSiblingPrivateClass
5 {
6     private class Foo { public string Bar { get; set; } }
7
8     private class Deeply
9     {
10         private class Nested
11         {
12             System.Collections.Generic.IEnumerable<Foo> Generator()
13             {
14                 yield return new Foo { Bar = "blah" };
15             }
16         }
17     }
18
19     static void Main(string[] args)
20     {
21     }
22 }
23