12 references to IsDefault
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (1)
38
internal bool IsType => !_typeWithAnnotations.
IsDefault
;
Binder\ExecutableCodeBinder.cs (1)
139
if (elementType.
IsDefault
)
Binder\InMethodBinder.cs (1)
139
return !elementType.
IsDefault
? elementType : TypeWithAnnotations.Create(CreateErrorType());
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1467
if (returnType.
IsDefault
|| returnType.IsVoidType())
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
60
if (elementType.
IsDefault
|| method.IsAsync)
Symbols\Metadata\PE\DynamicTypeDecoder.cs (2)
355
if (transformedReturnWithAnnotations.
IsDefault
)
370
if (transformedParamType.
IsDefault
)
Symbols\SignatureOnlyMethodSymbol.cs (1)
48
Debug.Assert(returnType.
IsDefault
|| isInitOnly == CustomModifierUtils.HasIsExternalInitModifier(returnType.CustomModifiers));
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
31
if (elementType.
IsDefault
)
Symbols\Source\SourceEventAccessorSymbol.cs (3)
106
if (_lazyReturnType.
IsDefault
)
155
Debug.Assert(!_lazyReturnType.
IsDefault
);
165
Debug.Assert(!_lazyReturnType.
IsDefault
);