2 writes to NewSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
144
NewSymbol
= newSymbol;
155
NewSymbol
= newSymbol;
15 references to NewSymbol
Microsoft.CodeAnalysis (14)
Emit\EditAndContinue\DefinitionMap.cs (3)
46
.ToImmutableDictionary(edit => (IMethodSymbolInternal)GetISymbolInternalOrNull(edit.
NewSymbol
!)!, edit => edit.Instrumentation);
73
RoslynDebug.AssertNotNull(edit.
NewSymbol
);
76
if (GetISymbolInternalOrNull(edit.
NewSymbol
) is IMethodSymbolInternal newMethod &&
Emit\EditAndContinue\SymbolChanges.cs (4)
444
Debug.Assert(edit.
NewSymbol
!= null);
445
(lazyReplaceSymbolsBuilder ??= new HashSet<ISymbol>()).Add(edit.
NewSymbol
);
452
if (edit.OldSymbol is IMethodSymbol && edit.
NewSymbol
is { } newContainingSymbol)
476
var 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)
249
Assert.True(edit.
NewSymbol
is not null);