1 write to m_moduleData
mscorlib (1)
system\reflection\emit\modulebuilder.cs (1)
593
m_moduleData
= new ModuleBuilderData(this, strModuleName, strFileName, tkFile);
56 references to m_moduleData
mscorlib (56)
system\reflection\emit\assemblybuilder.cs (10)
1581
if (moduleBuilder.
m_moduleData
.m_strModuleName.Equals(name))
1823
assemblyModule.
m_moduleData
.FileToken = 0;
1943
strModFileName = mBuilder.
m_moduleData
.m_strFileName;
1953
mBuilder.
m_moduleData
.FileToken = AddFile(GetNativeHandle(), mBuilder.
m_moduleData
.m_strFileName);
1960
SetFileHashValue(GetNativeHandle(), mBuilder.
m_moduleData
.FileToken, strModFileName);
1980
DefineNestedComType(type, modBuilder.
m_moduleData
.FileToken, type.MetadataToken);
1989
DefineNestedComType(type, modBuilder.
m_moduleData
.FileToken, typeBuilder.MetadataTokenInternal);
2059
int entryPoint = (m_assemblyData.m_entryPointModule != null) ? m_assemblyData.m_entryPointModule.
m_moduleData
.FileToken : 0;
2075
assemblyModule.SetEntryPoint(new MethodToken(m_assemblyData.m_entryPointModule.
m_moduleData
.FileToken));
system\reflection\emit\assemblybuilderdata.cs (7)
300
if (moduleBuilder.
m_moduleData
.m_strModuleName.Equals(strNewModuleName))
351
if (moduleBuilder.
m_moduleData
.m_strFileName != null)
353
if (String.Compare(moduleBuilder.
m_moduleData
.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0)
387
if (moduleBuilder.
m_moduleData
.m_strFileName != null)
389
if (String.Compare(moduleBuilder.
m_moduleData
.m_strFileName, strFileName, StringComparison.OrdinalIgnoreCase) == 0)
409
if (moduleBuilder.
m_moduleData
.m_strModuleName != null)
411
if (String.Compare(moduleBuilder.
m_moduleData
.m_strModuleName, strName, StringComparison.OrdinalIgnoreCase) == 0)
system\reflection\emit\modulebuilder.cs (38)
336
string strResourceFileName =
m_moduleData
.m_strResourceFileName;
337
byte[] resourceBytes =
m_moduleData
.m_resourceBytes;
398
if (
m_moduleData
.m_isSaved == true)
403
m_moduleData
.m_strModuleName));
406
if (
m_moduleData
.m_fGlobalBeenCreated == false &&
m_moduleData
.m_fHasGlobal == true)
442
if (
m_moduleData
.m_embeddedRes != null)
448
for (resWriter =
m_moduleData
.m_embeddedRes; resWriter != null; resWriter = resWriter.m_nextResWriter)
462
m_moduleData
.FileToken,
475
m_moduleData
.m_isSaved = true;
605
m_moduleData
.ModifyModuleName(name);
994
String fullyQualifiedName =
m_moduleData
.m_strFileName;
1326
resWriterData.m_nextResWriter =
m_moduleData
.m_embeddedRes;
1327
m_moduleData
.m_embeddedRes = resWriterData;
1377
resWriterData.m_nextResWriter =
m_moduleData
.m_embeddedRes;
1378
m_moduleData
.m_embeddedRes = resWriterData;
1405
if (
m_moduleData
.m_strResourceFileName != null ||
m_moduleData
.m_resourceBytes != null)
1408
m_moduleData
.m_resourceBytes = new byte[resource.Length];
1409
System.Array.Copy(resource,
m_moduleData
.m_resourceBytes, resource.Length);
1436
if (
m_moduleData
.m_resourceBytes != null ||
m_moduleData
.m_strResourceFileName != null)
1457
m_moduleData
.m_strResourceFileName = strFullFileName;
1493
if (
m_moduleData
.m_fGlobalBeenCreated == true)
1512
m_moduleData
.m_fHasGlobal = true;
1514
return
m_moduleData
.m_globalTypeBuilder.DefineMethod(name, attributes, callingConvention,
1565
m_moduleData
.m_fHasGlobal = true;
1566
return
m_moduleData
.m_globalTypeBuilder.DefinePInvokeMethod(name, dllName, entryName, attributes, callingConvention, returnType, parameterTypes, nativeCallConv, nativeCharSet);
1579
if (
m_moduleData
.m_fGlobalBeenCreated)
1584
m_moduleData
.m_globalTypeBuilder.CreateType();
1585
m_moduleData
.m_fGlobalBeenCreated = true;
1616
if (
m_moduleData
.m_fGlobalBeenCreated == true)
1623
m_moduleData
.m_fHasGlobal = true;
1624
return
m_moduleData
.m_globalTypeBuilder.DefineInitializedData(name, data, attributes);
1649
if (
m_moduleData
.m_fGlobalBeenCreated == true)
1656
m_moduleData
.m_fHasGlobal = true;
1657
return
m_moduleData
.m_globalTypeBuilder.DefineUninitializedData(name, size, attributes);
1782
strRefedModuleFileName = refedModuleBuilder.
m_moduleData
.m_strFileName;
system\reflection\emit\typebuilder.cs (1)
726
containingAssem.DefineExportedTypeInMemory(this, m_module.
m_moduleData
.FileToken, m_tdType.Token);