18 references to Prefix
Microsoft.CodeAnalysis.CSharp (6)
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
209if (nameSyntax != null && nameSyntax.Prefix == null &&
Syntax.xml.Main.Generated.cs (1)
2158=> node.Update((XmlPrefixSyntax?)Visit(node.Prefix), VisitToken(node.LocalName));
Syntax.xml.Syntax.Generated.cs (2)
15043if (prefix != this.Prefix || localName != this.LocalName) 15054public XmlNameSyntax WithLocalName(SyntaxToken localName) => Update(this.Prefix, localName);
Syntax\SyntaxExtensions.cs (2)
142Debug.Assert(parent.Name.Prefix is null); 148Debug.Assert(parent.Name.Prefix is null);
Microsoft.CodeAnalysis.CSharp.Features (1)
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
288=> name.Prefix == null &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
13876Assert.Null(node.Prefix); 13878var newNode = node.WithPrefix(node.Prefix).WithLocalName(node.LocalName);
LexicalAndXml\XmlDocCommentTests.cs (6)
1131Assert.Null(ProcessingInstruction.Name.Prefix); 1164Assert.Equal("prefix", ProcessingInstruction.Name.Prefix.Prefix.Text); 1165Assert.Equal(":", ProcessingInstruction.Name.Prefix.ColonToken.Text); 1195Assert.Null(ProcessingInstruction.Name.Prefix); 1221Assert.Null(ProcessingInstruction.Name.Prefix); 1248Assert.Null(ProcessingInstruction.Name.Prefix);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\Worker_DocumentationComments.cs (3)
192var prefix = node.Prefix; 281return node is XmlElementStartTagSyntax { Name: XmlNameSyntax { Prefix: null, LocalName: SyntaxToken { Text: DocumentationCommentXmlNames.SeeElementName } } } 282|| node is XmlEmptyElementSyntax { Name: XmlNameSyntax { Prefix: null, LocalName: SyntaxToken { Text: DocumentationCommentXmlNames.SeeElementName } } };