From a819ab891653a6eb8443e2951c7e02ac8412ab32 Mon Sep 17 00:00:00 2001 From: Hamlet Tanyavong <34531738+HamletTanyavong@users.noreply.github.com> Date: Fri, 27 Oct 2023 08:11:40 -0500 Subject: [PATCH] Update DerivativesBuilder.cs - Rename parameter --- .../SourceBuilders/DerivativesBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mathematics.NET.SourceGenerators/SourceBuilders/DerivativesBuilder.cs b/src/Mathematics.NET.SourceGenerators/SourceBuilders/DerivativesBuilder.cs index 4ee72477..71f7fa40 100644 --- a/src/Mathematics.NET.SourceGenerators/SourceBuilders/DerivativesBuilder.cs +++ b/src/Mathematics.NET.SourceGenerators/SourceBuilders/DerivativesBuilder.cs @@ -38,9 +38,9 @@ public sealed class DerivativesBuilder private readonly string _assemblyName; private readonly ImmutableArray _methodInformation; - public DerivativesBuilder(Compilation compilationUnitSyntax, ImmutableArray methodInformation) + public DerivativesBuilder(Compilation compilation, ImmutableArray methodInformation) { - _assemblyName = compilationUnitSyntax.AssemblyName!; + _assemblyName = compilation.AssemblyName!; _methodInformation = methodInformation; }