5 references to FindTargetAttribute
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (2)
1102
AttributeInfo info =
FindTargetAttribute
(MetadataReader, token, AttributeDescription.RefSafetyRulesAttribute, out foundAttributeType);
2265
return
FindTargetAttribute
(MetadataReader, hasAttribute, description, out _);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
522
var attributeInfo = PEModule.
FindTargetAttribute
(peModule.Module.MetadataReader, theParameter.Handle, AttributeDescription.DateTimeConstantAttribute, out _);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
554
Dim attributeInfo = CodeAnalysis.PEModule.
FindTargetAttribute
(peModuleSymbol.Module.MetadataReader, theParameter.Handle, AttributeDescription.DateTimeConstantAttribute, foundAttributeType)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EvaluationContext.vb (1)
273
PEModule.
FindTargetAttribute
(metadataReader, typeDefHandle, AttributeDescription.StandardModuleAttribute, foundAttributeType).HasValue Then