50 references to IsString
ILCompiler.Compiler (21)
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
269
if (type.UnderlyingType.IsPrimitive || type.
IsString
|| value == null)
275
if (elementType.UnderlyingType.IsPrimitive || elementType.
IsString
)
Compiler\DependencyAnalysis\EETypeNode.cs (2)
784
if (_type.IsArray || _type.
IsString
)
800
else if (_type.
IsString
)
Compiler\DependencyAnalysis\StringAllocatorMethodNode.cs (1)
38
Debug.Assert(constructorMethod.IsConstructor && constructorMethod.OwningType.
IsString
);
Compiler\Logging\MessageContainer.cs (2)
209
if (!attribute.FixedArguments[0].Type.
IsString
213
if (!attribute.FixedArguments[1].Type.
IsString
)
Compiler\MetadataManager.cs (1)
435
if (owningType.
IsString
)
Compiler\UsageBasedMetadataManager.cs (2)
384
if (!attribute.FixedArguments[0].Type.
IsString
388
if (!attribute.FixedArguments[1].Type.
IsString
)
IL\ILImporter.Scanner.cs (2)
614
if (owningType.
IsString
)
904
if (targetMethod.IsConstructor && targetMethod.OwningType.
IsString
)
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
349
else if (t.
IsString
)
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (2)
59
if (type.IsArray || type.
IsString
)
172
if (type.
IsString
)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (1)
97
if (type.
IsString
&& flavor.SequenceEqual("EqualityComparer"u8))
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (1)
78
Debug.Assert(_helperMethod.Signature[1].
IsString
);
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
548
else if (type.
IsString
)
834
else if (elementType.
IsString
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
291
if (parameterType.IsValueType || parameterType.
IsString
|| parameterType.IsPointer || parameterType.IsFunctionPointer)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
446
else if (type.
IsString
)
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
98
if (type.
IsString
)
ILCompiler.ReadyToRun (18)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (1)
130
methodIsStringConstructor: method.OwningType.
IsString
&& method.IsConstructor,
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (1)
294
if (typeDesc.
IsString
)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
58
if (type.IsPrimitive || type.
IsString
|| type.IsObject || type.IsWellKnownType(WellKnownType.TypedReference))
Compiler\ExternalReferenceTokenManager.cs (1)
153
if (type.IsPrimitive || type.IsVoid || type.IsObject || type.
IsString
|| type.IsTypedReference)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (4)
827
if (type.IsPrimitive || type.IsVoid || type.IsObject || type.
IsString
|| type.IsTypedReference)
900
if (instType.IsPrimitive || instType.IsObject || instType.
IsString
)
923
Debug.Assert(instType.
IsString
|| instType.IsObject);
927
if (instType.
IsString
&& genericParam.HasDefaultConstructorConstraint)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2727
if (typeDefinition.IsPrimitive || typeDefinition.IsVoid || typeDefinition.
IsString
|| typeDefinition.IsObject
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
349
else if (t.
IsString
)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
2313
if (type.IsArray || type.
IsString
)
2436
Debug.Assert(!type.
IsString
);
3432
else if (owningType.
IsString
&& field.Name == "Empty"u8)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (1)
97
if (type.
IsString
&& flavor.SequenceEqual("EqualityComparer"u8))
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
548
else if (type.
IsString
)
834
else if (elementType.
IsString
)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
291
if (parameterType.IsValueType || parameterType.
IsString
|| parameterType.IsPointer || parameterType.IsFunctionPointer)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
446
else if (type.
IsString
)
ILCompiler.RyuJit (5)
JitInterface\CorInfoImpl.RyuJit.cs (2)
1135
Debug.Assert(!type.
IsString
&& !type.IsArray && !type.IsCanonicalDefinitionType(CanonicalFormKind.Any));
1495
if (owningType.
IsString
&& targetMethod.IsConstructor)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
2313
if (type.IsArray || type.
IsString
)
2436
Debug.Assert(!type.
IsString
);
3432
else if (owningType.
IsString
&& field.Name == "Empty"u8)
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\Utilities\CSharpTypeNameFormatter.cs (1)
190
_ when type.
IsString
=> "string",
parent\parent\Common\TypeSystem\Common\Utilities\DebugNameFormatter.cs (1)
155
if (type.
IsString
)
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (3)
74
if (type.IsPrimitive || type.
IsString
|| type.IsObject)
451
&& !type.
IsString
)
591
if (type.
IsString
)