Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/runtime/Python.Runtime.15.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Security.Permissions" Version="4.4.0" />
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net40'">
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/polyfill/ReflectionPolifills.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static AssemblyBuilder DefineDynamicAssembly(this AppDomain appDomain, As

public static Type CreateType(this TypeBuilder typeBuilder)
{
return typeBuilder.GetTypeInfo().GetType();
return typeBuilder.CreateTypeInfo();
}
#endif
public static T GetCustomAttribute<T>(this Type type) where T: Attribute
Expand Down