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)
605
if (argument.
TypeInternal
.TypeKind == TypeKind.Array)
621
if (argument.
TypeInternal
.TypeKind == TypeKind.Array)
Emitter\Model\AttributeDataAdapter.cs (4)
103
return CreateMetadataConstant(argument.
TypeInternal
, null, context);
115
return CreateMetadataConstant(argument.
TypeInternal
, argument.ValueInternal, context);
123
var arrayType = ((PEModuleBuilder)context.Module).Translate((ArrayTypeSymbol)argument.
TypeInternal
);
150
moduleBeingBuilt.Translate((TypeSymbol)argument.
TypeInternal
, syntaxNodeOpt, diagnostics));
Symbols\Attributes\AttributeData.cs (1)
367
var firstArgType = (TypeSymbol?)firstArg.
TypeInternal
;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1223
TypeSymbol oldConstantType = (TypeSymbol)oldConstant.
TypeInternal
;
Symbols\Source\SourceComplexParameterSymbol.cs (5)
978
((NamedTypeSymbol)arg.
TypeInternal
).EnumUnderlyingType.SpecialType :
979
arg.
TypeInternal
.SpecialType;
1007
diagnosticsOpt.Add(ErrorCode.ERR_DefaultValueBadValueType, node.Name.Location, arg.
TypeInternal
);
1012
else if (!compilation.Conversions.ClassifyConversionFromType((TypeSymbol)arg.
TypeInternal
, this.Type, isChecked: false, ref useSiteInfo).Kind.IsImplicitConversion())
1331
if (constant.
TypeInternal
is not { SpecialType: SpecialType.System_String })
Symbols\TypedConstantExtensions.cs (1)
30
if (constant.Kind == TypedConstantKind.Type || constant.
TypeInternal
!.SpecialType == SpecialType.System_Object)