Skip to content

Commit

Permalink
SuppressDefaultInitialization -> SuppressDefaultInitializationAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Jul 30, 2024
1 parent 9bfdc4c commit 62240eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MemoryPack.Core/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ public sealed class GenerateTypeScriptAttribute : Attribute
}

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class SuppressDefaultInitialization : Attribute;
public sealed class SuppressDefaultInitializationAttribute : Attribute;
2 changes: 1 addition & 1 deletion src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ string WithEscape(ISymbol symbol)
{
if (type.IsUnmanagedType)
{
sb.Append("GanerateType unmanaged ");
sb.Append("GenerateType unmanaged ");
}
else
{
Expand Down

0 comments on commit 62240eb

Please sign in to comment.