318 references to System_Byte
ConfigurationSchemaGenerator (2)
ILLink.RoslynAnalyzer (1)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Local (1)
Microsoft.CodeAnalysis (44)
WellKnownMembers.cs (15)
122(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Return Type
130(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Return Type
138(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Return Type
875(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
876(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
887(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
888(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
1362(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Return Type
1483(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
1578(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Return Type
3020(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Value
3138(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte, // Value
3256(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
3264(byte)SignatureTypeCode.SZArray, (byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
3272(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Byte,
Microsoft.CodeAnalysis.CodeStyle (18)
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp (58)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (8)
EditAndContinue\TopLevelEditingTests.cs (8)
6010SemanticEdit(SemanticEditKind.Delete, c => c.GetMembers("S.C.F2").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Byte))?.ISymbol, deletedSymbolContainerProvider: c => c.GetMember("S.C"))
7211semanticEdits: [SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IMethodSymbol>("C.F").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }]))]),
7236SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("C.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }])),
7237SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("C.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }]).GetMethod),
7238SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("C.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }]).SetMethod),
7431SemanticEdit(SemanticEditKind.Insert, c => c.GetMembers("S.F").FirstOrDefault(m => m.GetParameterTypes().Any(t => t.SpecialType == SpecialType.System_Byte))?.ISymbol)
20680SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }]).SetMethod),
20710SemanticEdit(SemanticEditKind.Update, c => c.GetMembers<IPropertySymbol>("S.this[]").Single(m => m.Parameters is [{ Type.SpecialType: SpecialType.System_Byte }]).SetMethod),
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (12)
22SpecialType.System_Byte,
38SpecialType.System_Byte,
49SpecialType.System_Byte,
57private static readonly ImmutableArray<SpecialType> s_uint16Conversions = [SpecialType.System_Byte, SpecialType.System_Char, SpecialType.System_SByte, SpecialType.System_Int16];
61SpecialType.System_Byte,
72SpecialType.System_Byte,
82SpecialType.System_Byte,
94SpecialType.System_Byte,
104private static readonly ImmutableArray<SpecialType> s_charConversions = [SpecialType.System_Byte, SpecialType.System_SByte, SpecialType.System_Int16];
108SpecialType.System_Byte,
122SpecialType.System_Byte,
214SpecialType.System_Byte => s_byteConversions,
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (53)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (5)
SymbolsTests\Source\EnumTests.vb (2)
110Dim fields = VerifyEnumsValue(text, "Suits", SpecialType.System_Byte, Nothing, CByte(2), Nothing)
137fields = VerifyEnumsValue(text, "Suits", SpecialType.System_Byte, Nothing, CByte(2), Nothing)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (22)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.SourceGeneration (4)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
System.Text.Json.SourceGeneration (4)