Searched refs:CreateDelegate (Results 1 - 2 of 2) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | ReflectionUtil.cs | 170 var del = (Func<T1, int>) method.CreateDelegate(typeof(Func<T1, int>)); in CreateFuncIMessageInt32() 178 var del = (Func<T1, T2>) method.CreateDelegate(typeof(Func<T1, T2>)); in CreateFuncIMessageInt32() 185 var del = (Action<T1>) method.CreateDelegate(typeof(Action<T1>)); in CreateActionIMessage() 191 var del = (Func<T1, T2>) method.CreateDelegate(typeof(Func<T1, T2>)); in CreateFuncIMessageObject() 197 var del = (Action<T1, T2>) method.CreateDelegate(typeof(Action<T1, T2>)); in CreateActionIMessageObject() 203 var del = (Func<T1, bool>)method.CreateDelegate(typeof(Func<T1, bool>)); in CreateFuncIMessageBool() 317 var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetGetMethod(true).CreateDelegate(typeof(Func<T1, ExtensionSet<T1>>)); in CreateIsInitializedCaller() 319 var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetMethod.CreateDelegate(typeof(Func<T1, ExtensionSet<T1>>)); in CreateIsInitializedCaller() 325 .CreateDelegate(typeof(Func<ExtensionSet<T1>, bool>)); in CreateIsInitializedCaller() 346 method.CreateDelegate(typeo in CheckCanConvertEnumFuncToInt32Func() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/Compatibility/ |
H A D | MethodInfoExtensions.cs | 39 // .NET Core (at least netstandard1.0) doesn't have Delegate.CreateDelegate, and .NET 3.5 doesn't have 40 // MethodInfo.CreateDelegate. Proxy from one to the other on .NET 3.5... 43 internal static Delegate CreateDelegate(this MethodInfo method, Type type) => in CreateDelegate() method in Google.Protobuf.Compatibility.MethodInfoExtensions 44 Delegate.CreateDelegate(type, method); in CreateDelegate()
|
Completed in 2 milliseconds