36 references to Add
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
PooledObjects\PooledHashSet`1.cs (2)
203Add(other[0]); 224Add(other[0]);
Microsoft.CodeAnalysis.Razor.Compiler (34)
CSharp\DefaultTagHelperDescriptorFactory.cs (1)
389!names.Add(property.Name))
Language\AllowedChildTagDescriptorBuilder.cs (2)
44diagnostics.Add(diagnostic); 54diagnostics.Add(diagnostic);
Language\BoundAttributeDescriptorBuilder.cs (8)
211diagnostics.Add(diagnostic); 223diagnostics.Add(diagnostic); 238diagnostics.Add(diagnostic); 251diagnostics.Add(diagnostic); 265diagnostics.Add(diagnostic); 273diagnostics.Add(diagnostic); 289diagnostics.Add(diagnostic); 302diagnostics.Add(diagnostic);
Language\BoundAttributeParameterDescriptorBuilder.cs (2)
91diagnostics.Add(diagnostic); 104diagnostics.Add(diagnostic);
Language\Components\ComponentLoweringPass.cs (5)
265result.Add(property.AttributeName); 283result.Add(typeParam.Name); 303markupAttributeNames.Add(property.AttributeName); 320genericParamNames.Add(attr.Name); 327nonGenericParamNames.Add(attr.Name);
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (1)
149var isDuplicateBound = hasMatches && !renderedBoundAttributeNames.Add(attributeName);
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (2)
126if (!matches.Any() || !renderedBoundAttributeNames.Add(attributeName)) 274if (matches.Any() && renderedBoundAttributeNames.Add(attributeName))
Language\RazorSyntaxTree.cs (2)
55diagnosticSet.Add(diagnostic); 64diagnosticSet.Add(diagnostic);
Language\RequiredAttributeDescriptorBuilder.cs (3)
66diagnostics.Add(diagnostic); 84diagnostics.Add(diagnostic); 94diagnostics.Add(diagnostic);
Language\TagHelperObjectBuilderCollection`2.cs (1)
76if (set.Add(item))
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (3)
141cascadeGenericTypeAttributes.Add(value); 662names.Add(property.Name); 695names.Add(property.Name);
Language\TagMatchingRuleDescriptorBuilder.cs (4)
63diagnostics.Add(diagnostic); 73diagnostics.Add(diagnostic); 84diagnostics.Add(diagnostic); 94diagnostics.Add(diagnostic);