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)
115
var other = matcher.
MapDefinition
((Cci.IDefinition)member.GetCciAdapter());
149
var other = matcher.
MapDefinition
((Cci.IMethodDefinition)member.GetCciAdapter());
172
var other = matcher.
MapDefinition
(member.GetCciAdapter());
200
var other = (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol();
243
Assert.Same(f0, (MethodSymbol)matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
244
Assert.Same(g0, (MethodSymbol)matcher.
MapDefinition
(g1.GetCciAdapter()).GetInternalSymbol());
245
Assert.Null(matcher.
MapDefinition
(h1.GetCciAdapter()));
287
Assert.Equal(f0, (MethodSymbol)matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
288
Assert.Equal(g0, (MethodSymbol)matcher.
MapDefinition
(g1.GetCciAdapter()).GetInternalSymbol());
289
Assert.Null(matcher.
MapDefinition
(h1.GetCciAdapter()));
316
var mf1 = matcher.
MapDefinition
(f1.GetCciAdapter());
511
var mappedX1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x1);
512
var mappedX2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x2);
581
var mappedX1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x1);
582
var mappedX2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(x2);
607
var other = matcher.
MapDefinition
(member.GetCciAdapter());
631
var other = matcher.
MapDefinition
(member.GetCciAdapter());
655
var other = matcher.
MapDefinition
(member.GetCciAdapter());
679
var other = matcher.
MapDefinition
(member.GetCciAdapter());
703
var other = matcher.
MapDefinition
(member.GetCciAdapter());
727
var other = matcher.
MapDefinition
(member.GetCciAdapter());
751
var other = matcher.
MapDefinition
(member.GetCciAdapter());
775
var other = matcher.
MapDefinition
(member.GetCciAdapter());
799
var other = matcher.
MapDefinition
(member.GetCciAdapter());
823
var other = matcher.
MapDefinition
(member.GetCciAdapter());
868
Assert.Null(matcher.
MapDefinition
(p1.GetCciAdapter()));
869
Assert.Null(matcher.
MapDefinition
(q1.GetCciAdapter()));
870
Assert.Null(matcher.
MapDefinition
(r1.GetCciAdapter()));
872
Assert.Same(s0, matcher.
MapDefinition
(s1.GetCciAdapter()).GetInternalSymbol());
873
Assert.Same(t0, matcher.
MapDefinition
(t1.GetCciAdapter()).GetInternalSymbol());
916
Assert.Null(matcher.
MapDefinition
(p1.GetCciAdapter()));
917
Assert.Null(matcher.
MapDefinition
(q1.GetCciAdapter()));
918
Assert.Null(matcher.
MapDefinition
(r1.GetCciAdapter()));
920
Assert.Same(s0, matcher.
MapDefinition
(s1.GetCciAdapter()).GetInternalSymbol());
921
Assert.Same(t0, matcher.
MapDefinition
(t1.GetCciAdapter()).GetInternalSymbol());
962
var mappedProperty = (Cci.IPropertyDefinition)matcher.
MapDefinition
(property.GetCciAdapter());
990
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1015
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1040
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1063
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1135
var mappedY1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(y1);
1136
var mappedY2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(y2);
1186
Assert.Same(x0, matcher.
MapDefinition
(x1.GetCciAdapter()).GetInternalSymbol());
1187
Assert.Same(y0, matcher.
MapDefinition
(y1.GetCciAdapter()).GetInternalSymbol());
1188
Assert.Same(m0, matcher.
MapDefinition
(m1.GetCciAdapter()).GetInternalSymbol());
1189
Assert.Same(n0, matcher.
MapDefinition
(n1.GetCciAdapter()).GetInternalSymbol());
1190
Assert.Same(p0, matcher.
MapDefinition
(p1.GetCciAdapter()).GetInternalSymbol());
1191
Assert.Same(q0, matcher.
MapDefinition
(q1.GetCciAdapter()).GetInternalSymbol());
1192
Assert.Same(e0, matcher.
MapDefinition
(e1.GetCciAdapter()).GetInternalSymbol());
1193
Assert.Same(f0, matcher.
MapDefinition
(f1.GetCciAdapter()).GetInternalSymbol());
1222
Assert.Same(f_0, matcher.
MapDefinition
(f_1.GetCciAdapter()).GetInternalSymbol());
1253
Assert.Null(matcher.
MapDefinition
(f_1.GetCciAdapter()));
1304
Assert.Null(matcher.
MapDefinition
(f_1.GetCciAdapter()));
1326
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1350
Assert.Equal(member0, (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1373
Assert.Equal(member0, (MethodSymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1394
Assert.Equal(member0, (PropertySymbol)matcher.
MapDefinition
(member1.GetCciAdapter()).GetInternalSymbol());
1422
var other = matcher.
MapDefinition
(member.GetCciAdapter());
1492
var mappedField1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field1);
1493
var mappedField2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field2);
1494
var mappedField3 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field3);
1549
var field1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field0);
1620
Assert.Null(matcher.
MapDefinition
(field1));
1621
Assert.Null(matcher.
MapDefinition
(field2));
1622
Assert.Null(matcher.
MapDefinition
(field3));
1690
var mappedField1 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field1);
1691
var mappedField2 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field2);
1692
var mappedField3 = (Cci.IFieldDefinition)matcher.
MapDefinition
(field3);
1727
Assert.Same(members0[i], matcher.
MapDefinition
(members1[i].GetCciAdapter()).GetInternalSymbol());
1769
Assert.Same(members0[i], matcher.
MapDefinition
(members1[i * 2].GetCciAdapter()).GetInternalSymbol());
1779
Assert.Null(matcher.
MapDefinition
(members1[i].GetCciAdapter()));
1821
Assert.Same(members0[i * 2], matcher.
MapDefinition
(members1[i].GetCciAdapter()).GetInternalSymbol());
1866
Assert.Null(matcher.
MapDefinition
(member.GetCciAdapter()));
1911
Assert.Null(matcher.
MapDefinition
(member.GetCciAdapter()));