5 overrides of AttributeConstructor
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\PEAttributeData.cs (1)
43public override MethodSymbol? AttributeConstructor
Symbols\Attributes\RetargetingAttributeData.cs (1)
41public override MethodSymbol? AttributeConstructor => _attributeConstructor;
Symbols\Attributes\SourceAttributeData.cs (1)
97public override MethodSymbol? AttributeConstructor
Symbols\Source\SynthesizedAttributeData.cs (2)
48public override MethodSymbol AttributeConstructor => _wellKnownMember; 78public override MethodSymbol? AttributeConstructor => _original.AttributeConstructor;
7 references to AttributeConstructor
Microsoft.CodeAnalysis.CSharp (7)
Compiler\ClsComplianceChecker.cs (2)
635if ((object)attribute.AttributeConstructor != null) // Happens in error scenarios. 637foreach (var type in attribute.AttributeConstructor.ParameterTypesWithAnnotations)
Emitter\Model\AttributeDataAdapter.cs (2)
38if (this.AttributeConstructor.IsDefaultValueTypeConstructor()) 53return (Cci.IMethodReference)moduleBeingBuilt.Translate(this.AttributeConstructor, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics);
Symbols\Attributes\AttributeData.cs (2)
44[MemberNotNullWhen(false, nameof(AttributeClass), nameof(AttributeConstructor))] 201get { return this.AttributeConstructor.GetPublicSymbol(); }
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1158MethodSymbol oldAttributeCtor = oldAttributeData.AttributeConstructor;