2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
195NewSymbol = newSymbol; 212NewSymbol = newSymbol;
13 references to NewSymbol
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DefinitionMap.cs (3)
65.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.NewSymbol!)!, edit => edit.Instrumentation); 94Debug.Assert(edit.NewSymbol != null); 98var newMethod = (IMethodSymbolInternal?)GetISymbolInternalOrNull(edit.NewSymbol);
Emit\EditAndContinue\SymbolChanges.cs (3)
377(lazyReplacedSymbolsBuilder ??= new HashSet<ISymbolInternal>()).Add(GetRequiredInternalSymbol(edit.NewSymbol)); 385var newContainingType = (INamedTypeSymbolInternal)GetRequiredInternalSymbol(edit.NewSymbol); 415var newMember = GetRequiredInternalSymbol(edit.NewSymbol);
Emit\SemanticEdit.cs (7)
59/// If not empty, <see cref="OldSymbol"/> and <see cref="NewSymbol"/> must be non-null <see cref="IMethodSymbol"/>s, and 221=> Hash.Combine(OldSymbol, Hash.Combine(NewSymbol, (int)Kind)); 228/// the corresponding <see cref="OldSymbol"/> and <see cref="NewSymbol"/> symbols are the same. 234&& (NewSymbol == null ? other.NewSymbol == null : NewSymbol.Equals(other.NewSymbol));