2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
195
NewSymbol
= newSymbol;
212
NewSymbol
= newSymbol;
13 references to NewSymbol
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DefinitionMap.cs (3)
65
.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.
NewSymbol
!)!, edit => edit.Instrumentation);
94
Debug.Assert(edit.
NewSymbol
!= null);
98
var newMethod = (IMethodSymbolInternal?)GetISymbolInternalOrNull(edit.
NewSymbol
);
Emit\EditAndContinue\SymbolChanges.cs (3)
377
(lazyReplacedSymbolsBuilder ??= new HashSet<ISymbolInternal>()).Add(GetRequiredInternalSymbol(edit.
NewSymbol
));
385
var newContainingType = (INamedTypeSymbolInternal)GetRequiredInternalSymbol(edit.
NewSymbol
);
415
var 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
));