318 references to Structure
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
388CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (1)
2270typeKind: TypeKind.Structure,
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (2)
205if (derivedType.TypeKind == TypeKind.Class || derivedType.TypeKind == TypeKind.Structure) 266(targetTypeKind == TypeKind.Class && (sourceTypeKind == TypeKind.Structure || sourceTypeKind == TypeKind.Interface) && targetType.SpecialType == SpecialType.System_Object))
Microsoft.CodeAnalysis.VisualBasic (59)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
457If receiverOpt.Type Is Nothing OrElse receiverOpt.Type.TypeKind <> TypeKind.Structure Then
Binding\Binder_Expressions.vb (4)
1219Case TYPEKIND.Structure 2821If leftTypeKind = TYPEKIND.Class OrElse leftTypeKind = TYPEKIND.Structure OrElse leftTypeKind = TYPEKIND.Module Then 3810Case TYPEKIND.Structure 3840Case TYPEKIND.Structure
Binding\Binder_Lookup.vb (5)
580Case TypeKind.Class, TypeKind.Module, TypeKind.Structure, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum 606Case TypeKind.Class, TypeKind.Structure, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum 931Case TypeKind.Class, TypeKind.Module, TypeKind.Structure 1092Case TypeKind.Class, TypeKind.Module, TypeKind.Structure 1964(container.TypeKind = TypeKind.Class OrElse container.TypeKind = TypeKind.Structure) AndAlso
Binding\Binder_ObjectInitializer.vb (3)
84Case TypeKind.Structure 243TypeKind.Structure 325Case TypeKind.Enum, TypeKind.Structure
Binding\Binder_Statements.vb (1)
1001If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.TypeKind = TYPEKIND.Structure Then
Binding\Binder_Utils.vb (2)
1189Case TypeKind.Structure 1262Case TypeKind.Structure
Compilation\ClsComplianceChecker.vb (2)
595Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module 621Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
747Case TypeKind.Structure
Compilation\VisualBasicCompilation.vb (1)
1543If mainType Is Nothing OrElse (mainType.TypeKind <> TYPEKIND.Class AndAlso mainType.TypeKind <> TYPEKIND.Structure AndAlso mainType.TypeKind <> TYPEKIND.Module) Then
Emit\NamedTypeSymbolAdapter.vb (1)
966Case TypeKind.Module, TypeKind.Enum, TypeKind.Structure
Emit\NoPia\EmbeddedTypesManager.vb (5)
237Case TypeKind.Structure, 332Debug.Assert(namedType.TypeKind = TypeKind.Structure OrElse 337If namedType.TypeKind = TypeKind.Structure OrElse namedType.TypeKind = TypeKind.Enum Then 385(containerKind = TypeKind.Structure AndAlso (field.AdaptedFieldSymbol.IsShared OrElse field.AdaptedFieldSymbol.DeclaredAccessibility <> Accessibility.Public)) Then 417Case TypeKind.Structure, TypeKind.Enum
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
514If type.TypeKind <> TypeKind.Structure Then
Symbols\ConstraintsHelper.vb (5)
250TypeKind.Structure 839TypeKind.Structure 954Dim isStructure As Boolean = typeArgument.TypeKind = TypeKind.Structure 1166Debug.Assert(type.TypeKind = TypeKind.Class OrElse type.TypeKind = TypeKind.Structure) 1195If Not type.TypeKind = TypeKind.Structure Then
Symbols\Metadata\PE\MetadataDecoder.vb (1)
361TypeKind.Structure
Symbols\Metadata\PE\PENamedTypeSymbol.vb (3)
666Dim ensureParameterlessConstructor As Boolean = (TypeKind = TypeKind.Structure OrElse TypeKind = TypeKind.Enum) AndAlso Not IsShared 1023result = TypeKind.Structure 1139Case TypeKind.Structure
Symbols\NamedTypeSymbol.vb (2)
444Return TypeKind <> TypeKind.Enum AndAlso TypeKind <> TypeKind.Structure AndAlso 457Return TypeKind = TypeKind.Enum OrElse TypeKind = TypeKind.Structure
Symbols\Source\OverrideHidingHelper.vb (1)
27Case TypeKind.Class, TypeKind.Interface, TypeKind.Structure
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
36[Structure] = CUShort(TypeKind.Structure) << TypeKindShift 343Case TypeKind.Class, TypeKind.Enum, TypeKind.Structure 2673propertySymbol.ContainingType.TypeKind = TypeKind.Structure Then 2738TypeKind = TypeKind.Structure OrElse 2788If TypeKind <> TypeKind.Structure OrElse isShared Then 3502If myTypeKind = TypeKind.Class OrElse myTypeKind = TypeKind.Interface OrElse myTypeKind = TypeKind.Structure OrElse myTypeKind = TypeKind.Module Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
528If container.TypeKind = TypeKind.Structure AndAlso
Symbols\Source\SourceMemberMethodSymbol.vb (1)
756Case TypeKind.Interface, TypeKind.Structure, TypeKind.Enum, TypeKind.Delegate
Symbols\Source\SourceMethodSymbol.vb (3)
97If container.TypeKind = TYPEKIND.Structure Then 238ElseIf container.TypeKind = TYPEKIND.Structure Then 406If container.TypeKind = TYPEKIND.Structure AndAlso methodSym.ParameterCount = 0 Then
Symbols\Source\SourceNamedTypeSymbol.vb (4)
1114Case TypeKind.Interface, TypeKind.Enum, TypeKind.Delegate, TypeKind.Structure, TypeKind.Module, TypeKind.Array ' array can't really occur 1390Case TypeKind.Structure 2270Dim defaultAutoLayoutSize = If(Me.TypeKind = TypeKind.Structure, 1, 0) 2451If Me.TypeKind = TypeKind.Structure Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
91Case TypeKind.Structure
Symbols\Symbol_Attributes.vb (1)
101Case TypeKind.Structure
Symbols\SymbolExtensions.vb (1)
41Case TypeKind.Structure
Symbols\TypeSymbolExtensions.vb (2)
146Return type.TypeKind = TypeKind.Structure 410Case TypeKind.Array, TypeKind.Delegate, TypeKind.Enum, TypeKind.Structure, TypeKind.Module
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
CodeGen\CodeGenAsyncTests.vb (1)
52Assert.Equal(TypeKind.Structure, stateMachine.TypeKind)
Emit\NoPiaEmbedTypes.vb (3)
1023Assert.Equal(TypeKind.Structure, test2.TypeKind) 1057Assert.Equal(TypeKind.Structure, test5.TypeKind) 1141Assert.Equal(TypeKind.Structure, test10.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1430Case TypeKind.Structure
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (220)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
697Assert.Equal(TypeKind.Structure, typeSymbol3.TypeKind)
ExtensionMethods\SemanticModelTests.vb (2)
182Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 184Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind)
Semantics\FieldInitializerBindingTests.vb (3)
506Assert.Equal(TypeKind.Structure, field.Type.TypeKind) 512Assert.Equal(TypeKind.Structure, field.Type.TypeKind) 518Assert.Equal(TypeKind.Structure, field.Type.TypeKind)
Semantics\GetExtendedSemanticInfoTests.vb (74)
187Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 189Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 501Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 503Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1373Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1375Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2025Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2045Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2047Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2080Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2113Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2115Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2249Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2251Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2401Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2403Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2439Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2441Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2472Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2474Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2517Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2596Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2598Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 3553Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 3555Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 3612Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 3614Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4057Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4059Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4160Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4162Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4345Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4347Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4384Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4386Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4420Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4422Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4459Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4461Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 4617Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4652Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 4711Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5340Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5342Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5371Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5373Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5407Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5409Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5438Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5440Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5471Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5473Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5502Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5532Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5650Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5652Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 5713Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 5715Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 7244Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 7246Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 7357Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 7359Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 7567Assert.Equal(TypeKind.Structure, semanticInfo1.Type.TypeKind) 7569Assert.Equal(TypeKind.Structure, semanticInfo1.ConvertedType.TypeKind) 7583Assert.Equal(TypeKind.Structure, semanticInfo2.Type.TypeKind) 7585Assert.Equal(TypeKind.Structure, semanticInfo2.ConvertedType.TypeKind) 7703Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 7705Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 8253Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 8255Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 8298Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 8300Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 8436Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 8438Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind)
Semantics\GetSemanticInfoTests.vb (25)
127Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 129Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 172Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 174Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 311Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 313Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 361Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 363Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 561Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 563Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2048Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2050Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2061Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2063Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2075Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2077Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2294Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2296Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2308Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2310Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2353Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2355Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 2367Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 2369Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 3381Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind)
Semantics\LambdaSemanticInfoTests.vb (2)
392Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 432Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind)
Semantics\QueryExpressions_SemanticModel.vb (94)
69Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 71Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 89Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 91Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 108Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 110Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 139Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 141Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 158Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 160Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 187Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 189Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 209Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 211Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 228Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 230Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 295Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 297Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 315Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 317Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 334Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 336Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 361Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 363Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 380Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 382Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 409Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 411Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 431Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 433Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 450Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 452Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 515Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 517Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 535Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 537Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 554Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 556Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 581Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 583Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 600Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 602Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 629Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 631Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 651Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 653Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 670Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 672Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 759Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 761Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 779Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 781Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 798Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 800Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 825Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 827Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 844Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 846Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 873Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 875Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 895Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 897Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 914Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 916Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 993Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 995Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1076Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1078Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1149Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1151Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1379Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1381Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1401Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1403Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1545Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1547Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 1645Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 1647Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2149Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2151Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2182Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2184Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2532Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2534Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2667Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2669Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2718Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2720Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 2900Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 2902Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 3324Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 3326Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind) 3528Assert.Equal(TypeKind.Structure, semanticInfo.Type.TypeKind) 3530Assert.Equal(TypeKind.Structure, semanticInfo.ConvertedType.TypeKind)
Semantics\SelectCaseTests.vb (19)
62Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 64Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 98Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 100Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 137Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 139Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 278Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 280Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 318Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 320Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 359Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 397Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 399Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 491Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 493Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 530Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 532Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind) 574Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 576Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (20)
SymbolsTests\CompilationCreationTests.vb (4)
2047Assert.False(HasSingleTypeOfKind(c, TypeKind.Structure, "System.Int32")) 2049Assert.True(HasSingleTypeOfKind(c, TypeKind.Structure, "System.Int32")) 2059Assert.True(HasSingleTypeOfKind(c, TypeKind.Structure, "System.Int32")) 2061Assert.False(HasSingleTypeOfKind(c, TypeKind.Structure, "System.Int32"))
SymbolsTests\Metadata\MetadataTypeTests.vb (1)
282Assert.Equal(TypeKind.Structure, type1.TypeKind)
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (2)
123If m.ReturnType.TypeKind <> TypeKind.Structure Then 374If m.ReturnType.TypeKind <> TypeKind.Structure Then
SymbolsTests\Metadata\PE\TypeKindTests.vb (1)
46Assert.Equal(TypeKind.Structure, int32.TypeKind)
SymbolsTests\Source\BindingsTests.vb (1)
373Assert.Equal(TypeKind.Structure, typeSymbol3.TypeKind)
SymbolsTests\Source\EventTests.vb (2)
1569Assert.Equal(TypeKind.Structure, semanticSummary.Type.TypeKind) 1571Assert.Equal(TypeKind.Structure, semanticSummary.ConvertedType.TypeKind)
SymbolsTests\Source\MethodTests.vb (1)
996Assert.Equal(TypeKind.Structure, mem4.Type.TypeKind)
SymbolsTests\Source\TypeBindingTests.vb (1)
87Assert.Equal(TypeKind.Structure, typeA.TypeKind)
SymbolsTests\Source\TypeTests.vb (5)
164Assert.Equal(TypeKind.Structure, structI.TypeKind) 291Assert.Equal(TypeKind.Structure, i2Arity1.TypeKind) 305Assert.Equal(TypeKind.Structure, i2Arity2.TypeKind) 627Assert.Equal(TypeKind.Structure, structS.TypeKind) 737Assert.Equal(TypeKind.Structure, mem1.Type.TypeKind)
SymbolsTests\WellKnownTypeValidationTests.vb (2)
122Assert.Equal(TypeKind.Structure, special.TypeKind) 126Assert.Equal(TypeKind.Structure, lookup.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Extensions.vb (1)
226typeSymTypeKind = TypeKind.Structure OrElse typeSymTypeKind = TypeKind.Delegate Then
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
388CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
CodeStyle\NamingStylePreferencesUpgradeTests.cs (1)
190[InlineData(typeof(TypeKind), nameof(TypeKind.Struct), nameof(TypeKind.Structure))]
Microsoft.VisualStudio.LanguageServices (1)
GenerateType\GenerateTypeDialogViewModel.cs (1)
219PopulateTypeKind(TypeKind.Structure, "struct", "Structure");
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
CodeModel\Extenders\GenericExtender.vb (4)
38TypeKind.Structure, 50TypeKind.Structure 66TypeKind.Structure, 87TypeKind.Structure
ObjectBrowser\DescriptionBuilder.vb (2)
74Case TypeKind.Structure 322typeSymbol.TypeKind <> TypeKind.Structure Then