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