Base:
property
TypeKind
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.TypeKind
26 references to TypeKind
Microsoft.CodeAnalysis.CSharp (26)
Lowering\LocalRewriter\LocalRewriter_PreviousSubmissionReference.cs (1)
15Debug.Assert(targetType.TypeKind == TypeKind.Submission);
Symbols\NamespaceOrTypeSymbol.cs (1)
207if ((object?)memberT != null && memberT.TypeKind == typeKind)
Symbols\Source\SourceMemberContainerSymbol.cs (11)
783return this.TypeKind == TypeKind.Interface; 1352switch (this.TypeKind) 1452if (this.TypeKind == TypeKind.Enum) 2186if (this.TypeKind == TypeKind.Delegate) 2245if (TypeKind != TypeKind.Struct) 2270Debug.Assert(TypeKind == TypeKind.Struct); 3109switch (TypeKind) 3333if (TypeKind is TypeKind.Class) 3338switch (TypeKind) 3861Debug.Assert(TypeKind == TypeKind.Struct); 4564builder.AddNonTypeMember((this.TypeKind == TypeKind.Submission) ?
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
510switch (this.TypeKind) 524throw ExceptionUtilities.UnexpectedValue(this.TypeKind);
Symbols\Source\SourceNamedTypeSymbol.cs (3)
813switch (TypeKind) 1391if (this.TypeKind == TypeKind.Struct) 1485if (this.TypeKind == TypeKind.Class)
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (6)
281if (this.TypeKind == TypeKind.Enum) 468if (i == 0 && TypeKind == TypeKind.Class) // allow class in the first position 584if (TypeKind == TypeKind.Class) 633(TypeKind != TypeKind.Class || baseType.TypeKind == TypeKind.Interface || ((TypeDeclarationSyntax)decl.SyntaxReference.GetSyntax()).ParameterList is null)) 660var typeKind = this.TypeKind; 711var typeKind = this.TypeKind;
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (2)
46if (this.TypeKind != TypeKind.Enum) 89if (this.TypeKind != TypeKind.Enum)