13 references to Serializable
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
1511result |= TypeAttributes.Serializable;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2528get { return (_flags & TypeAttributes.Serializable) != 0; }
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.cs (3)
4833Assert.Equal(TypeAttributes.Serializable, row.Attributes & TypeAttributes.Serializable); 4839Assert.Equal((TypeAttributes)0, row.Attributes & TypeAttributes.Serializable);
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
405if ((attributes & TypeAttributes.Serializable) != 0)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
221Return (_flags And TypeAttributes.Serializable) <> 0
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.vb (3)
3338Assert.Equal(TypeAttributes.Serializable, row.Attributes And TypeAttributes.Serializable) 3341Assert.Equal(0, row.Attributes And TypeAttributes.Serializable)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (1)
18if ((GetAttributeFlagsImpl() & TypeAttributes.Serializable) != 0)
System.Reflection.Emit (1)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
485_attributes |= TypeAttributes.Serializable;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoArrayType.cs (1)
70protected sealed override TypeAttributes ComputeAttributeFlags() => TypeAttributes.AutoLayout | TypeAttributes.AnsiClass | TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.Serializable;