File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public class Runtime
84
84
// We needs to replace all public constants to static readonly fields to allow
85
85
// binary substitution of different Python.Runtime.dll builds in a target application.
86
86
87
- public static readonly int UCS = _UCS ;
87
+ public static int UCS => _UCS ;
88
88
89
89
#if UCS4
90
90
internal const int _UCS = 4 ;
@@ -110,8 +110,8 @@ public class Runtime
110
110
// We needs to replace all public constants to static readonly fields to allow
111
111
// binary substitution of different Python.Runtime.dll builds in a target application.
112
112
113
- public readonly string pyversion = _pyversion ;
114
- public readonly string pyver = _pyver ;
113
+ public string pyversion => _pyversion ;
114
+ public string pyver => _pyver ;
115
115
116
116
#if PYTHON27
117
117
internal const string _pyversion = "2.7" ;
You can’t perform that action at this time.
0 commit comments