1 override of HasDeclaredType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceFieldSymbol.vb (1)
132
Friend Overrides ReadOnly Property
HasDeclaredType
As Boolean
4 references to HasDeclaredType
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Expressions.vb (1)
3504
If fieldSym.
HasDeclaredType
Then
Binding\Binder_Initializers.vb (3)
511
Dim fieldType = If(fieldSymbol.
HasDeclaredType
, fieldSymbol.Type, GetSpecialType(SpecialType.System_Object, asNewSyntax, BindingDiagnosticBag.Discarded)) ' prevent recursion if field type is inferred.
540
If fieldSymbol.
HasDeclaredType
Then
553
initValueDiagnostics.HasAnyErrors OrElse fieldSymbol.
HasDeclaredType
AndAlso Not targetType.IsValidTypeForConstField()