825 references to System_String
Aspire.Hosting.Analyzers (1)
ConfigurationSchemaGenerator (8)
ILLink.RoslynAnalyzer (6)
Microsoft.Analyzers.Extra (1)
Microsoft.AspNetCore.App.Analyzers (5)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (14)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.CodeAnalysis (167)
SpecialMembers.cs (59)
21(byte)SpecialType.System_String, // DeclaringTypeId
29(byte)SpecialType.System_String, // DeclaringTypeId
32(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
33(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
34(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
38(byte)SpecialType.System_String, // DeclaringTypeId
41(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
42(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
43(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
44(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
48(byte)SpecialType.System_String, // DeclaringTypeId
51(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
52(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
53(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
54(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
55(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
59(byte)SpecialType.System_String, // DeclaringTypeId
62(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
63(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
67(byte)SpecialType.System_String, // DeclaringTypeId
70(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
75(byte)SpecialType.System_String, // DeclaringTypeId
78(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
84(byte)SpecialType.System_String, // DeclaringTypeId
87(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
94(byte)SpecialType.System_String, // DeclaringTypeId
97(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
102(byte)SpecialType.System_String, // DeclaringTypeId
105(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
115(byte)SpecialType.System_String, // DeclaringTypeId
118(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
131(byte)SpecialType.System_String, // DeclaringTypeId
134(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
150(byte)SpecialType.System_String, // DeclaringTypeId
154(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
155(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
159(byte)SpecialType.System_String, // DeclaringTypeId
163(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
164(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
168(byte)SpecialType.System_String, // DeclaringTypeId
175(byte)SpecialType.System_String, // DeclaringTypeId
183(byte)SpecialType.System_String, // DeclaringTypeId
186(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
187(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
192(byte)SpecialType.System_String, // DeclaringTypeId
195(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
197(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
202(byte)SpecialType.System_String, // DeclaringTypeId
205(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
211(byte)SpecialType.System_String, // DeclaringTypeId
217(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
942(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1106(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1112(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1118(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1124(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1130(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1136(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
1142(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Field Signature
WellKnownMembers.cs (90)
322(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
361(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
369(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
503(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
518(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
525(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
627(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
662(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
686(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
725(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
726(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
913(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1222(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1262(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1280(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1303(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1331(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1347(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1355(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1363(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1371(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1379(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1387(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1395(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1403(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1411(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1419(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1427(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1435(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1443(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1451(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1459(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1466(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1474(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1482(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1490(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1498(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1506(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1514(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1522(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1530(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1538(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1546(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1554(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
1961(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1962(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1971(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1972(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1983(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1985(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
1998(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2000(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2012(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2014(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2025(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2027(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2040(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2050(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2060(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2090(byte)SignatureTypeCode.ByReference, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2093(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2124(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2125(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2215(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2232(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2233(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2240(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2248(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2249(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2264(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2265(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2272(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2280(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
2281(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2290(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2525(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2541(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2583(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
2929(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
3083(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Value
3201(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Value
3317(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
3814(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
3882(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Argument
3905(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
3935(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String, // Return Type
4005(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
4013(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
4042(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
4613(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_String,
Microsoft.CodeAnalysis.CodeStyle (11)
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (113)
Binder\Binder_InterpolatedString.cs (9)
41var stringType = GetSpecialType(SpecialType.System_String, diagnostics, node);
167var constantValue = ConstantValue.Create(text, SpecialType.System_String);
219Debug.Assert(unconvertedInterpolatedString.Type?.SpecialType == SpecialType.System_String);
245Debug.Assert(unconvertedInterpolatedString.Parts.All(static part => part.Type is null or { SpecialType: SpecialType.System_String }));
304fillin.Value.Type?.SpecialType != SpecialType.System_String ||
414expressions[0] = new BoundLiteral(syntax, ConstantValue.Create(formatString.ToStringAndFree()), GetSpecialType(Microsoft.CodeAnalysis.SpecialType.System_String, diagnostics, syntax)) { WasCompilerGenerated = true };
436=> parts.All(p => p is BoundLiteral or BoundStringInsert { Value.Type.SpecialType: SpecialType.System_String, Alignment: null, Format: null });
517var @string = GetSpecialType(SpecialType.System_String, diagnostics, rootSyntax);
887Debug.Assert(part is BoundLiteral { Type: { SpecialType: SpecialType.System_String }, ConstantValueOpt.IsString: true });
Binder\Binder_Invocation.cs (5)
1633defaultValue = new BoundLiteral(syntax, ConstantValue.Create(path), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true };
1638defaultValue = new BoundLiteral(syntax, ConstantValue.Create(memberName), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true };
1642&& Conversions.ClassifyBuiltInConversion(Compilation.GetSpecialType(SpecialType.System_String), parameterType, isChecked: false, ref discardedUseSiteInfo).Exists
1647defaultValue = new BoundLiteral(syntax, ConstantValue.Create(argument.Syntax.ToString()), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true };
2247return new BoundNameOfOperator(node, boundArgument, ConstantValue.Create(name), Compilation.GetSpecialType(SpecialType.System_String));
Symbols\Source\SourceNamedTypeSymbol.cs (7)
938string? name = attributeData.GetConstructorArgument<string>(0, SpecialType.System_String);
1032string? methodName = attributeData.GetConstructorArgument<string>(1, SpecialType.System_String);
1192string? methodName = attribute.CommonConstructorArguments[1].DecodeValue<string>(SpecialType.System_String);
1393string name = attribute.GetConstructorArgument<string>(0, SpecialType.System_String);
1693new TypedConstant(compilation.GetSpecialType(SpecialType.System_String), TypedConstantKind.Primitive, PEModule.ByRefLikeMarker), // message
1699ImmutableArray.Create(new TypedConstant(compilation.GetSpecialType(SpecialType.System_String), TypedConstantKind.Primitive, nameof(CompilerFeatureRequiredFeatures.RefStructs))),
1712var defaultMemberNameConstant = new TypedConstant(compilation.GetSpecialType(SpecialType.System_String), TypedConstantKind.Primitive, defaultMemberName);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (49)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (31)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (78)
Compilation\SemanticModelAPITests.cs (12)
708Assert.Equal(compilation.GetSpecialType(SpecialType.System_String), (info.Symbol as IArrayTypeSymbol).ElementType);
3745var stringType = comp.GetSpecialType(SpecialType.System_String);
4190Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[0]).Type.SpecialType);
4280Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[0]).Type.SpecialType);
4284Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[1]).Type.SpecialType);
4287Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[2]).Type.SpecialType);
4291Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[3]).Type.SpecialType);
4295Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[4]).Type.SpecialType);
4299Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[5]).Type.SpecialType);
4303Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[6]).Type.SpecialType);
4307Assert.Equal(SpecialType.System_String, model.GetTypeInfo(actual[7]).Type.SpecialType);
4504Assert.Equal(SpecialType.System_String, type.TupleElements[0].Type.SpecialType);
Symbols\IndexerTests.cs (11)
57CheckIndexer(type.Indexers.Single(), true, true, SpecialType.System_String, SpecialType.System_String);
63CheckIndexer(type.Indexers.Single(), true, false, SpecialType.System_Object, SpecialType.System_String);
131CheckIndexer(type.Indexers.Single(), true, true, SpecialType.System_Object, SpecialType.System_String);
134CheckIndexer(type.Indexers.Single(), true, false, SpecialType.System_Object, SpecialType.System_String);
137CheckIndexer(type.Indexers.Single(), true, true, SpecialType.System_Object, SpecialType.System_String);
142CheckIndexer(typeAProperties[0], true, true, SpecialType.System_Object, SpecialType.System_String);
143CheckIndexer(typeAProperties[1], true, false, SpecialType.System_Object, SpecialType.System_String);
144CheckIndexer(typeAProperties[2], true, true, SpecialType.System_Object, SpecialType.System_String);
147CheckIndexer(sourceType.Indexers.Single(), true, true, SpecialType.System_Object, SpecialType.System_String);
158CheckIndexer(sourceType.Indexers.Single(), true, true, SpecialType.System_Object, SpecialType.System_String);
Symbols\Source\PropertyTests.cs (14)
1884Assert.True(getters.Any(getter => getter.Parameters[0].Type.SpecialType == SpecialType.System_String));
1888getter.Parameters[1].Type.SpecialType == SpecialType.System_String));
2624Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2626Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
2642Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2644Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
2660Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2662Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
2678Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2680Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
2717Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2719Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
2735Assert.Equal(SpecialType.System_String, iap2.Type.SpecialType);
2737Assert.Equal(SpecialType.System_String, iam2.ReturnType.SpecialType);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.Features (20)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic (123)
Binding\Binder_Expressions.vb (5)
765Return New BoundNameOfOperator(node, argument, ConstantValue.Create(value), GetSpecialType(SpecialType.System_String, node, diagnostics))
3748GetSpecialType(SpecialType.System_String, node.Name, diagnostics))),
3767Dim arg = New BoundLiteral(name, ConstantValue.Create(node.Name.Identifier.ValueText), GetSpecialType(SpecialType.System_String, name, diagnostics))
3786Dim arg = New BoundLiteral(name, ConstantValue.Create(node.Name.Identifier.ValueText), GetSpecialType(SpecialType.System_String, name, diagnostics))
3829GetSpecialType(SpecialType.System_String, node.Name, diagnostics))),
Binding\Binder_XmlLiterals.vb (5)
292Dim prefixesType = CreateArrayType(GetSpecialType(SpecialType.System_String, syntax, diagnostics))
674memberAccess = BadExpression(syntax, ImmutableArray.Create(receiver, name), Compilation.GetSpecialType(SpecialType.System_String))
797Return BadExpression(syntax, Compilation.GetSpecialType(SpecialType.System_String))
903Dim result = BadExpression(syntax, Compilation.GetSpecialType(SpecialType.System_String))
1057Dim result = New BoundLiteral(syntax, ConstantValue.Create(str), GetSpecialType(SpecialType.System_String, syntax, diagnostics), hasErrors:=hasErrors)
Preprocessor\ExpressionEvaluator.vb (22)
39Const ___String = CType(SpecialType.System_String, Byte)
103Case SpecialType.System_String
342Case SpecialType.System_String
396Return SpecialType.System_String
417If specialType <> SpecialType.System_Object AndAlso specialType <> SpecialType.System_String Then
422value.SpecialType = SpecialType.System_String Then
449val.SpecialType = SpecialType.System_String Then
526specialType = SpecialType.System_String
630Case SpecialType.System_String
631Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, SpecialType.System_String.GetDisplayName(), SpecialType.System_Boolean.GetDisplayName())
676Case SpecialType.System_String
677Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, SpecialType.System_String.GetDisplayName(), toSpecialType.GetDisplayName())
718Case SpecialType.System_String
753Case SpecialType.System_String
784Case SpecialType.System_String
805If specialType = SpecialType.System_String Then
832Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr, specialType, SpecialType.System_String.GetDisplayName())
856If specialType = SpecialType.System_String OrElse
1023OperandType = SpecialType.System_String
1045OperandType = SpecialType.System_String
1077If ResultType = SpecialType.System_String Then
1491ElseIf left.SpecialType = SpecialType.System_String Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (25)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (30)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (22)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
Editing\SyntaxEditorTests.cs (4)
52editor.ReplaceNode(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public));
103editor.InsertAfter(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public));
130editor.InsertBefore(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public));
178editor.InsertAfter(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public));
Microsoft.DotNet.CodeAnalysis (1)
Microsoft.Extensions.Logging.Generators (2)
Microsoft.Extensions.Options.SourceGeneration (7)
Microsoft.Gen.Logging (2)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (4)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Mvc.Analyzers.Test (2)
Mvc.Api.Analyzers.Test (1)
System.Text.Json.SourceGeneration (4)