13 references to Insert
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\SymbolChanges.cs (1)
372
case SemanticEditKind.
Insert
:
Emit\SemanticEdit.cs (2)
99
/// <paramref name="oldSymbol"/> or <paramref name="newSymbol"/> is null and the edit isn't a <see cref="SemanticEditKind.
Insert
"/> or <see cref="SemanticEditKind.Delete"/>, respectively.
111
if (oldSymbol == null && kind is not (SemanticEditKind.
Insert
or SemanticEditKind.Replace))
Microsoft.CodeAnalysis.Features (10)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (5)
3062
editKind = SemanticEditKind.
Insert
;
3198
Contract.ThrowIfFalse(editKind == SemanticEditKind.
Insert
);
3345
Contract.ThrowIfFalse(editKind is SemanticEditKind.Update or SemanticEditKind.
Insert
);
3491
SemanticEditKind.
Insert
=> SemanticEditInfo.CreateInsert(symbolKey, partialType),
3958
/// Add <see cref="SemanticEditKind.
Insert
"/> edit for the specified symbol and its accessors.
EditAndContinue\EditSession.cs (2)
881
if (edit.Kind == SemanticEditKind.
Insert
)
1013
if (edit.Kind is SemanticEditKind.Update or SemanticEditKind.
Insert
or SemanticEditKind.Replace)
EditAndContinue\SemanticEditInfo.cs (3)
59
=> new(SemanticEditKind.
Insert
, symbol, syntaxMaps: default, partialType, deletedSymbolContainer: null);
92
/// <see cref="SemanticEditKind.
Insert
"/> or <see cref="SemanticEditKind.Update"/> or <see cref="SemanticEditKind.Delete"/>.
97
/// If <see cref="Kind"/> is <see cref="SemanticEditKind.
Insert
"/> represents the inserted symbol in the new compilation.