Comments (1)
After more digging I came to conclusion that it works as intended, because by default Compilation.Options.MetadataImportOptions
is set to Public
. Unfortunately it seems not possible to change this option from within an analyzer, that means that I need to start a new compilation when the current compilation completes.
from roslyn.
Related Issues (20)
- "Use primary constructor" does not produce a diagnostic for an empty public parameterless constructor HOT 6
- Invalid implicit conversion from long to int HOT 6
- SymbolFinder.FindReferencesAsync not returning references used as base constructor
- SymbolFinder.FindReferencesAsync not returning references used as base constructor HOT 1
- Question: MSBuildWorkspace can't open .proj file HOT 8
- Compiler should allow calling a property's setter if it doesn't affect the structure itself HOT 2
- Debug Assert error for __arglist (not handled in ref safety analysis)
- `value` parameter considered in scope in `nameof()` in event accessor attribute
- Having two embedded resources dependent on the same file causes CS1508 error HOT 2
- Better optimizations around combining string concatenation and string interpolation
- ArraySegment<T> s = []; leads to wrong initialization HOT 10
- "Use collection expression" code fix drops comments in certain cases HOT 2
- Unexpected behavior when using ref structs in foreach loop
- IDE0055 false positive with `[..XXX]` pattern HOT 14
- Compiler chooses params span overload in expression trees leading to errors HOT 8
- Invalid implicit cast of async lambda expression to Action HOT 9
- Confusing error message when using `in this` with an enum HOT 1
- Regression: static initializer not run on class (worked with the old .NET Framework compiler) HOT 4
- Collection Expression Compile Error after upgrading to SDK 8.0.3. HOT 4
- Reporting Roslyn analyzer name is inaccessible through Error list entry in VSSDK for VisualStudio 2022 17.10 HOT 8
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 roslyn.