示例#1
0
 public override IUnresolvedTypeDefinition GetInnermostTypeDefinition(TextLocation location)
 {
     return(parsedFile.GetInnermostTypeDefinition(location));
 }
示例#2
0
 /// <summary>
 /// Gets the type (potentially a nested type) defined at the specified location.
 /// Returns null if no type is defined at that location.
 /// </summary>
 public static IUnresolvedTypeDefinition GetInnermostTypeDefinition(this IParsedFile file, int line, int column)
 {
     return(file.GetInnermostTypeDefinition(new TextLocation(line, column)));
 }