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