Searched refs:ReflectionUtil (Results 1 – 9 of 9) sorted by relevance
59 setValueDelegate = ReflectionUtil.CreateActionIMessageObject(property.GetSetMethod()); in SingleFieldAccessor()95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()96 …thod = property.DeclaringType.GetRuntimeMethod("Clear" + property.Name, ReflectionUtil.EmptyTypes); in SingleFieldAccessor()101 clearDelegate = ReflectionUtil.CreateActionIMessage(clearMethod); in SingleFieldAccessor()
38 private readonly ReflectionUtil.IExtensionReflectionHelper helper;44 helper = ReflectionUtil.CreateExtensionHelper(extension); in ExtensionAccessor()
60 ReflectionUtil.CreateFuncIMessageInt32(caseProperty.GetGetMethod()), in ForRegularOneof()61 ReflectionUtil.CreateActionIMessage(clearMethod)); in ForRegularOneof()
47 internal static class ReflectionUtil class49 static ReflectionUtil() in ReflectionUtil() method in Google.Protobuf.Reflection.ReflectionUtil344 MethodInfo method = typeof(ReflectionUtil).GetMethod(nameof(SampleEnumMethod)); in CheckCanConvertEnumFuncToInt32Func()
50 getValueDelegate = ReflectionUtil.CreateFuncIMessageObject(property.GetGetMethod()); in FieldAccessorBase()
94 NestedEnums = nestedEnums ?? ReflectionUtil.EmptyTypes; in GeneratedClrTypeInfo()
162 extensionSetIsInitialized = ReflectionUtil.CreateIsInitializedCaller(ClrType); in IsExtensionsInitialized()
591 … public static void ForceReflectionInitialization<T>() => ReflectionUtil.ForceInitialize<T>(); in ForceReflectionInitialization()
242 csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs \