Base:
method
AddSynthesizedDefinition
Microsoft.CodeAnalysis.Emit.PEModuleBuilder<TCompilation, TSourceModuleSymbol, TAssemblySymbol, TTypeSymbol, TNamedTypeSymbol, TMethodSymbol, TSyntaxNode, TEmbeddedTypesManager, TModuleCompilationState>.AddSynthesizedDefinition(TNamedTypeSymbol, Microsoft.Cci.IFieldDefinition)
6 references to AddSynthesizedDefinition
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (3)
400CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(synthesizedEnv, hoistedField.GetCciAdapter()); 707CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(frame, capturedFrame.GetCciAdapter()); 1714CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(translatedLambdaContainer, cacheField.GetCciAdapter());
Lowering\SynthesizedSubmissionFields.cs (2)
98moduleBeingBuilt.AddSynthesizedDefinition(containingType, field.GetCciAdapter()); 104moduleBeingBuilt.AddSynthesizedDefinition(containingType, hostObjectField.GetCciAdapter());
Lowering\SyntheticBoundNodeFactory.cs (1)
214ModuleBuilderOpt.AddSynthesizedDefinition(containingType, field.GetCciAdapter());