37 references to Encodings
System.AddIn (37)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (20)
281
UInt32 MetadataTokenSize(
Encodings
Which)
310
lengths[(Int32)Tables.Constant] = 1 + 1 + MetadataTokenSize(
Encodings
.HasConstant) + blobIndex;
311
lengths[(Int32)Tables.CustomAttribute] = MetadataTokenSize(
Encodings
.HasCustomAttribute) +
312
MetadataTokenSize(
Encodings
.CustomAttributeType) + blobIndex;
313
lengths[(Int32)Tables.DeclSecurity] = 2 + MetadataTokenSize(
Encodings
.HasDeclSecurity) + blobIndex;
315
lengths[(Int32)Tables.XEvent] = 2 + stringIndex + MetadataTokenSize(
Encodings
.TypeDefOrRef);
316
lengths[(Int32)Tables.ExportedType] = 4 + 4 + stringIndex*2 + MetadataTokenSize(
Encodings
.Implementation);
319
lengths[(Int32)Tables.FieldMarshal] = MetadataTokenSize(
Encodings
.HasFieldMarshall) + blobIndex;
322
lengths[(Int32)Tables.GenericParam] = 2 + 2 + MetadataTokenSize(
Encodings
.TypeOrMethodDef) + stringIndex;
323
lengths[(Int32)Tables.GenericMethod] = MetadataTokenSize(
Encodings
.MethodDefOrRef) + blobIndex;
324
lengths[(Int32)Tables.GenericConstraint] = RowSize(Tables.GenericParam) + MetadataTokenSize(
Encodings
.TypeDefOrRef);
325
lengths[(Int32)Tables.ImplMap] = 2 + MetadataTokenSize(
Encodings
.MemberForwarded) + stringIndex +
327
lengths[(Int32)Tables.InterfaceImpl] = RowSize(Tables.TypeDef) + MetadataTokenSize(
Encodings
.TypeDefOrRef);
328
lengths[(Int32)Tables.ManifestResource] = 4 + 4 + stringIndex + MetadataTokenSize(
Encodings
.Implementation);
329
lengths[(Int32)Tables.MemberRef] = MetadataTokenSize(
Encodings
.MemberRefParent) + stringIndex +
333
lengths[(Int32)Tables.MethodImpl] = RowSize(Tables.TypeDef) + MetadataTokenSize(
Encodings
.MethodDefOrRef) * 2;
334
lengths[(Int32)Tables.MethodSemantics] = 2 + RowSize(Tables.MethodDef) + MetadataTokenSize(
Encodings
.HasSemantics);
342
lengths[(Int32)Tables.TypeDef] = 4 + stringIndex*2 + MetadataTokenSize(
Encodings
.TypeDefOrRef) +
344
lengths[(Int32)Tables.TypeRef] = MetadataTokenSize(
Encodings
.ResolutionScope) + stringIndex*2;
495
internal MetadataToken ReadMetadataToken(
Encodings
E)
System\Addin\MiniReflection\MiniModule.cs (5)
104
MetadataToken genericTypeToken = _peFile.MetaData.ReadMetadataToken(MDTables.
Encodings
.TypeOrMethodDef); // owner
140
MetadataToken targetType = MetaData.ReadMetadataToken(MDTables.
Encodings
.HasCustomAttribute);
141
MetadataToken caType = MetaData.ReadMetadataToken(MDTables.
Encodings
.CustomAttributeType);
156
MetadataToken customAttributeType = MetaData.ReadMetadataToken(MDTables.
Encodings
.MemberRefParent);
159
MetadataToken resolutionScope = MetaData.ReadMetadataToken(MDTables.
Encodings
.ResolutionScope);
System\Addin\MiniReflection\TypeInfo.cs (12)
146
MetadataToken assemblyRef = MetaData.ReadMetadataToken(MDTables.
Encodings
.ResolutionScope);
435
MetadataToken baseClass = peFile.MetaData.ReadMetadataToken(MDTables.
Encodings
.TypeDefOrRef);
495
MetadataToken baseClass = MetaData.ReadMetadataToken(MDTables.
Encodings
.TypeDefOrRef); // Base class
511
MetaData.ReadMetadataToken(MDTables.
Encodings
.TypeDefOrRef); // Next type's base class
776
MetadataToken interfaceToken = mdScope.ReadMetadataToken(MDTables.
Encodings
.TypeDefOrRef);
785
MetadataToken resolutionScope = mdScope.ReadMetadataToken(MDTables.
Encodings
.ResolutionScope);
843
MetadataToken resolutionScope = thisMetaData.ReadMetadataToken(MDTables.
Encodings
.ResolutionScope);
900
MetadataToken interfaceToken = mdScope.ReadMetadataToken(MDTables.
Encodings
.TypeDefOrRef);
961
MetadataToken targetType = metaData.ReadMetadataToken(MDTables.
Encodings
.HasCustomAttribute);
962
MetadataToken caType = metaData.ReadMetadataToken(MDTables.
Encodings
.CustomAttributeType);
980
MetadataToken customAttributeType = metaData.ReadMetadataToken(MDTables.
Encodings
.MemberRefParent);
984
MetadataToken resolutionScope = metaData.ReadMetadataToken(MDTables.
Encodings
.ResolutionScope);