Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e9557e

Browse files
committed
Ignore generic types in the root namespace
1 parent5878404 commit3e9557e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pythonnet/src/runtime/assemblymanager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static void ScanAssembly(Assembly assembly) {
283283
namespaces[ns].Add(assembly,String.Empty);
284284
}
285285

286-
if(t.IsGenericTypeDefinition){
286+
if(ns!=null&&t.IsGenericTypeDefinition){
287287
GenericUtil.Register(t);
288288
}
289289
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp