Comments (6)
I suppose I'm surprised it becomes stable after the first. I could understand each Write
generating a new MVID (in fact, arguably it should, just like recompiling does even though everything else remains the same).
from cecil.
I could understand each
Write
generating a new MVID (in fact, arguably it should, just like recompiling does even though everything else remains the same).
The MVID can be made deterministic. See #810.
from cecil.
As per @ltrzesniewski comment - you need to ask for deterministic behavior. But if you still get different outputs after that I would be very interested (as it would break lot of things in our usage potentially).
from cecil.
Interesting. Thanks for the test @tom-englert. Did you have a chance to look at what's happening?
from cecil.
I once tried to dig through the code, but gave up.
I remember for one experiment that there were some blocks shifted in the file, and an empty block with only 00 had appeared after the second save
However in the test that I've added in #860 the difference is more subtle:
Looks like it's not the MVID that changes.
from cecil.
Given that second file has a high(ish) value at the start makes me wonder if there's a static or instance field somewhere that does not get reset.
from cecil.
Related Issues (20)
- Constant type misidentified as primitive
- [Question] OpCodes.Conv_U
- System.IndexOutOfRangeException: Index was outside the bounds of the array HOT 1
- Constant serialization
- Update readme discussion info
- Reflection & System.Runtime [& self references?] HOT 3
- Release a new version supporting RVA field alignment HOT 1
- Unity 2022 Queue.Clear Resolve returns null.
- No way to sign a netstandard assembly from a .NET >=6 app? HOT 1
- Specified method is not supported. HOT 1
- .NET Framework 4.8.1 - Failed to resolve assembly: netstandard, Version=2.0.0.0 HOT 3
- Easiest way to map document paths in portable [embedded] PDBs?
- Stack overflow when running tests
- Failed to extract SQLite.SQLiteException
- Exception when writing assembly with a null call instruction HOT 1
- Link in README goes to betting site HOT 2
- Problem with weawing
- Possible ArgumentOutOfRangeException when there are 65535 params in metadata table HOT 3
- how to modify PrivateImplementationDetails
- Remove link in the about section in this repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cecil.