9 references to IsSymbolAccessibleWithin
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
507Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 582if (!IsSymbolAccessibleWithin(valueType, within: contextType) || 583(keyType != null && !IsSymbolAccessibleWithin(keyType, within: contextType))) 625else if (constructor != null && !IsSymbolAccessibleWithin(constructor, within: contextType)) 1178!IsSymbolAccessibleWithin(memberType, within: contextType)) 1374else if (IsSymbolAccessibleWithin(getMethod, within: contextType)) 1394else if (IsSymbolAccessibleWithin(setMethod, within: contextType)) 1422else if (IsSymbolAccessibleWithin(fieldInfo, within: contextType)) 1592!namedConverterType.Constructors.Any(c => c.Parameters.Length == 0 && IsSymbolAccessibleWithin(c, within: contextType)))