4 references to IsValidTypeForConstField
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Initializers.vb (1)
553
initValueDiagnostics.HasAnyErrors OrElse fieldSymbol.HasDeclaredType AndAlso Not targetType.
IsValidTypeForConstField
()
Binding\Binder_Statements.vb (1)
1234
If Not type.
IsValidTypeForConstField
() Then
Symbols\Source\SourceMemberFieldSymbol.vb (2)
112
If Not varType.
IsValidTypeForConstField
() Then
258
If Not constantType.
IsValidTypeForConstField
() Then