1 write to Attributes
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
53Attributes = attributes;
14 references to Attributes
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (6)
1032Assert.True(ctx.Attributes.Length == 2); 1069Assert.True(ctx.Attributes.Length == 2); 1107Assert.True(ctx.Attributes.Length == 1); 1145Assert.True(ctx.Attributes.Length == 1); 1183Assert.True(ctx.Attributes.Length == 1); 1221Assert.True(ctx.Attributes.Length == 1);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (6)
671Assert.Equal(2, ctx1.Attributes.Length) 708Assert.Equal(2, ctx1.Attributes.Length) 745Assert.Equal(1, ctx1.Attributes.Length) 782Assert.Equal(1, ctx1.Attributes.Length) 819Assert.Equal(1, ctx1.Attributes.Length) 856Assert.Equal(1, ctx1.Attributes.Length)
Microsoft.Interop.SourceGeneration (1)
IncrementalGeneratorInitializationContextExtensions.cs (1)
37(context, ct) => SymbolEqualityComparer.Default.Equals(context.Attributes[0].AttributeClass.ContainingAssembly, context.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Object).ContainingAssembly))
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
62ImmutableArray<AttributeData> boundAttributes = context.Attributes;