2 writes to _identifierNodeOrToken
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceLabelSymbol.cs (2)
33
_identifierNodeOrToken
= identifierNodeOrToken;
73
_identifierNodeOrToken
= default(SyntaxToken);
14 references to _identifierNodeOrToken
Microsoft.CodeAnalysis.CSharp (14)
Symbols\Source\SourceLabelSymbol.cs (14)
48
var node =
_identifierNodeOrToken
.AsNode();
59
var tk =
_identifierNodeOrToken
.AsToken();
81
return
_identifierNodeOrToken
.IsToken &&
_identifierNodeOrToken
.Parent == null
83
: ImmutableArray.Create<Location>(
_identifierNodeOrToken
.GetLocation()!);
93
if (
_identifierNodeOrToken
.IsToken)
95
if (
_identifierNodeOrToken
.Parent != null)
96
node =
_identifierNodeOrToken
.Parent.FirstAncestorOrSelf<LabeledStatementSyntax>();
100
node =
_identifierNodeOrToken
.AsNode()!.FirstAncestorOrSelf<SwitchLabelSyntax>();
130
return
_identifierNodeOrToken
;
155
&& symbol.
_identifierNodeOrToken
.Kind() != SyntaxKind.None
156
&& symbol.
_identifierNodeOrToken
.Equals(
_identifierNodeOrToken
)
162
return
_identifierNodeOrToken
.GetHashCode();