58 references to GetCciAdapter
Microsoft.CodeAnalysis.VisualBasic (47)
Compilation\MethodCompiler.vb (7)
627_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, sharedDefaultConstructor.GetCciAdapter()) 838_moduleBeingBuiltOpt.AddSynthesizedDefinition(method.ContainingType, DirectCast(matchingStub.GetCciAdapter(), Microsoft.Cci.IMethodDefinition)) 1362_moduleBeingBuiltOpt.AddSynthesizedDefinition(containingType, getter.GetCciAdapter()) 1400_moduleBeingBuiltOpt.AddSynthesizedDefinition(containingType, setter.GetCciAdapter()) 1628kickoffMethod.GetCciAdapter(), 1636moveNextBodyDebugInfoOpt = New IteratorMoveNextBodyDebugInfo(kickoffMethod.GetCciAdapter()) 1672If(method.PartialDefinitionPart, method).GetCciAdapter(),
Emit\EventSymbolAdapter.vb (6)
21Dim addMethod = AdaptedEventSymbol.AddMethod.GetCciAdapter() 27Dim removeMethod = AdaptedEventSymbol.RemoveMethod.GetCciAdapter() 33Dim raiseMethod = AdaptedEventSymbol.RaiseMethod?.GetCciAdapter() 42Dim addMethod = AdaptedEventSymbol.AddMethod.GetCciAdapter() 52Dim removeMethod = AdaptedEventSymbol.RemoveMethod.GetCciAdapter() 78Return AdaptedEventSymbol.RaiseMethod?.GetCciAdapter()
Emit\MethodSymbolAdapter.vb (2)
233Return AdaptedMethodSymbol.OriginalDefinition.GetCciAdapter() 458Return GetCciAdapter()
Emit\NamedTypeSymbolAdapter.vb (4)
307explicitImplements.Add(New Cci.MethodImplementation(implementingMethod.GetCciAdapter(), 314explicitImplements.Add(New Cci.MethodImplementation(implementingMethod.GetCciAdapter(), 322explicitImplements.Add(New Cci.MethodImplementation(implementingMethod.GetCciAdapter(), 634Dim adapter = method.GetCciAdapter()
Emit\NoPia\EmbeddedEvent.vb (1)
107TypeManager.EmbedMethodIfNeedTo(DirectCast(m, MethodSymbol).GetCciAdapter(), syntaxNodeOpt, diagnostics)
Emit\NoPia\EmbeddedType.vb (3)
45TypeManager.EmbedMethod(Me, m.GetCciAdapter(), syntaxNodeOpt, diagnostics) 84Return UnderlyingNamedType.AdaptedNamedTypeSymbol.GetMethodsToEmit().Select(Function(s) s?.GetCciAdapter()) 239TypeManager.EmbedMethod(Me, DirectCast(s, MethodSymbol).GetCciAdapter(), syntaxNodeOpt, diagnostics)
Emit\NoPia\EmbeddedTypesManager.vb (6)
334EmbedMethod(embedded, m.GetCciAdapter(), syntaxNodeOpt, diagnostics) 442Dim embeddedGet = If(getMethod IsNot Nothing, EmbedMethod(type, getMethod.GetCciAdapter(), syntaxNodeOpt, diagnostics), Nothing) 443Dim embeddedSet = If(setMethod IsNot Nothing, EmbedMethod(type, setMethod.GetCciAdapter(), syntaxNodeOpt, diagnostics), Nothing) 477Dim embeddedAdd = If(addMethod IsNot Nothing, EmbedMethod(type, addMethod.GetCciAdapter(), syntaxNodeOpt, diagnostics), Nothing) 478Dim embeddedRemove = If(removeMethod IsNot Nothing, EmbedMethod(type, removeMethod.GetCciAdapter(), syntaxNodeOpt, diagnostics), Nothing) 479Dim embeddedCall = If(callMethod IsNot Nothing, EmbedMethod(type, callMethod.GetCciAdapter(), syntaxNodeOpt, diagnostics), Nothing)
Emit\PEModuleBuilder.vb (2)
611Return DirectCast(Compilation.GetWellKnownTypeMember(WellKnownMember.System_Runtime_CompilerServices_RuntimeHelpers__InitializeArrayArrayRuntimeFieldHandle), MethodSymbol)?.GetCciAdapter() 751Return New SynthesizedPrivateImplementationDetailsSharedConstructor(SourceModule, details, GetUntranslatedSpecialType(SpecialType.System_Void, syntaxOpt, diagnostics)).GetCciAdapter()
Emit\PropertySymbolAdapter.vb (4)
23Dim getter = AdaptedPropertySymbol.GetMethod?.GetCciAdapter() 28Dim setter = AdaptedPropertySymbol.SetMethod?.GetCciAdapter() 44Return AdaptedPropertySymbol.GetMethod?.GetCciAdapter() 84Return AdaptedPropertySymbol.SetMethod?.GetCciAdapter()
Emit\SpecializedMethodReference.vb (1)
35Return m_UnderlyingMethod.OriginalDefinition.GetCciAdapter()
Emit\SymbolTranslator.vb (4)
425Return _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics) 428Return methodSymbol.GetCciAdapter() 452methodRef = _embeddedTypesManagerOpt.EmbedMethodIfNeedTo(methodSymbol.GetCciAdapter(), syntaxNodeOpt, diagnostics) 454methodRef = methodSymbol.GetCciAdapter()
Emit\SynthesizedStaticLocalBackingFieldAdapter.vb (1)
46Dim signature = GeneratedNames.MakeSignatureString(metadataWriter.GetMethodSignature(declaringMethod.GetCciAdapter()))
Emit\TypeParameterSymbolAdapter.vb (2)
183Return DirectCast(AdaptedTypeParameterSymbol.ContainingSymbol, MethodSymbol).GetCciAdapter() 257Return DirectCast(AdaptedTypeParameterSymbol.ContainingSymbol, MethodSymbol).GetCciAdapter()
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1072CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, synthesizedMethod.GetCciAdapter())
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
191privateImplClass.TryAddSynthesizedMethod(method.GetCciAdapter())
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
94Me.CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(containingType, wrapperMethod.GetCciAdapter())
Lowering\SyntheticBoundNodeFactory.vb (1)
104[module].AddSynthesizedDefinition(containingType, method.GetCciAdapter())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
CodeGen\CodeGenTests.vb (1)
11640Assert.True(DirectCast(ctorB.GetCciAdapter(), Cci.IMethodDefinition).IsExternal)
Emit\EditAndContinue\EditAndContinueTests.vb (2)
1050Dim other = DirectCast(matcher.MapDefinition(DirectCast(member.GetCciAdapter(), Cci.IMethodDefinition)).GetInternalSymbol(), MethodSymbol) 1084Dim other = DirectCast(matcher.MapDefinition(DirectCast(member1.GetCciAdapter(), Cci.IMethodDefinition)).GetInternalSymbol(), MethodSymbol)
Emit\EditAndContinue\SymbolMatcherTests.vb (8)
135Dim other = matcher.MapDefinition(member.GetCciAdapter()) 167Dim other = DirectCast(matcher.MapDefinition(member1.GetCciAdapter()).GetInternalSymbol(), MethodSymbol) 195Dim mf1 = matcher.MapDefinition(f1.GetCciAdapter()).GetInternalSymbol() 547Dim other = matcher.MapDefinition(member.GetCciAdapter()) 643Dim other = matcher.MapDefinition(member.GetCciAdapter()) 677Dim other = matcher.MapDefinition(member.GetCciAdapter()) 711Dim other = matcher.MapDefinition(member.GetCciAdapter()) 745Dim other = matcher.MapDefinition(member.GetCciAdapter())