2 writes to OldSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
143
OldSymbol
= oldSymbol;
154
OldSymbol
= oldSymbol;
15 references to OldSymbol
Microsoft.CodeAnalysis (14)
Emit\EditAndContinue\DefinitionMap.cs (2)
74
RoslynDebug.AssertNotNull(edit.
OldSymbol
);
77
GetISymbolInternalOrNull(edit.
OldSymbol
) is IMethodSymbolInternal oldMethod)
Emit\EditAndContinue\SymbolChanges.cs (5)
452
if (edit.
OldSymbol
is IMethodSymbol && edit.NewSymbol is { } newContainingSymbol)
454
Debug.Assert(edit.
OldSymbol
!= null);
461
set.Add(edit.
OldSymbol
);
487
Debug.Assert((edit.
OldSymbol
== null) || (((IMethodSymbol)edit.
OldSymbol
).PartialImplementationPart == null));
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.
176
&& (
OldSymbol
== null ? other.
OldSymbol
== null :
OldSymbol
.Equals(other.
OldSymbol
))
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\EditAndContinueTestHelpers.cs (1)
247
edit.
OldSymbol
is IMethodSymbol)