125 references to CodedIndex
AssemblyStripper (125)
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Metadata\MetadataRowReader.cs (39)
67 int GetCodedIndexSize (CodedIndex ci) 148 row.Parent = Utilities.GetMetadataToken (CodedIndex.HasConstant, 149 ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasConstant))); 154 row.Parent = Utilities.GetMetadataToken (CodedIndex.HasCustomAttribute, 155 ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasCustomAttribute))); 156 row.Type = Utilities.GetMetadataToken (CodedIndex.CustomAttributeType, 157 ReadByIndexSize (GetCodedIndexSize (CodedIndex.CustomAttributeType))); 163 row.Parent = Utilities.GetMetadataToken (CodedIndex.HasDeclSecurity, 164 ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasDeclSecurity))); 171 row.EventType = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 172 ReadByIndexSize (GetCodedIndexSize (CodedIndex.TypeDefOrRef))); 189 row.Implementation = Utilities.GetMetadataToken (CodedIndex.Implementation, 190 ReadByIndexSize (GetCodedIndexSize (CodedIndex.Implementation))); 205 row.Parent = Utilities.GetMetadataToken (CodedIndex.HasFieldMarshal, 206 ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasFieldMarshal))); 228 row.Owner = Utilities.GetMetadataToken (CodedIndex.TypeOrMethodDef, 229 ReadByIndexSize (GetCodedIndexSize (CodedIndex.TypeOrMethodDef))); 235 row.Constraint = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 236 ReadByIndexSize (GetCodedIndexSize (CodedIndex.TypeDefOrRef))); 241 row.MemberForwarded = Utilities.GetMetadataToken (CodedIndex.MemberForwarded, 242 ReadByIndexSize (GetCodedIndexSize (CodedIndex.MemberForwarded))); 249 row.Interface = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 250 ReadByIndexSize (GetCodedIndexSize (CodedIndex.TypeDefOrRef))); 257 row.Implementation = Utilities.GetMetadataToken (CodedIndex.Implementation, 258 ReadByIndexSize (GetCodedIndexSize (CodedIndex.Implementation))); 262 row.Class = Utilities.GetMetadataToken (CodedIndex.MemberRefParent, 263 ReadByIndexSize (GetCodedIndexSize (CodedIndex.MemberRefParent))); 279 row.MethodBody = Utilities.GetMetadataToken (CodedIndex.MethodDefOrRef, 280 ReadByIndexSize (GetCodedIndexSize (CodedIndex.MethodDefOrRef))); 281 row.MethodDeclaration = Utilities.GetMetadataToken (CodedIndex.MethodDefOrRef, 282 ReadByIndexSize (GetCodedIndexSize (CodedIndex.MethodDefOrRef))); 292 row.Association = Utilities.GetMetadataToken (CodedIndex.HasSemantics, 293 ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasSemantics))); 297 row.Method = Utilities.GetMetadataToken (CodedIndex.MethodDefOrRef, 298 ReadByIndexSize (GetCodedIndexSize (CodedIndex.MethodDefOrRef))); 352 row.Extends = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 353 ReadByIndexSize (GetCodedIndexSize (CodedIndex.TypeDefOrRef))); 359 row.ResolutionScope = Utilities.GetMetadataToken (CodedIndex.ResolutionScope, 360 ReadByIndexSize (GetCodedIndexSize (CodedIndex.ResolutionScope)));
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Metadata\MetadataRowWriter.cs (20)
79 void WriteMetadataToken (MetadataToken token, CodedIndex ci) 560 WriteMetadataToken (row.Parent, CodedIndex.HasConstant); 566 WriteMetadataToken (row.Parent, CodedIndex.HasCustomAttribute); 567 WriteMetadataToken (row.Type, CodedIndex.CustomAttributeType); 574 WriteMetadataToken (row.Parent, CodedIndex.HasDeclSecurity); 582 WriteMetadataToken (row.EventType, CodedIndex.TypeDefOrRef); 602 WriteMetadataToken (row.Implementation, CodedIndex.Implementation); 620 WriteMetadataToken (row.Parent, CodedIndex.HasFieldMarshal); 646 WriteMetadataToken (row.Owner, CodedIndex.TypeOrMethodDef); 653 WriteMetadataToken (row.Constraint, CodedIndex.TypeDefOrRef); 659 WriteMetadataToken (row.MemberForwarded, CodedIndex.MemberForwarded); 667 WriteMetadataToken (row.Interface, CodedIndex.TypeDefOrRef); 675 WriteMetadataToken (row.Implementation, CodedIndex.Implementation); 680 WriteMetadataToken (row.Class, CodedIndex.MemberRefParent); 698 WriteMetadataToken (row.MethodBody, CodedIndex.MethodDefOrRef); 699 WriteMetadataToken (row.MethodDeclaration, CodedIndex.MethodDefOrRef); 711 WriteMetadataToken (row.Association, CodedIndex.HasSemantics); 716 WriteMetadataToken (row.Method, CodedIndex.MethodDefOrRef); 780 WriteMetadataToken (row.Extends, CodedIndex.TypeDefOrRef); 787 WriteMetadataToken (row.ResolutionScope, CodedIndex.ResolutionScope);
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Metadata\Utilities.cs (42)
99 public static MetadataToken GetMetadataToken (CodedIndex cidx, uint data) 103 case CodedIndex.TypeDefOrRef : 115 case CodedIndex.HasConstant : 127 case CodedIndex.HasCustomAttribute : 173 case CodedIndex.HasFieldMarshal : 183 case CodedIndex.HasDeclSecurity : 195 case CodedIndex.MemberRefParent : 211 case CodedIndex.HasSemantics : 221 case CodedIndex.MethodDefOrRef : 231 case CodedIndex.MemberForwarded : 241 case CodedIndex.Implementation : 253 case CodedIndex.CustomAttributeType : 263 case CodedIndex.ResolutionScope : 277 case CodedIndex.TypeOrMethodDef : 292 public static uint CompressMetadataToken (CodedIndex cidx, MetadataToken token) 298 case CodedIndex.TypeDefOrRef : 310 case CodedIndex.HasConstant : 322 case CodedIndex.HasCustomAttribute : 368 case CodedIndex.HasFieldMarshal : 378 case CodedIndex.HasDeclSecurity : 390 case CodedIndex.MemberRefParent : 406 case CodedIndex.HasSemantics : 416 case CodedIndex.MethodDefOrRef : 426 case CodedIndex.MemberForwarded : 436 case CodedIndex.Implementation : 448 case CodedIndex.CustomAttributeType : 458 case CodedIndex.ResolutionScope : 472 case CodedIndex.TypeOrMethodDef : 535 internal static int GetCodedIndexSize (CodedIndex ci, TableRowCounter rowCounter, int [] codedIndexCache) 544 case CodedIndex.TypeDefOrRef : 551 case CodedIndex.HasConstant : 558 case CodedIndex.HasCustomAttribute : 582 case CodedIndex.HasFieldMarshal : 588 case CodedIndex.HasDeclSecurity : 595 case CodedIndex.MemberRefParent : 604 case CodedIndex.HasSemantics : 610 case CodedIndex.MethodDefOrRef : 616 case CodedIndex.MemberForwarded : 622 case CodedIndex.Implementation : 629 case CodedIndex.CustomAttributeType : 635 case CodedIndex.ResolutionScope : 643 case CodedIndex.TypeOrMethodDef :
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Signatures\SignatureReader.cs (4)
464 vt.Type = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 469 c.Type = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 526 ginst.Type = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef, 592 cm.TypeDefOrRef = Utilities.GetMetadataToken (CodedIndex.TypeDefOrRef,
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Signatures\SignatureWriter.cs (4)
239 CodedIndex.TypeDefOrRef, ((VALUETYPE) t).Type)); 243 CodedIndex.TypeDefOrRef, ((CLASS) t).Type)); 289 CodedIndex.TypeDefOrRef, gi.Type)); 350 CodedIndex.TypeDefOrRef, cm.TypeDefOrRef));
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24324.1\contentFiles\cs\netstandard2.0\Mono.Cecil\TableComparers.cs (14)
105 Utilities.CompressMetadataToken (CodedIndex.HasConstant, a.Parent), 106 Utilities.CompressMetadataToken (CodedIndex.HasConstant, b.Parent)); 124 Utilities.CompressMetadataToken (CodedIndex.TypeDefOrRef, a.Interface), 125 Utilities.CompressMetadataToken (CodedIndex.TypeDefOrRef, b.Interface)); 141 Utilities.CompressMetadataToken (CodedIndex.HasSemantics, a.Association), 142 Utilities.CompressMetadataToken (CodedIndex.HasSemantics, b.Association)); 156 Utilities.CompressMetadataToken (CodedIndex.HasCustomAttribute, a.Parent), 157 Utilities.CompressMetadataToken (CodedIndex.HasCustomAttribute, b.Parent)); 171 Utilities.CompressMetadataToken (CodedIndex.HasDeclSecurity, a.Parent), 172 Utilities.CompressMetadataToken (CodedIndex.HasDeclSecurity, b.Parent)); 238 Utilities.CompressMetadataToken (CodedIndex.HasFieldMarshal, a.Parent), 239 Utilities.CompressMetadataToken (CodedIndex.HasFieldMarshal, b.Parent)); 266 Utilities.CompressMetadataToken (CodedIndex.TypeOrMethodDef, a.Owner.MetadataToken), 267 Utilities.CompressMetadataToken (CodedIndex.TypeOrMethodDef, b.Owner.MetadataToken));
AssemblyStripper.cs (2)
21var leftParentCodedIdx = Utilities.CompressMetadataToken(CodedIndex.HasCustomAttribute, row_left.Parent); 22var rightParentCodedIdx = Utilities.CompressMetadataToken(CodedIndex.HasCustomAttribute, row_right.Parent);