1 write to Attributes
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
53Attributes = attributes;
20 references to Attributes
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (9)
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); 1455Assert.True(context.Attributes.Length == 1); 1503Assert.True(context.Attributes.Length == 1); 1576Assert.True(context.Attributes.Length == 1);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (9)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (9)
672Assert.Equal(2, ctx1.Attributes.Length) 709Assert.Equal(2, ctx1.Attributes.Length) 746Assert.Equal(1, ctx1.Attributes.Length) 783Assert.Equal(1, ctx1.Attributes.Length) 820Assert.Equal(1, ctx1.Attributes.Length) 857Assert.Equal(1, ctx1.Attributes.Length) 937Assert.True(context.Attributes.Length = 1) 990Assert.True(context.Attributes.Length = 1) 1069Assert.True(context.Attributes.Length = 1)
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;