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