1 write to _kind
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
341_kind = kind;
10 references to _kind
Microsoft.CodeAnalysis.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (10)
359public SymbolKind? SymbolKind => (_category == SymbolCategory.Other) ? (SymbolKind)_kind : null; 360public TypeKind? TypeKind => (_category == SymbolCategory.Type) ? (TypeKind)_kind : null; 361public MethodKind? MethodKind => (_category == SymbolCategory.Method) ? (MethodKind)_kind : null; 366SymbolCategory.Other => symbol.IsKind((SymbolKind)_kind), 367SymbolCategory.Type => symbol is ITypeSymbol type && type.TypeKind == (TypeKind)_kind, 368SymbolCategory.Method => symbol is IMethodSymbol method && method.MethodKind == (MethodKind)_kind, 375SymbolCategory.Other => new XElement(nameof(SymbolKind), (SymbolKind)_kind), 376SymbolCategory.Type => new XElement(nameof(TypeKind), GetTypeKindString((TypeKind)_kind)), 377SymbolCategory.Method => new XElement(nameof(MethodKind), GetMethodKindString((MethodKind)_kind)), 413writer.WriteInt32(_kind);