1 write to Text
Microsoft.CodeAnalysis (1)
TreeDumper.cs (1)
240
this.
Text
= text;
25 references to Text
Microsoft.CodeAnalysis (9)
TreeDumper.cs (9)
85
_sb.Append(node.
Text
);
113
if (node.
Text
is "locals" or "localFunctions"
119
if (node.
Text
is "hasErrors" or "isSuppressed" or "isRef"
125
if (node.
Text
is "functionType")
149
_sb.AppendFormat("<{0}>{1}</{0}>", node.
Text
, DumperString(node.Value));
153
_sb.AppendFormat("<{0} />", node.
Text
);
160
_sb.AppendFormat("<{0}>", node.
Text
);
181
_sb.AppendFormat("</{0}>", node.
Text
);
253
return Children.FirstOrDefault(c => c.
Text
== child);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\OperatorTests.cs (15)
3228
where node.
Text
== "operatorKind"
3238
where node != null && (node.
Text
== "eventAssignmentOperator" || node.
Text
== "compoundAssignmentOperator")
3240
where child.
Text
== "@operator" ||
3241
child.
Text
== "isAddition" ||
3242
child.
Text
== "isDynamic" ||
3243
child.
Text
== "leftConversion" ||
3244
child.
Text
== "finalConversion"
3245
select child.
Text
+ ": " +
3246
(child.
Text
switch
3250
(node.
Text
switch
3254
_ => throw ExceptionUtilities.UnexpectedValue(node.
Text
)
3267
where node.
Text
== "type"
3268
select edge.Key.
Text
+ ": " + (node.Value != null ? node.Value.ToString() : "<null>"));
3296
where node.
Text
== "dynamicMemberAccess"
Semantics\OverloadResolutionTestBase.cs (1)
39
.Where(x => x.
Text
== "method" && x.Value != null)