Beispiel #1
0
 public Location(Uri uri, DocRange range)
 {
     this.uri   = uri;
     this.range = range;
 }
Beispiel #2
0
 public RenameLink(KeyValuePair <ICallable, SymbolLinkCollection> link, DocRange range)
 {
     Name  = link.Key.Name;
     Links = link.Value.Select(sl => sl.Location).ToArray();
     Range = range;
 }
Beispiel #3
0
 public Diagnostic(string message, DocRange range, int severity)
 {
     this.message  = message;
     this.range    = range;
     this.severity = severity;
 }
 public Location(Uri uri, DocRange range)
 {
     this.uri   = uri ?? throw new ArgumentNullException(nameof(uri));
     this.range = range ?? throw new ArgumentNullException(nameof(range));
 }
 public Diagnostic(string message, DocRange range, int severity)
 {
     this.message  = message ?? throw new NullReferenceException(nameof(message));
     this.range    = range ?? throw new NullReferenceException(nameof(range));
     this.severity = severity;
 }
 public SymbolLink(KeyValuePair <ICallable, List <Location> > link, DocRange range)
 {
     Name  = link.Key.Name;
     Links = link.Value.ToArray();
     Range = range;
 }
Beispiel #7
0
 public RenameLink(string placeholderName, DocRange sourceRange, IEnumerable <Location> links)
 {
     Name        = placeholderName;
     SourceRange = sourceRange;
     Links       = links;
 }