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