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