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