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; }