20 references to IsPrivate
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1406
else if (member.
IsPrivate
)
Microsoft.Maui.Controls.Xaml (2)
ApplyPropertiesVisitor.cs (2)
463
var eventInfo = elementType.GetRuntimeEvent(localName) ?? elementType.GetRuntimeEvents().FirstOrDefault(ei => ei.Name == localName && !(ei.AddMethod.
IsPrivate
));
723
if (method.
IsPrivate
&& method.DeclaringType == rootElement.GetType())
Microsoft.ML.Core (4)
CommandLine\CmdParser.cs (2)
1367
if (meth != null && meth.IsStatic && !meth.
IsPrivate
&& meth.ReturnType == type)
1376
if (meth != null && !meth.
IsPrivate
&& meth.ReturnType == typeof(bool))
ComponentModel\ComponentCatalog.cs (2)
23
if (methodInfo.
IsPrivate
)
40
if (constructorInfo.
IsPrivate
)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (1)
551
ElseIf method.
IsPrivate
Then
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (2)
227
if ((method.
IsPrivate
|| method.IsFamilyAndAssembly || method.IsAssembly) &&
228
IsPublicOnly(method.
IsPrivate
, method.IsFamilyAndAssembly, method.IsAssembly, method.Module))
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Helpers.cs (1)
67
if (accessor.
IsPrivate
)
System.Windows.Forms.Design (4)
System\ComponentModel\Design\InheritanceService.cs (2)
168
privateInherited = mi.
IsPrivate
| mi.IsAssembly;
239
return method.
IsPrivate
|| method.IsAssembly;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
121
if (methodInfo.
IsPrivate
)
System\Windows\Forms\Design\DocumentDesigner.DocumentInheritanceService.cs (1)
45
privateMember = method.
IsPrivate
|| method.IsAssembly;
System.Xaml (5)
System\Xaml\Schema\TypeReflector.cs (5)
634
return mi is null || mi.
IsPrivate
;
696
if (!adder.
IsPrivate
)
759
if (!method.
IsPrivate
)
823
else if (!accessor.
IsPrivate
&& IsAttachablePropertyAccessor(isEvent, isGetter, accessor))
838
if (!accessor.
IsPrivate
&& IsAttachablePropertyAccessor(isEvent, isGetter, accessor))