AsmResolver.Net.Signatures.SecurityAttributeSignature.GetPhysicalLength C# (CSharp) Method

GetPhysicalLength() public method

public GetPhysicalLength ( ) : uint
return uint
        public override uint GetPhysicalLength()
        {
            uint argumentsSize = (uint)NamedArguments.Sum(x => x.GetPhysicalLength());
            return (uint)(TypeName.GetSerStringSize() +
                          (NamedArguments.Count == 0
                              ? 2 * sizeof (byte)
                              : NamedArguments.Count.GetCompressedSize() +
                                argumentsSize.GetCompressedSize() +
                                argumentsSize));
        }