1 write to _localSymbol
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
203
_localSymbol
= localSymbol;
16 references to _localSymbol
Microsoft.CodeAnalysis.Features (16)
ExtractMethod\MethodExtractor.VariableSymbol.cs (16)
221
Contract.ThrowIfFalse(
_localSymbol
.Locations.Length == 1);
222
Contract.ThrowIfFalse(other.
_localSymbol
.Locations.Length == 1);
223
Contract.ThrowIfFalse(
_localSymbol
.Locations[0].IsInSource);
224
Contract.ThrowIfFalse(other.
_localSymbol
.Locations[0].IsInSource);
225
Contract.ThrowIfFalse(
_localSymbol
.Locations[0].SourceTree == other.
_localSymbol
.Locations[0].SourceTree);
226
Contract.ThrowIfFalse(
_localSymbol
.Locations[0].SourceSpan.Start != other.
_localSymbol
.Locations[0].SourceSpan.Start);
228
return
_localSymbol
.Locations[0].SourceSpan.Start - other.
_localSymbol
.Locations[0].SourceSpan.Start;
235
return
_localSymbol
.ToDisplayString(
243
Contract.ThrowIfFalse(
_localSymbol
.Locations.Length == 1);
244
Contract.ThrowIfFalse(
_localSymbol
.Locations[0].IsInSource);
245
Contract.ThrowIfNull(
_localSymbol
.Locations[0].SourceTree);
247
var tree =
_localSymbol
.Locations[0].SourceTree;
248
var span =
_localSymbol
.Locations[0].SourceSpan;