1 override of Kind
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\DirectiveDescriptor.cs (1)
258public override DirectiveKind Kind { get; }
13 references to Kind
Microsoft.CodeAnalysis.Razor.Compiler (13)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
228switch (descriptor.Kind)
Language\DirectiveDescriptor.cs (6)
89/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.SingleLine"/> 104/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.SingleLine"/> 120/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.RazorBlock"/> 135/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.RazorBlock"/> 151/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.CodeBlock"/> 166/// Creates a new <see cref="DirectiveDescriptor"/> with <see cref="Kind"/> set to <see cref="DirectiveKind.CodeBlock"/>
Language\DirectiveDescriptorComparer.cs (3)
30descriptorX.Kind == descriptorY.Kind && 46hash.Add(descriptor.Kind);
Language\Legacy\CSharpCodeParser.cs (1)
1811switch (descriptor.Kind)
Language\Syntax\RazorDirectiveSyntax.cs (1)
20=> DirectiveDescriptor?.Kind == kind;
Language\Syntax\SyntaxSerializer.cs (1)
119WriteValue($"Directive:{{{descriptor.Directive};{descriptor.Kind};{descriptor.Usage}}}");