213 references to Public
PresentationBuildTasks (6)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
896_ccRoot.StyleConnectorFn.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1128_ccRoot.HookupFn.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1608_public = converter.ConvertToInvariantString(MemberAttributes.Public).ToLowerInvariant(); 1638return MemberAttributes.Public; 3099cmmMain.Attributes = MemberAttributes.Public | MemberAttributes.Static; 3355_initializeComponentFn.Attributes = MemberAttributes.Public | MemberAttributes.Final;
System (8)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
2073case MemberAttributes.Public: 2096case MemberAttributes.Public: 4099(object)MemberAttributes.Public,
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
781case MemberAttributes.Public: 827case MemberAttributes.Public: 3019(object)MemberAttributes.Public,
compmod\system\codedom\compiler\CodeGenerator.cs (2)
1089case MemberAttributes.Public: 1123case MemberAttributes.Public:
System.Activities (17)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (17)
719languageProperty.Attributes = MemberAttributes.Final | MemberAttributes.Public; 756constructor.Attributes = MemberAttributes.Public; 808getLocationsMethod.Attributes = MemberAttributes.Final | MemberAttributes.Public; 883getExpressionTreeForExpressionMethod.Attributes = MemberAttributes.Final | MemberAttributes.Public; 924invokeExpressionMethod.Attributes = MemberAttributes.Final | MemberAttributes.Public; 1270isValidMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1535expressionMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1552wrapperMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1580expressionMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1599wrapperMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1630expressionMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1646wrapperMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1854setLocationsOffsetMethod.Attributes = MemberAttributes.Public; 1916constructor.Attributes = MemberAttributes.Public; 1951constructor.Attributes = MemberAttributes.Public; 1980constructor.Attributes = MemberAttributes.Public; 2188validateMethod.Attributes = MemberAttributes.Public | MemberAttributes.Static;
System.Data (22)
fx\src\data\System\Data\CodeGen\datacache.cs (22)
393CodeMemberProperty countProp = PropertyDecl(typeof(System.Int32), "Count", MemberAttributes.Public | MemberAttributes.Final); { 413CodeMemberProperty thisIndex = PropertyDecl(stRowConcreateClassName, "Item", MemberAttributes.Public | MemberAttributes.Final); { 422CodeMemberMethod addMethod = MethodDecl(typeof(void), "Add" + stRowClassName, MemberAttributes.Public | MemberAttributes.Final); { 442CodeMemberMethod addByColName = MethodDecl(stRowConcreateClassName, "Add" + stRowClassName, MemberAttributes.Public | MemberAttributes.Final); { 519CodeMemberMethod findBy = MethodDecl(stRowClassName, FixIdName(FindByName), MemberAttributes.Public | MemberAttributes.Final); { 536CodeMemberMethod getEnumerator = MethodDecl(typeof(System.Collections.IEnumerator), "GetEnumerator", MemberAttributes.Public | MemberAttributes.Final); { 547CodeMemberMethod clone = MethodDecl(typeof(DataTable), "Clone", MemberAttributes.Public | MemberAttributes.Override); { 706CodeMemberMethod newTableRow = MethodDecl(stRowConcreateClassName, "New" + stRowClassName, MemberAttributes.Public | MemberAttributes.Final); { 736CodeMemberMethod removeMethod = MethodDecl(typeof(void), "Remove" + stRowClassName, MemberAttributes.Public | MemberAttributes.Final); { 809 CodeMemberProperty rowProp = PropertyDecl(DataType, rowColumnName, MemberAttributes.Public | MemberAttributes.Final); { 900CodeMemberMethod isNull = MethodDecl(typeof(System.Boolean), "Is" + rowColumnName + "Null", MemberAttributes.Public | MemberAttributes.Final); { 908CodeMemberMethod setNull = MethodDecl(typeof(void), "Set" + rowColumnName + "Null", MemberAttributes.Public | MemberAttributes.Final); { 924CodeMemberMethod childArray = Method(Type(rowConcreateClassName, 1), ChildPropertyName(relation), MemberAttributes.Public | MemberAttributes.Final); { 943CodeMemberProperty anotherProp = PropertyDecl(ParentTypedRowName, ParentPropertyName(relation), MemberAttributes.Public | MemberAttributes.Final); { 973constructor.Attributes = MemberAttributes.Public | MemberAttributes.Final; 984CodeMemberProperty rowProp = PropertyDecl(stRowConcreateClassName, "Row", MemberAttributes.Public | MemberAttributes.Final); { 992rowProp = PropertyDecl(typeof(DataRowAction), "Action", MemberAttributes.Public | MemberAttributes.Final); { 1031constructor.Attributes = MemberAttributes.Public; 1110CodeMemberMethod clone = MethodDecl(typeof(DataSet), "Clone", MemberAttributes.Public | MemberAttributes.Override); { 1204CodeMemberMethod getTypedDataSetSchema = MethodDecl(typeof(XmlSchemaComplexType), "GetTypedDataSetSchema", MemberAttributes.Static | MemberAttributes.Public); { 1359CodeMemberProperty prop = PropertyDecl(TableClassName(dataSet.Tables[i]), TableProperty, MemberAttributes.Public | MemberAttributes.Final); { 1538anEvent.Attributes = MemberAttributes.Public | MemberAttributes.Final;
System.Data.Entity.Design (19)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
385viewStoringType.Attributes = MemberAttributes.Public; 657constructor.Attributes = MemberAttributes.Public;
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (5)
202return !(typeAccess == MemberAttributes.Assembly && (setAccess == MemberAttributes.Public || setAccess == MemberAttributes.Family)); 219emptyCtor.Attributes = MemberAttributes.Public; 236connectionStringCtor.Attributes = MemberAttributes.Public; 255connectionWorkspaceCtor.Attributes = MemberAttributes.Public; 274onContextCreatedPartialMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public;
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (5)
92accessibility == MemberAttributes.Public || 98case MemberAttributes.Public: 125MemberAttributes accessibilty = MemberAttributes.Public; 149return MemberAttributes.Public; 170Debug.Assert(attribute == MemberAttributes.Public, "found MemberAttribute other than " + CodeGenerationValueAccessibilityPublic);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (4)
98onChangingDomMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public; 106onChangedDomMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public; 419if (accessibility == MemberAttributes.Public && propertyAccessibility != MemberAttributes.Public)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
173method.Attributes = MemberAttributes.Static|MemberAttributes.Public; 281if ((PropertyEmitter.GetGetterAccessibility(property) != MemberAttributes.Public && 282PropertyEmitter.GetSetterAccessibility(property) != MemberAttributes.Public) ||
System.Data.Services.Design (16)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
776propertyChangedEvent.Attributes = MemberAttributes.Public;
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
168return !(typeAccess == MemberAttributes.Assembly && (setAccess == MemberAttributes.Public || setAccess == MemberAttributes.Family)); 184connectionWorkspaceCtor.Attributes = MemberAttributes.Public; 236onContextCreatedPartialMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public;
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (5)
85accessibility == MemberAttributes.Public || 91case MemberAttributes.Public: 118MemberAttributes accessibilty = MemberAttributes.Public; 142return MemberAttributes.Public; 163Debug.Assert(attribute == MemberAttributes.Public, "found MemberAttribute other than " + CodeGenerationValueAccessibilityPublic);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (4)
104onChangingDomMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public; 111onChangedDomMethod.Attributes = MemberAttributes.Abstract | MemberAttributes.Public; 437if (accessibility == MemberAttributes.Public && propertyAccessibility != MemberAttributes.Public)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
163method.Attributes = MemberAttributes.Static | MemberAttributes.Public; 282if (PropertyEmitter.GetGetterAccessibility(property) != MemberAttributes.Public && 283PropertyEmitter.GetSetterAccessibility(property) != MemberAttributes.Public)
System.Management (56)
WmiGenerator.cs (56)
974cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final ; 1011cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1055cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1134cctor.Attributes = MemberAttributes.Public; 1185cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1232cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1257cmp2.Attributes = MemberAttributes.Public | MemberAttributes.Final; 2153cctor.Attributes = MemberAttributes.Public; 2195cctor.Attributes = MemberAttributes.Public; 2251cctor.Attributes = MemberAttributes.Public; 2314cctor.Attributes = MemberAttributes.Public; 2348cctor.Attributes = MemberAttributes.Public; 2376cctor.Attributes = MemberAttributes.Public; 2401cctor.Attributes = MemberAttributes.Public; 2438cctor.Attributes = MemberAttributes.Public; 2473cctor.Attributes = MemberAttributes.Public; 2534cctor.Attributes = MemberAttributes.Public; 2570cctor.Attributes = MemberAttributes.Public; 2641cctor.Attributes = MemberAttributes.Public; 2862cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final; 3334cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3364cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3395cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3427cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3474cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3585cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3617cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3658cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 3830cctor.Attributes = MemberAttributes.Public ; 3855cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3879cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3903cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3929cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3952cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3972cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 3997cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 4016cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 4035cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 4054cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 4102cmm.Attributes = MemberAttributes.Public | MemberAttributes.Override | MemberAttributes.Overloaded; 4322cctor.Attributes = MemberAttributes.Public; 4341cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4359cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4376cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4397cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4465cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4538cctor.Attributes = MemberAttributes.Public; 4558cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4590cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 4609cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Override; 5051cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final; 5080cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final; 5421cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final ; 6072cmp.Attributes = MemberAttributes.Public | MemberAttributes.Final; 6297cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final | MemberAttributes.Static ; 6377cmm.Attributes = MemberAttributes.Public | MemberAttributes.Final ;
System.Runtime.Serialization (10)
System\Runtime\Serialization\CodeExporter.cs (10)
1670readXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1691writeXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1711getSchemaMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1728getSchemaStaticMethod.Attributes = MemberAttributes.Static | MemberAttributes.Public; 1751baseConstructor.Attributes = MemberAttributes.Public; 1772derivedConstructor.Attributes = MemberAttributes.Public; 1809getObjectDataMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1885extensionDataObjectProperty.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1924propertyChangedEvent.Attributes = MemberAttributes.Public; 1946property.Attributes |= MemberAttributes.Public;
System.ServiceModel (10)
System\ServiceModel\Description\ClientClassGenerator.cs (7)
189ctor.Attributes = MemberAttributes.Public; 266helperMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 474m.Attributes = MemberAttributes.Public | MemberAttributes.Final; 531ctor.Attributes = MemberAttributes.Public; 600property.Attributes = MemberAttributes.Public | MemberAttributes.Final; 620operationCompletedEvent.Attributes = MemberAttributes.Public; 847eventAsyncMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final;
System\ServiceModel\Description\OperationGenerator.cs (3)
569memberDecl.Attributes = MemberAttributes.Public; 825defaultCtor.Attributes = MemberAttributes.Public; 828otherCtor.Attributes = MemberAttributes.Public;
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
168codeMemberMethod.Attributes = MemberAttributes.Public | MemberAttributes.Static;
System.Web (22)
Compilation\BaseCodeDomTreeGenerator.cs (3)
350_ctor.Attributes |= MemberAttributes.Public; 577BuildAccessorProperty(propName, fieldRef, propType, MemberAttributes.Public, attrDeclarations); 610prop.Attributes |= MemberAttributes.Public;
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
986method.Attributes |= MemberAttributes.Public; 1236method.Attributes |= MemberAttributes.Public; 1377method.Attributes |= MemberAttributes.Public;
Compilation\BrowserCapabilitiesCompiler.cs (1)
298method.Attributes = MemberAttributes.Override | MemberAttributes.Public;
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (2)
157if (ctor != null && (ctor.Attributes & MemberAttributes.Public) == MemberAttributes.Public
Compilation\PageCodeDomTreeGenerator.cs (7)
356method.Attributes |= MemberAttributes.Override | MemberAttributes.Public; 458method.Attributes |= MemberAttributes.Public; 485method.Attributes |= MemberAttributes.Public; 516method.Attributes |= MemberAttributes.Public; 543method.Attributes |= MemberAttributes.Public; 589method.Attributes |= MemberAttributes.New | MemberAttributes.Public; 592method.Attributes |= MemberAttributes.Override | MemberAttributes.Public;
Compilation\ProfileBuildProvider.cs (3)
189prop.Attributes = MemberAttributes.Public; 239prop.Attributes = MemberAttributes.Public; 277method.Attributes = MemberAttributes.Public;
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
124prop.Attributes |= MemberAttributes.Final | MemberAttributes.New | MemberAttributes.Public; 293ctorCode.Attributes |= MemberAttributes.Public;
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
734method.Attributes = MemberAttributes.Override | MemberAttributes.Public;
System.Web.Services (5)
System\Web\Services\Description\WebCodeGenerator.cs (5)
122member.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 140ctor.Attributes = (ctor.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 174method.Attributes = (method.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 262eventCompleted.Attributes = (eventCompleted.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 406prop.Attributes = (prop.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
System.Workflow.Activities (2)
WebServiceReceive.cs (2)
765constructor.Attributes = MemberAttributes.Public; 788webMethod.Attributes = MemberAttributes.Public;
System.Workflow.ComponentModel (8)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
1099invokeMethod.Attributes = MemberAttributes.Public; 1138codeConstructor.Attributes = MemberAttributes.Public;
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
166return ((memberAttributes & MemberAttributes.Public) != 0);
AuthoringOM\Compiler\TypeSystem\Helper.cs (3)
47else if ((memberAttributes & MemberAttributes.AccessMask) == MemberAttributes.Public) 83else if ((memberAttributes & MemberAttributes.AccessMask) == MemberAttributes.Public) 109else if ((memberAttributes & MemberAttributes.AccessMask) == MemberAttributes.Public)
AuthoringOM\Design\PropertyDescriptors.cs (1)
654memberCreationService.CreateField(designerHost.RootComponentClassName, activityBind.Path, boundType, null, MemberAttributes.Public, null, false);
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (1)
46ctor.Attributes = MemberAttributes.Public;
System.Xml (7)
System\Xml\Serialization\CodeExporter.cs (2)
302prop.Attributes = (prop.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 371propertyChangedEvent.Attributes = MemberAttributes.Public;
System\Xml\Serialization\SoapCodeExporter.cs (2)
222field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 229field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
System\Xml\Serialization\XmlCodeExporter.cs (3)
504ctor.Attributes = (ctor.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 707field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 714field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
XamlBuildTask (4)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
388Attributes = MemberAttributes.Public | MemberAttributes.Final, 885Attributes = MemberAttributes.Public, 1020return MemberAttributes.Public;
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (1)
91_public = memberAttributesConverter.ConvertToInvariantString(MemberAttributes.Public).ToUpperInvariant();