44 references to Row
Mono.Cecil (44)
Mono.Cecil\AssemblyReader.cs (9)
1012
return new
Row
<short, int> (Mixin.NoDataMarker, Mixin.NoDataMarker);
1019
return new
Row
<short, int> ((short) class_layout.Col1, (int) class_layout.Col2);
1037
class_layouts.Add (parent, new
Row
<ushort, uint> (packing_size, class_size));
1259
AddInterfaceMapping (type, new
Row
<uint, MetadataToken> (i, @interface));
1693
semantics [method_rid] = new
Row
<MethodSemanticsAttributes, MetadataToken> (attributes, association);
2037
new
Row
<uint, MetadataToken> (i, ReadMetadataToken (CodedIndex.TypeDefOrRef)));
2407
constants.Add (owner, new
Row
<ElementType, uint> (type, signature));
3254
return new
Row
<byte [], bool> (signature.ReadBytes ((int) length), false);
3263
return new
Row
<byte [], bool> (decompressed_document, true);
Mono.Cecil\AssemblyWriter.cs (12)
1563
var rid = table.AddRow (new
GenericParamConstraintRow
(
1582
var rid = iface_impl_table.AddRow (new
InterfaceImplRow
(
1611
nested_table.AddRow (new
NestedClassRow
(nested.token.RID, type.token.RID));
1666
table.AddRow (new
FieldRVARow
(
1674
table.AddRow (new
FieldLayoutRow
((uint) field.Offset, field.token.RID));
1797
table.AddRow (new
FieldMarshalRow
(
1806
property_map_table.AddRow (new
PropertyMapRow
(type.token.RID, property_rid));
1848
event_map_table.AddRow (new
EventMapRow
(type.token.RID, event_rid));
2082
return new
MethodSpecRow
(
2329
state_machine_method_table.AddRow (new
StateMachineMethodRow
(method_info.Method.MetadataToken.RID, method_info.StateMachineKickOffMethod.MetadataToken.RID));
2372
local_constant_table.AddRow (new
LocalConstantRow
(GetStringIndex (constant.Name), GetBlobIndex (GetConstantSignature(constant))));
2552
var row = new
ImportScopeRow
(parent, targets_index);
Mono.Cecil\MetadataSystem.cs (18)
73
{ "Void", new
Row
<ElementType, bool> (ElementType.Void, false) },
74
{ "Boolean", new
Row
<ElementType, bool> (ElementType.Boolean, true) },
75
{ "Char", new
Row
<ElementType, bool> (ElementType.Char, true) },
76
{ "SByte", new
Row
<ElementType, bool> (ElementType.I1, true) },
77
{ "Byte", new
Row
<ElementType, bool> (ElementType.U1, true) },
78
{ "Int16", new
Row
<ElementType, bool> (ElementType.I2, true) },
79
{ "UInt16", new
Row
<ElementType, bool> (ElementType.U2, true) },
80
{ "Int32", new
Row
<ElementType, bool> (ElementType.I4, true) },
81
{ "UInt32", new
Row
<ElementType, bool> (ElementType.U4, true) },
82
{ "Int64", new
Row
<ElementType, bool> (ElementType.I8, true) },
83
{ "UInt64", new
Row
<ElementType, bool> (ElementType.U8, true) },
84
{ "Single", new
Row
<ElementType, bool> (ElementType.R4, true) },
85
{ "Double", new
Row
<ElementType, bool> (ElementType.R8, true) },
86
{ "String", new
Row
<ElementType, bool> (ElementType.String, false) },
87
{ "TypedReference", new
Row
<ElementType, bool> (ElementType.TypedByRef, false) },
88
{ "IntPtr", new
Row
<ElementType, bool> (ElementType.I, true) },
89
{ "UIntPtr", new
Row
<ElementType, bool> (ElementType.U, true) },
90
{ "Object", new
Row
<ElementType, bool> (ElementType.Object, false) },
Mono.Cecil\ModuleDefinition.cs (1)
690
return Read (new
Row
<string, string> (scope, fullname), (row, reader) => reader.GetTypeReference (row.Col1, row.Col2));
Mono.Cecil\TypeDefinitionCollection.cs (3)
73
name_cache [new
Slot
(type.Namespace, type.Name)] = type;
80
name_cache.Remove (new
Slot
(type.Namespace, type.Name));
94
if (name_cache.TryGetValue (new
Slot
(@namespace, name), out type))
Mono.Cecil\TypeSystem.cs (1)
41
return module.Read (new
Row
<string, string> (@namespace, name), (row, reader) => {