2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
144NewSymbol = newSymbol; 155NewSymbol = newSymbol;
15 references to NewSymbol
Microsoft.CodeAnalysis (14)
Emit\EditAndContinue\DefinitionMap.cs (3)
46.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.NewSymbol!)!, edit => edit.Instrumentation); 73RoslynDebug.AssertNotNull(edit.NewSymbol); 76if (GetISymbolInternalOrNull(edit.NewSymbol) is IMethodSymbolInternal newMethod &&
Emit\EditAndContinue\SymbolChanges.cs (4)
444Debug.Assert(edit.NewSymbol != null); 445(lazyReplaceSymbolsBuilder ??= new HashSet<ISymbol>()).Add(edit.NewSymbol); 452if (edit.OldSymbol is IMethodSymbol && edit.NewSymbol is { } newContainingSymbol) 476var member = edit.NewSymbol;
Emit\SemanticEdit.cs (7)
55/// If not empty, <see cref="OldSymbol"/> and <see cref="NewSymbol"/> must be non-null <see cref="IMethodSymbol"/>s, and 164=> Hash.Combine(OldSymbol, Hash.Combine(NewSymbol, (int)Kind)); 171/// the corresponding <see cref="OldSymbol"/> and <see cref="NewSymbol"/> symbols are the same. 177&& (NewSymbol == null ? other.NewSymbol == null : NewSymbol.Equals(other.NewSymbol));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\EditAndContinueTestHelpers.cs (1)
249Assert.True(edit.NewSymbol is not null);