78 references to Structure
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (1)
2412
typeKind: TypeKind.
Structure
,
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (2)
205
if (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)
457
If receiverOpt.Type Is Nothing OrElse receiverOpt.Type.TypeKind <> TypeKind.
Structure
Then
Binding\Binder_Expressions.vb (4)
1219
Case TYPEKIND.
Structure
2821
If leftTypeKind = TYPEKIND.Class OrElse leftTypeKind = TYPEKIND.
Structure
OrElse leftTypeKind = TYPEKIND.Module Then
3810
Case TYPEKIND.
Structure
3840
Case TYPEKIND.
Structure
Binding\Binder_Lookup.vb (5)
580
Case TypeKind.Class, TypeKind.Module, TypeKind.
Structure
, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum
606
Case TypeKind.Class, TypeKind.
Structure
, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum
931
Case TypeKind.Class, TypeKind.Module, TypeKind.
Structure
1092
Case TypeKind.Class, TypeKind.Module, TypeKind.
Structure
1964
(container.TypeKind = TypeKind.Class OrElse container.TypeKind = TypeKind.
Structure
) AndAlso
Binding\Binder_ObjectInitializer.vb (3)
84
Case TypeKind.
Structure
243
TypeKind.
Structure
325
Case TypeKind.Enum, TypeKind.
Structure
Binding\Binder_Statements.vb (1)
1001
If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.TypeKind = TYPEKIND.
Structure
Then
Binding\Binder_Utils.vb (2)
1189
Case TypeKind.
Structure
1262
Case TypeKind.
Structure
Compilation\ClsComplianceChecker.vb (2)
595
Case TypeKind.Class, TypeKind.
Structure
, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module
621
Case TypeKind.Class, TypeKind.
Structure
, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
747
Case TypeKind.
Structure
Compilation\VisualBasicCompilation.vb (1)
1544
If mainType Is Nothing OrElse (mainType.TypeKind <> TYPEKIND.Class AndAlso mainType.TypeKind <> TYPEKIND.
Structure
AndAlso mainType.TypeKind <> TYPEKIND.Module) Then
Emit\NamedTypeSymbolAdapter.vb (1)
973
Case TypeKind.Module, TypeKind.Enum, TypeKind.
Structure
Emit\NoPia\EmbeddedTypesManager.vb (5)
236
Case TypeKind.
Structure
,
331
Debug.Assert(namedType.TypeKind = TypeKind.
Structure
OrElse
336
If 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
416
Case TypeKind.
Structure
, TypeKind.Enum
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
514
If type.TypeKind <> TypeKind.
Structure
Then
Symbols\ConstraintsHelper.vb (5)
250
TypeKind.
Structure
839
TypeKind.
Structure
954
Dim isStructure As Boolean = typeArgument.TypeKind = TypeKind.
Structure
1166
Debug.Assert(type.TypeKind = TypeKind.Class OrElse type.TypeKind = TypeKind.
Structure
)
1195
If Not type.TypeKind = TypeKind.
Structure
Then
Symbols\Metadata\PE\MetadataDecoder.vb (1)
361
TypeKind.
Structure
Symbols\Metadata\PE\PENamedTypeSymbol.vb (3)
669
Dim ensureParameterlessConstructor As Boolean = (TypeKind = TypeKind.
Structure
OrElse TypeKind = TypeKind.Enum) AndAlso Not IsShared
1038
result = TypeKind.
Structure
1154
Case TypeKind.
Structure
Symbols\NamedTypeSymbol.vb (2)
446
Return TypeKind <> TypeKind.Enum AndAlso TypeKind <> TypeKind.
Structure
AndAlso
459
Return TypeKind = TypeKind.Enum OrElse TypeKind = TypeKind.
Structure
Symbols\Source\OverrideHidingHelper.vb (1)
27
Case TypeKind.Class, TypeKind.Interface, TypeKind.
Structure
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
36
[Structure] = CUShort(TypeKind.
Structure
) << TypeKindShift
344
Case TypeKind.Class, TypeKind.Enum, TypeKind.
Structure
2674
propertySymbol.ContainingType.TypeKind = TypeKind.
Structure
Then
2739
TypeKind = TypeKind.
Structure
OrElse
2789
If TypeKind <> TypeKind.
Structure
OrElse isShared Then
3503
If myTypeKind = TypeKind.Class OrElse myTypeKind = TypeKind.Interface OrElse myTypeKind = TypeKind.
Structure
OrElse myTypeKind = TypeKind.Module Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
529
If container.TypeKind = TypeKind.
Structure
AndAlso
Symbols\Source\SourceMemberMethodSymbol.vb (1)
757
Case TypeKind.Interface, TypeKind.
Structure
, TypeKind.Enum, TypeKind.Delegate
Symbols\Source\SourceMethodSymbol.vb (3)
98
If container.TypeKind = TYPEKIND.
Structure
Then
239
ElseIf container.TypeKind = TYPEKIND.
Structure
Then
407
If container.TypeKind = TYPEKIND.
Structure
AndAlso methodSym.ParameterCount = 0 Then
Symbols\Source\SourceNamedTypeSymbol.vb (4)
1118
Case TypeKind.Interface, TypeKind.Enum, TypeKind.Delegate, TypeKind.
Structure
, TypeKind.Module, TypeKind.Array ' array can't really occur
1394
Case TypeKind.
Structure
2319
Dim defaultAutoLayoutSize = If(Me.TypeKind = TypeKind.
Structure
, 1, 0)
2502
If Me.TypeKind = TypeKind.
Structure
Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
92
Case TypeKind.
Structure
Symbols\Symbol_Attributes.vb (1)
102
Case TypeKind.
Structure
Symbols\SymbolExtensions.vb (1)
41
Case TypeKind.
Structure
Symbols\TypeSymbolExtensions.vb (2)
146
Return type.TypeKind = TypeKind.
Structure
410
Case TypeKind.Array, TypeKind.Delegate, TypeKind.Enum, TypeKind.
Structure
, TypeKind.Module
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.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)
200
PopulateTypeKind(TypeKind.
Structure
, "struct", "Structure");
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
383
CodeAnalysis.TypeKind.
Structure
=> nameof(CodeAnalysis.TypeKind.Struct),