forked from IronLanguages/ironpython3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoadTest.cs
More file actions
39 lines (32 loc) · 1.06 KB
/
LoadTest.cs
File metadata and controls
39 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
namespace IronPythonTest.LoadTest {
public class Values {
public static int GlobalName1 = 10;
public static int GlobalName2 = 20;
public static int NestedName1 = 30;
public static int NestedName2 = 40;
}
public class Name1 {
public static int Value = Values.GlobalName1;
}
public class Nested {
public class Name1 {
public static int Value = Values.NestedName1;
}
public class Name2 {
public static int Value = Values.NestedName2;
}
}
public class Name2 {
public static int Value = Values.GlobalName2;
}
}
#pragma warning disable CA1050 // Declare types in namespaces
public class NoNamespaceLoadTest {
public string HelloWorld() {
return "Hello World";
}
}
#pragma warning restore CA1050 // Declare types in namespaces