vis2k
71d19aaff3
forgot to save
2021-08-27 22:55:25 +08:00
vis2k
9d812051a6
syntax
2021-08-27 22:55:25 +08:00
vis2k
5f359ca54b
readability
2021-08-27 22:55:25 +08:00
vis2k
8608a59056
comments
2021-08-27 22:55:25 +08:00
vis2k
5edcdaf074
syntax
2021-08-27 22:55:25 +08:00
vis2k
c8b4e64c69
comments
2021-08-27 22:55:25 +08:00
vis2k
fb1af29e87
fix Mirror.dll resolving Mirror.dll types NullReferenceException
2021-08-27 22:55:25 +08:00
vis2k
62fd06d2d5
pass resolver to weaver
2021-08-27 22:55:25 +08:00
vis2k
b822529b3f
check mirror assembly resolve result
2021-08-27 22:55:25 +08:00
vis2k
ec6e7281bc
fix comment
2021-08-27 22:55:25 +08:00
vis2k
489e55e0b7
fix Mirror.dll Resolve() issues in ReaderWriterProcessor when resolving from the passed Mirror.dll.
...
DefaultAssemblyResolver doesn't work with ILPostProcessor.
2021-08-27 22:55:25 +08:00
vis2k
d44b98395d
comment
2021-08-27 22:55:25 +08:00
vis2k
ab5b27909c
add TODO
2021-08-27 22:55:25 +08:00
vis2k
2fc649322f
fix: ILPostProcessorReflectionImporter to fix System.Private.CoreLib not being found in Resolver
2021-08-27 22:55:25 +08:00
vis2k
6a2bf0a2be
use the custom resolver
2021-08-27 22:55:25 +08:00
vis2k
633dcde64d
rename
2021-08-27 22:55:25 +08:00
vis2k
a0168976c6
better warning
2021-08-27 22:55:25 +08:00
vis2k
8874c392a7
comments
2021-08-27 22:55:25 +08:00
vis2k
3ed9be3155
ILPostProcessorAssemblyResolver: add warnings on why Resolve() failed
2021-08-27 22:55:25 +08:00
vis2k
177f1c4e46
ILPostProcessorAssemblyResolver: add logging
2021-08-27 22:55:25 +08:00
vis2k
53be22c2f0
comments, ifdef, syntax
2021-08-27 22:55:25 +08:00
vis2k
cd4380fd7c
ILPostProcessorAssemblyResolver from paul
2021-08-27 22:55:25 +08:00
vis2k
3a469aa5f7
pass Mirror.dll to Weave()
2021-08-27 22:55:25 +08:00
vis2k
551d37a153
syntax
2021-08-27 22:55:25 +08:00
vis2k
47de5bf191
fix rocks nto found exception
2021-08-27 22:55:25 +08:00
vis2k
a9b6f9d278
fix file not found cecilx exception
2021-08-27 22:55:25 +08:00
vis2k
0019d7b52f
readability
2021-08-27 22:55:25 +08:00
vis2k
4b768ad4db
better
2021-08-27 22:55:25 +08:00
vis2k
04ea14a071
fix: show strack trace
2021-08-27 22:55:25 +08:00
vis2k
b09fa0c76e
adjust to weaver preparations changes
2021-08-27 22:55:25 +08:00
vis2k
b2e4d40796
rebase squashed previous ilpostprocessor branch
2021-08-27 22:55:25 +08:00
vis2k
2f5ed7efe3
process reader/writer extensions
2021-08-27 22:55:05 +08:00
vis2k
030c173d07
WeaverTypes: import WriterExtensions too
2021-08-27 22:55:05 +08:00
vis2k
1704e24933
WeaverTypes: make imported ReaderExtensions public
2021-08-27 22:55:00 +08:00
vis2k
aff6a8a9c9
fix: WeaverTests 'type was declared in both UnityEngine.dll and UnityEngine.CoreModule.dll'
2021-08-27 22:38:18 +08:00
vis2k
851ad16a17
breaking: Weaver: add ReaderWriterProcessor [Runtime/InitializeOnLoad] Attributes without Reflection ( #2893 )
...
* breaking: Weaver: [InitializeOnLoad] attribute is now added without using Reflection.
(possibly a breaking change according to the comment, although it's not obvious why it would break)
* breaking: Weaver: [RuntimeInitializeOnLoad] attribute is now added without using Reflection.
(possibly a breaking change according to the comment, although it's not obvious why it would break)
* comments
* fix builds
2021-08-27 21:06:22 +08:00
vis2k
e87f1cb6eb
Weaver: IsEditorAssembly moved into Helpers
2021-08-26 15:38:24 +08:00
vis2k
67418620fc
Weave: WeaveFromFile simplified
2021-08-26 13:16:05 +08:00
vis2k
bf5b0e36ec
Weaver: FindMirrorRuntime changed to FindCompilationPipelineAssembly
2021-08-26 13:08:31 +08:00
vis2k
6d1a13fc27
syntax
2021-08-26 13:06:59 +08:00
vis2k
bb8268dd06
typo
2021-08-26 13:05:02 +08:00
vis2k
391613b244
Update README.md
2021-08-25 13:00:52 +08:00
Shaun He
56910a1f70
* fix: The type or namespace name 'Exception' could not be found ( #2889 )
2021-08-25 12:17:02 +08:00
vis2k
95b009a126
Weaver WeaveFromFile: remove unused parameter
2021-08-24 23:15:36 +08:00
vis2k
e8cf20847d
Weaver: move writing out of Weave()
2021-08-24 12:45:28 +08:00
vis2k
7088938bb7
Weaver: pass AssemblyResolver to Weave() so ReaderWriterProcessor can resolve Mirror.dll from CurrentAssembly's References instead of passing the AssemblyDefinition / using reflection / opening the file from Weaver / etc.
...
-> prepares for ILPostProcessor which needs to use the resolver to find it
2021-08-23 19:03:50 +08:00
vis2k
5d629b0fb7
syntax
2021-08-22 21:36:28 +08:00
vis2k
41f1c7abb8
syntax
2021-08-22 21:36:04 +08:00
vis2k
ad107e3b84
comments on why reflection is used
2021-08-22 21:33:19 +08:00
vis2k
46368df7fe
rename
2021-08-22 21:30:19 +08:00