435 int num = key.Length - 1;
436 int num2 = key2.Length - 1;
437 while (num >= 0 &&
num2 >= 0)
450 return key2.Length.CompareTo(
key.Length);
605 for (
int i = 0; i < sizes.MetadataVersionPaddedLength - (
count3 -
count2); i++)
610 builder.WriteUInt16((ushort)(5 + (sizes.IsEncDelta ? 1 : 0) + (
sizes.IsStandaloneDebugMetadata ? 1 : 0)));
612 if (
sizes.IsStandaloneDebugMetadata)
621 if (
sizes.IsEncDelta)
922 builder[32] = (_assemblyRow.HasValue ? 1 : 0);
949 builder[0] = (_moduleRow.HasValue ? 1 : 0);
966 return builder.MoveToImmutable();
983 ModuleVersionId =
mvid,
1002 Flags = (ushort)flags,
1003 HashAlgorithm = (uint)hashAlgorithm,
1014 if (version ==
null)
1024 Flags = (uint)flags,
1034 Flags = (uint)attributes,
1036 Namespace = @
namespace,
1048 Parent =
type.RowId,
1069 EnclosingClass = enclosingType.RowId
1079 Namespace = @
namespace
1106 PropFlags = (ushort)attributes,
1118 PropertyList = propertyList.RowId
1126 EventFlags = (ushort)attributes,
1138 EventList = eventList.RowId
1210 Flags = (ushort)attributes,
1219 if ((uint)
index > 65535
u)
1225 Flags = (ushort)attributes,
1247 Flags = (ushort)attributes,
1271 NativeType = descriptor
1296 Flags = (ushort)attributes,
1301 ParamList = parameterList.RowId
1313 MappingFlags = (ushort)attributes
1343 Flags = (uint)attributes,
1366 Flags = (uint)attributes,
1368 TypeNamespace = @
namespace,
1393 Token = entity.
Token,
1394 FuncCode = (byte)
code
1402 Token = entity.Token
1411 HashAlgorithm = hashAlgorithm,
1444 if ((uint)
index > 65535
u)
1450 Attributes = (ushort)attributes,
1482 KickoffMethod = kickoffMethod.RowId
1865 ulong num = metadataSizes.PresentTablesMask & 0xC4000000000000
uL;
1866 ulong
value = num | (metadataSizes.IsStandaloneDebugMetadata ? 0 : 24190111578624
uL);
1944 if (
item.BodyOffset == -1)
2226 writer.WriteUInt16((ushort)
item.Version.Major);
2227 writer.WriteUInt16((ushort)
item.Version.Minor);
2228 writer.WriteUInt16((ushort)
item.Version.Build);
2229 writer.WriteUInt16((ushort)
item.Version.Revision);
2383 int num = x.Parent - y.
Parent;
2455 return map[
handle.GetWriterVirtualIndex()];
2460 return handle.GetHeapOffset();
2470 return handle.GetHeapOffset();
2493 if (
value.IsDefault)
2575 for (
int i = 0; i <
str.Length; i++)
2629 if (
value.Length == 0)
2671 if (num >= 16777216)
2682 int num = list.Count + 1;
2684 builder.Count = num;
2687 string text =
string.Empty;
2703 return builder.MoveToImmutable();
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
void Add(TKey key, TValue value)
static byte Max(byte val1, byte val2)
static bool IsLowSurrogateChar(int c)
static unsafe int GetUTF8ByteCount(string str)
static int GetUserStringByteLength(int characterCount)
static uint Align(uint position, uint alignment)
static readonly ByteSequenceComparer Instance
static void InvalidOperation_TableNotSorted(TableIndex tableIndex)
static void ArgumentNull(string parameterName)
static void InvalidOperation(string message)
static void ArgumentOutOfRange(string parameterName)
static void HeapSizeLimitExceeded(HeapIndex heap)
static string ValueMustBeMultiple
static string Format(string resourceFormat, object p1)
static string ModuleAlreadyAdded
static string AssemblyAlreadyAdded
DeclarativeSecurityAction
GenericParameterAttributes
MethodSemanticsAttributes
ManifestResourceAttributes
static readonly Guid Empty