Base:
property
Name
Microsoft.CodeAnalysis.CSharp.Syntax.BaseNamespaceDeclarationSyntax.Name
15 references to Name
Microsoft.CodeAnalysis.CSharp (9)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1981
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.NamespaceKeyword), (NameSyntax?)Visit(node.
Name
) ?? throw new ArgumentNullException("name"), VisitToken(node.SemicolonToken), VisitList(node.Externs), VisitList(node.Usings), VisitList(node.Members));
_generated\2\Syntax.xml.Syntax.Generated.cs (8)
9766
if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || namespaceKeyword != this.NamespaceKeyword || name != this.
Name
|| semicolonToken != this.SemicolonToken || externs != this.Externs || usings != this.Usings || members != this.Members)
9777
public new FileScopedNamespaceDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.NamespaceKeyword, this.
Name
, this.SemicolonToken, this.Externs, this.Usings, this.Members);
9779
public new FileScopedNamespaceDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.NamespaceKeyword, this.
Name
, this.SemicolonToken, this.Externs, this.Usings, this.Members);
9781
public new FileScopedNamespaceDeclarationSyntax WithNamespaceKeyword(SyntaxToken namespaceKeyword) => Update(this.AttributeLists, this.Modifiers, namespaceKeyword, this.
Name
, this.SemicolonToken, this.Externs, this.Usings, this.Members);
9784
public FileScopedNamespaceDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.NamespaceKeyword, this.
Name
, semicolonToken, this.Externs, this.Usings, this.Members);
9786
public new FileScopedNamespaceDeclarationSyntax WithExterns(SyntaxList<ExternAliasDirectiveSyntax> externs) => Update(this.AttributeLists, this.Modifiers, this.NamespaceKeyword, this.
Name
, this.SemicolonToken, externs, this.Usings, this.Members);
9788
public new FileScopedNamespaceDeclarationSyntax WithUsings(SyntaxList<UsingDirectiveSyntax> usings) => Update(this.AttributeLists, this.Modifiers, this.NamespaceKeyword, this.
Name
, this.SemicolonToken, this.Externs, usings, this.Members);
9790
public new FileScopedNamespaceDeclarationSyntax WithMembers(SyntaxList<MemberDeclarationSyntax> members) => Update(this.AttributeLists, this.Modifiers, this.NamespaceKeyword, this.
Name
, this.SemicolonToken, this.Externs, this.Usings, members);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\ConvertNamespace\ConvertToBlockScopedNamespaceDiagnosticAnalyzer.cs (1)
53
? declaration.
Name
.GetLocation()
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
384
var nameSyntax = fileScopedNamespace.
Name
.WithAppendedTrailingTrivia(fileScopedNamespace.SemicolonToken.LeadingTrivia)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\ConvertNamespace\ConvertToBlockScopedNamespaceDiagnosticAnalyzer.cs (1)
53
? declaration.
Name
.GetLocation()
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
384
var nameSyntax = fileScopedNamespace.
Name
.WithAppendedTrailingTrivia(fileScopedNamespace.SemicolonToken.LeadingTrivia)
QuarantineTools.Tests (2)
ActiveIssueTests.cs (1)
346
ns = fsn.
Name
.ToString();
QuarantineScriptTests.cs (1)
290
ns = fsn.
Name
.ToString();