31 instantiations of DynamicMethod
Aspire.StackExchange.Redis (1)
dotnet-svcutil-lib (2)
Microsoft.AspNetCore.Routing (1)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.ML.Data (4)
Utils\ApiUtils.cs (4)
93var mb = new DynamicMethod("Peek", null, args, typeof(TOwn), true);
113var mb = new DynamicMethod("Peek", null, args, typeof(TOwn), true);
159var mb = new DynamicMethod("Poke", null, args, typeof(TOwn), true);
177var mb = new DynamicMethod("Poke", null, args, typeof(TOwn), true);
Microsoft.ML.Transforms (1)
Microsoft.VisualBasic.Core (1)
System.Linq.Expressions (2)
System.Private.CoreLib (3)
System.Private.DataContractSerialization (3)
System.Private.Xml (1)
System.Text.Json (8)
System.Text.RegularExpressions (1)
System.Xaml (2)
100 references to DynamicMethod
Aspire.StackExchange.Redis (1)
dotnet-svcutil-lib (3)
Microsoft.AspNetCore.Routing (1)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.ML.Data (4)
Utils\ApiUtils.cs (4)
93var mb = new DynamicMethod("Peek", null, args, typeof(TOwn), true);
113var mb = new DynamicMethod("Peek", null, args, typeof(TOwn), true);
159var mb = new DynamicMethod("Poke", null, args, typeof(TOwn), true);
177var mb = new DynamicMethod("Poke", null, args, typeof(TOwn), true);
Microsoft.ML.Transforms (1)
mscorlib (1)
netstandard (1)
System.Linq.Expressions (10)
System.Private.CoreLib (30)
System.Private.DataContractSerialization (4)
System.Private.Xml (5)
System.Reflection.Emit.Lightweight (1)
System.Text.Json (22)
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (22)
36var dynamicMethod = new DynamicMethod(
74private static DynamicMethod CreateParameterizedConstructor(ConstructorInfo constructor)
85var dynamicMethod = new DynamicMethod(
115private static DynamicMethod? CreateParameterizedConstructor(ConstructorInfo constructor, Type parameterType1, Type parameterType2, Type parameterType3, Type parameterType4)
126var dynamicMethod = new DynamicMethod(
159private static DynamicMethod CreateAddMethodDelegate(
165var dynamicMethod = new DynamicMethod(
186private static DynamicMethod CreateImmutableEnumerableCreateRangeDelegate(Type collectionType, Type elementType, Type enumerableType)
190var dynamicMethod = new DynamicMethod(
210private static DynamicMethod CreateImmutableDictionaryCreateRangeDelegate(Type collectionType, Type keyType, Type valueType, Type enumerableType)
214var dynamicMethod = new DynamicMethod(
233private static DynamicMethod CreatePropertyGetter(PropertyInfo propertyInfo, Type runtimePropertyType)
243DynamicMethod dynamicMethod = CreateGetterMethod(propertyInfo.Name, runtimePropertyType);
279private static DynamicMethod CreatePropertySetter(PropertyInfo propertyInfo, Type runtimePropertyType)
289DynamicMethod dynamicMethod = CreateSetterMethod(propertyInfo.Name, runtimePropertyType);
317private static DynamicMethod CreateFieldGetter(FieldInfo fieldInfo, Type runtimeFieldType)
324DynamicMethod dynamicMethod = CreateGetterMethod(fieldInfo.Name, runtimeFieldType);
351private static DynamicMethod CreateFieldSetter(FieldInfo fieldInfo, Type runtimeFieldType)
358DynamicMethod dynamicMethod = CreateSetterMethod(fieldInfo.Name, runtimeFieldType);
379private static DynamicMethod CreateGetterMethod(string memberName, Type memberType) =>
387private static DynamicMethod CreateSetterMethod(string memberName, Type memberType) =>
396private static T? CreateDelegate<T>(DynamicMethod? method) where T : Delegate =>
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\RegexLWCGCompiler.cs (5)
57DynamicMethod tryfindNextPossibleStartPositionMethod = DefineDynamicMethod($"Regex{regexNum}_TryFindNextPossibleStartingPosition{description}", typeof(bool), typeof(CompiledRegexRunner), s_paramTypes);
60DynamicMethod tryMatchAtCurrentPositionMethod = DefineDynamicMethod($"Regex{regexNum}_TryMatchAtCurrentPosition{description}", typeof(bool), typeof(CompiledRegexRunner), s_paramTypes);
63DynamicMethod scanMethod = DefineDynamicMethod($"Regex{regexNum}_Scan{description}", null, typeof(CompiledRegexRunner), [typeof(RegexRunner), typeof(ReadOnlySpan<char>)]);
71private DynamicMethod DefineDynamicMethod(string methname, Type? returntype, Type hostType, Type[] paramTypes)
80var dm = new DynamicMethod(methname, Attribs, Conventions, returntype, paramTypes, hostType, skipVisibility: false);
System.Xaml (7)