7 writes to m_ctor
System.Private.CoreLib (7)
src\System\Reflection\RuntimeCustomAttributeData.cs (7)
254
m_ctor
= (RuntimeConstructorInfo)RuntimeType.GetMethodBase(m_scope, caCtorToken)!;
260
m_ctor
= (RuntimeConstructorInfo)m_scope.ResolveMethod(caCtorToken, attributeType.GenericTypeArguments, null)!.MethodHandle.GetMethodInfo();
319
m_ctor
= type.GetConstructors(BindingFlags.Public | BindingFlags.Instance)[0];
339
m_ctor
= typeof(FieldOffsetAttribute).GetConstructors(BindingFlags.Public | BindingFlags.Instance)[0];
348
m_ctor
= type.GetConstructors(BindingFlags.Public | BindingFlags.Instance)[0];
387
m_ctor
= type.GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, sig, null)!;
408
m_ctor
= type.GetConstructors(BindingFlags.Public | BindingFlags.Instance)[0];
5 references to m_ctor
System.Private.CoreLib (5)
src\System\Reflection\RuntimeCustomAttributeData.cs (5)
256
if (
m_ctor
!.DeclaringType!.IsGenericType)
263
ReadOnlySpan<ParameterInfo> parameters =
m_ctor
.GetParametersAsSpan();
275
FieldInfo[] fields =
m_ctor
.DeclaringType!.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
276
PropertyInfo[] properties =
m_ctor
.DeclaringType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
415
public override ConstructorInfo Constructor =>
m_ctor
;