11 references to GetCustomAttributesForToken
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
238Dim attributes As ImmutableArray(Of VisualBasicAttributeData) = GetCustomAttributesForToken(token)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
Attributes\AssemblyAttributes.vb (1)
2004Dim attributes = m.GetCustomAttributesForToken(token)
Emit\OptionalArgumentsTests.vb (4)
721Dim attributes = [module].GetCustomAttributesForToken(DirectCast(parameter, PEParameterSymbol).Handle) 993GetCustomAttributesForToken(DirectCast(parameter, PEParameterSymbol).Handle). 1453Assert.Equal(1, peModule.GetCustomAttributesForToken(f1.Handle).Length) 1456Assert.Equal(1, peModule.GetCustomAttributesForToken(f2.Handle).Length)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (5)
SymbolsTests\Metadata\MetadataTypeTests.vb (1)
85Dim emittedAttributes = DirectCast(m, PEModuleSymbol).GetCustomAttributesForToken(DirectCast(a, PENamedTypeSymbol).Handle)
SymbolsTests\Metadata\PE\LoadingAttributes.vb (4)
1404Assert.Equal("System.Runtime.CompilerServices.DecimalConstantAttribute(0, 128, 0, 0, 7)", peModule.GetCustomAttributesForToken(d1.Handle).Single().ToString()) 1407Assert.Equal("System.Runtime.CompilerServices.DateTimeConstantAttribute(634925952000000000)", peModule.GetCustomAttributesForToken(d2.Handle).Single().ToString()) 1411Assert.Equal("System.Runtime.CompilerServices.DecimalConstantAttribute(0, 128, 0, 0, 7)", peModule.GetCustomAttributesForToken(m1Parameters(0).Handle).Single().ToString()) 1415Assert.Equal("System.Runtime.CompilerServices.DateTimeConstantAttribute(634925952000000000)", peModule.GetCustomAttributesForToken(m1Parameters(1).Handle).Single().ToString())