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