FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/runtime/polyfill/ReflectionPolifills.cs at master · Sdoof/pythonnet · GitHub
Sdoof
pythonnet
Repository navigation
Code
Pull requests
1
(1)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
runtime
/
polyfill
/
ReflectionPolifills.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (19 loc) · 596 Bytes
Breadcrumbs
pythonnet
/
src
/
runtime
/
polyfill
/
ReflectionPolifills.cs
Copy path
File metadata and controls
21 lines (19 loc) · 596 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using
System
;
using
System
.
Reflection
;
using
System
.
Reflection
.
Emit
;
namespace
Python
.
Runtime
{
#if
NETSTANDARD
public
static
class
ReflectionPolifills
{
public
static
AssemblyBuilder
DefineDynamicAssembly
(
this
AppDomain
appDomain
,
AssemblyName
assemblyName
,
AssemblyBuilderAccess
assemblyBuilderAccess
)
{
return
AssemblyBuilder
.
DefineDynamicAssembly
(
assemblyName
,
assemblyBuilderAccess
)
;
}
public
static
Type
CreateType
(
this
TypeBuilder
typeBuilder
)
{
return
typeBuilder
.
GetTypeInfo
(
)
.
GetType
(
)
;
}
}
#endif
}
Back
|
FazBrowse Home
|
New Git URL