41 references to SingleQuoteToken
Microsoft.CodeAnalysis.CSharp (14)
Parser\DocumentationCommentParser.cs (10)
454
case SyntaxKind.
SingleQuoteToken
:
525
SyntaxToken openQuote = EatToken(this.CurrentToken.Kind == SyntaxKind.
SingleQuoteToken
526
? SyntaxKind.
SingleQuoteToken
559
var saveMode = this.SetMode(quoteKind == SyntaxKind.
SingleQuoteToken
577
var saveMode = this.SetMode(quoteKind == SyntaxKind.
SingleQuoteToken
602
var saveMode = this.SetMode(quoteKind == SyntaxKind.
SingleQuoteToken
636
var quoteKind = this.CurrentToken.Kind == SyntaxKind.
SingleQuoteToken
637
? SyntaxKind.
SingleQuoteToken
1520
case SyntaxKind.
SingleQuoteToken
:
1588
case SyntaxKind.
SingleQuoteToken
:
Parser\Lexer.cs (3)
3248
info.Kind = SyntaxKind.
SingleQuoteToken
;
3410
info.Kind = SyntaxKind.
SingleQuoteToken
;
3631
info.Kind = SyntaxKind.
SingleQuoteToken
;
Syntax\SyntaxKindFacts.cs (1)
1409
case SyntaxKind.
SingleQuoteToken
:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
121
return 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
));
3508
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind);
3510
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.EndQuoteToken.Kind);
3522
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind);
3524
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.EndQuoteToken.Kind);
3536
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind);
3538
Assert.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
));
13724
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind());
13726
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.EndQuoteToken.Kind());
13738
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind());
13740
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.EndQuoteToken.Kind());
13752
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.StartQuoteToken.Kind());
13754
Assert.Equal(SyntaxKind.
SingleQuoteToken
, node.EndQuoteToken.Kind());
LexicalAndXml\CrefLexerTests.cs (1)
450
if (token.Kind == SyntaxKind.
SingleQuoteToken
)
LexicalAndXml\NameAttributeValueLexerTests.cs (1)
414
if (token.Kind == SyntaxKind.
SingleQuoteToken
)