406 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.CSharp.Emit2.UnitTests (131)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
347
SemanticEdit.Create(SemanticEditKind.
Insert
, null, g2)));
Emit\EditAndContinue\EditAndContinueClosureTests.cs (9)
2482
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_int1)));
2498
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_byte2)));
2599
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_int1)));
2615
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_byte2)));
2732
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f1),
2743
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_int2),
3101
SemanticEdit.Create(SemanticEditKind.
Insert
, null, b1),
3196
SemanticEdit.Create(SemanticEditKind.
Insert
, null, b1),
3197
SemanticEdit.Create(SemanticEditKind.
Insert
, null, ctor1, GetSyntaxMapFromMarkers(source0, source1))));
Emit\EditAndContinue\EditAndContinuePdbTests.cs (1)
274
SemanticEdit.Create(SemanticEditKind.
Insert
, null, b2)));
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (9)
62
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, g1)));
241
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, f1)));
8710
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f1)));
8728
SemanticEdit.Create(SemanticEditKind.
Insert
, null, g3)));
8737
SemanticEdit.Create(SemanticEditKind.
Insert
, null, h4)));
8787
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_int1)));
8792
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_byte2)));
10768
SemanticEdit.Create(SemanticEditKind.
Insert
, null, ism1),
10953
SemanticEdit.Create(SemanticEditKind.
Insert
, null, asm1),
Emit\EditAndContinue\EditAndContinueTests.cs (111)
3110
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, method1)));
3205
SemanticEdit.Create(SemanticEditKind.
Insert
, null, methodG1)));
3624
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, f1)));
3769
SemanticEdit.Create(SemanticEditKind.
Insert
, null, id1),
3770
SemanticEdit.Create(SemanticEditKind.
Insert
, null, g1)));
3859
SemanticEdit.Create(SemanticEditKind.
Insert
, null, h2)));
3954
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, f3)));
4018
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<FieldSymbol>("C.G")),
4146
? ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, r1), SemanticEdit.Create(SemanticEditKind.
Insert
, null, r1.GetMethod))
4147
: ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, r1)));
4182
SemanticEdit.Create(SemanticEditKind.
Insert
, null, q2),
4183
SemanticEdit.Create(SemanticEditKind.
Insert
, null, q2.GetMethod),
4184
SemanticEdit.Create(SemanticEditKind.
Insert
, null, q2.SetMethod))
4186
SemanticEdit.Create(SemanticEditKind.
Insert
, null, q2)));
4336
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.P")),
4491
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.P")),
4643
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
4644
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
4645
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
4783
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
4784
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
4785
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
4862
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.P")),
4951
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.P")),
5038
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.P")),
5123
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
5124
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5125
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5244
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
5245
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5246
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5351
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q")),
5352
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")), // the compiler does not need this edit, but the IDE adds it for simplicity
5353
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Q")), // the compiler does not need this edit, but the IDE adds it for simplicity
5482
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
5483
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5484
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")), // the compiler does not need this edit, but the IDE adds it for simplicity
5694
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
5695
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")), // the compiler does not need this edit, but the IDE adds it for simplicity
5784
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
5785
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")), // the compiler does not need this edit, but the IDE adds it for simplicity
5848
Edit(SemanticEditKind.
Insert
, c => c.GetMembers<IPropertySymbol>("C.this[]").Single(p => p.Parameters is [{ Name: "y" }])),
5849
Edit(SemanticEditKind.
Insert
, c => c.GetMembers<IPropertySymbol>("C.this[]").Single(p => p.Parameters is [{ Name: "y" }]).GetMethod), // the compiler does not need this edit, but the IDE adds it for simplicity
5999
SemanticEdit.Create(SemanticEditKind.
Insert
, null, e1)));
6054
SemanticEdit.Create(SemanticEditKind.
Insert
, null, g2)));
6338
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.F")),
6339
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.add_F")), // the compiler does not need this edit, but the IDE adds it for simplicity
6340
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.remove_F")), // the compiler does not need this edit, but the IDE adds it for simplicity
6508
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.E")),
6509
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.add_E")), // the compiler does not need this edit, but the IDE adds it for simplicity
6510
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.remove_E")), // the compiler does not need this edit, but the IDE adds it for simplicity
7361
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c1),
7463
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<NamedTypeSymbol>("A.B3")),
7464
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<NamedTypeSymbol>("A.B4"))));
7524
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c1),
7639
SemanticEdit.Create(SemanticEditKind.
Insert
, null, d1)));
7653
SemanticEdit.Create(SemanticEditKind.
Insert
, null, e2)));
7761
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, method1)));
7951
SemanticEdit.Create(SemanticEditKind.
Insert
, null, x1),
7952
SemanticEdit.Create(SemanticEditKind.
Insert
, null, y1),
7953
SemanticEdit.Create(SemanticEditKind.
Insert
, null, m1),
7954
SemanticEdit.Create(SemanticEditKind.
Insert
, null, n1),
7955
SemanticEdit.Create(SemanticEditKind.
Insert
, null, p1),
7956
SemanticEdit.Create(SemanticEditKind.
Insert
, null, q1),
7957
SemanticEdit.Create(SemanticEditKind.
Insert
, null, e1),
7958
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f1),
7959
SemanticEdit.Create(SemanticEditKind.
Insert
, null, j1),
7960
SemanticEdit.Create(SemanticEditKind.
Insert
, null, cctor1)));
8115
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<MethodSymbol>("C.M2")),
8116
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<FieldSymbol>("C.F2")),
8117
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<PropertySymbol>("C.P2")),
8118
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<EventSymbol>("C.E2"))));
8241
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<MethodSymbol>("C.M"))));
8465
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<MethodSymbol>("C.puts"))));
8521
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<NamedTypeSymbol>("B"))));
8601
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMembers("M.C.M1")[2])));
9145
SemanticEdit.Create(SemanticEditKind.
Insert
, null, ctor1)));
9762
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, m1, null)));
10097
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<NamedTypeSymbol>("A")),
13199
ImmutableArray.Create(SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilation1.GetMember<MethodSymbol>("C.Main"))),
13362
SemanticEdit.Create(SemanticEditKind.
Insert
, null, mA1),
13363
SemanticEdit.Create(SemanticEditKind.
Insert
, null, mX1)),
13372
SemanticEdit.Create(SemanticEditKind.
Insert
, null, compilationB1.GetMember<TypeSymbol>("Y"))),
13505
SemanticEdit.Create(SemanticEditKind.
Insert
, null, f_byte2)));
16280
SemanticEdit.Create(SemanticEditKind.
Insert
, null, g1)));
16487
Edit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("R")),
16578
Edit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("R"))
16719
Edit(SemanticEditKind.
Insert
, c => c.GetMember("R.Q")),
17136
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("System.Runtime.CompilerServices.HotReloadException")),
17448
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M2")),
17622
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M1")),
17760
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M1")),
17832
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M1")),
17945
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M1")),
18097
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.F")),
18252
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.F")),
18539
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.F")),
18848
Edit(SemanticEditKind.
Insert
, c => c.GetMember("C.F")),
19025
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M2")),
19048
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMember("C.M1")),
19088
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterTypes()[0].SpecialType == SpecialType.System_Boolean)?.ISymbol),
19166
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterTypes()[0].SpecialType == SpecialType.System_Int32)?.ISymbol),
19239
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetTypeOrReturnType().SpecialType == SpecialType.System_Int32)?.ISymbol),
19321
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetTypeOrReturnType().SpecialType == SpecialType.System_String)?.ISymbol),
19397
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 2)?.ISymbol),
19479
Edit(SemanticEditKind.
Insert
, symbolProvider: c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 1)?.ISymbol),
19651
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c2_gen1, syntaxMap: null)));
19744
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c1_gen1, syntaxMap: null),
19745
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c2_gen1, syntaxMap: null)));
19833
SemanticEdit.Create(SemanticEditKind.
Insert
, null, c2_gen1, syntaxMap: null)));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (259)
EditAndContinue\ActiveStatementTests.cs (1)
3764
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.a")),
EditAndContinue\StatementEditingTests.cs (15)
4773
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
4775
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item"))
4870
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
4903
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
4936
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
4969
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
5413
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
5414
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
5649
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
5691
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.F").PartialImplementationPart, partialType: "C")
6928
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
6961
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
6963
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item"))
6996
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
6998
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
EditAndContinue\TopLevelEditingTests.cs (243)
583
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("N.C.M2"))],
1941
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
1962
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
2084
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
2112
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
2150
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("D"))],
2182
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
2639
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C"), preserveLocalVariables: false)],
2652
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("G"), preserveLocalVariables: false)
3044
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
3057
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"))],
3416
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C._y")),
3452
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C._y")),
3472
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C._y")),
3493
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.E")),
3514
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C._z")),
3534
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C._z")),
3996
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
4011
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y"))
4026
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y"))
4060
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
4199
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
5695
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.D")));
5734
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.D"), preserveLocalVariables: false)
5856
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.D")),
6043
semanticEdits: [SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("S.C.F2").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Int32))?.ISymbol)])
6054
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"), partialType: "C")
6058
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C"), partialType: "C")
8478
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("N.C"))],
8495
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("N.M.C"))],
8767
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("M.C"), partialType: "M.C"),
8772
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("M.C"), partialType: "M.C"),
9339
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("S.F").FirstOrDefault(m => m.GetParameterCount() == 1)?.ISymbol)
9358
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("S.F").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Byte))?.ISymbol)
9377
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("S.F").FirstOrDefault(m => m.GetArity() == 1)?.ISymbol)
9640
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
9660
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
9683
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
9706
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
9729
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
10189
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.goo"))],
10636
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
10671
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
10710
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.M").PartialImplementationPart, partialType: "C")
10753
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.Main").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Int32))?.ISymbol)
10793
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.Main").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Int32))?.ISymbol)
10829
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
10864
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
11046
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.G"))
11095
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.G"))
11145
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.G"))
12253
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
12276
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
12311
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("Test.M"))
12474
semanticEdits: [SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.F").PartialImplementationPart)]),
12599
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.F").PartialImplementationPart, partialType: "C")
12605
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.F").PartialImplementationPart, partialType: "C")
12912
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.op_Subtraction"))
13173
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single())
13194
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"))
13217
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"), partialType: "C")
13234
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.x")),
13235
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_x")),
13236
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_x")),
13238
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13244
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13293
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single()),
13309
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13331
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13337
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13371
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13377
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13399
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13404
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13427
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13429
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13446
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13452
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13470
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13476
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13493
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13499
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13515
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13524
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13548
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13573
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13588
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13598
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13616
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13623
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13657
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"))
13707
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single())
13732
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"))
13752
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13786
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13787
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13793
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Z")),
13794
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.U")),
13796
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13865
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single())
13884
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13885
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13891
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13906
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13913
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13929
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13936
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13951
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13952
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13959
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13974
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13975
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
13982
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
13995
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Y")),
13996
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
14003
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
14038
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"))
14126
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
14165
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C"))
14181
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
14183
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Deconstruct")),
14507
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
14560
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
15027
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single(c => c.Parameters is [{ Name: "X" }]))
15042
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single(c => c.Parameters is [{ Name: "X" }]))
15074
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single(c => c.Parameters is [{ Name: "X"}])),
15090
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
15106
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
15107
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
15108
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
15128
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
15129
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryConstructor("C")),
15130
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetPrimaryDeconstructor("C")),
15238
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single(m => m.Parameters.Length == 1), partialType: "C")
15245
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").InstanceConstructors.Single(m => m.Parameters.Length == 2), partialType: "C")
15320
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetParameterlessConstructor("C"))],
15336
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetParameterlessConstructor("C"))],
15357
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetParameterlessConstructor("C"), partialType: "C")
15383
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetParameterlessConstructor("C"))
16365
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").Constructors.Single(c => c.Parameters.Single().Type.Name == "Byte"), partialType: "C"),
16543
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").StaticConstructors.Single())],
17235
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").StaticConstructors.Single())],
17253
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").StaticConstructors.Single())],
18636
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.B")),
18637
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_B")),
19059
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.a")),
19135
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.b")),
19136
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.c")),
19137
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.d")),
19265
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.B")),
19309
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.B")),
19464
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.B")),
19465
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").Constructors.Single()),
19746
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")),
19747
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q")),
19842
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P"), preserveLocalVariables: false)
20155
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")),
20156
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q"))
20201
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")),
20202
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Q")),
20203
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q")),
20221
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")),
20222
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Q")),
20223
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q")),
20239
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
20256
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Q")),
20257
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.Q"))
20567
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
20568
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")),
20569
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")),
20609
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_P")),
20611
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_P")),
20612
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.P")),
20719
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20732
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20882
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20901
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20920
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20939
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20958
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
20985
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
21008
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
21035
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("P"))],
21446
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("Test.P")),
21447
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("Test.get_P")),
21663
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.D")),
21664
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_D")),
21665
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_D")),
21705
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.D")),
21706
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_D")),
21707
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_D")),
21778
semanticEdits: [SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.P").PartialImplementationPart)]),
21916
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.get_P").PartialImplementationPart, partialType: "C"),
21917
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.P").PartialImplementationPart, partialType: "C"),
21924
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.get_P").PartialImplementationPart, partialType: "C"),
21925
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.P").PartialImplementationPart, partialType: "C"),
22262
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Item"))
22430
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22431
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22432
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Item")),
22453
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22454
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22507
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22508
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22509
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Item")),
22532
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.this[]").PartialImplementationPart, partialType: "C"),
22533
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.get_Item").PartialImplementationPart, partialType: "C"),
22534
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.set_Item").PartialImplementationPart, partialType: "C"),
22542
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.this[]").PartialImplementationPart, partialType: "C"),
22543
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.get_Item").PartialImplementationPart, partialType: "C"),
22544
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.set_Item").PartialImplementationPart, partialType: "C"),
22617
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22618
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22619
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Item")),
22650
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IPropertySymbol>("C.this[]").PartialImplementationPart, partialType: "C"),
22651
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.get_Item").PartialImplementationPart, partialType: "C"),
22652
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<IMethodSymbol>("C.set_Item").PartialImplementationPart, partialType: "C"),
22677
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22678
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22679
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.set_Item")),
22796
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("this[]").SetMethod)],
22934
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
22935
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]"))
22973
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.this[]")),
22974
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.get_Item")),
23220
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember<INamedTypeSymbol>("C").GetMember("E"))
23707
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F")),
23708
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.add_F")),
23709
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.remove_F")),
23744
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.add_E")),
23745
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.remove_E")),
24018
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 1)?.ISymbol)
24037
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 2)?.ISymbol)
24056
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
24074
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 0)?.ISymbol)
24093
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMembers("C.M").FirstOrDefault(m => m.GetParameterCount() == 1)?.ISymbol)
24178
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M"))
24261
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.F"))
24556
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M")),
24579
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M")),
24602
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M")),
24625
SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("C.M")),
25306
[SemanticEdit(SemanticEditKind.
Insert
, c => c.GetMember("Program.<Main>$"))],
Microsoft.CodeAnalysis.Features (10)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (5)
3051
editKind = SemanticEditKind.
Insert
;
3187
Contract.ThrowIfFalse(editKind == SemanticEditKind.
Insert
);
3334
Contract.ThrowIfFalse(editKind is SemanticEditKind.Update or SemanticEditKind.
Insert
);
3480
SemanticEditKind.
Insert
=> SemanticEditInfo.CreateInsert(symbolKey, partialType),
3950
/// Add <see cref="SemanticEditKind.
Insert
"/> edit for the specified symbol and its accessors.
EditAndContinue\EditSession.cs (2)
853
if (edit.Kind is SemanticEditKind.Update or SemanticEditKind.
Insert
or SemanticEditKind.Replace)
880
if (edit.Kind == SemanticEditKind.
Insert
)
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.
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
381
case SemanticEditKind.
Insert
or SemanticEditKind.Replace:
Microsoft.CodeAnalysis.UnitTests (2)
Emit\SemanticEditTests.cs (2)
35
Assert.Throws<ArgumentNullException>("newSymbol", () => new SemanticEdit(SemanticEditKind.
Insert
, oldSymbol: type, newSymbol: null));
40
Assert.Throws<ArgumentOutOfRangeException>("kind", () => new SemanticEdit(SemanticEditKind.
Insert
, oldSymbol: method, newSymbol: method, instrumentation: instrumentation));