78 references to Structure
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (1)
2412typeKind: TypeKind.Structure,
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
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)
1544If mainType Is Nothing OrElse (mainType.TypeKind <> TYPEKIND.Class AndAlso mainType.TypeKind <> TYPEKIND.Structure AndAlso mainType.TypeKind <> TYPEKIND.Module) Then
Emit\NamedTypeSymbolAdapter.vb (1)
973Case TypeKind.Module, TypeKind.Enum, TypeKind.Structure
Emit\NoPia\EmbeddedTypesManager.vb (5)
236Case TypeKind.Structure, 331Debug.Assert(namedType.TypeKind = TypeKind.Structure OrElse 336If namedType.TypeKind = TypeKind.Structure OrElse namedType.TypeKind = TypeKind.Enum Then 384(containerKind = TypeKind.Structure AndAlso (field.AdaptedFieldSymbol.IsShared OrElse field.AdaptedFieldSymbol.DeclaredAccessibility <> Accessibility.Public)) Then 416Case 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)
669Dim ensureParameterlessConstructor As Boolean = (TypeKind = TypeKind.Structure OrElse TypeKind = TypeKind.Enum) AndAlso Not IsShared 1038result = TypeKind.Structure 1154Case TypeKind.Structure
Symbols\NamedTypeSymbol.vb (2)
446Return TypeKind <> TypeKind.Enum AndAlso TypeKind <> TypeKind.Structure AndAlso 459Return 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 344Case TypeKind.Class, TypeKind.Enum, TypeKind.Structure 2674propertySymbol.ContainingType.TypeKind = TypeKind.Structure Then 2739TypeKind = TypeKind.Structure OrElse 2789If TypeKind <> TypeKind.Structure OrElse isShared Then 3503If myTypeKind = TypeKind.Class OrElse myTypeKind = TypeKind.Interface OrElse myTypeKind = TypeKind.Structure OrElse myTypeKind = TypeKind.Module Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
529If container.TypeKind = TypeKind.Structure AndAlso
Symbols\Source\SourceMemberMethodSymbol.vb (1)
757Case TypeKind.Interface, TypeKind.Structure, TypeKind.Enum, TypeKind.Delegate
Symbols\Source\SourceMethodSymbol.vb (3)
98If container.TypeKind = TYPEKIND.Structure Then 239ElseIf container.TypeKind = TYPEKIND.Structure Then 407If container.TypeKind = TYPEKIND.Structure AndAlso methodSym.ParameterCount = 0 Then
Symbols\Source\SourceNamedTypeSymbol.vb (4)
1118Case TypeKind.Interface, TypeKind.Enum, TypeKind.Delegate, TypeKind.Structure, TypeKind.Module, TypeKind.Array ' array can't really occur 1394Case TypeKind.Structure 2319Dim defaultAutoLayoutSize = If(Me.TypeKind = TypeKind.Structure, 1, 0) 2502If Me.TypeKind = TypeKind.Structure Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
92Case TypeKind.Structure
Symbols\Symbol_Attributes.vb (1)
102Case 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.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\NamingStylePreferencesTests.cs (1)
192[InlineData(typeof(TypeKind), nameof(TypeKind.Struct), nameof(TypeKind.Structure))]
Microsoft.VisualStudio.LanguageServices (1)
GenerateType\GenerateTypeDialogViewModel.cs (1)
200PopulateTypeKind(TypeKind.Structure, "struct", "Structure");
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383CodeAnalysis.TypeKind.Structure => nameof(CodeAnalysis.TypeKind.Struct),