46 references to GetCciAdapter
Microsoft.CodeAnalysis.CSharp (30)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (3)
175
var value = new AnonymousTypeValue(name, index, type.
GetCciAdapter
());
186
var value = new AnonymousTypeValue(name, index, type.
GetCciAdapter
());
221
var value = new SynthesizedDelegateValue(type.
GetCciAdapter
());
Emitter\Model\EventSymbolAdapter.cs (2)
106
return AdaptedEventSymbol.ContainingType.
GetCciAdapter
();
126
return AdaptedEventSymbol.ContainingType.
GetCciAdapter
();
Emitter\Model\FieldSymbolAdapter.cs (1)
273
return AdaptedFieldSymbol.ContainingType.
GetCciAdapter
();
Emitter\Model\MethodSymbolAdapter.cs (1)
309
return AdaptedMethodSymbol.ContainingType.
GetCciAdapter
();
Emitter\Model\NamedTypeSymbolAdapter.cs (3)
647
yield return type.
GetCciAdapter
();
840
return AdaptedNamedTypeSymbol.ContainingType.
GetCciAdapter
();
906
protected sealed override SymbolAdapter GetCciAdapterImpl() =>
GetCciAdapter
();
Emitter\Model\PEModuleBuilder.cs (9)
534
.Select(type => type.
GetCciAdapter
())
556
yield return ((NamedTypeSymbol)member).
GetCciAdapter
();
668
((Cci.INamespaceTypeReference)type.
GetCciAdapter
()).NamespaceName,
669
Cci.MetadataWriter.GetMetadataName(type.
GetCciAdapter
(), generation: 0));
767
builder.Add(new Cci.ExportedType(type.
GetCciAdapter
(), parentIndex, isForwarder: true));
1050
return _embeddedTypesManagerOpt?.EmbedTypeIfNeedTo(namedTypeSymbol, fromImplements, syntaxNodeOpt, diagnostics) ?? namedTypeSymbol.
GetCciAdapter
();
1537
AddSynthesizedDefinition(result.ContainingType, result.
GetCciAdapter
());
1933
.Select(type => type.
GetCciAdapter
())
1942
.Select(type => type.
GetCciAdapter
())
Emitter\Model\PropertySymbolAdapter.cs (2)
220
return AdaptedPropertySymbol.ContainingType.
GetCciAdapter
();
240
return AdaptedPropertySymbol.ContainingType.
GetCciAdapter
();
Emitter\Model\TypeParameterSymbolAdapter.cs (2)
228
return ((NamedTypeSymbol)AdaptedTypeParameterSymbol.ContainingSymbol).
GetCciAdapter
();
345
return ((NamedTypeSymbol)AdaptedTypeParameterSymbol.ContainingSymbol).
GetCciAdapter
();
Emitter\NoPia\EmbeddedTypesManager.cs (1)
357
var adapter = namedType.
GetCciAdapter
();
Lowering\ClosureConversion\ClosureConversion.cs (2)
344
CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(ContainingType, frame.
GetCciAdapter
());
538
CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(this.ContainingType, frame.
GetCciAdapter
());
Lowering\SyntheticBoundNodeFactory.cs (1)
198
ModuleBuilderOpt.AddSynthesizedDefinition(CurrentType, nestedType.
GetCciAdapter
());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
674
var value = new CodeAnalysis.Emit.SynthesizedDelegateValue(delegateSymbol.
GetCciAdapter
());
691
var value = new Microsoft.CodeAnalysis.Emit.AnonymousTypeValue(nameAndIndex.Name, nameAndIndex.Index, template.
GetCciAdapter
());
709
var value = new AnonymousTypeValue(name, nameAndIndex.Index, template.
GetCciAdapter
());
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\CompilationEmitTests.cs (1)
2727
var class1TypeDef = (Cci.ITypeDefinition)class1.
GetCciAdapter
();
Emit\EditAndContinue\SymbolMatcherTests.cs (2)
953
var other = matcher.MapDefinition(member.
GetCciAdapter
());
986
var other = matcher.MapDefinition(member.
GetCciAdapter
());
Emit\EmitMetadataTests.cs (1)
1418
var typeDefinition = (Microsoft.Cci.ITypeDefinition)type.
GetCciAdapter
();
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
ReferencedModulesTests.cs (2)
1290
(moduleBuilder, emitOptions) => new PEAssemblyBuilderWithAdditionalReferences(moduleBuilder, emitOptions, objectType.
GetCciAdapter
()),
1409
(moduleBuilder, emitOptions) => new PEAssemblyBuilderWithAdditionalReferences(moduleBuilder, emitOptions, objectType.
GetCciAdapter
()),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SynthesizedStaticConstructorTests.cs (1)
309
return ((Microsoft.Cci.ITypeDefinition)typeSymbol.
GetCciAdapter
()).IsBeforeFieldInit;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Symbols\Source\BaseClassTests.cs (1)
1573
var typeDef = (Cci.ITypeDefinition)@class.
GetCciAdapter
();
Symbols\Source\MethodTests.cs (6)
1681
var typeDef = (Cci.ITypeDefinition)@class.
GetCciAdapter
();
1725
var typeDef = (Cci.ITypeDefinition)@class.
GetCciAdapter
();
1772
var typeDef = (Cci.ITypeDefinition)@class.
GetCciAdapter
();
1826
var typeDef = (Cci.ITypeDefinition)@class.
GetCciAdapter
();
1967
var typeDefC = (Cci.ITypeDefinition)classC.
GetCciAdapter
();
2011
var typeDefC = (Cci.ITypeDefinition)classC.
GetCciAdapter
();
Symbols\Source\PropertyTests.cs (2)
2504
var typeDef = (Microsoft.Cci.ITypeDefinition)@class.
GetCciAdapter
();
2542
var typeDef = (Microsoft.Cci.ITypeDefinition)@class.
GetCciAdapter
();