Base:
property
Identifier
Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeDeclarationSyntax.Identifier
44 references to Identifier
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (2)
71(recordDeclaration.TypeParameterList == null) ? recordDeclaration.Identifier.Span : 72TextSpan.FromBounds(recordDeclaration.Identifier.Span.Start, recordDeclaration.TypeParameterList.Span.End)));
Syntax.xml.Main.Generated.cs (1)
2005=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Keyword), VisitToken(node.ClassOrStructKeyword), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList), (BaseListSyntax?)Visit(node.BaseList), VisitList(node.ConstraintClauses), VisitToken(node.OpenBraceToken), VisitList(node.Members), VisitToken(node.CloseBraceToken), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (13)
10925if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || keyword != this.Keyword || classOrStructKeyword != this.ClassOrStructKeyword || identifier != this.Identifier || typeParameterList != this.TypeParameterList || parameterList != this.ParameterList || baseList != this.BaseList || constraintClauses != this.ConstraintClauses || openBraceToken != this.OpenBraceToken || members != this.Members || closeBraceToken != this.CloseBraceToken || semicolonToken != this.SemicolonToken) 10936public new RecordDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10938public new RecordDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10940public new RecordDeclarationSyntax WithKeyword(SyntaxToken keyword) => Update(this.AttributeLists, this.Modifiers, keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10941public RecordDeclarationSyntax WithClassOrStructKeyword(SyntaxToken classOrStructKeyword) => Update(this.AttributeLists, this.Modifiers, this.Keyword, classOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10945public new RecordDeclarationSyntax WithTypeParameterList(TypeParameterListSyntax? typeParameterList) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, typeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10947public new RecordDeclarationSyntax WithParameterList(ParameterListSyntax? parameterList) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, parameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10949public new RecordDeclarationSyntax WithBaseList(BaseListSyntax? baseList) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, baseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10951public new RecordDeclarationSyntax WithConstraintClauses(SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, constraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10953public new RecordDeclarationSyntax WithOpenBraceToken(SyntaxToken openBraceToken) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, openBraceToken, this.Members, this.CloseBraceToken, this.SemicolonToken); 10955public new RecordDeclarationSyntax WithMembers(SyntaxList<MemberDeclarationSyntax> members) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, members, this.CloseBraceToken, this.SemicolonToken); 10957public new RecordDeclarationSyntax WithCloseBraceToken(SyntaxToken closeBraceToken) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, closeBraceToken, this.SemicolonToken); 10959public new RecordDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.Keyword, this.ClassOrStructKeyword, this.Identifier, this.TypeParameterList, this.ParameterList, this.BaseList, this.ConstraintClauses, this.OpenBraceToken, this.Members, this.CloseBraceToken, semicolonToken);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Semantics\RecordTests.cs (16)
21603Assert.Equal("C", recordDeclarations[0].Identifier.ValueText); 21605Assert.Equal("C", recordDeclarations[1].Identifier.ValueText); 21664Assert.Equal("C", recordDeclarations[0].Identifier.ValueText); 21667Assert.Equal("C", recordDeclarations[1].Identifier.ValueText); 21732Assert.Equal("C", recordDeclarations[0].Identifier.ValueText); 21756Assert.Equal("C", recordDeclarations[1].Identifier.ValueText); 21821Assert.Equal("C", recordDeclarations[0].Identifier.ValueText); 21824Assert.Equal("C", recordDeclarations[1].Identifier.ValueText); 23477Assert.Equal("B", recordDeclaration.Identifier.ValueText); 24760Assert.Equal("C", recordDeclaration.Identifier.ValueText); 27397case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }: 27408case RecordDeclarationSyntax { Identifier: { ValueText: "B" } }: 27542case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }: 27553case RecordDeclarationSyntax { Identifier: { ValueText: "B" } }: 27610case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }: 27621case RecordDeclarationSyntax { Identifier: { ValueText: "B" } }:
Microsoft.CodeAnalysis.CSharp.Features (5)
CodeLens\CSharpCodeLensMemberFinder.cs (1)
84_memberBuilder.Add(new CodeLensMember(node, node.Identifier.Span));
EditAndContinue\BreakpointSpans.cs (3)
514recordDeclaration.Identifier, 515LastNotMissing(recordDeclaration.Identifier, recordDeclaration.TypeParameterList?.GreaterThanToken ?? default)); 519yield return recordDeclaration.Identifier;
Organizing\Organizers\RecordDeclarationOrganizer.cs (1)
32syntax.Identifier,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordStructTests.cs (4)
2678Assert.Equal("C", recordDeclaration.Identifier.ValueText); 6646case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }: 6738case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }: 6796case RecordDeclarationSyntax { Identifier: { ValueText: "A" } }:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13191Assert.Equal(SyntaxKind.IdentifierToken, node.Identifier.Kind()); 13200var newNode = node.WithAttributeLists(node.AttributeLists).WithModifiers(node.Modifiers).WithKeyword(node.Keyword).WithClassOrStructKeyword(node.ClassOrStructKeyword).WithIdentifier(node.Identifier).WithTypeParameterList(node.TypeParameterList).WithParameterList(node.ParameterList).WithBaseList(node.BaseList).WithConstraintClauses(node.ConstraintClauses).WithOpenBraceToken(node.OpenBraceToken).WithMembers(node.Members).WithCloseBraceToken(node.CloseBraceToken).WithSemicolonToken(node.SemicolonToken);
QuarantineTools.Tests (1)
QuarantineScriptTests.cs (1)
280typeNames.Insert(0, rd.Identifier.ValueText);