Skip to content

Commit 098d22f

Browse files
committed
minor change in Converter
1 parent fd07c17 commit 098d22f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/runtime/converter.cs

+12-12
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ private Converter()
2020
{
2121
}
2222

23-
private static NumberFormatInfo nfi;
24-
private static Type objectType;
25-
private static Type stringType;
26-
private static Type singleType;
27-
private static Type doubleType;
28-
private static Type decimalType;
29-
private static Type int16Type;
30-
private static Type int32Type;
31-
private static Type int64Type;
32-
private static Type flagsType;
33-
private static Type boolType;
34-
private static Type typeType;
23+
private static readonly NumberFormatInfo nfi;
24+
private static readonly Type objectType;
25+
private static readonly Type stringType;
26+
private static readonly Type singleType;
27+
private static readonly Type doubleType;
28+
private static readonly Type decimalType;
29+
private static readonly Type int16Type;
30+
private static readonly Type int32Type;
31+
private static readonly Type int64Type;
32+
private static readonly Type flagsType;
33+
private static readonly Type boolType;
34+
private static readonly Type typeType;
3535

3636
static Converter()
3737
{

0 commit comments

Comments
 (0)