Skip to content

Commit

Permalink
Merge branch 'KytheraSpecific' into UNC-245-Android-Support
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanL8 committed Mar 11, 2024
2 parents 779f8aa + 6442ed7 commit 9f38e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/Generators/CSharp/CSharpSources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ private void GenerateFieldSetter(Field field, Class @class, QualifiedType fieldT
if (field.Type.TryGetClass(out Class fieldClass) && !(fieldClass is ClassTemplateSpecialization) && !fieldClass.IsValueType)
{
var caop = fieldClass.Methods.FirstOrDefault(m => m.OperatorKind == CXXOperatorKind.Equal);
if (caop != null && caop.IsExplicitlyGenerated)
if (caop != null && caop.IsGenerated)
{
var fieldName = ((Class)field.Namespace).Layout.Fields.First(
f => f.FieldPtr == field.OriginalPtr).Name;
Expand Down

0 comments on commit 9f38e61

Please sign in to comment.