Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public class ConcreteGenericMethodAnalysisContext : MethodAnalysisContext

public override string DefaultName => BaseMethodContext.DefaultName;

public override string? OverrideName { get => BaseMethodContext.OverrideName; set => BaseMethodContext.OverrideName = value; }

public override MethodAttributes Attributes => BaseMethodContext.Attributes;

public override AssemblyAnalysisContext CustomAttributeAssembly => BaseMethodContext.CustomAttributeAssembly;
Expand Down
4 changes: 2 additions & 2 deletions Cpp2IL.Core/Model/Contexts/HasCustomAttributesAndName.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace Cpp2IL.Core.Model.Contexts;
namespace Cpp2IL.Core.Model.Contexts;

public abstract class HasCustomAttributesAndName(uint token, ApplicationAnalysisContext appContext)
: HasCustomAttributes(token, appContext)
{
public abstract string DefaultName { get; }

public string? OverrideName { get; set; }
public virtual string? OverrideName { get; set; }

public string Name => OverrideName ?? DefaultName;

Expand Down
Loading