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