1 write to Text
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\RegexQuery.cs (1)
73Text = text;
31 references to Text
Microsoft.CodeAnalysis.Features.UnitTests (30)
NavigateTo\RegexQueryCompilerTests.cs (30)
21Assert.Equal("readline", literal.Text); 34Assert.Equal("read", Assert.IsType<RegexQuery.Literal>(any.Children[0]).Text); 35Assert.Equal("write", Assert.IsType<RegexQuery.Literal>(any.Children[1]).Text); 37Assert.Equal("line", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 47Assert.Equal("goo", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 48Assert.Equal("bar", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 84Assert.Equal("read", Assert.IsType<RegexQuery.Literal>(any.Children[0]).Text); 85Assert.Equal("write", Assert.IsType<RegexQuery.Literal>(any.Children[1]).Text); 94Assert.Equal("go", Assert.IsType<RegexQuery.Literal>(query).Text); 103Assert.Equal("go", Assert.IsType<RegexQuery.Literal>(query).Text); 112Assert.Equal("go", Assert.IsType<RegexQuery.Literal>(query).Text); 180Assert.Equal("aa", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 181Assert.Equal("bb", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 182Assert.Equal("cc", Assert.IsType<RegexQuery.Literal>(all.Children[2]).Text); 208Assert.Equal("aa", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 209Assert.Equal("bb", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 229Assert.Equal("aa", Assert.IsType<RegexQuery.Literal>(optimized).Text); 237Assert.Equal("aa", Assert.IsType<RegexQuery.Literal>(optimized).Text); 324Assert.Equal("read", Assert.IsType<RegexQuery.Literal>(query).Text); 334Assert.Equal("goo", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 335Assert.Equal("bar", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 345Assert.Equal("goo", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 346Assert.Equal("bar", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text); 360Assert.Equal("get", Assert.IsType<RegexQuery.Literal>(first.Children[0]).Text); 361Assert.Equal("set", Assert.IsType<RegexQuery.Literal>(first.Children[1]).Text); 364Assert.Equal("value", Assert.IsType<RegexQuery.Literal>(second.Children[0]).Text); 365Assert.Equal("item", Assert.IsType<RegexQuery.Literal>(second.Children[1]).Text); 377Assert.Equal("goo", Assert.IsType<RegexQuery.Literal>(query).Text); 387Assert.Equal("read", Assert.IsType<RegexQuery.Literal>(all.Children[0]).Text); 388Assert.Equal("line", Assert.IsType<RegexQuery.Literal>(all.Children[1]).Text);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\TopLevelSyntaxTree\NavigateToSearchIndex.NavigateToSearchInfo.cs (1)
822return RegexLiteralCheckPasses(literal.Text);