3 instantiations of NodeInfo
Microsoft.CodeAnalysis.Test.Utilities (3)
12 references to NodeInfo
Microsoft.CodeAnalysis.Test.Utilities (12)
Syntax\NodeHelpers.cs (11)
132public static NodeInfo GetNodeInfo(this SyntaxNodeOrToken nodeOrToken)
134NodeInfo retVal = null;
147public static NodeInfo GetNodeInfo(this SyntaxNode node)
158public static NodeInfo GetNodeInfo(this SyntaxToken token)
169public static NodeInfo GetNodeInfo(this SyntaxTrivia trivia)
206private static NodeInfo.FieldInfo GetFieldInfo(PropertyInfo prop, SyntaxNode node)
208return new NodeInfo.FieldInfo(prop.Name, prop.PropertyType, prop.GetValue(node, null));
212private static NodeInfo.FieldInfo GetFieldInfo(PropertyInfo prop, SyntaxToken token)
214return new NodeInfo.FieldInfo(prop.Name, prop.PropertyType, prop.GetValue(token, null));
218private static NodeInfo.FieldInfo GetFieldInfo(PropertyInfo prop, SyntaxTrivia trivia)
220return new NodeInfo.FieldInfo(prop.Name, prop.PropertyType, prop.GetValue(trivia, null));