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