Skip to content

Commit 0b00a5b

Browse files
author
Edward Thomson
committed
Merge pull request #1317 from libgit2/cmn/leakscontainer-string
Check for LeaksContainer via a string
2 parents 8e7ff87 + 292b878 commit 0b00a5b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

LibGit2Sharp.Tests/MetaFixture.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,7 @@ public void NoPublicTypesUnderLibGit2SharpCoreNamespace()
305305
// Ugly hack to circumvent a Mono bug
306306
// cf. https://bugzilla.xamarin.com/show_bug.cgi?id=27010
307307
.Where(t => !t.FullName.Contains("+"))
308-
309-
#if LEAKS_IDENTIFYING
310-
.Where(t => t != typeof(LibGit2Sharp.Core.LeaksContainer))
311-
#endif
308+
.Where(t => t.FullName != "LibGit2Sharp.Core.LeaksContainer")
312309
.ToList();
313310

314311
if (types.Any())

0 commit comments

Comments
 (0)