3 instantiations of SourceAttributeData
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Attributes.cs (2)
296return new SourceAttributeData(Compilation, (AttributeSyntax)boundAttribute.Syntax, attributeType, attributeConstructor, hasErrors); 333return new SourceAttributeData(
Symbols\Attributes\SourceAttributeData.cs (1)
186return new SourceAttributeData(this._compilation, this.ApplicationSyntaxReference, this.AttributeClass, this.AttributeConstructor, this.CommonConstructorArguments,
25 references to SourceAttributeData
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Attributes.cs (2)
94var attribute = (SourceAttributeData?)attributeDataArray[i];
Symbols\Attributes\AttributeData.cs (1)
807Debug.Assert(attribute is SourceAttributeData);
Symbols\Attributes\RetargetingAttributeData.cs (1)
30Debug.Assert(underlying is SourceAttributeData or SynthesizedAttributeData);
Symbols\Attributes\SourceAttributeData.cs (1)
178internal SourceAttributeData WithOmittedCondition(bool isConditionallyOmitted)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1428Debug.Assert(attr is SourceAttributeData);
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
816foreach (var attributeData in _property.MemberNotNullAttributeIfExists) 824foreach (var attributeData in _property.MemberNotNullWhenAttributeIfExists)
Symbols\Source\SourcePropertySymbolBase.cs (10)
1650internal SourceAttributeData DisallowNullAttributeIfExists 1653internal SourceAttributeData AllowNullAttributeIfExists 1656internal SourceAttributeData MaybeNullAttributeIfExists 1659internal SourceAttributeData NotNullAttributeIfExists 1662internal ImmutableArray<SourceAttributeData> MemberNotNullAttributeIfExists 1665internal ImmutableArray<SourceAttributeData> MemberNotNullWhenAttributeIfExists 1670private SourceAttributeData FindAttribute(AttributeDescription attributeDescription) 1671=> (SourceAttributeData)GetAttributes().First(a => a.IsTargetAttribute(attributeDescription)); 1673private ImmutableArray<SourceAttributeData> FindAttributes(AttributeDescription attributeDescription) 1674=> GetAttributes().Where(a => a.IsTargetAttribute(attributeDescription)).Cast<SourceAttributeData>().ToImmutableArray();
Symbols\Source\SynthesizedAttributeData.cs (5)
22public static SynthesizedAttributeData Create(SourceAttributeData original) 58return SourceAttributeData.GetTargetAttributeSignatureIndex(_compilation, AttributeClass, AttributeConstructor, description); 63return SourceAttributeData.IsTargetAttribute(AttributeClass, namespaceName, typeName); 69private readonly SourceAttributeData _original; 71internal FromSourceAttributeData(SourceAttributeData original)
Symbols\Symbol.cs (1)
1529Debug.Assert(attribute is SourceAttributeData);
Symbols\TypeSymbol.cs (1)
1966if (attributeData is SourceAttributeData { ApplicationSyntaxReference: { } applicationSyntaxReference } &&