Skip to content

Commit 38cda58

Browse files
committed
Added method impl aggressive inlining to more log methods.
1 parent edc5235 commit 38cda58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtime/DevConsoleMono.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,13 @@ internal void LogCollection<T>(in IReadOnlyCollection<T> collection, Func<T, str
549549
);
550550
}
551551

552+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
552553
internal void LogCommand()
553554
{
554555
LogCommand(_currentCommand);
555556
}
556557

558+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
557559
internal void LogCommand(string name)
558560
{
559561
if (!GetCommand(name, out Command command))

0 commit comments

Comments
 (0)