1 write to _lazySecurityActions
Microsoft.CodeAnalysis (1)
Symbols\Attributes\SecurityWellKnownAttributeData.cs (1)
37
Interlocked.CompareExchange(ref
_lazySecurityActions
, new byte[totalSourceAttributes], null);
10 references to _lazySecurityActions
Microsoft.CodeAnalysis (10)
Symbols\Attributes\SecurityWellKnownAttributeData.cs (10)
35
if (
_lazySecurityActions
== null)
40
Debug.Assert(
_lazySecurityActions
.Length == totalSourceAttributes);
41
_lazySecurityActions
[attributeIndex] = (byte)action;
65
Debug.Assert(_lazyPathsForPermissionSetFixup == null ||
_lazySecurityActions
!= null && _lazyPathsForPermissionSetFixup.Length ==
_lazySecurityActions
.Length);
67
if (
_lazySecurityActions
!= null)
69
Debug.Assert(
_lazySecurityActions
!= null);
70
Debug.Assert(
_lazySecurityActions
.Length == customAttributes.Length);
74
if (
_lazySecurityActions
[i] != 0)
76
var action = (DeclarativeSecurityAction)
_lazySecurityActions
[i];