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 70407a4 commit f58974aCopy full SHA for f58974a
src/Generator/Passes/RenamePass.cs
@@ -181,6 +181,8 @@ where typedefDecl.Type.Desugar() is FunctionType
181
declarations.AddRange(@class.TemplateParameters);
182
}
183
184
+ declarations.RemoveAll(d => !d.IsGenerated);
185
+
186
var existing = declarations.Find(d => d != decl && d.Name == newName);
187
if (existing != null)
188
return CheckExisting(decl, existing);
tests/dotnet/Common/Common.Tests.cs
@@ -899,7 +899,7 @@ public void TestNonTrivialDtorInvocation()
899
using (var nonTrivialDtor = new NonTrivialDtor())
900
{
901
902
- Assert.IsTrue(NonTrivialDtor.dtorCalled);
+ Assert.IsTrue(NonTrivialDtor.DtorCalled);
903
904
905
[Test]
0 commit comments