7 references to GetCustomAttributesOrThrow
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Metadata\PE\PEModuleSymbol.cs (3)
271foreach (var customAttributeHandle in Module.GetCustomAttributesOrThrow(typerefAssemblyAttributesGoHere)) 351foreach (var customAttributeHandle in _module.GetCustomAttributesOrThrow(token)) 436foreach (var attr in _module.GetCustomAttributesOrThrow(token))
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ExpressionCompilerTestBase.cs (1)
543.GetCustomAttributesOrThrow(returnParamHandle)
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Metadata\PE\PEModuleSymbol.vb (2)
163For Each customAttributeHandle In [Module].GetCustomAttributesOrThrow(typerefAssemblyAttributesGoHere) 200For Each customAttributeHandle In Me.Module.GetCustomAttributesOrThrow(token)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ExpressionCompilerTestBase.vb (1)
486Dim attributes = [module].GetCustomAttributesOrThrow(returnParamHandle).Where(Function(handle) [module].GetTargetAttributeSignatureIndex(handle, description) <> -1)