18 references to Prefix
Microsoft.CodeAnalysis.CSharp (6)
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
209
if (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)
15043
if (prefix != this.
Prefix
|| localName != this.LocalName)
15054
public XmlNameSyntax WithLocalName(SyntaxToken localName) => Update(this.
Prefix
, localName);
Syntax\SyntaxExtensions.cs (2)
142
Debug.Assert(parent.Name.
Prefix
is null);
148
Debug.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)
13876
Assert.Null(node.
Prefix
);
13878
var newNode = node.WithPrefix(node.
Prefix
).WithLocalName(node.LocalName);
LexicalAndXml\XmlDocCommentTests.cs (6)
1131
Assert.Null(ProcessingInstruction.Name.
Prefix
);
1164
Assert.Equal("prefix", ProcessingInstruction.Name.
Prefix
.Prefix.Text);
1165
Assert.Equal(":", ProcessingInstruction.Name.
Prefix
.ColonToken.Text);
1195
Assert.Null(ProcessingInstruction.Name.
Prefix
);
1221
Assert.Null(ProcessingInstruction.Name.
Prefix
);
1248
Assert.Null(ProcessingInstruction.Name.
Prefix
);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\Worker_DocumentationComments.cs (3)
192
var prefix = node.
Prefix
;
281
return 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 } } };