question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API Request: TypeSymbolExtensions

See original GitHub issue

Forking 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:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
wwwliciouscommented, Apr 12, 2016

any progress on this?

0reactions
CyrusNajmabadicommented, Oct 28, 2022

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found