File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -47,32 +47,12 @@ private static void WriteStarId(EscapingTextWriter writer)
47
47
48
48
public sealed override void WriteQuotedId ( EscapingTextWriter writer )
49
49
{
50
- if ( Context . ExtractionContext . IsStandalone )
51
- {
52
- WriteStarId ( writer ) ;
53
- return ;
54
- }
55
- base . WriteQuotedId ( writer ) ;
50
+ WriteStarId ( writer ) ;
56
51
}
57
52
58
53
public override void WriteId ( EscapingTextWriter trapFile )
59
54
{
60
- if ( Context . ExtractionContext . IsStandalone )
61
- {
62
- WriteStarId ( trapFile ) ;
63
- return ;
64
- }
65
-
66
- trapFile . Write ( "loc," ) ;
67
- trapFile . WriteSubId ( FileEntity ) ;
68
- trapFile . Write ( ',' ) ;
69
- trapFile . Write ( Position . Span . Start . Line + 1 ) ;
70
- trapFile . Write ( ',' ) ;
71
- trapFile . Write ( Position . Span . Start . Character + 1 ) ;
72
- trapFile . Write ( ',' ) ;
73
- trapFile . Write ( Position . Span . End . Line + 1 ) ;
74
- trapFile . Write ( ',' ) ;
75
- trapFile . Write ( Position . Span . End . Character ) ;
55
+ WriteStarId ( trapFile ) ;
76
56
}
77
57
78
58
private class SourceLocationFactory : CachedEntityFactory < Microsoft . CodeAnalysis . Location , NonGeneratedSourceLocation >
You can’t perform that action at this time.
0 commit comments