9 references to IsSymbolAccessibleWithin
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
564Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 639if (!IsSymbolAccessibleWithin(valueType, within: contextType) || 640(keyType != null && !IsSymbolAccessibleWithin(keyType, within: contextType))) 682else if (constructor != null && !IsSymbolAccessibleWithin(constructor, within: contextType)) 1265!IsSymbolAccessibleWithin(memberType, within: contextType)) 1461else if (IsSymbolAccessibleWithin(getMethod, within: contextType)) 1481else if (IsSymbolAccessibleWithin(setMethod, within: contextType)) 1509else if (IsSymbolAccessibleWithin(fieldInfo, within: contextType)) 1679!namedConverterType.Constructors.Any(c => c.Parameters.Length == 0 && IsSymbolAccessibleWithin(c, within: contextType)))