Skip to content

Commit 62240eb

Browse files
committed
SuppressDefaultInitialization -> SuppressDefaultInitializationAttribute
1 parent 9bfdc4c commit 62240eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/MemoryPack.Core/Attributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ public sealed class GenerateTypeScriptAttribute : Attribute
155155
}
156156

157157
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
158-
public sealed class SuppressDefaultInitialization : Attribute;
158+
public sealed class SuppressDefaultInitializationAttribute : Attribute;

src/MemoryPack.Generator/MemoryPackGenerator.Emitter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ string WithEscape(ISymbol symbol)
181181
{
182182
if (type.IsUnmanagedType)
183183
{
184-
sb.Append("GanerateType unmanaged ");
184+
sb.Append("GenerateType unmanaged ");
185185
}
186186
else
187187
{

0 commit comments

Comments
 (0)