12 references to SetMode
Microsoft.CodeAnalysis.CSharp (12)
Parser\DocumentationCommentParser.cs (12)
104var saveMode = this.SetMode(LexerMode.XmlCDataSectionText); 206var saveMode = this.SetMode(LexerMode.XmlElementTag); 222this.SetMode(LexerMode.XmlDocComment); 245this.SetMode(LexerMode.XmlElementTag); 535this.SetMode(LexerMode.XmlCharacter); 564var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 582var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 607var saveMode = this.SetMode(quoteKind == SyntaxKind.SingleQuoteToken 728var saveMode = this.SetMode(LexerMode.XmlCommentText); 755var saveMode = this.SetMode(LexerMode.XmlCDataSectionText); 771var saveMode = this.SetMode(LexerMode.XmlElementTag); //this mode accepts names 777this.SetMode(LexerMode.XmlProcessingInstructionText); //this mode consumes text