9 references to IsSymbolAccessibleWithin
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
501Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 576if (!IsSymbolAccessibleWithin(valueType, within: contextType) || 577(keyType != null && !IsSymbolAccessibleWithin(keyType, within: contextType))) 619else if (constructor != null && !IsSymbolAccessibleWithin(constructor, within: contextType)) 1172!IsSymbolAccessibleWithin(memberType, within: contextType)) 1368else if (IsSymbolAccessibleWithin(getMethod, within: contextType)) 1388else if (IsSymbolAccessibleWithin(setMethod, within: contextType)) 1416else if (IsSymbolAccessibleWithin(fieldInfo, within: contextType)) 1581!namedConverterType.Constructors.Any(c => c.Parameters.Length == 0 && IsSymbolAccessibleWithin(c, within: contextType)))