2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
193
NewSymbol
= newSymbol;
210
NewSymbol
= newSymbol;
14 references to NewSymbol
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DefinitionMap.cs (3)
60
.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.
NewSymbol
!)!, edit => edit.Instrumentation);
89
Debug.Assert(edit.
NewSymbol
!= null);
93
var newMethod = (IMethodSymbolInternal?)GetISymbolInternalOrNull(edit.
NewSymbol
);
Emit\EditAndContinue\SymbolChanges.cs (3)
376
(lazyReplacedSymbolsBuilder ??= new HashSet<ISymbolInternal>()).Add(GetRequiredInternalSymbol(edit.
NewSymbol
));
384
var newContainingType = (INamedTypeSymbolInternal)GetRequiredInternalSymbol(edit.
NewSymbol
);
413
var 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)
257
Assert.True(edit.
NewSymbol
is not null);