55 references to GetCciAdapter
Microsoft.CodeAnalysis.CSharp (55)
CodeGen\EmitStackAllocInitializer.cs (1)
86var createSpanHelperReference = createSpanHelper.Construct(elementType).GetCciAdapter();
Compiler\MethodCompiler.cs (7)
247moduleBeingBuilt.AddSynthesizedDefinition(entryPoint.ContainingType, synthesizedEntryPoint.GetCciAdapter()); 608_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, method.GetCciAdapter()); 840_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, synthesizedExplicitImpl.GetCciAdapter()); 861_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceProperty.ContainingType, synthesizedAccessor.GetCciAdapter()); 1562kickoffMethod.GetCciAdapter(), 1573moveNextBodyDebugInfoOpt = new IteratorMoveNextBodyDebugInfo(kickoffMethod.GetCciAdapter()); 1615(method.PartialDefinitionPart ?? method).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)
65internal ISignature Underlying => _underlying.GetCciAdapter();
Emitter\Model\MethodSymbolAdapter.cs (2)
288return ((MethodSymbol)AdaptedMethodSymbol.OriginalDefinition).GetCciAdapter(); 562protected sealed override SymbolAdapter GetCciAdapterImpl() => GetCciAdapter();
Emitter\Model\NamedTypeSymbolAdapter.cs (6)
333var adapter = method.GetCciAdapter(); 356yield return new Microsoft.Cci.MethodImplementation(method.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(method.OverriddenMethod, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 371yield return new Microsoft.Cci.MethodImplementation(method.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(objectMethod, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 397yield return new Microsoft.Cci.MethodImplementation(body.GetCciAdapter(), moduleBeingBuilt.TranslateOverriddenMethodReference(implemented, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics)); 631if ((alwaysIncludeConstructors && method.MethodKind == MethodKind.Constructor) || method.GetCciAdapter().ShouldInclude(context)) 633yield return method.GetCciAdapter();
Emitter\Model\PEModuleBuilder.cs (7)
841return ((MethodSymbol)Compilation.GetWellKnownTypeMember(WellKnownMember.System_Runtime_CompilerServices_RuntimeHelpers__InitializeArrayArrayRuntimeFieldHandle))?.GetCciAdapter(); 1311return _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics); 1314return methodSymbol.GetCciAdapter(); 1353methodRef = _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics); 1357methodRef = methodSymbol.GetCciAdapter(); 1487return new SynthesizedPrivateImplementationDetailsStaticConstructor(GetPrivateImplClass(syntaxOpt, diagnostics), GetUntranslatedSpecialType(SpecialType.System_Void, syntaxOpt, diagnostics)).GetCciAdapter(); 1847privateImplClass.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(); 283return (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 (2)
54TypeManager.EmbedMethod(this, m.GetCciAdapter(), syntaxNodeOpt, diagnostics); 305TypeManager.EmbedMethod(this, ((MethodSymbol)s).GetCciAdapter(), syntaxNodeOpt, diagnostics);
Emitter\NoPia\EmbeddedTypesManager.cs (5)
420EmbedMethod(embedded, m.GetCciAdapter(), syntaxNodeOpt, diagnostics); 537var getMethod = property.AdaptedPropertySymbol.GetMethod?.GetCciAdapter(); 538var setMethod = property.AdaptedPropertySymbol.SetMethod?.GetCciAdapter(); 572var addMethod = @event.AdaptedEventSymbol.AddMethod?.GetCciAdapter(); 573var removeMethod = @event.AdaptedEventSymbol.RemoveMethod?.GetCciAdapter();
Lowering\ClosureConversion\ClosureConversion.cs (1)
1549CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, synthesizedMethod.GetCciAdapter());
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
497F.ModuleBuilderOpt.AddSynthesizedDefinition(stateMachineType, finallyMethod.GetCciAdapter());
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
966privateImplClass.PrivateImplementationDetails.TryAddSynthesizedMethod(method.GetCciAdapter());
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
110module.EmbeddedTypesManagerOpt.EmbedMethodIfNeedTo(m.OriginalDefinition.GetCciAdapter(), syntaxNode, _diagnostics.DiagnosticBag);
Lowering\MethodToClassRewriter.cs (1)
364this.CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(containingType, wrapper.GetCciAdapter());
Lowering\StateMachineRewriter\StateMachineRewriter.cs (3)
351F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, result.GetCciAdapter()); 362F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, getter.GetCciAdapter()); 371F.ModuleBuilderOpt.AddSynthesizedDefinition(F.CurrentType, result.GetCciAdapter());