Base:
property
Kind
Microsoft.CodeAnalysis.CSharp.Declaration.Kind
13 references to Kind
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\ImplicitNamedTypeSymbol.cs (3)
24
Debug.Assert(declaration.
Kind
== DeclarationKind.ImplicitClass ||
25
declaration.
Kind
== DeclarationKind.Submission ||
26
declaration.
Kind
== DeclarationKind.Script);
Symbols\Source\SourceMemberContainerSymbol.cs (7)
236
TypeKind typeKind = declaration.
Kind
.ToTypeKind();
1500
if (_lazyMembersDictionary != null || declaration.MemberNames.Contains(name) || declaration.
Kind
is DeclarationKind.Record or DeclarationKind.RecordStruct)
1928
if (declaration.
Kind
!= DeclarationKind.Record &&
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))
4213
bool isRecordClass = declaration.
Kind
== DeclarationKind.Record;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
76
switch (declaration.
Kind
)
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
128
if (declaration.
Kind
== DeclarationKind.Record)
370
if (declaration.
Kind
is DeclarationKind.Record or DeclarationKind.RecordStruct)