61 references to GetCciAdapter
Microsoft.CodeAnalysis.CSharp (61)
CodeGen\EmitStackAllocInitializer.cs (1)
86var createSpanHelperReference = createSpanHelper.Construct(elementType).GetCciAdapter();
Compiler\MethodCompiler.cs (8)
252moduleBeingBuilt.AddSynthesizedDefinition(entryPoint.ContainingType, synthesizedEntryPoint.GetCciAdapter()); 633_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, method.GetCciAdapter()); 878_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, synthesizedExplicitImpl.GetCciAdapter()); 899_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceProperty.ContainingType, synthesizedAccessor.GetCciAdapter()); 1447methodSymbol.GetCciAdapter(), 1711kickoffMethod.GetCciAdapter(), 1722moveNextBodyDebugInfoOpt = new IteratorMoveNextBodyDebugInfo(kickoffMethod.GetCciAdapter()); 1766methodBodyParentSymbol.GetCciAdapter(),
Compiler\SynthesizedMetadataCompiler.cs (2)
86_moduleBeingBuilt.AddSynthesizedDefinition(symbol, synthesizedExplicitImpl.GetCciAdapter()); 111_moduleBeingBuilt.AddSynthesizedDefinition(sourceProperty.ContainingType, synthesizedAccessor.GetCciAdapter());
Emitter\Model\EventSymbolAdapter.cs (4)
31var addMethod = AdaptedEventSymbol.AddMethod?.GetCciAdapter(); 38var removeMethod = AdaptedEventSymbol.RemoveMethod?.GetCciAdapter(); 51var addMethod = AdaptedEventSymbol.AddMethod?.GetCciAdapter(); 62var removeMethod = AdaptedEventSymbol.RemoveMethod?.GetCciAdapter();
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
66internal ISignature Underlying => _underlying.GetCciAdapter();
Emitter\Model\MethodSymbolAdapter.cs (2)
298return ((MethodSymbol)AdaptedMethodSymbol.OriginalDefinition).GetCciAdapter(); 582protected sealed override SymbolAdapter GetCciAdapterImpl() => GetCciAdapter();
Emitter\Model\NamedTypeSymbolAdapter.cs (6)
336var adapter = method.GetCciAdapter(); 359yield return new Microsoft.Cci.MethodImplementation(method.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(method.OverriddenMethod, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 374yield return new Microsoft.Cci.MethodImplementation(method.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(objectMethod, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 400yield return new Microsoft.Cci.MethodImplementation(body.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(implemented, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 634if ((alwaysIncludeConstructors && method.MethodKind == MethodKind.Constructor) || method.GetCciAdapter().ShouldInclude(context)) 636yield return method.GetCciAdapter();
Emitter\Model\PEModuleBuilder.cs (7)
993return ((MethodSymbol)Compilation.GetWellKnownTypeMember(WellKnownMember.System_Runtime_CompilerServices_RuntimeHelpers__InitializeArrayArrayRuntimeFieldHandle))?.GetCciAdapter(); 1463return _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics); 1466return methodSymbol.GetCciAdapter(); 1505methodRef = _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics); 1509methodRef = methodSymbol.GetCciAdapter(); 1639return new SynthesizedPrivateImplementationDetailsStaticConstructor(GetPrivateImplClass(syntaxOpt, diagnostics), GetUntranslatedSpecialType(SpecialType.System_Void, syntaxOpt, diagnostics)).GetCciAdapter(); 2040privateImplClass.PrivateImplementationDetails.TryAddSynthesizedMethod(methodSymbol.GetCciAdapter());
Emitter\Model\PropertySymbolAdapter.cs (6)
35var getMethod = AdaptedPropertySymbol.GetMethod?.GetCciAdapter(); 41var setMethod = AdaptedPropertySymbol.SetMethod?.GetCciAdapter(); 53yield return synthesizedAccessor.GetCciAdapter(); 75return getMethod?.GetCciAdapter(); 130return setMethod?.GetCciAdapter(); 297return (object)synthesized != null && synthesized.MethodKind == targetMethodKind ? synthesized.GetCciAdapter() : null;
Emitter\Model\SpecializedMethodReference.cs (1)
35return UnderlyingMethod.OriginalDefinition.GetCciAdapter();
Emitter\Model\TypeParameterSymbolAdapter.cs (2)
222return ((MethodSymbol)AdaptedTypeParameterSymbol.ContainingSymbol).GetCciAdapter(); 347return ((MethodSymbol)AdaptedTypeParameterSymbol.ContainingSymbol).GetCciAdapter();
Emitter\NoPia\EmbeddedEvent.cs (1)
135TypeManager.EmbedMethodIfNeedTo(((MethodSymbol)m).GetCciAdapter(), syntaxNodeOpt, diagnostics);
Emitter\NoPia\EmbeddedType.cs (3)
53TypeManager.EmbedMethod(this, m.GetCciAdapter(), syntaxNodeOpt, diagnostics); 100.Select(s => s?.GetCciAdapter()) 304TypeManager.EmbedMethod(this, ((MethodSymbol)s).GetCciAdapter(), syntaxNodeOpt, diagnostics);
Emitter\NoPia\EmbeddedTypesManager.cs (5)
472EmbedMethod(embedded, m.GetCciAdapter(), syntaxNodeOpt, diagnostics); 589var getMethod = property.AdaptedPropertySymbol.GetMethod?.GetCciAdapter(); 590var setMethod = property.AdaptedPropertySymbol.SetMethod?.GetCciAdapter(); 624var addMethod = @event.AdaptedEventSymbol.AddMethod?.GetCciAdapter(); 625var removeMethod = @event.AdaptedEventSymbol.RemoveMethod?.GetCciAdapter();
Lowering\ClosureConversion\ClosureConversion.cs (1)
1563CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, synthesizedMethod.GetCciAdapter());
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
504F.ModuleBuilderOpt.AddSynthesizedDefinition(stateMachineType, finallyMethod.GetCciAdapter());
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
974privateImplClass.PrivateImplementationDetails.TryAddSynthesizedMethod(method.GetCciAdapter());
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
111module.EmbeddedTypesManagerOpt.EmbedMethodIfNeedTo(m.OriginalDefinition.GetCciAdapter(), syntaxNode, _diagnostics.DiagnosticBag);
Lowering\MethodToClassRewriter.cs (1)
173this.CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(containingType, wrapper.GetCciAdapter());
Lowering\StateMachineRewriter\StateMachineRewriter.cs (3)
355F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, result.GetCciAdapter()); 366F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, getter.GetCciAdapter()); 375F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, result.GetCciAdapter());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
501moduleBeingBuilt.AddSynthesizedDefinition(template, method.GetCciAdapter());
Symbols\Source\ExtensionGroupingInfo.cs (3)
755if (method.GetCciAdapter().ShouldInclude(context)) 757yield return method.GetCciAdapter(); 901yield return marker.GetCciAdapter();