41 references to SingleQuoteToken
Microsoft.CodeAnalysis.CSharp (14)
Parser\DocumentationCommentParser.cs (10)
454case SyntaxKind.SingleQuoteToken: 525SyntaxToken openQuote = EatToken(this.CurrentToken.Kind == SyntaxKind.SingleQuoteToken 526? SyntaxKind.SingleQuoteToken 559var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 577var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 602var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 636var quoteKind = this.CurrentToken.Kind == SyntaxKind.SingleQuoteToken 637? SyntaxKind.SingleQuoteToken 1520case SyntaxKind.SingleQuoteToken: 1588case SyntaxKind.SingleQuoteToken:
Parser\Lexer.cs (3)
3215info.Kind = SyntaxKind.SingleQuoteToken; 3377info.Kind = SyntaxKind.SingleQuoteToken; 3598info.Kind = SyntaxKind.SingleQuoteToken;
Syntax\SyntaxKindFacts.cs (1)
1409case SyntaxKind.SingleQuoteToken:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
121return token.Kind() is SyntaxKind.DoubleQuoteToken or SyntaxKind.SingleQuoteToken &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (26)
Generated\Syntax.Test.xml.Generated.cs (24)
665=> InternalSyntaxFactory.XmlTextAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 668=> InternalSyntaxFactory.XmlCrefAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateTypeCref(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 671=> InternalSyntaxFactory.XmlNameAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 3508Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind); 3510Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind); 3522Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind); 3524Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind); 3536Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind); 3538Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind); 10881=> SyntaxFactory.XmlTextAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.EqualsToken), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 10884=> SyntaxFactory.XmlCrefAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.EqualsToken), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateTypeCref(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 10887=> SyntaxFactory.XmlNameAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.EqualsToken), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken)); 13724Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind()); 13726Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind()); 13738Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind()); 13740Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind()); 13752Assert.Equal(SyntaxKind.SingleQuoteToken, node.StartQuoteToken.Kind()); 13754Assert.Equal(SyntaxKind.SingleQuoteToken, node.EndQuoteToken.Kind());
LexicalAndXml\CrefLexerTests.cs (1)
450if (token.Kind == SyntaxKind.SingleQuoteToken)
LexicalAndXml\NameAttributeValueLexerTests.cs (1)
414if (token.Kind == SyntaxKind.SingleQuoteToken)