Skip to content

Commit e59e646

Browse files
committed
Make static
1 parent 86979e8 commit e59e646

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ValveKeyValue/ValveKeyValue/Deserialization/KVObjectBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected virtual void FinalizeState()
108108
}
109109
}
110110

111-
KVObject MakeObject(KVPartialState state)
111+
static KVObject MakeObject(KVPartialState state)
112112
{
113113
if (state.Discard)
114114
{

ValveKeyValue/ValveKeyValue/Deserialization/KVTokenReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ protected bool PeekWhitespace()
106106
return !IsEndOfFile(next) && char.IsWhiteSpace((char)next);
107107
}
108108

109-
protected bool IsEndOfFile(int value) => value == -1;
109+
protected static bool IsEndOfFile(int value) => value == -1;
110110
}
111111
}

0 commit comments

Comments
 (0)