API Request: TypeSymbolExtensions
See original GitHub issueForking this feature request from #16
Original post: https://github.com/dotnet/roslyn/issues/16#issuecomment-70846421 by @MrJul
Pertinent APIs: http://source.roslyn.codeplex.com/#Microsoft.CodeAnalysis.CSharp/Symbols/TypeSymbolExtensions.cs,8f632696b9da5eba
In my team, I’ve seen different developers copy-paste portions of ITypeSymbolExtensions into our own project (e.g. IsNullableType
, GetNullableUnderlyingType
, GetBaseTypes
), which is a shame - these methods are a convenience I’m sure many other people will find useful as well.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
TypeSymbolExtensions.cs
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Read more >Getting System.Type from TypeSymbol in roslyn analyzer
I want to create a diagnostic analyzer to check if a class can be instantiated. I have my class declaration and I'm trying...
Read more >NamedTypeSymbol, Microsoft.CodeAnalysis. ...
C# (CSharp) Microsoft.CodeAnalysis.CSharp.Symbols NamedTypeSymbol - 60 examples found. These are the top rated real world C# (CSharp) examples of Microsoft.
Read more >bin/Roslyn.Compilers.CSharp.xml 1.0.4.0
Method to early decode certain well-known attributes which can be queried by the binder. This method is called during attribute binding after we...
Read more >open_source_license_VMware_...
... google.apis.auth-1.40.3 >>> netstoragekit.standard-1.0.5 ... wcf-service-with-wshttpbinding-manipulating-http-request-headers-unknown >>> Use Task.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any progress on this?
A request for this should go through our “api proposal” path. Note that these APIs are unlikely to be exposed as they are really ‘feature-level’ apis that encode feature semantics and change as necessary. As a public API we would be unable to do that as it would likely break people (or every change would need some way to make it opt-in only, which would greatly increase complexity).