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