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