16 instantiations of SemanticEditInfo
Microsoft.CodeAnalysis.Features (16)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (16)
2543semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Replace, containingTypeSymbolKey, syntaxMap: null, syntaxMapTree: null, 2583semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Replace, symbolKey, syntaxMap: null, syntaxMapTree: null, 3197semanticEdits.Add(new SemanticEditInfo(editKind, symbolKey, syntaxMap, syntaxMapTree: null, 3235semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Replace, containingTypeSymbolKey, syntaxMap: null, syntaxMapTree: null, 3290semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, symbolKey, syntaxMap, syntaxMapTree: null, 3547semanticEdits.Add(new SemanticEditInfo(editKind, symbolKey, syntaxMap, syntaxMapTree: null, partialType, deletedSymbolContainer: containingSymbolKey)); 4248semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, SymbolKey.Create(newDelegateType, cancellationToken), syntaxMap, syntaxMapTree: null, partialType: null)); 4254semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, SymbolKey.Create(newDelegateInvokeMethod, cancellationToken), syntaxMap, syntaxMapTree: null, partialType: null)); 4261semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, symbolKey, syntaxMap, syntaxMapTree: null, 4267semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, containingTypeSymbolKey, syntaxMap, syntaxMapTree: null, 4272semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, SymbolKey.Create(newSymbol, cancellationToken), syntaxMap, syntaxMapTree: null, partialType: null)); 4293semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, SymbolKey.Create(newContainingSymbol, cancellationToken), syntaxMap, syntaxMapTree: null, partialType: null)); 4311semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, SymbolKey.Create(beginInvokeMethod, cancellationToken), syntaxMap, syntaxMapTree: null, partialType: null)); 4526semanticEdits.Add(new SemanticEditInfo(SemanticEditKind.Update, symbolKey, syntaxMap: null, syntaxMapTree: null, partialType: null)); 5038semanticEdits.Add(new SemanticEditInfo( 5047semanticEdits.Add(new SemanticEditInfo(
25 references to SemanticEditInfo
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
EditAndContinue\EditAndContinueTestHelpers.cs (3)
119var allEdits = new List<SemanticEditInfo>(); 271ImmutableArray<SemanticEditInfo> actualSemanticEdits, 287var actualSemanticEdit = actualSemanticEdits[i];
Microsoft.CodeAnalysis.Features (22)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (15)
2402private async Task<ImmutableArray<SemanticEditInfo>> AnalyzeSemanticsAsync( 2423return ImmutableArray<SemanticEditInfo>.Empty; 2436using var _2 = ArrayBuilder<SemanticEditInfo>.GetInstance(out var semanticEdits); 3356private bool TryAddParameterInsertOrDeleteEdits(ArrayBuilder<SemanticEditInfo> semanticEdits, ISymbol containingSymbol, SemanticModel? otherModel, EditAndContinueCapabilitiesGrantor capabilities, Func<SyntaxNode, SyntaxNode?>? syntaxMap, EditScript<SyntaxNode> editScript, HashSet<ISymbol> processedSymbols, CancellationToken cancellationToken, out bool notSupportedByRuntime) 3475private static void AddMemberOrAssociatedMemberSemanticEdits(ArrayBuilder<SemanticEditInfo> semanticEdits, SemanticEditKind editKind, ISymbol symbol, SymbolKey? containingSymbolKey, Func<SyntaxNode, SyntaxNode?>? syntaxMap, SymbolKey? partialType, HashSet<ISymbol>? processedSymbols, CancellationToken cancellationToken) 3659private sealed class SemanticEditInfoComparer : IEqualityComparer<SemanticEditInfo> 3665public bool Equals([AllowNull] SemanticEditInfo x, [AllowNull] SemanticEditInfo y) 3680public int GetHashCode([DisallowNull] SemanticEditInfo obj) 4186ArrayBuilder<SemanticEditInfo> semanticEdits, 4234ArrayBuilder<SemanticEditInfo> semanticEdits, 4280private static void AddParameterUpdateSemanticEdit(ArrayBuilder<SemanticEditInfo> semanticEdits, IParameterSymbol oldParameterSymbol, IParameterSymbol newParameterSymbol, Func<SyntaxNode, SyntaxNode?>? syntaxMap, bool reportDeleteAndInsertEdits, HashSet<ISymbol>? processedSymbols, CancellationToken cancellationToken) 4304private static void AddDelegateBeginInvokeEdit(ArrayBuilder<SemanticEditInfo> semanticEdits, INamedTypeSymbol delegateType, Func<SyntaxNode, SyntaxNode?>? syntaxMap, CancellationToken cancellationToken) 4521private static void AddEditsForSynthesizedRecordMembers(Compilation compilation, INamedTypeSymbol recordType, ArrayBuilder<SemanticEditInfo> semanticEdits, CancellationToken cancellationToken) 4864[Out] ArrayBuilder<SemanticEditInfo> semanticEdits,
EditAndContinue\DocumentAnalysisResults.cs (2)
46public ImmutableArray<SemanticEditInfo> SemanticEdits { get; } 103ImmutableArray<SemanticEditInfo> semanticEditsOpt,
EditAndContinue\EditSession.cs (5)
615using var _1 = ArrayBuilder<SemanticEditInfo>.GetInstance(out var allEdits); 668IReadOnlyList<SemanticEditInfo> edits, 677foreach (var edit in edits) 712var edit = edits[i]; 778var edit = edits[i];