12 references to TryAdd
Microsoft.CodeAnalysis.CSharp (12)
Declarations\DeclarationTreeBuilder.cs (12)
813
memberNamesBuilder.
TryAdd
(member.Identifier.ValueText);
840
memberNameBuilder.
TryAdd
(WellKnownMemberNames.InstanceConstructorName);
989
set.
TryAdd
(fieldDeclarators[i].Identifier.ValueText);
1000
set.
TryAdd
(eventDeclarators[i].Identifier.ValueText);
1013
set.
TryAdd
(methodDecl.Identifier.ValueText);
1023
set.
TryAdd
(propertyDecl.Identifier.ValueText);
1033
set.
TryAdd
(eventDecl.Identifier.ValueText);
1039
set.
TryAdd
(((Syntax.InternalSyntax.ConstructorDeclarationSyntax)member).Modifiers.Any((int)SyntaxKind.StaticKeyword)
1046
set.
TryAdd
(WellKnownMemberNames.DestructorName);
1051
set.
TryAdd
(WellKnownMemberNames.Indexer);
1064
set.
TryAdd
(name);
1079
set.
TryAdd
(name);