Comments (1)
This is a VB.NET assembly that contains the following field declaration:
Private WithEvents My_Timer As Timer
The VB compiler emits the field as a virtual property to make sure that all events are properly registered/unregistered when the value of the field (re)assigned. Unfortunately this cannot be represented in C# and I am not sure why this is even considered valid in metadata. The best we could do is not emitting the virtual
modifier, but that would not help you much, because there will be a lot of other compiler errors anyway.
See also #2602
from ilspy.
Related Issues (20)
- Assert at ICSharpCode.Decompiler.IL.ControlFlow.YieldReturnDecompiler.<ConvertBody> HOT 2
- Assert at ICSharpCode.Decompiler.IL.BlockContainer.CheckInvariant(ILPhase phase) HOT 1
- Asset at ICSharpCode.Decompiler.IL.Transforms.TransformExpressionTrees
- "Clear assemblies pane" function?
- BinaryFormatter build warnings HOT 1
- ILSpy throws exception HighlightingDefinitionInvalidException when loading Jab.Roslyn3.dll HOT 4
- Wrong path for System.Data reference in DirectWriteForwarder.dll (WPF)?
- README.md does not explain how to checkout to the release HOT 1
- Ignore (wrong repo)
- Assert at System.IndexOutOfRangeException: Index was outside the bounds of the array. HOT 4
- Type/member usage missing from analysis HOT 2
- pwsh scripts hard to see in dark theme HOT 1
- ..
- Exception when analyzing source of library with global assembly attributes.
- Methods with params keyword omit the keyword on C# export HOT 4
- Upload-artifact GH action v4 breaks the build HOT 2
- ILSpyCmd path filter option request HOT 1
- Implement IProjectFileWriter in a class
- You must install .NET to run this application... HOT 5
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 ilspy.