15 references to TypeInternal
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Attributes.cs (1)
729!((TypeSymbol)reorderedArgument.TypeInternal!).Equals(parameter.Type, TypeCompareKind.AllIgnoreOptions))
Compiler\ClsComplianceChecker.cs (2)
605if (argument.TypeInternal.TypeKind == TypeKind.Array) 621if (argument.TypeInternal.TypeKind == TypeKind.Array)
Emitter\Model\AttributeDataAdapter.cs (4)
103return CreateMetadataConstant(argument.TypeInternal, null, context); 115return CreateMetadataConstant(argument.TypeInternal, argument.ValueInternal, context); 123var arrayType = ((PEModuleBuilder)context.Module).Translate((ArrayTypeSymbol)argument.TypeInternal); 150moduleBeingBuilt.Translate((TypeSymbol)argument.TypeInternal, syntaxNodeOpt, diagnostics));
Symbols\Attributes\AttributeData.cs (1)
367var firstArgType = (TypeSymbol?)firstArg.TypeInternal;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1223TypeSymbol oldConstantType = (TypeSymbol)oldConstant.TypeInternal;
Symbols\Source\SourceComplexParameterSymbol.cs (5)
978((NamedTypeSymbol)arg.TypeInternal).EnumUnderlyingType.SpecialType : 979arg.TypeInternal.SpecialType; 1007diagnosticsOpt.Add(ErrorCode.ERR_DefaultValueBadValueType, node.Name.Location, arg.TypeInternal); 1012else if (!compilation.Conversions.ClassifyConversionFromType((TypeSymbol)arg.TypeInternal, this.Type, isChecked: false, ref useSiteInfo).Kind.IsImplicitConversion()) 1331if (constant.TypeInternal is not { SpecialType: SpecialType.System_String })
Symbols\TypedConstantExtensions.cs (1)
30if (constant.Kind == TypedConstantKind.Type || constant.TypeInternal!.SpecialType == SpecialType.System_Object)