Exemplo n.º 1
0
        public static List <ILocation> SourceLocation(SyntaxTree tree, SyntaxToken token)
        {
            var s = new SourceLocationWrapper(tree, token.Span);
            var l = (ILocation)s;

            return(new List <ILocation> {
                l
            });
        }
Exemplo n.º 2
0
        public static List <ILocation> SourceLocation(SyntaxTree tree, CSharpSyntaxNode node)
        {
            var s = new SourceLocationWrapper(tree, node.Span);
            var l = (ILocation)s;

            return(new List <ILocation> {
                l
            });
        }
Exemplo n.º 3
0
        public static List <ILocation> SourceLocation(CommonSyntaxTree tree, Microsoft.CodeAnalysis.CSharp.SyntaxToken token)
        {
            var s = new SourceLocationWrapper(tree, token.Span);
            var l = (ILocation)s;

            return(new List <ILocation> {
                l
            });
        }
Exemplo n.º 4
0
 public static List<ILocation> SourceLocation(CommonSyntaxTree tree, Microsoft.CodeAnalysis.CSharp.SyntaxToken token) {
   var s = new SourceLocationWrapper(tree, token.Span);
   var l = (ILocation)s;
   return new List<ILocation> { l };
 }
Exemplo n.º 5
0
 public static List<ILocation> SourceLocation(SyntaxTree tree, SyntaxToken token) {
   var s = new SourceLocationWrapper(tree, token.Span);
   var l = (ILocation)s;
   return new List<ILocation> { l };
 }
Exemplo n.º 6
0
 public static List<ILocation> SourceLocation(SyntaxTree tree, CSharpSyntaxNode node) {
   var s = new SourceLocationWrapper(tree, node.Span);
   var l = (ILocation)s;
   return new List<ILocation> { l };
 }