18 references to IsStructureType
Microsoft.CodeAnalysis.VisualBasic (18)
Analysis\FlowAnalysis\ReadWriteWalker.vb (1)
145
If receiver.Type.
IsStructureType
AndAlso receiverSyntax.Span.OverlapsWith(_region) Then NoteReceiverReadOrWritten(CType(receiver, BoundFieldAccess), readOrWritten)
Binding\Binder_Attributes.vb (1)
197
ElseIf namedType.
IsStructureType
Then
Binding\Binder_Expressions.vb (1)
2292
If ContainingType.
IsStructureType
Then
Binding\Binder_Lookup.vb (1)
955
Debug.Assert(type.IsClassType OrElse type.IsModuleType OrElse type.
IsStructureType
OrElse type.IsDelegateType)
Binding\Binder_ObjectInitializer.vb (1)
528
Debug.Assert((constructor IsNot Nothing AndAlso ReferenceEquals(constructor.ContainingType, containingType)) OrElse containingType.
IsStructureType
())
Binding\Binder_Statements.vb (1)
4697
If structureType.
IsStructureType
AndAlso Not structureType.IsEnumType AndAlso Not structureType.IsIntrinsicType Then
Emit\NamedTypeSymbolAdapter.vb (1)
350
Dim isStruct = AdaptedNamedTypeSymbol.
IsStructureType
()
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
670
(node.Arguments.Length = 0 AndAlso Not node.Type.
IsStructureType
() OrElse
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
226
Dim initialMe As TProxy = If(Me.Method.ContainingType.
IsStructureType
(),
Lowering\WithExpressionRewriter.vb (1)
304
Debug.Assert(value.Type.
IsStructureType
OrElse value.Type.IsTypeParameter)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1990
If Not Me.
IsStructureType
Then
3383
If Me.IsClassType() OrElse Me.
IsStructureType
() OrElse Me.IsInterfaceType() Then
3387
If Me.IsClassType() OrElse Me.
IsStructureType
() Then
3419
If(Me.
IsStructureType
(), "Structure", "Class"),
Symbols\Source\SourceMemberFieldSymbol.vb (1)
618
If container.
IsStructureType
AndAlso Not fieldSymbol.IsShared Then
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
522
If Not IsMustOverride AndAlso Not SourceEvent.IsWindowsRuntimeEvent AndAlso Not ContainingType.
IsStructureType
() AndAlso
Symbols\TypeSymbol.vb (1)
758
If Me.IsClassType() OrElse Me.
IsStructureType
() Then
Symbols\WellKnownMembers.vb (1)
88
Not attributeType.
IsStructureType
AndAlso