18 references to GetCciAdapter
Microsoft.CodeAnalysis.CSharp (7)
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
668IPropertyDefinition definition = property.GetCciAdapter();
Emitter\Model\PropertySymbolAdapter.cs (1)
292protected sealed override SymbolAdapter GetCciAdapterImpl() => GetCciAdapter();
Emitter\NoPia\EmbeddedType.cs (2)
119.Select(s => s.GetCciAdapter()) 308TypeManager.EmbedProperty(this, ((PropertySymbol)s).GetCciAdapter(), syntaxNodeOpt, diagnostics);
Emitter\NoPia\EmbeddedTypesManager.cs (1)
499EmbedProperty(type, ((PropertySymbol)propertyOrEvent).GetCciAdapter(), syntaxNodeOpt, diagnostics);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
130module.EmbeddedTypesManagerOpt.EmbedPropertyIfNeedTo(p.OriginalDefinition.GetCciAdapter(), syntaxNode, _diagnostics.DiagnosticBag);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
345F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, prop.GetCciAdapter());
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
Emit\EditAndContinue\SymbolMatcherTests.cs (11)
821var other = matcher.MapDefinition(member.GetCciAdapter()); 854var other = matcher.MapDefinition(member.GetCciAdapter()); 1097Assert.Null(matcher.MapDefinition(p1.GetCciAdapter())); 1098Assert.Null(matcher.MapDefinition(q1.GetCciAdapter())); 1099Assert.Null(matcher.MapDefinition(r1.GetCciAdapter())); 1101Assert.Same(s0, matcher.MapDefinition(s1.GetCciAdapter()).GetInternalSymbol()); 1102Assert.Same(t0, matcher.MapDefinition(t1.GetCciAdapter()).GetInternalSymbol()); 1145var mappedProperty = (Cci.IPropertyDefinition)matcher.MapDefinition(property.GetCciAdapter()); 1417Assert.Same(p0, matcher.MapDefinition(p1.GetCciAdapter()).GetInternalSymbol()); 1418Assert.Same(q0, matcher.MapDefinition(q1.GetCciAdapter()).GetInternalSymbol()); 1684Assert.Equal(member0, (PropertySymbol)matcher.MapDefinition(member1.GetCciAdapter()).GetInternalSymbol());