@@ -64,9 +64,9 @@ private static IEnumerable<string> CreateFileContent(INamedTypeSymbol type, Comp
64
64
{ IsRecord : true , TypeKind : TypeKind . Class , IsSealed : false } => "partial record" ,
65
65
{ IsRecord : false , TypeKind : TypeKind . Class , IsSealed : true } => "sealed partial class" ,
66
66
{ IsRecord : false , TypeKind : TypeKind . Class , IsSealed : false } => "partial class" ,
67
- { IsRecord : true , TypeKind : TypeKind . Struct or TypeKind . Structure , IsReadOnly : true } => "readonly partial record struct" ,
68
- { IsRecord : false , TypeKind : TypeKind . Struct or TypeKind . Structure , IsReadOnly : true } => "readonly partial struct" ,
69
- { IsRecord : false , TypeKind : TypeKind . Struct or TypeKind . Structure , IsReadOnly : false } => "partial struct" ,
67
+ { IsRecord : true , TypeKind : TypeKind . Struct , IsReadOnly : true } => "readonly partial record struct" ,
68
+ { IsRecord : false , TypeKind : TypeKind . Struct , IsReadOnly : true } => "readonly partial struct" ,
69
+ { IsRecord : false , TypeKind : TypeKind . Struct , IsReadOnly : false } => "partial struct" ,
70
70
_ => throw new NotImplementedException ( "Could not determine whether the type is a struct, class or record." )
71
71
} ;
72
72
0 commit comments