File tree 1 file changed +6
-4
lines changed
packages/cli/src/languagePlugins/csharp/testFiles/csharpFiles
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,21 @@ class Program
10
10
{
11
11
static void Main ( string [ ] args )
12
12
{
13
+ // Test for ambiguity resolution
13
14
Bun beefBun = new Bun ( ) ;
14
15
ChickenBurger . Bun chickenBun = new ChickenBurger . Bun ( ) ;
16
+ // Regular usage of imported namespaces
15
17
MyClass myClass = new MyClass ( ) ;
16
- myClass . MyMethod ( ) ;
17
18
Gordon gordon = new Gordon ( ) ;
18
19
gordon . Crowbar ( ) ;
20
+ // Class that is in no namespace
19
21
Freeman freeman = new Freeman ( ) ;
20
- freeman . Shotgun ( ) ;
22
+ // Nested classes
21
23
OuterInnerClass outerInnerClass = new OuterInnerClass ( ) ;
22
- outerInnerClass . OuterInnerMethod ( ) ;
23
24
InnerClass innerClass = new InnerClass ( ) ;
24
- innerClass . InnerMethod ( ) ;
25
+ // Enum
25
26
OrderStatus orderStatus = OrderStatus . Pending ;
27
+ // Static class
26
28
System . Math . Abs ( - 1 ) . Equals ( 1 ) . ToString ( ) ;
27
29
}
28
30
}
You can’t perform that action at this time.
0 commit comments