Replies: 1 comment 14 replies
-
@yz-qiang So yes, absolutely, that can be done. The one thing of course to keep in mind is you do need some project surrounding your source file for us to even know what "Console" is, since that comes from the framework. Was there a specific thing you were having issues with? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Roslyn is a nice job, thanks for your contribution.
Here, I have a question about code analysis.
Given a
C#
code file, for example:"using System;
namespace std
{
class HelloWorld
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.ReadKey();
}}}
"
Whether Roslyn can output a file that each code element be resolved into the fully-qualified name?Just Like
"
using System;
namespace std
{
class HelloWorld
{
static void Main(string[] args)
{
System.Console.WriteLine("Hello World!");
System.Console.ReadKey();
}}}
“
If possible, can you show me how to implement this feature?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions