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