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