1 write to _moduleBeingBuiltOpt
Microsoft.CodeAnalysis.CSharp (1)
Compiler\MethodCompiler.cs (1)
96_moduleBeingBuiltOpt = moduleBeingBuiltOpt;
25 references to _moduleBeingBuiltOpt
Microsoft.CodeAnalysis.CSharp (25)
Compiler\MethodCompiler.cs (25)
350=> _moduleBeingBuiltOpt?.IsEncDelta != true; 356Debug.Assert(_moduleBeingBuiltOpt != null); 358_moduleBeingBuiltOpt.DebugDocumentsBuilder.GetOrAddDebugDocument(path, basePath, CreateDebugDocumentForFile)); 450var compilationState = new TypeCompilationState(containingType, _compilation, _moduleBeingBuiltOpt); 595if (_moduleBeingBuiltOpt != null && !processedStaticInitializers.BoundInitializers.IsDefaultOrEmpty) 606if (_moduleBeingBuiltOpt.GetMethodBody(method) != null) 608_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, method.GetCciAdapter()); 647if (_moduleBeingBuiltOpt != null) 667Debug.Assert(_moduleBeingBuiltOpt != null); 669var compilationState = new TypeCompilationState(null, _compilation, _moduleBeingBuiltOpt); 670var context = new EmitContext(_moduleBeingBuiltOpt, null, diagnostics.DiagnosticBag, metadataOnly: false, includePrivateMembers: true); 688var compilationState = new TypeCompilationState(additionalType, _compilation, _moduleBeingBuiltOpt); 705Debug.Assert(_moduleBeingBuiltOpt != null); 706Debug.Assert(compilationState.ModuleBuilderOpt == _moduleBeingBuiltOpt); 731_moduleBeingBuiltOpt.TryCreateVariableSlotAllocator(lambda, lambda.TopLevelMethod, diagnosticsThisMethod.DiagnosticBag) : 732_moduleBeingBuiltOpt.TryCreateVariableSlotAllocator(method, method, diagnosticsThisMethod.DiagnosticBag); 761_moduleBeingBuiltOpt, 795_moduleBeingBuiltOpt.SetMethodBody(method, emittedBody); 840_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceTypeSymbol, synthesizedExplicitImpl.GetCciAdapter()); 861_moduleBeingBuiltOpt.AddSynthesizedDefinition(sourceProperty.ContainingType, synthesizedAccessor.GetCciAdapter()); 911if (_moduleBeingBuiltOpt == null && (object)sourceMethod != null) 932if (_moduleBeingBuiltOpt != null) 1151if (_moduleBeingBuiltOpt == null || hasErrors) 1323_moduleBeingBuiltOpt, 1340_moduleBeingBuiltOpt.SetMethodBody(methodSymbol.PartialDefinitionPart ?? methodSymbol, emittedBody);