2 writes to OldSymbol
Microsoft.CodeAnalysis (2)
Emit\SemanticEdit.cs (2)
192
OldSymbol
= oldSymbol;
209
OldSymbol
= oldSymbol;
17 references to OldSymbol
Microsoft.CodeAnalysis (16)
Emit\EditAndContinue\DefinitionMap.cs (2)
90
Debug.Assert(edit.
OldSymbol
!= null);
92
var oldMethod = (IMethodSymbolInternal?)GetISymbolInternalOrNull(edit.
OldSymbol
);
Emit\EditAndContinue\SymbolChanges.cs (7)
381
Debug.Assert(edit.
OldSymbol
is IMethodSymbol or IPropertySymbol or IEventSymbol);
393
var oldSymbol = GetRequiredInternalSymbol(edit.
OldSymbol
);
423
Debug.Assert(edit.
OldSymbol
== null || ((IMethodSymbol)edit.
OldSymbol
).PartialImplementationPart == null);
429
var oldMethod = (IMethodSymbolInternal)GetRequiredInternalSymbol(edit.
OldSymbol
);
446
Debug.Assert(edit.
OldSymbol
== null || ((IPropertySymbol)edit.
OldSymbol
).PartialImplementationPart == null);
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.
231
&& (
OldSymbol
== null ? other.
OldSymbol
== null :
OldSymbol
.Equals(other.
OldSymbol
))
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
255
edit.
OldSymbol
is IMethodSymbol)