private void AddComplexTypeAttribute(INamedTypeSymbol classType, IEnumerable<AttributeData> propertyAttributes, ReferenceType refType)
 {
     var hasComplexTypeAttribute = propertyAttributes.Any(a => a.AttributeClass.Name == "ComplexTypeAttribute");
     var assumption = _constraintBuilder.Assume(() => refType.HasComplexTypeAttribute == hasComplexTypeAttribute);
     _classAssumptions.Add(new ComplexTypeAttributeClassAssumption(classType, assumption, refType));
 }
 internal void HandleReferenceType(ReferenceType referenceType, INamedTypeSymbol type, ImmutableArray<AttributeData> typeAttributes)
 {
     AddComplexTypeAttribute(type, typeAttributes, referenceType);
 }