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

Commitf506d65

Browse files
authored
Fixed polyfill for TypeBuilder.CreateType (#1261)
#1228
1 parentdb30b87 commitf506d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/runtime/Python.Runtime.15.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124
<ItemGroupCondition="'$(TargetFramework)' == 'netstandard2.0'">
125125
<PackageReferenceInclude="System.Security.Permissions"Version="4.4.0" />
126-
<PackageReferenceInclude="System.Reflection.Emit"Version="4.3.0" />
126+
<PackageReferenceInclude="System.Reflection.Emit"Version="4.7.0" />
127127
</ItemGroup>
128128

129129
<ItemGroupCondition="'$(TargetFramework)' == 'net40'">

‎src/runtime/polyfill/ReflectionPolifills.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static AssemblyBuilder DefineDynamicAssembly(this AppDomain appDomain, As
1616

1717
publicstaticTypeCreateType(thisTypeBuildertypeBuilder)
1818
{
19-
returntypeBuilder.GetTypeInfo().GetType();
19+
returntypeBuilder.CreateTypeInfo();
2020
}
2121
#endif
2222
publicstaticTGetCustomAttribute<T>(thisTypetype)whereT:Attribute

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp