diff --git a/src/SourceGenerators/Uno.UI.SourceGenerators.Internal/DependencyObject/DependencyPropertyGenerator.cs b/src/SourceGenerators/Uno.UI.SourceGenerators.Internal/DependencyObject/DependencyPropertyGenerator.cs index dfad4fbce34c..5ef11429f8fa 100644 --- a/src/SourceGenerators/Uno.UI.SourceGenerators.Internal/DependencyObject/DependencyPropertyGenerator.cs +++ b/src/SourceGenerators/Uno.UI.SourceGenerators.Internal/DependencyObject/DependencyPropertyGenerator.cs @@ -20,7 +20,7 @@ public class DependencyPropertyGenerator : IIncrementalGenerator { private static SymbolDisplayFormat _fullyQualifiedWithoutGlobal = SymbolDisplayFormat.FullyQualifiedFormat.WithGlobalNamespaceStyle(SymbolDisplayGlobalNamespaceStyle.Omitted); - private readonly record struct AttachedPropertyData + private record AttachedPropertyData { public string? AttachedBackingFieldOwnerFullyQualifiedName { get; } public string? AttachedBackingFieldOwnerNamespace { get; } @@ -56,7 +56,7 @@ public AttachedPropertyData(ISymbol dpSymbol, AttributeData attribute, string pr } } - private readonly record struct PropertyData + private record PropertyData { public string? PropertySymbolNodeContent { get; } @@ -82,7 +82,7 @@ public PropertyData(ISymbol dpSymbol, string propertyName) } } - private readonly record struct GenerationCandidateData + private record GenerationCandidateData { #region Attribute arguments public string MetadataOptions { get; }