Home
last modified time | relevance | path

Searched refs:ReflectionUtil (Results 1 - 8 of 8) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DSingleFieldAccessor.cs59 setValueDelegate = ReflectionUtil.CreateActionIMessageObject(property.GetSetMethod()); in SingleFieldAccessor()
95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
96 MethodInfo clearMethod = property.DeclaringType.GetRuntimeMethod("Clear" + property.Name, ReflectionUtil.EmptyTypes); in SingleFieldAccessor()
101 clearDelegate = ReflectionUtil.CreateActionIMessage(clearMethod); in SingleFieldAccessor()
H A DExtensionAccessor.cs38 private readonly ReflectionUtil.IExtensionReflectionHelper helper;
44 helper = ReflectionUtil.CreateExtensionHelper(extension); in ExtensionAccessor()
H A DOneofAccessor.cs60 ReflectionUtil.CreateFuncIMessageInt32(caseProperty.GetGetMethod()), in ForRegularOneof()
61 ReflectionUtil.CreateActionIMessage(clearMethod)); in ForRegularOneof()
H A DReflectionUtil.cs47 internal static class ReflectionUtil class
49 static ReflectionUtil() in ReflectionUtil() method in Google.Protobuf.Reflection.ReflectionUtil
344 MethodInfo method = typeof(ReflectionUtil).GetMethod(nameof(SampleEnumMethod)); in CheckCanConvertEnumFuncToInt32Func()
H A DFieldAccessorBase.cs50 getValueDelegate = ReflectionUtil.CreateFuncIMessageObject(property.GetGetMethod()); in FieldAccessorBase()
H A DGeneratedClrTypeInfo.cs94 NestedEnums = nestedEnums ?? ReflectionUtil.EmptyTypes; in GeneratedClrTypeInfo()
H A DMessageDescriptor.cs162 extensionSetIsInitialized = ReflectionUtil.CreateIsInitializedCaller(ClrType); in IsExtensionsInitialized()
H A DFileDescriptor.cs591 public static void ForceReflectionInitialization<T>() => ReflectionUtil.ForceInitialize<T>(); in ForceReflectionInitialization()

Completed in 5 milliseconds