7 references to AreEquivalent
Microsoft.Cci.Extensions (7)
Extensions\CSharp\CSharpCciExtensions.cs (6)
101
if (baseType.
AreEquivalent
("System.Object"))
104
if (type.IsValueType && baseType.
AreEquivalent
("System.ValueType"))
107
if (type.IsEnum && baseType.
AreEquivalent
("System.Enum"))
726
if (baseTypeRef.
AreEquivalent
("System.Exception"))
736
if (baseTypeRef.
AreEquivalent
("System.Attribute"))
790
return attributes.FirstOrDefault(a => a.Type.
AreEquivalent
(attributeName));
Extensions\TypeExtensions.cs (1)
381
return type is IGenericTypeInstanceReference genericType && genericType.GenericType.
AreEquivalent
(typeName);