2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
193NewSymbol = newSymbol; 210NewSymbol = newSymbol;
14 references to NewSymbol
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DefinitionMap.cs (3)
60.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.NewSymbol!)!, edit => edit.Instrumentation); 89Debug.Assert(edit.NewSymbol != null); 93var newMethod = (IMethodSymbolInternal?)GetISymbolInternalOrNull(edit.NewSymbol);
Emit\EditAndContinue\SymbolChanges.cs (3)
376(lazyReplacedSymbolsBuilder ??= new HashSet<ISymbolInternal>()).Add(GetRequiredInternalSymbol(edit.NewSymbol)); 384var newContainingType = (INamedTypeSymbolInternal)GetRequiredInternalSymbol(edit.NewSymbol); 413var newMember = GetRequiredInternalSymbol(edit.NewSymbol);
Emit\SemanticEdit.cs (7)
57/// If not empty, <see cref="OldSymbol"/> and <see cref="NewSymbol"/> must be non-null <see cref="IMethodSymbol"/>s, and 219=> Hash.Combine(OldSymbol, Hash.Combine(NewSymbol, (int)Kind)); 226/// the corresponding <see cref="OldSymbol"/> and <see cref="NewSymbol"/> symbols are the same. 232&& (NewSymbol == null ? other.NewSymbol == null : NewSymbol.Equals(other.NewSymbol));
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
257Assert.True(edit.NewSymbol is not null);