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