9 references to _variableSymbol
Microsoft.CodeAnalysis.Features (9)
ExtractMethod\MethodExtractor.VariableInfo.cs (9)
96
_variableSymbol
.AddIdentifierTokenAnnotationPair(annotations, cancellationToken);
99
public string Name =>
_variableSymbol
.Name;
106
=>
_variableSymbol
.CanBeCapturedByLocalFunction;
108
public bool OriginalTypeHadAnonymousTypeOrDelegate =>
_variableSymbol
.SymbolType.ContainsAnonymousType();
110
public ITypeSymbol SymbolType =>
_variableSymbol
.SymbolType;
113
=> document.GetTokenWithAnnotation(
_variableSymbol
.IdentifierTokenAnnotation);
116
=> node.GetAnnotatedTokens(
_variableSymbol
.IdentifierTokenAnnotation).SingleOrDefault();
118
public SyntaxToken GetOriginalIdentifierToken(CancellationToken cancellationToken) =>
_variableSymbol
.GetOriginalIdentifierToken(cancellationToken);
121
=> this.
_variableSymbol
.CompareTo(other._variableSymbol);