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

GetPhysicalLength() public method

public GetPhysicalLength ( ) : uint
return uint
        public override uint GetPhysicalLength()
        {
            var encoder = ModifierType.Header.GetStream<TableStream>()
                .GetIndexEncoder(CodedIndex.TypeDefOrRef);
            return sizeof (byte) +
                   encoder.EncodeToken(ModifierType.MetadataToken).GetCompressedSize() +
                   BaseType.GetPhysicalLength();
        }