internal PrivateImplementationDetails( Cci.IModule moduleBuilder, string moduleName, int submissionSlotIndex, Cci.ITypeReference systemObject, Cci.ITypeReference systemValueType, Cci.ITypeReference systemInt8Type, Cci.ITypeReference systemInt16Type, Cci.ITypeReference systemInt32Type, Cci.ITypeReference systemInt64Type, Cci.ICustomAttribute compilerGeneratedAttribute) { Debug.Assert(systemObject != null); Debug.Assert(systemValueType != null); _moduleBuilder = moduleBuilder; _systemObject = systemObject; _systemValueType = systemValueType; _systemInt8Type = systemInt8Type; _systemInt16Type = systemInt16Type; _systemInt32Type = systemInt32Type; _systemInt64Type = systemInt64Type; _compilerGeneratedAttribute = compilerGeneratedAttribute; var isNetModule = moduleBuilder.AsAssembly == null; _name = GetClassName(moduleName, submissionSlotIndex, isNetModule); }
internal PrivateImplementationDetails( Cci.IModule module, int submissionSlotIndex, Cci.ITypeReference systemObject, Cci.ITypeReference systemValueType, Cci.ITypeReference systemInt8Type, Cci.ITypeReference systemInt16Type, Cci.ITypeReference systemInt32Type, Cci.ITypeReference systemInt64Type, Cci.ICustomAttribute compilerGeneratedAttribute) { Debug.Assert(module != null); Debug.Assert(systemObject != null); Debug.Assert(systemValueType != null); this.module = module; this.systemObject = systemObject; this.systemValueType = systemValueType; this.systemInt8Type = systemInt8Type; this.systemInt16Type = systemInt16Type; this.systemInt32Type = systemInt32Type; this.systemInt64Type = systemInt64Type; this.compilerGeneratedAttribute = compilerGeneratedAttribute; this.name = GetClassName(submissionSlotIndex); }
public EmitContext(Cci.IModule module, SyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics) { Debug.Assert(module != null); Debug.Assert(diagnostics != null); this.Module = module; this.SyntaxNodeOpt = syntaxNodeOpt; this.Diagnostics = diagnostics; }
internal ManagedResource ToManagedResource(Cci.IModule moduleBeingBuilt) { return(new ManagedResource(ResourceName, IsPublic, IsEmbedded ? DataProvider : null, IsEmbedded ? null : this, offset: 0)); }