9 writes to m_strongNames
mscorlib (9)
system\security\permissions\strongnameidentitypermission.cs (9)
150
m_strongNames
= new StrongName2[1];
173
m_strongNames
= new StrongName2[1];
200
m_strongNames
= new StrongName2[1];
224
m_strongNames
= new StrongName2[1];
264
perm.
m_strongNames
= new StrongName2[this.m_strongNames.Length];
348
result.
m_strongNames
= alStrongNames.ToArray();
395
result.
m_strongNames
= alStrongNames.ToArray();
403
m_strongNames
= null;
443
m_strongNames
= al.ToArray();
67 references to m_strongNames
mscorlib (67)
system\security\permissions\strongnameidentitypermission.cs (67)
151
m_strongNames
[0] = new StrongName2(blob, name, version);
169
if(
m_strongNames
!= null &&
m_strongNames
.Length == 1)
170
m_strongNames
[0].m_publicKeyBlob = value;
174
m_strongNames
[0] = new StrongName2(value, "", new Version());
180
if(
m_strongNames
== null ||
m_strongNames
.Length == 0)
182
if(
m_strongNames
.Length > 1)
184
return
m_strongNames
[0].m_publicKeyBlob;
196
if(
m_strongNames
!= null &&
m_strongNames
.Length == 1)
197
m_strongNames
[0].m_name = value;
201
m_strongNames
[0] = new StrongName2(null, value, new Version());
207
if(
m_strongNames
== null ||
m_strongNames
.Length == 0)
209
if(
m_strongNames
.Length > 1)
211
return
m_strongNames
[0].m_name;
220
if(
m_strongNames
!= null &&
m_strongNames
.Length == 1)
221
m_strongNames
[0].m_version = value;
225
m_strongNames
[0] = new StrongName2(null, "", value);
231
if(
m_strongNames
== null ||
m_strongNames
.Length == 0)
233
if(
m_strongNames
.Length > 1)
235
return
m_strongNames
[0].m_version;
262
if(this.
m_strongNames
!= null)
264
perm.m_strongNames = new StrongName2[this.
m_strongNames
.Length];
266
for(n = 0; n < this.
m_strongNames
.Length; n++)
267
perm.
m_strongNames
[n] = this.
m_strongNames
[n].Copy();
278
if(
m_strongNames
== null)
280
if(
m_strongNames
.Length == 0)
291
if(this.
m_strongNames
!= null)
293
foreach(StrongName2 snThis in
m_strongNames
)
296
if(that.
m_strongNames
!= null)
298
foreach(StrongName2 snThat in that.
m_strongNames
)
333
if(this.
m_strongNames
== null || that.
m_strongNames
== null || this.
m_strongNames
.Length == 0 || that.
m_strongNames
.Length == 0)
336
foreach(StrongName2 snThis in this.
m_strongNames
)
338
foreach(StrongName2 snThat in that.
m_strongNames
)
356
if((this.
m_strongNames
== null || this.
m_strongNames
.Length == 0) && !this.m_unrestricted)
369
if (this.
m_strongNames
== null || this.
m_strongNames
.Length == 0)
371
if(that.
m_strongNames
== null || that.
m_strongNames
.Length == 0)
375
if(that.
m_strongNames
== null || that.
m_strongNames
.Length == 0)
378
foreach(StrongName2 snThis in this.
m_strongNames
)
380
foreach(StrongName2 snThat in that.
m_strongNames
)
451
else if (
m_strongNames
!= null)
453
if (
m_strongNames
.Length == 1)
455
if (
m_strongNames
[0].m_publicKeyBlob != null)
456
esd.AddAttribute("PublicKeyBlob", Hex.EncodeHexString(
m_strongNames
[0].m_publicKeyBlob.PublicKey));
457
if (
m_strongNames
[0].m_name != null)
458
esd.AddAttribute("Name",
m_strongNames
[0].m_name);
459
if ((Object)
m_strongNames
[0].m_version != null)
460
esd.AddAttribute("AssemblyVersion",
m_strongNames
[0].m_version.ToString());
465
for(n = 0; n <
m_strongNames
.Length; n++)
468
if (
m_strongNames
[n].m_publicKeyBlob != null)
469
child.AddAttribute("PublicKeyBlob", Hex.EncodeHexString(
m_strongNames
[n].m_publicKeyBlob.PublicKey));
470
if (
m_strongNames
[n].m_name != null)
471
child.AddAttribute("Name",
m_strongNames
[n].m_name);
472
if ((Object)
m_strongNames
[n].m_version != null)
473
child.AddAttribute("AssemblyVersion",
m_strongNames
[n].m_version.ToString());