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