1 instantiation of InaccessibleMemberAccess
Microsoft.Maui.Controls.BindingSourceGen (1)
PathParser.cs (1)
59 : new InaccessibleMemberAccess(containgType, memberType, accessorKind, member, !isReferenceType);
7 references to InaccessibleMemberAccess
Microsoft.Maui.Controls.BindingSourceGen (7)
AccessExpressionBuilder.cs (3)
15 InaccessibleMemberAccess inaccessibleMemberAccess when inaccessibleMemberAccess.Kind == AccessorKind.Field => $"{CreateUnsafeFieldAccessorMethodName(bindingId, inaccessibleMemberAccess.MemberName)}({previousExpression})", 16 InaccessibleMemberAccess inaccessibleMemberAccess when inaccessibleMemberAccess.Kind == AccessorKind.Property && !shouldUseUnsafePropertySetter => $"{CreateUnsafePropertyAccessorGetMethodName(bindingId, inaccessibleMemberAccess.MemberName)}({previousExpression})", 17 InaccessibleMemberAccess inaccessibleMemberAccess when inaccessibleMemberAccess.Kind == AccessorKind.Property => previousExpression, // This case is handled by the caller
BindingCodeWriter.cs (2)
135 .OfType<InaccessibleMemberAccess>(); 140 foreach (var unsafeAccessor in unsafeAccessors)
PathPart.cs (1)
14 return other is InaccessibleMemberAccess memberAccess
Setter.cs (1)
59 InaccessibleMemberAccess inaccessibleMemberAccess when inaccessibleMemberAccess.Kind == AccessorKind.Property => $"{CreateUnsafePropertyAccessorSetMethodName(bindingId, inaccessibleMemberAccess.MemberName)}({accessAccumulator}, {assignedValueExpression});",