14 references to RecordStruct
Microsoft.CodeAnalysis.CSharp (14)
Declarations\DeclarationKind.cs (1)
44
case SyntaxKind.RecordStructDeclaration: return DeclarationKind.
RecordStruct
;
Declarations\DeclarationTreeBuilder.cs (4)
117
DeclarationKind.
RecordStruct
=> true,
676
SyntaxKind.RecordStructDeclaration => DeclarationKind.
RecordStruct
,
759
else if (modifier.IsKind(SyntaxKind.ReadOnlyKeyword) && kind is DeclarationKind.Struct or DeclarationKind.
RecordStruct
)
763
else if (modifier.IsKind(SyntaxKind.RefKeyword) && kind is DeclarationKind.Struct or DeclarationKind.
RecordStruct
)
Symbols\EnumConversions.cs (1)
36
case DeclarationKind.
RecordStruct
:
Symbols\Source\SourceMemberContainerSymbol.cs (5)
943
return this.declaration.Declarations[0].Kind == DeclarationKind.
RecordStruct
;
1500
if (_lazyMembersDictionary != null || declaration.MemberNames.Contains(name) || declaration.Kind is DeclarationKind.Record or DeclarationKind.
RecordStruct
)
1929
declaration.Kind != DeclarationKind.
RecordStruct
)
4161
if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.
RecordStruct
) && declaredMembersAndInitializers.PrimaryConstructor is null)
4169
if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.
RecordStruct
))
Symbols\Source\SourceNamedTypeSymbol.cs (1)
84
case DeclarationKind.
RecordStruct
:
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
370
if (declaration.Kind is DeclarationKind.Record or DeclarationKind.
RecordStruct
)
Symbols\Source\SourceNamespaceSymbol.cs (1)
413
case DeclarationKind.
RecordStruct
: