63 references to Public
mscorlib (26)
system\reflection\Associates.cs (1)
171
bool isPublic = visibility == MethodAttributes.
Public
;
system\reflection\ConstructorInfo.cs (1)
241
((Attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.
Public
||
system\reflection\emit\dynamicmethod.cs (7)
86
MethodAttributes.
Public
| MethodAttributes.Static,
107
MethodAttributes.
Public
| MethodAttributes.Static,
131
MethodAttributes.
Public
| MethodAttributes.Static,
156
MethodAttributes.
Public
| MethodAttributes.Static,
207
MethodAttributes.
Public
| MethodAttributes.Static,
232
MethodAttributes.
Public
| MethodAttributes.Static,
276
if ((attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.
Public
)
system\reflection\emit\propertybuilder.cs (4)
211
if ((m_getMethod.Attributes & MethodAttributes.
Public
) == MethodAttributes.
Public
)
221
if ((m_setMethod.Attributes & MethodAttributes.
Public
) == MethodAttributes.
Public
)
system\reflection\emit\typebuilder.cs (1)
2366
DefineDefaultConstructor(MethodAttributes.
Public
);
system\reflection\methodbase.cs (1)
214
public bool IsPublic { get { return(Attributes & MethodAttributes.MemberAccessMask) == MethodAttributes.
Public
; } }
system\reflection\methodinfo.cs (1)
214
if ( (Attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.
Public
||
system\rttype.cs (5)
331
bool isPublic = (methodAttributes & MethodAttributes.MemberAccessMask) == MethodAttributes.
Public
;
661
bool isPublic = (methodAttributes & MethodAttributes.MemberAccessMask) == MethodAttributes.
Public
;
773
bool isPublic = methodAccess == MethodAttributes.
Public
;
835
bool isPublic = (methodAttributes & MethodAttributes.MemberAccessMask) == MethodAttributes.
Public
;
5515
(ace.m_ctorAttributes & MethodAttributes.MemberAccessMask) != MethodAttributes.
Public
)
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
135
MethodAttributes.
Public
| MethodAttributes.Virtual,
295
MethodAttributes.
Public
| MethodAttributes.Virtual,
621
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Finalize", MethodAttributes.
Public
| MethodAttributes.Virtual, null, null );
750
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Dispose", MethodAttributes.
Public
| MethodAttributes.Virtual, null, null );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
142
MethodAttributes attr = MethodAttributes.
Public
| MethodAttributes.Virtual;
System (5)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
133
return MethodAttributes.
Public
;
regex\system\text\regularexpressions\RegexCompiler.cs (4)
3202
MethodAttributes ma = System.Reflection.MethodAttributes.
Public
;
3279
ma = System.Reflection.MethodAttributes.
Public
;
3380
MethodAttributes ma = System.Reflection.MethodAttributes.
Public
| System.Reflection.MethodAttributes.Virtual;
3449
MethodAttributes attribs = MethodAttributes.
Public
| MethodAttributes.Static;
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
609
MethodAttributes.Static | MethodAttributes.
Public
,
System.AddIn (1)
System\Addin\MiniReflection\TypeInfo.cs (1)
526
if (!includePrivate && (attrs & System.Reflection.MethodAttributes.
Public
) == 0)
System.Core (3)
Microsoft\Scripting\Ast\TypeUtils.cs (1)
33
internal const MethodAttributes PublicStatic = MethodAttributes.
Public
| MethodAttributes.Static;
Microsoft\Scripting\Compiler\DelegateHelpers.cs (2)
27
private const MethodAttributes CtorAttributes = MethodAttributes.RTSpecialName | MethodAttributes.HideBySig | MethodAttributes.
Public
;
29
private const MethodAttributes InvokeAttributes = MethodAttributes.
Public
| MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual;
System.Data.Entity (9)
System\Data\Objects\Internal\EntityProxyFactory.cs (9)
569
bool accessableCtor = ctor != null && (((ctor.Attributes & MethodAttributes.MemberAccessMask) == MethodAttributes.
Public
) ||
589
(access == MethodAttributes.
Public
||
718
_typeBuilder.DefineDefaultConstructor(MethodAttributes.
Public
| MethodAttributes.HideBySig | MethodAttributes.RTSpecialName | MethodAttributes.SpecialName);
985
MethodBuilder getterBuilder = typeBuilder.DefineMethod("GetBasePropertyValue", MethodAttributes.
Public
| MethodAttributes.HideBySig, typeof(object), new Type[] { typeof(string) });
1007
MethodBuilder setterBuilder = typeBuilder.DefineMethod("SetBasePropertyValue", MethodAttributes.
Public
| MethodAttributes.HideBySig, typeof(void), new Type[] { typeof(string), typeof(object) });
1435
MethodBuilder setChangeTracker = typeBuilder.DefineMethod("SetChangeTracker", MethodAttributes.
Public
| MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final,
1452
_getRelationshipManager = typeBuilder.DefineMethod("get_RelationshipManager", MethodAttributes.
Public
| MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.SpecialName | MethodAttributes.Virtual | MethodAttributes.Final,
1628
MethodAttributes.
Public
| MethodAttributes.HideBySig | MethodAttributes.Virtual,
1663
constructorAttributes |= _serializationConstructor.IsPublic? MethodAttributes.
Public
: MethodAttributes.Private;
System.Drawing (1)
commonui\System\Drawing\ColorConverter.cs (1)
336
MethodAttributes attrs = MethodAttributes.
Public
| MethodAttributes.Static;
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
90
MethodAttributes.
Public
| MethodAttributes.Virtual |
System.Web (3)
Util\FactoryGenerator.cs (1)
153
MethodAttributes.
Public
|
Util\FastPropertyAccessor.cs (2)
123
MethodAttributes.
Public
|
161
MethodAttributes.
Public
|
System.Web.Extensions (4)
UI\WebControls\Dynamic.cs (4)
342
MethodAttributes.
Public
| MethodAttributes.SpecialName | MethodAttributes.HideBySig,
349
MethodAttributes.
Public
| MethodAttributes.SpecialName | MethodAttributes.HideBySig,
365
MethodAttributes.
Public
| MethodAttributes.ReuseSlot |
400
MethodAttributes.
Public
| MethodAttributes.ReuseSlot |
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
168
MethodAttributes.
Public
|
System.Workflow.ComponentModel (5)
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
48
methodAttributes |= MethodAttributes.
Public
;
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (4)
76
if (nonPublic || ((this.getMethod != null) && ((this.getMethod.Attributes & MethodAttributes.
Public
) == MethodAttributes.
Public
)))
90
if (nonPublic || ((this.setMethod != null) && ((this.setMethod.Attributes & MethodAttributes.
Public
) == MethodAttributes.
Public
)))
System.WorkflowServices (1)
System\Workflow\Activities\ContractMethodInfo.cs (1)
43
this.methodAttributes = MethodAttributes.
Public
|
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (2)
40
internal static MethodAttributes PublicMethodAttributes = MethodAttributes.
Public
| MethodAttributes.HideBySig;
41
internal static MethodAttributes PublicOverrideMethodAttributes = MethodAttributes.
Public
| MethodAttributes.Virtual | MethodAttributes.HideBySig;