20 references to CustomAttributes
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
3177foreach (var attributeHandle in MetadataReader.CustomAttributes)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
6188var attribute = reader.GetCustomAttribute(reader.CustomAttributes.Single());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests_Assembly.cs (6)
1067Assert.Equal(18, metadataReader.CustomAttributes.Count); 1114Assert.Equal(6, metadataReader.CustomAttributes.Count); 1135Assert.Equal(0, metadataReader.CustomAttributes.Count); 1188Assert.Equal(4, metadataReader.CustomAttributes.Count); 1229Assert.Equal(2, metadataReader.CustomAttributes.Count); 1250Assert.Equal(0, metadataReader.CustomAttributes.Count);
Attributes\AttributeTests_WellKnownAttributes.cs (3)
3334foreach (var ca in peReader.CustomAttributes) 4707foreach (var ca in metadataReader.CustomAttributes) 4816foreach (var ca in metadataReader.CustomAttributes)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Metadata\PE\TypeForwarders.cs (1)
1694Assert.Equal(1, peReader.CustomAttributes.Count);
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (2)
208foreach (var handle in reader.CustomAttributes) 474metadataReader.CustomAttributes.Select(a => metadataReader.GetCustomAttribute(a).Constructor)
Metadata\MetadataValidation.cs (2)
51foreach (var caHandle in metadataReader.CustomAttributes) 70foreach (var ca in metadataReader.CustomAttributes)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\EditAndContinue\EditAndContinueTests.vb (3)
1804Assert.Equal(3, reader0.CustomAttributes.Count) 1942Dim baseAttributeCount = reader0.CustomAttributes.Count 1983Dim attribute = reader.GetCustomAttribute(reader.CustomAttributes.Single())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\FieldInitializerBindingTests.vb (1)
1351For Each ca In reader.CustomAttributes