File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public class Runtime
8484 // We needs to replace all public constants to static readonly fields to allow
8585 // binary substitution of different Python.Runtime.dll builds in a target application.
8686
87- public static readonly int UCS = _UCS ;
87+ public static int UCS => _UCS ;
8888
8989#if UCS4
9090 internal const int _UCS = 4 ;
@@ -110,8 +110,8 @@ public class Runtime
110110 // We needs to replace all public constants to static readonly fields to allow
111111 // binary substitution of different Python.Runtime.dll builds in a target application.
112112
113- public readonly string pyversion = _pyversion ;
114- public readonly string pyver = _pyver ;
113+ public string pyversion => _pyversion ;
114+ public string pyver => _pyver ;
115115
116116#if PYTHON27
117117 internal const string _pyversion = "2.7" ;
You can’t perform that action at this time.
0 commit comments