50 references to GetAttributes
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (29)
Attributes\AttributeTests_WellKnownAttributes.vb (18)
2827Dim attrsLang = lang.Parameters(0).GetAttributes("System", "ParamArrayAttribute")
2828Dim attrsBoth = both.Parameters(0).GetAttributes("System", "ParamArrayAttribute")
2829Dim attrsCustom = custom.Parameters(0).GetAttributes("System", "ParamArrayAttribute")
2830Dim attrsNone = none.Parameters(0).GetAttributes("System", "ParamArrayAttribute")
6752GetAttributes("System.Runtime.CompilerServices", "AsyncStateMachineAttribute").Single().
6757GetAttributes("System.Runtime.CompilerServices", "AsyncStateMachineAttribute").Single().
6762GetAttributes("System.Runtime.CompilerServices", "IteratorStateMachineAttribute").Single().
6767GetAttributes("System.Runtime.CompilerServices", "IteratorStateMachineAttribute").Single().
6778If symbol.GetAttributes("", "MyAttribute").Any() Then
6782If Not symbol.GetAttributes("System.Diagnostics", "DebuggerNonUserCodeAttribute").Any() Then
6786If Not symbol.GetAttributes("System.Diagnostics", "DebuggerHiddenAttribute").Any() Then
6790If Not symbol.GetAttributes("System.Diagnostics", "DebuggerStepperBoundaryAttribute").Any() Then
6794If Not symbol.GetAttributes("System.Diagnostics", "DebuggerStepThroughAttribute").Any() Then
6798If Not symbol.GetAttributes("System.Runtime.CompilerServices", "CompilerGeneratedAttribute").Any() Then
6869GetAttributes("System.Runtime.CompilerServices", "AsyncStateMachineAttribute").Single().
6874GetAttributes("System.Runtime.CompilerServices", "AsyncStateMachineAttribute").Single().
6879GetAttributes("System.Runtime.CompilerServices", "IteratorStateMachineAttribute").Single().
6884GetAttributes("System.Runtime.CompilerServices", "IteratorStateMachineAttribute").Single().
Emit\NoPiaEmbedTypes.vb (11)
1741Dim attr = i.GetAttributes("System.Runtime.InteropServices", "CoClassAttribute").Single()
2401Dim attr = type.GetAttributes("System.Runtime.InteropServices", "InterfaceTypeAttribute").Single()
2404attr = type.GetAttributes("System.Runtime.InteropServices", "InterfaceTypeAttribute").Single()
2455Dim attr = type.GetAttributes("System.Runtime.InteropServices", "BestFitMappingAttribute").Single()
2458attr = type.GetAttributes("System.Runtime.InteropServices", "BestFitMappingAttribute").Single()
2503Dim attr = type.GetAttributes("System", "FlagsAttribute").Single()
2551Dim attr = type.GetAttributes("System.Reflection", "DefaultMemberAttribute").Single()
2601Dim attr = method.GetAttributes("System.Runtime.InteropServices", "LCIDConversionAttribute").Single()
2649Dim attr = method.GetAttributes("System.Runtime.InteropServices", "DispIdAttribute").Single()
2857Dim attr = method.Parameters(0).GetAttributes("System.Runtime.InteropServices", "DefaultParameterValueAttribute").Single()
2904Dim attr = type.GetAttributes("System.Runtime.InteropServices", "UnmanagedFunctionPointerAttribute").Single()
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (21)
SymbolsTests\ExtensionMethods\ExtensionMethodTests.vb (21)
1497GetAttributes("System.Runtime.CompilerServices",
1501GetAttributes("System.Runtime.CompilerServices",
1504GetAttributes("System.Runtime.CompilerServices",
1528GetAttributes("System.Runtime.CompilerServices",
1532GetAttributes("System.Runtime.CompilerServices",
1535GetAttributes("System.Runtime.CompilerServices",
1561GetAttributes("System.Runtime.CompilerServices",
1565GetAttributes("System.Runtime.CompilerServices",
1568GetAttributes("System.Runtime.CompilerServices",
1593GetAttributes("System.Runtime.CompilerServices",
1597GetAttributes("System.Runtime.CompilerServices",
1600GetAttributes("System.Runtime.CompilerServices",
1623GetAttributes("System.Runtime.CompilerServices",
1627GetAttributes("System.Runtime.CompilerServices",
1630GetAttributes("System.Runtime.CompilerServices",
1652GetAttributes("System.Runtime.CompilerServices",
1656GetAttributes("System.Runtime.CompilerServices",
1659GetAttributes("System.Runtime.CompilerServices",
1956GetAttributes("System.Runtime.CompilerServices",
1960GetAttributes("System.Runtime.CompilerServices",
1963GetAttributes("System.Runtime.CompilerServices",