67 references to Public
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
151TypeAttributes = classData.IsPublic ? TypeAttributes.Public : TypeAttributes.NotPublic,
mscorlib (8)
system\reflection\emit\generictypeparameterbuilder.cs (1)
159protected override TypeAttributes GetAttributeFlagsImpl() { return TypeAttributes.Public; }
system\reflection\emit\typebuilder.cs (5)
352if ((type.Attributes & TypeAttributes.VisibilityMask) == TypeAttributes.Public) 645if (((attr & TypeAttributes.VisibilityMask) == TypeAttributes.Public) ||((attr & TypeAttributes.VisibilityMask) == TypeAttributes.NotPublic)) 885typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass; 905if (((attr & TypeAttributes.VisibilityMask) != TypeAttributes.NotPublic) &&((attr & TypeAttributes.VisibilityMask) != TypeAttributes.Public)) 913if (((attr & TypeAttributes.VisibilityMask) == TypeAttributes.NotPublic) ||((attr & TypeAttributes.VisibilityMask) == TypeAttributes.Public))
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
38TypeAttributes.Sealed | TypeAttributes.Public,
system\type.cs (1)
1019get {return ((GetAttributeFlagsImpl() & TypeAttributes.VisibilityMask) == TypeAttributes.Public);}
PresentationBuildTasks (6)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
361get { return _ccRoot != null && _ccRoot.CodeClass.TypeAttributes == TypeAttributes.Public; } 1676_publicClass = converter.ConvertToInvariantString(TypeAttributes.Public).ToLowerInvariant(); 1703return TypeAttributes.Public; 1713return TypeAttributes.Public; 2427if (TypeAttributes.Public == ctdClass.TypeAttributes) 2664ctdClass.TypeAttributes = TypeAttributes.Public | TypeAttributes.Sealed;
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
2391case TypeAttributes.Public: 2783case TypeAttributes.Public: 4034(object)TypeAttributes.Public,
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
939case TypeAttributes.Public: 2177case TypeAttributes.Public: 3084(object)TypeAttributes.Public, 3095return TypeAttributes.Public;
compmod\system\codedom\CodeTypeDeclaration.cs (1)
33private TypeAttributes attributes = Reflection.TypeAttributes.Public | Reflection.TypeAttributes.Class;
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1148case TypeAttributes.Public:
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1535if ((iface.Attributes & (TypeAttributes.Public | TypeAttributes.NestedPublic)) != 0) {
net\System\Net\Configuration\DefaultProxySection.cs (1)
188if ((theType.Attributes & TypeAttributes.VisibilityMask) != TypeAttributes.Public)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
3370_typebuilder = _module.DefineType(typename, TypeAttributes.Class | TypeAttributes.Public, inheritfromclass);
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
537TypeBuilder typeBuilder = this.dynamicModule.DefineType(typeName, TypeAttributes.Public | TypeAttributes.Class);
System.AddIn (2)
System\Addin\MiniReflection\MiniModule.cs (1)
175bool isPublic = vis == System.Reflection.TypeAttributes.Public; // NestedPublic not supported
System\Addin\MiniReflection\TypeInfo.cs (1)
489bool isPublic = (vis == System.Reflection.TypeAttributes.Public); // don't support NestedPublic
System.Core (1)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
127TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.AnsiClass | TypeAttributes.AutoClass
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1003delegateClass.TypeAttributes |= System.Reflection.TypeAttributes.Public;
System.Data.Entity (2)
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
577access == TypeAttributes.Public); 706TypeAttributes proxyTypeAttributes = TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed;
System.Data.Entity.Design (3)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
672typeDecl.TypeAttributes = TypeAttributes.Sealed | TypeAttributes.Public;
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
112TypeAttributes accessibilty = TypeAttributes.Public; 190return TypeAttributes.Public;
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
105TypeAttributes accessibilty = TypeAttributes.Public; 183return TypeAttributes.Public;
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
154this.typeBldr = modBldr.DefineType("System.Xml.Xsl.CompiledQuery.Query", TypeAttributes.Public);
System\Xml\Xsl\Xslt\Scripts.cs (1)
137newScriptClass.typeDecl.TypeAttributes = TypeAttributes.Public;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
697scriptClass.TypeAttributes = TypeAttributes.Public;
System.Management (2)
WmiGenerator.cs (2)
1878EnumObj.TypeAttributes = TypeAttributes.Public; 1982EnumObj.TypeAttributes = TypeAttributes.Public;
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
456type.TypeAttributes = TypeAttributes.Public;
System.ServiceModel (2)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
78TypeBuilder typeBuilder = DynamicModule.DefineType(interfaceType.Name + "MarshalByRefObject", TypeAttributes.Public | TypeAttributes.Class | TypeAttributes.Abstract,
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
564codeType.TypeAttributes &= ~TypeAttributes.Public;
System.Web (3)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
53_factoryClass.TypeAttributes &= ~TypeAttributes.Public;
Util\FactoryGenerator.cs (1)
146TypeAttributes.Public,
Util\FastPropertyAccessor.cs (1)
114TypeAttributes.Public,
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
320TypeAttributes.Public, typeof(DynamicClass));
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
161TypeAttributes.Public,
System.Web.Services (2)
System\Web\Services\Description\WebCodeGenerator.cs (2)
214codeClass.TypeAttributes |= TypeAttributes.Public; 216codeClass.TypeAttributes &= ~TypeAttributes.Public;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
856EnumBuilder enumBuilder = ModuleBuilder.DefineEnum(enumName, TypeAttributes.Public, enumType);
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
130this.typeAttributes |= codeDomType.TypeAttributes & ~TypeAttributes.Public;
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
110typeAttributes |= ((declaringType != null) ? TypeAttributes.NestedPublic : TypeAttributes.Public);
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
66TypeAttributes.Public |
System.Xml (7)
System\Xml\Serialization\CodeExporter.cs (1)
221codeClass.TypeAttributes |= TypeAttributes.Public;
System\Xml\Serialization\SoapCodeExporter.cs (1)
143codeClass.TypeAttributes |= TypeAttributes.Public;
System\Xml\Serialization\XmlCodeExporter.cs (1)
516codeClass.TypeAttributes |= TypeAttributes.Public;
System\Xml\Serialization\XmlSerializationILGen.cs (4)
47this.typeAttributes = TypeAttributes.Public; 254TypeAttributes.Public | TypeAttributes.Abstract | TypeAttributes.BeforeFieldInit, 302TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.BeforeFieldInit, 467TypeAttributes.Public | TypeAttributes.BeforeFieldInit,
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
167TypeAttributes = classData.IsPublic ? TypeAttributes.Public : TypeAttributes.NotPublic
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (1)
111_publicClass = typeAttributesConverter.ConvertToInvariantString(TypeAttributes.Public).ToUpperInvariant();