12 references to SetMode
Microsoft.CodeAnalysis.CSharp (12)
Parser\DocumentationCommentParser.cs (12)
103
var saveMode = this.
SetMode
(LexerMode.XmlCDataSectionText);
205
var saveMode = this.
SetMode
(LexerMode.XmlElementTag);
221
this.
SetMode
(LexerMode.XmlDocComment);
244
this.
SetMode
(LexerMode.XmlElementTag);
530
this.
SetMode
(LexerMode.XmlCharacter);
559
var saveMode = this.
SetMode
(quoteKind == SyntaxKind.SingleQuoteToken
577
var saveMode = this.
SetMode
(quoteKind == SyntaxKind.SingleQuoteToken
602
var saveMode = this.
SetMode
(quoteKind == SyntaxKind.SingleQuoteToken
723
var saveMode = this.
SetMode
(LexerMode.XmlCommentText);
750
var saveMode = this.
SetMode
(LexerMode.XmlCDataSectionText);
766
var saveMode = this.
SetMode
(LexerMode.XmlElementTag); //this mode accepts names
772
this.
SetMode
(LexerMode.XmlProcessingInstructionText); //this mode consumes text