19 references to GetCciAdapter
Microsoft.CodeAnalysis.VisualBasic (12)
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (3)
160
awaiters(DirectCast(field.Type.
GetCciAdapter
(), Cci.ITypeReference)) = slotIndex
181
Dim key = New EncHoistedLocalInfo(localSlotDebugInfo(slotIndex), DirectCast(field.Type.
GetCciAdapter
(), Cci.ITypeReference))
233
Dim local = New EncLocalInfo(slot, DirectCast(metadata.Type.
GetCciAdapter
(), Cci.ITypeReference), metadata.Constraints, metadata.SignatureOpt)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (4)
49
Return DirectCast(_symbols.Visit(symbol)?.
GetCciAdapter
(), Cci.IDefinition)
58
Return DirectCast(_symbols.Visit(DirectCast([namespace]?.GetInternalSymbol(), NamespaceSymbol))?.
GetCciAdapter
(), Cci.INamespace)
64
Return DirectCast(_symbols.Visit(symbol)?.
GetCciAdapter
(), Cci.ITypeReference)
197
builder.Add(DirectCast(member.
GetCciAdapter
(), Cci.INamespaceTypeDefinition))
Emit\PEModuleBuilder.vb (3)
229
AddSymbolLocation(result, location, DirectCast(symbol.
GetCciAdapter
(), Cci.IDefinition))
275
AddSymbolLocation(result, location, DirectCast(symbol.
GetCciAdapter
(), Cci.IDefinition))
683
Dim typeDefinition = DirectCast(symbol.
GetCciAdapter
(), Cci.ITypeDefinition)
Emit\SymbolAdapter.vb (1)
63
Return
GetCciAdapter
()
Emit\SymbolTranslator.vb (1)
208
Return _genericInstanceMap.GetOrAdd(symbol, Function(s) s.
GetCciAdapter
())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
3613
Dim type = DirectCast([module].GlobalNamespace.GetMember("EventDescriptor").
GetCciAdapter
(), Microsoft.Cci.ITypeDefinition)
Emit\CompilationEmitTests.vb (1)
3269
Dim method = DirectCast(namedType.GetMembers("goo1").Single.
GetCciAdapter
(), Microsoft.Cci.IMethodDefinition)
Emit\EditAndContinue\EditAndContinueTests.vb (1)
1026
Dim other = DirectCast(matcher.MapDefinition(DirectCast(member.
GetCciAdapter
(), Cci.IMethodDefinition)).GetInternalSymbol(), MethodSymbol)
Emit\EditAndContinue\SymbolMatcherTests.vb (3)
82
Dim other = matcher.MapDefinition(DirectCast(member.
GetCciAdapter
(), Cci.IDefinition))
115
Dim other = matcher.MapDefinition(DirectCast(member.
GetCciAdapter
(), Cci.IMethodDefinition))
295
Dim other = matcher.MapReference(DirectCast(member.Type.
GetCciAdapter
(), Cci.ITypeReference))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\FieldInitializerBindingTests.vb (1)
1515
Return (DirectCast(symbol.
GetCciAdapter
(), Microsoft.Cci.IFieldDefinition)).IsStatic