1 write to IndexerNamePrefix
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\BoundAttributeDescriptor.cs (1)
70IndexerNamePrefix = indexerNamePrefix;
27 references to IndexerNamePrefix
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\BoundAttributeDescriptor.cs (1)
89builder.Append(IndexerNamePrefix);
Language\Extensions\DefaultTagHelperTargetExtension.cs (2)
637+ (node.AttributeName.Length - node.BoundAttribute.IndexerNamePrefix.Length) 651var dictionaryKey = node.AttributeName.AsMemory()[node.BoundAttribute.IndexerNamePrefix.Length..];
Language\Extensions\PreallocatedAttributeTargetExtension.cs (1)
162var dictionaryKey = node.AttributeName.Substring(node.BoundAttribute.IndexerNamePrefix.Length);
Language\Legacy\TagHelperBlockRewriter.cs (1)
513isMissingDictionaryKey = match.Attribute.IndexerNamePrefix?.Length == name.Length;
Language\TagHelperMatchingConventions.cs (2)
117return descriptor.IndexerNamePrefix != null && 119name.StartsWith(descriptor.IndexerNamePrefix.AsSpan(), descriptor.GetComparison());
Microsoft.CodeAnalysis.Razor.UnitTests (10)
BindTagHelperProducerTest.cs (4)
149Assert.Null(attribute.IndexerNamePrefix); 312Assert.Null(attribute.IndexerNamePrefix); 494Assert.Null(attribute.IndexerNamePrefix); 1073Assert.Equal("@bind-", attribute.IndexerNamePrefix);
ComponentTagHelperProducerTest.cs (1)
106Assert.Null(attribute.IndexerNamePrefix);
EventHandlerTagHelperProducerTest.cs (2)
97Assert.Null(attribute.IndexerNamePrefix); 231Assert.Null(attribute.IndexerNamePrefix);
KeyTagHelperProducerTest.cs (1)
71Assert.Null(attribute.IndexerNamePrefix);
RefTagHelperProducerTest.cs (1)
71Assert.Null(attribute.IndexerNamePrefix);
SplatTagHelperProducerTest.cs (1)
68Assert.Null(attribute.IndexerNamePrefix);
Microsoft.CodeAnalysis.Razor.Workspaces (9)
Completion\DirectiveAttributeCompletionItemProvider.cs (5)
154if (attribute.IsDirectiveAttribute && !attribute.IndexerNamePrefix.IsNullOrEmpty()) 195if (!attribute.IndexerNamePrefix.IsNullOrEmpty()) 198attribute.IndexerNamePrefix + Ellipsis, descriptionInfo, tagHelper, completionContext, attributeCompletions); 208if (completionContext.InAttributeName && !attribute.IndexerNamePrefix.IsNullOrEmpty()) 223var indexerNamePrefix = indexerAttribute.IndexerNamePrefix.AssumeNotNull();
Completion\TagHelperCompletionService.cs (4)
88if (!string.IsNullOrEmpty(attributeDescriptor.IndexerNamePrefix)) 90UpdateCompletions(attributeDescriptor.IndexerNamePrefix + "...", attributeDescriptor); 104if (!attributeDescriptor.IndexerNamePrefix.IsNullOrEmpty()) 106htmlNameToBoundAttribute[attributeDescriptor.IndexerNamePrefix] = attributeDescriptor;
Microsoft.CodeAnalysis.Remote.Razor (1)
DevTools\RemoteDevToolsService.cs (1)
135a.IndexerNamePrefix,