23 references to Method
ILCompiler.Compiler (2)
Compiler\MetadataManager.cs (2)
27
using Method = Internal.Metadata.NativeFormat.Writer.
Method
;
855
Method
record = transformed.GetTransformedMethodDefinition(typicalMethod);
ILCompiler.MetadataTransform (21)
ILCompiler\Metadata\IMetadataPolicy.cs (1)
27
/// Returns true if the method should generate <see cref="
Method
"/> metadata. If false,
ILCompiler\Metadata\MetadataTransformResult.cs (6)
84
/// Attempts to retrieve a <see cref="
Method
"/> record corresponding to the specified
87
public
Method
GetTransformedMethodDefinition(Cts.MethodDesc method)
97
return rec as
Method
;
100
public IEnumerable<KeyValuePair<Cts.MethodDesc,
Method
>> GetTransformedMethodDefinitions()
103
if (entry.Value is
Method
m)
104
yield return new KeyValuePair<Cts.MethodDesc,
Method
>(entry.Key, m);
ILCompiler\Metadata\Transform.Method.cs (4)
24
private Action<Cts.MethodDesc,
Method
> _initMethodDef;
54
private
Method
HandleMethodDefinition(Cts.MethodDesc method)
58
return (
Method
)_methods.GetOrCreate(method, _initMethodDef ??= InitializeMethodDefinition);
61
private void InitializeMethodDefinition(Cts.MethodDesc entity,
Method
record)
Internal\Metadata\NativeFormat\Writer\MdBinaryWriterGen.cs (3)
1140
public static void Write(this NativeWriter writer,
Method
record)
1148
public static void Write(this NativeWriter writer, List<
Method
> values)
1156
foreach (
Method
value in values)
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (7)
2800
var
other = obj as
Method
;
2846
internal static MethodHandle AsHandle(
Method
record)
3016
public
Method
Method;
4068
public
Method
Method;
4470
public List<
Method
> Methods = new List<
Method
>();