14 references to Record
Microsoft.CodeAnalysis.CSharp (14)
Declarations\DeclarationKind.cs (1)
43case SyntaxKind.RecordDeclaration: return DeclarationKind.Record;
Declarations\DeclarationTreeBuilder.cs (2)
116DeclarationKind.Record or 675SyntaxKind.RecordDeclaration => DeclarationKind.Record,
Symbols\EnumConversions.cs (1)
20case DeclarationKind.Record:
Symbols\Source\SourceMemberContainerSymbol.cs (6)
935return this.declaration.Declarations[0].Kind == DeclarationKind.Record; 1500if (_lazyMembersDictionary != null || declaration.MemberNames.Contains(name) || declaration.Kind is DeclarationKind.Record or DeclarationKind.RecordStruct) 1928if (declaration.Kind != DeclarationKind.Record && 4161if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.RecordStruct) && declaredMembersAndInitializers.PrimaryConstructor is null) 4169if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.RecordStruct)) 4213bool isRecordClass = declaration.Kind == DeclarationKind.Record;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
83case DeclarationKind.Record:
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
128if (declaration.Kind == DeclarationKind.Record) 370if (declaration.Kind is DeclarationKind.Record or DeclarationKind.RecordStruct)
Symbols\Source\SourceNamespaceSymbol.cs (1)
412case DeclarationKind.Record: