17 overrides of HasCollectionBuilderAttribute
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
307internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
347internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\ErrorTypeSymbol.cs (1)
584internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2902internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\NativeIntegerTypeSymbol.cs (1)
290internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
451internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
191internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1375internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
446internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
249internal override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
937internal override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\SynthesizedContainer.cs (1)
226internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
223internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
158internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
174internal override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
178internal override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MockNamedTypeSymbol.cs (1)
365internal sealed override bool HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName)
12 references to HasCollectionBuilderAttribute
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
1039bool result = namedType.HasCollectionBuilderAttribute(out TypeSymbol? builderType, out string? methodName);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1674else if ((destination as NamedTypeSymbol)?.HasCollectionBuilderAttribute(out _, out _) == true)
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
453bool result = _underlyingType.HasCollectionBuilderAttribute(out builderType, out methodName);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
448return _underlyingType.HasCollectionBuilderAttribute(out builderType, out methodName);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\CollectionExpressionTests.cs (8)
17188Assert.True(collectionType.HasCollectionBuilderAttribute(out builderType, out methodName)); 19289Assert.True(collectionType.HasCollectionBuilderAttribute(out builderType, out methodName)); 19295Assert.True(originalType.HasCollectionBuilderAttribute(out builderType, out methodName)); 19349Assert.True(collectionType.HasCollectionBuilderAttribute(out builderType, out methodName)); 19355Assert.True(originalType.HasCollectionBuilderAttribute(out builderType, out methodName)); 19406Assert.False(collectionType.HasCollectionBuilderAttribute(out _, out _)); 19410Assert.False(originalType.HasCollectionBuilderAttribute(out _, out _)); 19459Assert.True(collectionType.HasCollectionBuilderAttribute(out builderType, out methodName));