File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 11<Project >
22
33 <PropertyGroup >
4- <Version >5.9.0 </Version >
4+ <Version >5.9.1 </Version >
55 <PackageReleaseNotes >This package is distributed as .NET Standard 1.3 and .NET 4.6</PackageReleaseNotes >
66 </PropertyGroup >
77
Original file line number Diff line number Diff line change 11using log4net ;
22using System ;
3- using System . Runtime . CompilerServices ;
43using System . Security ;
54using Unity . Builder ;
65using Unity . Extension ;
@@ -19,13 +18,7 @@ protected override void Initialize()
1918
2019 public ResolveDelegate < BuilderContext > GetResolver ( ref BuilderContext context )
2120 {
22- Type declaringType ;
23-
24- unsafe
25- {
26- var parenContext = Unsafe . AsRef < BuilderContext > ( context . Parent . ToPointer ( ) ) ;
27- declaringType = parenContext . RegistrationType ;
28- }
21+ Type declaringType = context . DeclaringType ;
2922
3023 return ( ref BuilderContext c ) => LogManager . GetLogger ( declaringType ) ;
3124 }
Original file line number Diff line number Diff line change 2020 <AssemblyOriginatorKeyFile >package.snk</AssemblyOriginatorKeyFile >
2121 <DelaySign >false</DelaySign >
2222 <RootNamespace >Unity.log4net</RootNamespace >
23- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
2423 <TargetFrameworks >netstandard1.3;net46</TargetFrameworks >
2524 </PropertyGroup >
2625
You can’t perform that action at this time.
0 commit comments