4 references to TryGetAttributeOfType
Microsoft.Cci.Extensions (4)
Extensions\CSharp\CSharpCciExtensions.cs (1)
769
if (attributes.
TryGetAttributeOfType
(attributeType, out ICustomAttribute attribute))
Writers\CSharp\CSDeclarationWriter.cs (2)
475
attributes.
TryGetAttributeOfType
(CSharpCciExtensions.NullableAttributeFullName, out ICustomAttribute nullableAttribute);
476
bool hasDynamicAttribute = attributes.
TryGetAttributeOfType
("System.Runtime.CompilerServices.DynamicAttribute", out ICustomAttribute dynamicAttribute);
Writers\CSharp\CSDeclarationWriter.Generics.cs (1)
60
parameter.Attributes.
TryGetAttributeOfType
(CSharpCciExtensions.NullableAttributeFullName, out ICustomAttribute nullableAttribute);