We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d389a commit a8165a3Copy full SHA for a8165a3
src/Generator/AST/Utils.cs
@@ -39,6 +39,10 @@ public static bool CheckIgnoreMethod(Method method)
39
if (method.Access == AccessSpecifier.Private && !method.IsOverride && !method.IsExplicitlyGenerated)
40
return true;
41
42
+ // operator= does not make sense on static classes, but might be generated anyway, so ignore here
43
+ if (method.OperatorKind == CXXOperatorKind.Equal && @class != null && @class.IsStatic)
44
+ return true;
45
+
46
// Ignore copy constructor if a base class don't has or has a private copy constructor
47
if (method.IsCopyConstructor)
48
{
0 commit comments