From 895115f4611afd90676872a5dc0e845c285f3ee5 Mon Sep 17 00:00:00 2001 From: Steve Gilham Date: Fri, 10 Dec 2021 14:41:23 +0000 Subject: [PATCH] Revert "Note the IL differences" This reverts commit 657a648a6a21e42ec189b17db0324af156031cc4. --- AltCover.Recorder/Recorder.fs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/AltCover.Recorder/Recorder.fs b/AltCover.Recorder/Recorder.fs index da72f5b68..25abb6440 100644 --- a/AltCover.Recorder/Recorder.fs +++ b/AltCover.Recorder/Recorder.fs @@ -172,27 +172,6 @@ module Instance = /// Gets or sets the current test method /// module private CallTrack = -// .field assembly static initonly class AltCover.Recorder.Instance/I/AsyncLocal`1>> value@175 -// .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( -// 01 00 00 00 00 00 00 00 -//... -// IL_0095: newobj instance void class AltCover.Recorder.Instance/I/AsyncLocal`1>>::.ctor() -// IL_009a: stsfld class AltCover.Recorder.Instance/I/AsyncLocal`1>> '.$Recorder'::value@175 -//... -// IL_0000: ldsfld class AltCover.Recorder.Instance/I/AsyncLocal`1>> '.$Recorder'::value@175 -// IL_0005: ret -// vs -// .field assembly static initonly class [mscorlib]System.Threading.AsyncLocal`1>> value@175 -// .custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( -// 01 00 00 00 00 00 00 00 -// ) -//... -// IL_0095: newobj instance void class [mscorlib]System.Threading.AsyncLocal`1>>::.ctor() -// IL_009a: stsfld class [mscorlib]System.Threading.AsyncLocal`1>> '.$Recorder'::value@175 -//... -// IL_0000: ldsfld class [mscorlib]System.Threading.AsyncLocal`1>> '.$Recorder'::value@175 -// IL_0005: ret - let value = AsyncLocal>() let private update l = value.Value <- Some l