Base:
method
MapDefinition
Microsoft.CodeAnalysis.Emit.SymbolMatcher.MapDefinition(Microsoft.Cci.IDefinition)
74 references to MapDefinition
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (74)
Emit\EditAndContinue\SymbolMatcherTests.cs (74)
114
var other = matcher.
MapDefinition
((Cci.IDefinition)member.GetCciAdapter());
148
var other = matcher.
MapDefinition
((Cci.IMethodDefinition)member.GetCciAdapter());
171
var other = matcher.
MapDefinition
(member.GetCciAdapter());
199
var other = (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol();
242
Assert.Same(f0, (MethodSymbol)matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
243
Assert.Same(g0, (MethodSymbol)matcher.
MapDefinition
(g1.GetCciAdapter()).GetInternalSymbol());
244
Assert.Null(matcher.
MapDefinition
(h1.GetCciAdapter()));
286
Assert.Equal(f0, (MethodSymbol)matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
287
Assert.Equal(g0, (MethodSymbol)matcher.
MapDefinition
(g1.GetCciAdapter()).GetInternalSymbol());
288
Assert.Null(matcher.
MapDefinition
(h1.GetCciAdapter()));
315
var mf1 = matcher.
MapDefinition
(f1.GetCciAdapter());
510
var mappedX1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x1);
511
var mappedX2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x2);
580
var mappedX1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x1);
581
var mappedX2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x2);
606
var other = matcher.
MapDefinition
(member.GetCciAdapter());
630
var other = matcher.
MapDefinition
(member.GetCciAdapter());
654
var other = matcher.
MapDefinition
(member.GetCciAdapter());
678
var other = matcher.
MapDefinition
(member.GetCciAdapter());
702
var other = matcher.
MapDefinition
(member.GetCciAdapter());
726
var other = matcher.
MapDefinition
(member.GetCciAdapter());
750
var other = matcher.
MapDefinition
(member.GetCciAdapter());
774
var other = matcher.
MapDefinition
(member.GetCciAdapter());
798
var other = matcher.
MapDefinition
(member.GetCciAdapter());
822
var other = matcher.
MapDefinition
(member.GetCciAdapter());
867
Assert.Null(matcher.
MapDefinition
(p1.GetCciAdapter()));
868
Assert.Null(matcher.
MapDefinition
(q1.GetCciAdapter()));
869
Assert.Null(matcher.
MapDefinition
(r1.GetCciAdapter()));
871
Assert.Same(s0, matcher.
MapDefinition
(s1.GetCciAdapter()).GetInternalSymbol());
872
Assert.Same(t0, matcher.
MapDefinition
(t1.GetCciAdapter()).GetInternalSymbol());
915
Assert.Null(matcher.
MapDefinition
(p1.GetCciAdapter()));
916
Assert.Null(matcher.
MapDefinition
(q1.GetCciAdapter()));
917
Assert.Null(matcher.
MapDefinition
(r1.GetCciAdapter()));
919
Assert.Same(s0, matcher.
MapDefinition
(s1.GetCciAdapter()).GetInternalSymbol());
920
Assert.Same(t0, matcher.
MapDefinition
(t1.GetCciAdapter()).GetInternalSymbol());
961
var mappedProperty = (Cci.IPropertyDefinition)matcher.
MapDefinition
(property.GetCciAdapter());
989
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1014
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1039
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1062
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1134
var mappedY1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(y1);
1135
var mappedY2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(y2);
1185
Assert.Same(x0, matcher.
MapDefinition
(x1.GetCciAdapter()).GetInternalSymbol());
1186
Assert.Same(y0, matcher.
MapDefinition
(y1.GetCciAdapter()).GetInternalSymbol());
1187
Assert.Same(m0, matcher.
MapDefinition
(m1.GetCciAdapter()).GetInternalSymbol());
1188
Assert.Same(n0, matcher.
MapDefinition
(n1.GetCciAdapter()).GetInternalSymbol());
1189
Assert.Same(p0, matcher.
MapDefinition
(p1.GetCciAdapter()).GetInternalSymbol());
1190
Assert.Same(q0, matcher.
MapDefinition
(q1.GetCciAdapter()).GetInternalSymbol());
1191
Assert.Same(e0, matcher.
MapDefinition
(e1.GetCciAdapter()).GetInternalSymbol());
1192
Assert.Same(f0, matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
1221
Assert.Same(f_0, matcher.
MapDefinition
(f_1.GetCciAdapter()).GetInternalSymbol());
1252
Assert.Null(matcher.
MapDefinition
(f_1.GetCciAdapter()));
1303
Assert.Null(matcher.
MapDefinition
(f_1.GetCciAdapter()));
1325
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1349
Assert.Equal(member0, (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1372
Assert.Equal(member0, (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1393
Assert.Equal(member0, (PropertySymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1421
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1491
var mappedField1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field1);
1492
var mappedField2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field2);
1493
var mappedField3 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field3);
1548
var field1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field0);
1619
Assert.Null(matcher.
MapDefinition
(field1));
1620
Assert.Null(matcher.
MapDefinition
(field2));
1621
Assert.Null(matcher.
MapDefinition
(field3));
1689
var mappedField1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field1);
1690
var mappedField2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field2);
1691
var mappedField3 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field3);
1726
Assert.Same(members0[i], matcher.
MapDefinition
(members1[i].GetCciAdapter()).GetInternalSymbol());
1768
Assert.Same(members0[i], matcher.
MapDefinition
(members1[i * 2].GetCciAdapter()).GetInternalSymbol());
1778
Assert.Null(matcher.
MapDefinition
(members1[i].GetCciAdapter()));
1820
Assert.Same(members0[i * 2], matcher.
MapDefinition
(members1[i].GetCciAdapter()).GetInternalSymbol());
1865
Assert.Null(matcher.
MapDefinition
(member.GetCciAdapter()));
1910
Assert.Null(matcher.
MapDefinition
(member.GetCciAdapter()));