394 references to TypeAttributes
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (2)
151
TypeAttributes = classData.IsPublic ?
TypeAttributes
.Public :
TypeAttributes
.NotPublic,
mscorlib (148)
system\reflection\Associates.cs (2)
96
(RuntimeTypeHandle.GetAttributes(declaredType) &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Class;
system\reflection\cominterfaces.cs (1)
124
TypeAttributes
Attributes { get; }
system\reflection\customattribute.cs (2)
1899
if ((attributeType.Attributes &
TypeAttributes
.WindowsRuntime) ==
TypeAttributes
.WindowsRuntime)
system\reflection\emit\assemblybuilder.cs (2)
2266
TypeAttributes
flags);
2276
TypeAttributes
flags);
system\reflection\emit\enumbuilder.cs (4)
235
protected override
TypeAttributes
GetAttributeFlagsImpl()
407
TypeAttributes
visibility, // any bits on TypeAttributes.VisibilityMask)
411
if ((visibility & ~
TypeAttributes
.VisibilityMask) != 0)
413
m_typeBuilder = new TypeBuilder(name, visibility |
TypeAttributes
.Sealed, typeof(System.Enum), null, module, PackingSize.Unspecified, TypeBuilder.UnspecifiedTypeSize, null);
system\reflection\emit\generictypeparameterbuilder.cs (2)
159
protected override
TypeAttributes
GetAttributeFlagsImpl() { return
TypeAttributes
.Public; }
system\reflection\emit\methodbuilder.cs (2)
143
if ((type.Attributes &
TypeAttributes
.Interface) ==
TypeAttributes
.Interface)
system\reflection\emit\modulebuilder.cs (11)
1143
return DefineTypeNoLock(name,
TypeAttributes
.NotPublic, null, null, PackingSize.Unspecified, TypeBuilder.UnspecifiedTypeSize);
1148
public TypeBuilder DefineType(String name,
TypeAttributes
attr)
1159
public TypeBuilder DefineType(String name,
TypeAttributes
attr, Type parent)
1177
public TypeBuilder DefineType(String name,
TypeAttributes
attr, Type parent, int typesize)
1192
public TypeBuilder DefineType(String name,
TypeAttributes
attr, Type parent, PackingSize packingSize, int typesize)
1204
public TypeBuilder DefineType(String name,
TypeAttributes
attr, Type parent, Type[] interfaces)
1215
private TypeBuilder DefineTypeNoLock(String name,
TypeAttributes
attr, Type parent, Type[] interfaces, PackingSize packingSize, int typesize)
1227
public TypeBuilder DefineType(String name,
TypeAttributes
attr, Type parent, PackingSize packsize)
1238
private TypeBuilder DefineTypeNoLock(String name,
TypeAttributes
attr, Type parent, PackingSize packsize)
1252
public EnumBuilder DefineEnum(String name,
TypeAttributes
visibility, Type underlyingType)
1273
private EnumBuilder DefineEnumNoLock(String name,
TypeAttributes
visibility, Type underlyingType)
system\reflection\emit\symboltype.cs (1)
515
protected override
TypeAttributes
GetAttributeFlagsImpl()
system\reflection\emit\typebuilder.cs (61)
344
if ((type.Attributes &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedPublic)
352
if ((type.Attributes &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.Public)
539
private
TypeAttributes
m_iAttr;
604
TypeAttributes
attr,
616
private void Init(String fullname,
TypeAttributes
attr, Type parent, Type[] interfaces, ModuleBuilder module,
645
if (((attr &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.Public) ||((attr &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NotPublic))
787
if ((m_iAttr &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Interface)
862
TypeAttributes
typeAttributes;
885
typeAttributes =
TypeAttributes
.Public |
TypeAttributes
.ExplicitLayout |
TypeAttributes
.Class |
TypeAttributes
.Sealed |
TypeAttributes
.AnsiClass;
899
private void VerifyTypeAttributes(
TypeAttributes
attr)
905
if (((attr &
TypeAttributes
.VisibilityMask) !=
TypeAttributes
.NotPublic) &&((attr &
TypeAttributes
.VisibilityMask) !=
TypeAttributes
.Public))
913
if (((attr &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NotPublic) ||((attr &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.Public))
920
if (((attr &
TypeAttributes
.LayoutMask) !=
TypeAttributes
.AutoLayout) &&((attr &
TypeAttributes
.LayoutMask) !=
TypeAttributes
.SequentialLayout) &&((attr &
TypeAttributes
.LayoutMask) !=
TypeAttributes
.ExplicitLayout))
926
if ((attr &
TypeAttributes
.ReservedMask) != 0)
946
String fullname, int tkParent,
TypeAttributes
attributes, int tkEnclosingType, int[] interfaceTokens);
1350
protected override
TypeAttributes
GetAttributeFlagsImpl()
1374
return((GetAttributeFlagsImpl() &
TypeAttributes
.Import) != 0) ? true : false;
1724
if (((m_iAttr &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Interface) &&
1780
if ((m_iAttr &
TypeAttributes
.Interface) ==
TypeAttributes
.Interface)
1856
if ((m_iAttr &
TypeAttributes
.Interface) ==
TypeAttributes
.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static)
1957
return DefineNestedTypeNoLock(name,
TypeAttributes
.NestedPrivate, null, null, PackingSize.Unspecified, UnspecifiedTypeSize);
1963
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr, Type parent, Type[] interfaces)
1976
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr, Type parent)
1985
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr)
1998
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr, Type parent, int typeSize)
2011
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr, Type parent, PackingSize packSize)
2024
public TypeBuilder DefineNestedType(String name,
TypeAttributes
attr, Type parent, PackingSize packSize, int typeSize)
2033
private TypeBuilder DefineNestedTypeNoLock(String name,
TypeAttributes
attr, Type parent, Type[] interfaces, PackingSize packSize, int typeSize)
2364
if (m_constructorCount == 0 && ((m_iAttr &
TypeAttributes
.Interface) == 0) && !IsValueType && ((m_iAttr & (
TypeAttributes
.Abstract |
TypeAttributes
.Sealed)) != (
TypeAttributes
.Abstract |
TypeAttributes
.Sealed)))
2393
if (((methodAttrs & MethodAttributes.Abstract) != 0) &&((m_iAttr &
TypeAttributes
.Abstract) == 0))
2499
if ((m_iAttr &
TypeAttributes
.Interface) !=
TypeAttributes
.Interface)
2505
if ((m_iAttr &
TypeAttributes
.Abstract) == 0)
system\reflection\emit\typebuilderinstantiation.cs (1)
193
protected override
TypeAttributes
GetAttributeFlagsImpl() { return m_type.Attributes; }
system\reflection\typedelegator.cs (1)
185
protected override
TypeAttributes
GetAttributeFlagsImpl()
system\rttype.cs (1)
3871
protected override
TypeAttributes
GetAttributeFlagsImpl()
system\runtime\interopservices\attributes.cs (10)
643
if ((type.Attributes &
TypeAttributes
.Import) == 0)
651
return (type.Attributes &
TypeAttributes
.Import) != 0;
881
switch (type.Attributes &
TypeAttributes
.LayoutMask)
883
case
TypeAttributes
.ExplicitLayout: layoutKind = LayoutKind.Explicit; break;
884
case
TypeAttributes
.AutoLayout: layoutKind = LayoutKind.Auto; break;
885
case
TypeAttributes
.SequentialLayout: layoutKind = LayoutKind.Sequential; break;
890
switch (type.Attributes &
TypeAttributes
.StringFormatMask)
892
case
TypeAttributes
.AnsiClass: charSet = CharSet.Ansi; break;
893
case
TypeAttributes
.AutoClass: charSet = CharSet.Auto; break;
894
case
TypeAttributes
.UnicodeClass: charSet = CharSet.Unicode; break;
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (2)
36
TypeAttributes
.Sealed |
TypeAttributes
.NotPublic,
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (2)
38
TypeAttributes
.Sealed |
TypeAttributes
.Public,
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (1)
59
internal static TypeBuilder DefineUniqueType(String strInitFullName,
TypeAttributes
attrs, Type BaseType, Type[] aInterfaceTypes, ModuleBuilder mb)
system\runtimehandles.cs (1)
295
internal extern static
TypeAttributes
GetAttributes(RuntimeType type);
system\serializableattribute.cs (2)
26
return (type.Attributes &
TypeAttributes
.Serializable) ==
TypeAttributes
.Serializable ? new SerializableAttribute() : null;
system\type.cs (39)
959
public
TypeAttributes
Attributes {
1014
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NotPublic);}
1019
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.Public);}
1024
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedPublic);}
1029
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedPrivate);}
1033
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedFamily);}
1037
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedAssembly);}
1041
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedFamANDAssem);}
1045
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.VisibilityMask) ==
TypeAttributes
.NestedFamORAssem);}
1050
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.LayoutMask) ==
TypeAttributes
.AutoLayout);}
1054
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.LayoutMask) ==
TypeAttributes
.SequentialLayout);}
1058
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.LayoutMask) ==
TypeAttributes
.ExplicitLayout);}
1063
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Class && !IsValueType);}
1075
return ((GetAttributeFlagsImpl() &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Interface);
1086
get { return ((GetAttributeFlagsImpl() &
TypeAttributes
.Abstract) != 0); }
1091
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.Sealed) != 0);}
1109
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.SpecialName) != 0);}
1114
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.Import) != 0);}
1122
if ((GetAttributeFlagsImpl() &
TypeAttributes
.Serializable) != 0)
1136
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.StringFormatMask) ==
TypeAttributes
.AnsiClass);}
1141
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.StringFormatMask) ==
TypeAttributes
.UnicodeClass);}
1146
get {return ((GetAttributeFlagsImpl() &
TypeAttributes
.StringFormatMask) ==
TypeAttributes
.AutoClass);}
1287
abstract protected
TypeAttributes
GetAttributeFlagsImpl();
PresentationBuildTasks (11)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (11)
361
get { return _ccRoot != null && _ccRoot.CodeClass.TypeAttributes ==
TypeAttributes
.Public; }
1660
private
TypeAttributes
GetTypeAttributes(ref string modifier)
1668
TypeConverter converter = codeProvider.GetConverter(typeof(
TypeAttributes
));
1675
_privateClass = converter.ConvertToInvariantString(
TypeAttributes
.NotPublic).ToLowerInvariant();
1676
_publicClass = converter.ConvertToInvariantString(
TypeAttributes
.Public).ToLowerInvariant();
1699
return
TypeAttributes
.NotPublic;
1703
return
TypeAttributes
.Public;
1713
return
TypeAttributes
.Public;
2427
if (
TypeAttributes
.Public == ctdClass.TypeAttributes)
2664
ctdClass.TypeAttributes =
TypeAttributes
.Public |
TypeAttributes
.Sealed;
System (85)
compmod\microsoft\csharp\csharpcodeprovider.cs (24)
83
else if (type == typeof(
TypeAttributes
)) {
2390
switch (e.TypeAttributes &
TypeAttributes
.VisibilityMask) {
2391
case
TypeAttributes
.Public:
2394
case
TypeAttributes
.NotPublic:
2781
TypeAttributes
attributes = e.TypeAttributes;
2782
switch(attributes &
TypeAttributes
.VisibilityMask) {
2783
case
TypeAttributes
.Public:
2784
case
TypeAttributes
.NestedPublic:
2787
case
TypeAttributes
.NestedPrivate:
2790
case
TypeAttributes
.NestedFamily:
2793
case
TypeAttributes
.NotPublic:
2794
case
TypeAttributes
.NestedAssembly:
2795
case
TypeAttributes
.NestedFamANDAssem:
2798
case
TypeAttributes
.NestedFamORAssem:
2813
switch (attributes &
TypeAttributes
.ClassSemanticsMask) {
2814
case
TypeAttributes
.Class:
2815
if ((attributes &
TypeAttributes
.Sealed) ==
TypeAttributes
.Sealed) {
2818
if ((attributes &
TypeAttributes
.Abstract) ==
TypeAttributes
.Abstract) {
2828
case
TypeAttributes
.Interface:
4034
(object)
TypeAttributes
.Public,
4035
(object)
TypeAttributes
.NotPublic
4045
return
TypeAttributes
.NotPublic;
compmod\microsoft\visualbasic\VBCodeProvider.cs (24)
91
else if(type == typeof(
TypeAttributes
)) {
932
TypeAttributes
attributes = e.TypeAttributes;
938
switch(attributes &
TypeAttributes
.VisibilityMask) {
939
case
TypeAttributes
.Public:
940
case
TypeAttributes
.NestedPublic:
943
case
TypeAttributes
.NestedPrivate:
947
case
TypeAttributes
.NestedFamily:
950
case
TypeAttributes
.NotPublic:
951
case
TypeAttributes
.NestedAssembly:
952
case
TypeAttributes
.NestedFamANDAssem:
955
case
TypeAttributes
.NestedFamORAssem:
968
switch (attributes &
TypeAttributes
.ClassSemanticsMask) {
969
case
TypeAttributes
.Class:
976
if ((attributes &
TypeAttributes
.Sealed) ==
TypeAttributes
.Sealed) {
979
if ((attributes &
TypeAttributes
.Abstract) ==
TypeAttributes
.Abstract) {
985
case
TypeAttributes
.Interface:
2176
switch (e.TypeAttributes &
TypeAttributes
.VisibilityMask) {
2177
case
TypeAttributes
.Public:
2180
case
TypeAttributes
.NotPublic:
3084
(object)
TypeAttributes
.Public,
3085
(object)
TypeAttributes
.NotPublic
3095
return
TypeAttributes
.Public;
compmod\system\codedom\CodeTypeDeclaration.cs (15)
33
private
TypeAttributes
attributes = Reflection.
TypeAttributes
.Public | Reflection.
TypeAttributes
.Class;
87
public
TypeAttributes
TypeAttributes {
120
return(attributes &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Class && !isEnum && !isStruct;
124
attributes &= ~
TypeAttributes
.ClassSemanticsMask;
125
attributes |=
TypeAttributes
.Class;
144
attributes &= ~
TypeAttributes
.ClassSemanticsMask;
166
attributes &= ~
TypeAttributes
.ClassSemanticsMask;
184
return(attributes &
TypeAttributes
.ClassSemanticsMask) ==
TypeAttributes
.Interface;
188
attributes &= ~
TypeAttributes
.ClassSemanticsMask;
189
attributes |=
TypeAttributes
.Interface;
194
attributes &= ~
TypeAttributes
.Interface;
compmod\system\codedom\CodeTypeDelegate.cs (2)
39
TypeAttributes &= ~
TypeAttributes
.ClassSemanticsMask;
40
TypeAttributes |=
TypeAttributes
.Class;
compmod\system\codedom\compiler\CodeGenerator.cs (12)
1146
protected virtual void OutputTypeAttributes(
TypeAttributes
attributes, bool isStruct, bool isEnum) {
1147
switch(attributes &
TypeAttributes
.VisibilityMask) {
1148
case
TypeAttributes
.Public:
1149
case
TypeAttributes
.NestedPublic:
1152
case
TypeAttributes
.NestedPrivate:
1164
switch (attributes &
TypeAttributes
.ClassSemanticsMask) {
1165
case
TypeAttributes
.Class:
1166
if ((attributes &
TypeAttributes
.Sealed) ==
TypeAttributes
.Sealed) {
1169
if ((attributes &
TypeAttributes
.Abstract) ==
TypeAttributes
.Abstract) {
1174
case
TypeAttributes
.Interface:
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
1535
if ((iface.Attributes & (
TypeAttributes
.Public |
TypeAttributes
.NestedPublic)) != 0) {
net\System\Net\Configuration\DefaultProxySection.cs (2)
188
if ((theType.Attributes &
TypeAttributes
.VisibilityMask) !=
TypeAttributes
.Public)
regex\system\text\regularexpressions\RegexCompiler.cs (4)
3370
_typebuilder = _module.DefineType(typename,
TypeAttributes
.Class |
TypeAttributes
.Public, inheritfromclass);
3372
_typebuilder = _module.DefineType(typename,
TypeAttributes
.Class |
TypeAttributes
.NotPublic, inheritfromclass);
System.Activities (3)
System\Activities\Debugger\StateManager.cs (2)
537
TypeBuilder typeBuilder = this.dynamicModule.DefineType(typeName,
TypeAttributes
.Public |
TypeAttributes
.Class);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1748
typedDataContext.TypeAttributes =
TypeAttributes
.NestedPrivate;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1078
protected override
TypeAttributes
GetAttributeFlagsImpl() { return _baseReflectionType.Attributes; }
System.AddIn (13)
System\Addin\MiniReflection\MiniModule.cs (5)
173
System.Reflection.
TypeAttributes
flags = (System.Reflection.
TypeAttributes
) _peFile.B.ReadUInt32();
174
System.Reflection.
TypeAttributes
vis = flags & System.Reflection.
TypeAttributes
.VisibilityMask;
175
bool isPublic = vis == System.Reflection.
TypeAttributes
.Public; // NestedPublic not supported
System\Addin\MiniReflection\TypeInfo.cs (8)
320
System.Reflection.
TypeAttributes
attrs = (System.Reflection.
TypeAttributes
) peFile.B.ReadUInt32(); // TypeAttributes;
321
return (attrs & System.Reflection.
TypeAttributes
.Interface) != 0;
487
System.Reflection.
TypeAttributes
flags = (System.Reflection.
TypeAttributes
) peFile.B.ReadUInt32();
488
System.Reflection.
TypeAttributes
vis = System.Reflection.
TypeAttributes
.VisibilityMask & flags;
489
bool isPublic = (vis == System.Reflection.
TypeAttributes
.Public); // don't support NestedPublic
System.Core (6)
Microsoft\Scripting\Compiler\AssemblyGen.cs (6)
103
private TypeBuilder DefineType(string name, Type parent,
TypeAttributes
attr) {
127
TypeAttributes
.Class |
TypeAttributes
.Public |
TypeAttributes
.Sealed |
TypeAttributes
.AnsiClass |
TypeAttributes
.AutoClass
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1078
protected override
TypeAttributes
GetAttributeFlagsImpl() { return _baseReflectionType.Attributes; }
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1003
delegateClass.TypeAttributes |= System.Reflection.
TypeAttributes
.Public;
System.Data.Entity (10)
System\Data\Objects\Internal\EntityProxyFactory.cs (10)
566
TypeAttributes
access = ospaceEntityType.ClrType.Attributes &
TypeAttributes
.VisibilityMask;
577
access ==
TypeAttributes
.Public);
706
TypeAttributes
proxyTypeAttributes =
TypeAttributes
.Class |
TypeAttributes
.Public |
TypeAttributes
.Sealed;
707
if ((BaseType.Attributes &
TypeAttributes
.Serializable) ==
TypeAttributes
.Serializable)
709
proxyTypeAttributes |=
TypeAttributes
.Serializable;
System.Data.Entity.Design (12)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
672
typeDecl.TypeAttributes =
TypeAttributes
.Sealed |
TypeAttributes
.Public;
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (6)
110
protected static
TypeAttributes
GetTypeAccessibilityValue(MetadataItem item)
112
TypeAttributes
accessibilty =
TypeAttributes
.Public;
180
private static
TypeAttributes
GetCodeAccessibilityTypeAttribute(string accessibility)
185
return
TypeAttributes
.NotPublic;
190
return
TypeAttributes
.Public;
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
161
typeDecl.TypeAttributes &= ~System.Reflection.
TypeAttributes
.VisibilityMask;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
54
typeDecl.TypeAttributes = System.Reflection.
TypeAttributes
.Class;
57
typeDecl.TypeAttributes |= System.Reflection.
TypeAttributes
.Abstract;
72
if ( (typeDecl.TypeAttributes & System.Reflection.
TypeAttributes
.Abstract) == 0)
System.Data.Services.Design (10)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (6)
103
protected static
TypeAttributes
GetTypeAccessibilityValue(MetadataItem item)
105
TypeAttributes
accessibilty =
TypeAttributes
.Public;
173
private static
TypeAttributes
GetCodeAccessibilityTypeAttribute(string accessibility)
178
return
TypeAttributes
.NotPublic;
183
return
TypeAttributes
.Public;
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
154
typeDecl.TypeAttributes &= ~System.Reflection.
TypeAttributes
.VisibilityMask;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
45
typeDecl.TypeAttributes = System.Reflection.
TypeAttributes
.Class;
48
typeDecl.TypeAttributes |= System.Reflection.
TypeAttributes
.Abstract;
63
if ((typeDecl.TypeAttributes & System.Reflection.
TypeAttributes
.Abstract) == 0)
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
154
this.typeBldr = modBldr.DefineType("System.Xml.Xsl.CompiledQuery.Query",
TypeAttributes
.Public);
System\Xml\Xsl\Xslt\Scripts.cs (1)
137
newScriptClass.typeDecl.TypeAttributes =
TypeAttributes
.Public;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
697
scriptClass.TypeAttributes =
TypeAttributes
.Public;
System.Management (5)
WmiGenerator.cs (5)
1128
SysPropsClass.TypeAttributes =
TypeAttributes
.NestedPublic;
1878
EnumObj.TypeAttributes =
TypeAttributes
.Public;
1982
EnumObj.TypeAttributes =
TypeAttributes
.Public;
4306
ccc.TypeAttributes =
TypeAttributes
.NestedPublic ;
4518
ecc.TypeAttributes =
TypeAttributes
.NestedPublic;
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
454
type.TypeAttributes =
TypeAttributes
.NotPublic;
456
type.TypeAttributes =
TypeAttributes
.Public;
506
type.TypeAttributes =
TypeAttributes
.NestedAssembly;
508
type.TypeAttributes =
TypeAttributes
.NestedPublic;
System.ServiceModel (4)
System\ServiceModel\ComIntegration\EmitterCache.cs (3)
78
TypeBuilder typeBuilder = DynamicModule.DefineType(interfaceType.Name + "MarshalByRefObject",
TypeAttributes
.Public |
TypeAttributes
.Class |
TypeAttributes
.Abstract,
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
564
codeType.TypeAttributes &= ~
TypeAttributes
.Public;
System.Web (4)
Compilation\DelayLoadType.cs (1)
80
protected override
TypeAttributes
GetAttributeFlagsImpl() {
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
53
_factoryClass.TypeAttributes &= ~
TypeAttributes
.Public;
Util\FactoryGenerator.cs (1)
146
TypeAttributes
.Public,
Util\FastPropertyAccessor.cs (1)
114
TypeAttributes
.Public,
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
319
TypeBuilder tb = this.module.DefineType(typeName,
TypeAttributes
.Class |
320
TypeAttributes
.Public, typeof(DynamicClass));
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
161
TypeAttributes
.Public,
System.Web.Services (4)
System\Web\Services\Description\WebCodeGenerator.cs (4)
214
codeClass.TypeAttributes |=
TypeAttributes
.Public;
216
codeClass.TypeAttributes &= ~
TypeAttributes
.Public;
218
codeClass.TypeAttributes |=
TypeAttributes
.Abstract;
220
codeClass.TypeAttributes &= ~
TypeAttributes
.Abstract;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
856
EnumBuilder enumBuilder = ModuleBuilder.DefineEnum(enumName,
TypeAttributes
.Public, enumType);
System.Workflow.ComponentModel (32)
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (2)
102
if ((type != null) && (type.IsPublic || type.IsNestedPublic || (this.isLocalAssembly && type.Attributes !=
TypeAttributes
.NestedPrivate)))
117
if (type.IsPublic || (this.isLocalAssembly && type.Attributes !=
TypeAttributes
.NestedPrivate))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (10)
23
private
TypeAttributes
typeAttributes;
74
this.typeAttributes = default(
TypeAttributes
);
104
this.typeAttributes = elementType.Attributes &
TypeAttributes
.VisibilityMask |
TypeAttributes
.Class |
TypeAttributes
.Sealed |
TypeAttributes
.Serializable;
110
this.typeAttributes =
TypeAttributes
.AnsiClass;
130
this.typeAttributes |= codeDomType.TypeAttributes & ~
TypeAttributes
.Public;
137
this.typeAttributes |=
TypeAttributes
.Serializable;
977
protected override
TypeAttributes
GetAttributeFlagsImpl()
AuthoringOM\Compiler\TypeSystem\Helper.cs (19)
94
internal static
TypeAttributes
ConvertToTypeAttributes(MemberAttributes memberAttributes, Type declaringType)
96
TypeAttributes
typeAttributes = default(
TypeAttributes
);
100
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedAssembly :
TypeAttributes
.NotPublic);
102
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedFamily :
TypeAttributes
.NotPublic);
104
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedFamANDAssem :
TypeAttributes
.NotPublic);
106
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedFamORAssem :
TypeAttributes
.NotPublic);
108
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedPrivate :
TypeAttributes
.NotPublic);
110
typeAttributes |= ((declaringType != null) ?
TypeAttributes
.NestedPublic :
TypeAttributes
.Public);
114
typeAttributes |=
TypeAttributes
.Abstract;
116
typeAttributes |=
TypeAttributes
.Sealed;
118
typeAttributes |= (
TypeAttributes
.Abstract |
TypeAttributes
.Sealed);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
747
protected override
TypeAttributes
GetAttributeFlagsImpl()
System.WorkflowServices (6)
System\Workflow\Activities\ContractType.cs (6)
32
private
TypeAttributes
typeAttributes;
64
this.typeAttributes =
TypeAttributes
.Interface |
65
TypeAttributes
.Sealed |
66
TypeAttributes
.Public |
67
TypeAttributes
.Abstract;
465
protected override
TypeAttributes
GetAttributeFlagsImpl()
System.Xml (19)
System\Xml\Serialization\CodeExporter.cs (1)
221
codeClass.TypeAttributes |=
TypeAttributes
.Public;
System\Xml\Serialization\CodeGenerator.cs (1)
1774
static internal TypeBuilder CreateTypeBuilder(ModuleBuilder moduleBuilder, string name,
TypeAttributes
attributes, Type parent, Type[] interfaces) {
System\Xml\Serialization\SoapCodeExporter.cs (2)
143
codeClass.TypeAttributes |=
TypeAttributes
.Public;
145
codeClass.TypeAttributes |=
TypeAttributes
.Abstract;
System\Xml\Serialization\XmlCodeExporter.cs (2)
516
codeClass.TypeAttributes |=
TypeAttributes
.Public;
518
codeClass.TypeAttributes |=
TypeAttributes
.Abstract;
System\Xml\Serialization\XmlSerializationILGen.cs (11)
34
TypeAttributes
typeAttributes;
47
this.typeAttributes =
TypeAttributes
.Public;
63
internal
TypeAttributes
TypeAttributes { get { return typeAttributes; } }
254
TypeAttributes
.Public |
TypeAttributes
.Abstract |
TypeAttributes
.BeforeFieldInit,
302
TypeAttributes
.Public |
TypeAttributes
.Sealed |
TypeAttributes
.BeforeFieldInit,
467
TypeAttributes
.Public |
TypeAttributes
.BeforeFieldInit,
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
190
TypeAttributes |
TypeAttributes
.BeforeFieldInit,
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
30
TypeAttributes |
TypeAttributes
.BeforeFieldInit,
XamlBuildTask (6)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
167
TypeAttributes = classData.IsPublic ?
TypeAttributes
.Public :
TypeAttributes
.NotPublic
1059
TypeAttributes =
TypeAttributes
.NotPublic,
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (3)
103
TypeConverter typeAttributesConverter = codeDomProvider.GetConverter(typeof(
TypeAttributes
));
110
_internalClass = typeAttributesConverter.ConvertToInvariantString(
TypeAttributes
.NotPublic).ToUpperInvariant();
111
_publicClass = typeAttributesConverter.ConvertToInvariantString(
TypeAttributes
.Public).ToUpperInvariant();