1 type derived from DirectiveTokenDescriptor
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\DirectiveTokenDescriptor.cs (1)
33private class DefaultDirectiveTokenDescriptor : DirectiveTokenDescriptor
49 references to DirectiveTokenDescriptor
Microsoft.AspNetCore.Razor.Language.UnitTests (18)
DirectiveDescriptorBuilderExtensionsTest.cs (11)
19var token = Assert.Single(descriptor.Tokens); 33var token = Assert.Single(descriptor.Tokens); 47var token = Assert.Single(descriptor.Tokens); 61var token = Assert.Single(descriptor.Tokens); 75var token = Assert.Single(descriptor.Tokens); 89var token = Assert.Single(descriptor.Tokens); 103var token = Assert.Single(descriptor.Tokens); 117var token = Assert.Single(descriptor.Tokens); 131var token = Assert.Single(descriptor.Tokens); 145var token = Assert.Single(descriptor.Tokens); 159var token = Assert.Single(descriptor.Tokens);
Extensions\DesignTimeDirectiveTargetExtensionTest.cs (7)
50DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.Type), 91DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.Namespace), 132DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.Member), 173DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.String), 179DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.String), 231DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.Boolean), 271DirectiveToken = DirectiveTokenDescriptor.CreateToken(DirectiveTokenKind.String),
Microsoft.CodeAnalysis.Razor.Compiler (31)
Language\DirectiveDescriptor.cs (6)
51public abstract IReadOnlyList<DirectiveTokenDescriptor> Tokens { get; } 188Tokens = new List<DirectiveTokenDescriptor>(); 201public IList<DirectiveTokenDescriptor> Tokens { get; } 221var token = Tokens[i]; 240DirectiveTokenDescriptor[] tokens, 262public override IReadOnlyList<DirectiveTokenDescriptor> Tokens { get; }
Language\DirectiveDescriptorBuilderExtensions.cs (13)
25DirectiveTokenDescriptor.CreateToken( 47DirectiveTokenDescriptor.CreateToken( 69DirectiveTokenDescriptor.CreateToken( 91DirectiveTokenDescriptor.CreateToken( 113DirectiveTokenDescriptor.CreateToken( 135DirectiveTokenDescriptor.CreateToken( 157DirectiveTokenDescriptor.CreateToken( 179DirectiveTokenDescriptor.CreateToken( 201DirectiveTokenDescriptor.CreateToken( 223DirectiveTokenDescriptor.CreateToken( 245DirectiveTokenDescriptor.CreateToken( 262DirectiveTokenDescriptor.CreateToken( 279DirectiveTokenDescriptor.CreateToken(
Language\DirectiveTokenDescriptor.cs (3)
18public static DirectiveTokenDescriptor CreateToken(DirectiveTokenKind kind) 23public static DirectiveTokenDescriptor CreateToken(DirectiveTokenKind kind, bool optional) 28public static DirectiveTokenDescriptor CreateToken(DirectiveTokenKind kind, bool optional, string name, string description)
Language\DirectiveTokenDescriptorComparer.cs (4)
12internal class DirectiveTokenDescriptorComparer : IEqualityComparer<DirectiveTokenDescriptor> 20public bool Equals(DirectiveTokenDescriptor descriptorX, DirectiveTokenDescriptor descriptorY) 32public int GetHashCode(DirectiveTokenDescriptor descriptor)
Language\IDirectiveDescriptorBuilder.cs (1)
43IList<DirectiveTokenDescriptor> Tokens { get; }
Language\Intermediate\DirectiveTokenIntermediateNode.cs (1)
16public DirectiveTokenDescriptor DirectiveToken { get; set; }
Language\Legacy\CSharpCodeParser.cs (1)
1583var tokenDescriptor = descriptor.Tokens[i];
Language\Legacy\DirectiveTokenChunkGenerator.cs (2)
16public DirectiveTokenChunkGenerator(DirectiveTokenDescriptor tokenDescriptor) 21public DirectiveTokenDescriptor Descriptor { get; }