9 references to IsSymbolAccessibleWithin
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
573Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 651if (!IsSymbolAccessibleWithin(valueType, within: contextType) || 652(keyType != null && !IsSymbolAccessibleWithin(keyType, within: contextType))) 695constructorIsInaccessible = constructor is not null && !IsSymbolAccessibleWithin(constructor, within: contextType); 1340!IsSymbolAccessibleWithin(memberType, within: contextType)) 1576else if (IsSymbolAccessibleWithin(getMethod, within: contextType)) 1596else if (IsSymbolAccessibleWithin(setMethod, within: contextType)) 1624else if (IsSymbolAccessibleWithin(fieldInfo, within: contextType)) 1834!namedConverterType.Constructors.Any(c => c.Parameters.Length == 0 && IsSymbolAccessibleWithin(c, within: contextType)))