There was an error while loading. Please reload this page.
1 parent 78ce59e commit e26af46Copy full SHA for e26af46
src/NHibernate/Logging.cs
@@ -1,6 +1,7 @@
1
using System;
2
using System.Configuration;
3
using System.Linq;
4
+using System.Runtime.CompilerServices;
5
6
namespace NHibernate
7
{
@@ -69,10 +70,18 @@ static LogWrapper()
69
70
}
71
72
-public static INHibernateLoggerFactory LoggerFactory => _loggerFactory;
73
+public static INHibernateLoggerFactory LoggerFactory
74
+{
75
+[MethodImpl(MethodImplOptions.NoInlining)]
76
+get => _loggerFactory;
77
+}
78
79
#pragma warning disable 618
-internal static ILoggerFactory LegacyLoggerFactory => _legacyLoggerFactory;
80
+internal static ILoggerFactory LegacyLoggerFactory
81
82
83
+get => _legacyLoggerFactory;
84
85
#pragma warning restore 618
86
87
0 commit comments