diff --git a/external/FluentIL b/external/FluentIL index bac97f09..da152b28 160000 --- a/external/FluentIL +++ b/external/FluentIL @@ -1 +1 @@ -Subproject commit bac97f09b39512e268b8f23bf547e83474ddea18 +Subproject commit da152b288feaddf84e5ad517eb5e8f13a42d9606 diff --git a/src/AspectInjector.Core.Advice/Weavers/Processes/AdviceAroundProcess.cs b/src/AspectInjector.Core.Advice/Weavers/Processes/AdviceAroundProcess.cs index 7d78bf82..a735dd21 100644 --- a/src/AspectInjector.Core.Advice/Weavers/Processes/AdviceAroundProcess.cs +++ b/src/AspectInjector.Core.Advice/Weavers/Processes/AdviceAroundProcess.cs @@ -273,9 +273,6 @@ private void MoveBody(MethodDefinition from, MethodDefinition to) to.DebugInformation.CustomDebugInformations.Add(cdi); } - //from.DebugInformation.SequencePoints.Clear(); - //from.DebugInformation.Scope = null; - var to_vars = to.Body.Variables; foreach (var var in from.Body.Variables) to_vars.Add(new VariableDefinition(to.Module.ImportReference(var.VariableType))); diff --git a/src/AspectInjector.Core/Services/InjectionReader.cs b/src/AspectInjector.Core/Services/InjectionReader.cs index 6bb00cac..cdde15d0 100755 --- a/src/AspectInjector.Core/Services/InjectionReader.cs +++ b/src/AspectInjector.Core/Services/InjectionReader.cs @@ -77,7 +77,7 @@ protected virtual IEnumerable ExtractInterfaceInjections(IC var injectionAttributes = FindInjections(interfaceDef); var parsedList = ParseInjectionAttributes(injectionAttributes, interfaceDef); - return parsedList.SelectMany(parsed => FindApplicableMembers(target, parsed, null)); //todo: figure if we need fake metadata attribute here + return parsedList.SelectMany(parsed => FindApplicableMembers(target, parsed, null)); } diff --git a/src/AspectInjector/Program.cs b/src/AspectInjector/Program.cs index b2f6706b..a9ede450 100644 --- a/src/AspectInjector/Program.cs +++ b/src/AspectInjector/Program.cs @@ -84,8 +84,8 @@ private static void ShowVerboseHeader() { var assembly = Assembly.GetExecutingAssembly(); Console.WriteLine($"version: {assembly.GetCustomAttribute().Product} {assembly.GetCustomAttribute().InformationalVersion}"); - Console.WriteLine($"runtime: {System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription}"); - Console.WriteLine($"os: {System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier}"); + Console.WriteLine($"framework: {System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription}"); + Console.WriteLine($"runtime: {System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier}"); Console.WriteLine($"visit: https://github.com/pamidur/aspect-injector"); _headerPrinted = true; } diff --git a/tests/AspectInjector.Tests.Integrity/PDBTest.cs b/tests/AspectInjector.Tests.Integrity/PDBTest.cs new file mode 100644 index 00000000..d89eac86 --- /dev/null +++ b/tests/AspectInjector.Tests.Integrity/PDBTest.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AspectInjector.Tests.Integrity +{ + internal class PDBTest + { + + public void TestPDB() + { + // TODO :: + } + + } +}