File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010using IronPython . Runtime . Exceptions ;
1111using IronPython . Runtime . Types ;
1212
13- using NotNullOnReturnAttribute = System . Diagnostics . CodeAnalysis . NotNullAttribute ;
1413using NotNullAttribute = Microsoft . Scripting . Runtime . NotNullAttribute ;
1514
1615[ assembly: PythonModule ( "audioop" , typeof ( IronPython . Modules . PythonAudioOp ) ) ]
1716namespace IronPython . Modules {
1817 public static class PythonAudioOp {
18+ #pragma warning disable IPY01 // Parameter which is marked not nullable does not have the NotNullAttribute
1919 [ SpecialName ]
20- public static void PerformModuleReload ( [ NotNullOnReturn ] PythonContext /*!*/ context , [ NotNullOnReturn ] PythonDictionary /*!*/ dict ) {
20+ public static void PerformModuleReload ( PythonContext /*!*/ context , PythonDictionary /*!*/ dict ) {
2121 context . EnsureModuleException ( "audiooperror" , dict , "error" , "audioop" ) ;
2222 }
23+ #pragma warning restore IPY01 // Parameter which is marked not nullable does not have the NotNullAttribute
2324
2425 private static PythonType error ( CodeContext /*!*/ context ) => ( PythonType ) context . LanguageContext . GetModuleState ( "audiooperror" ) ;
2526
You can’t perform that action at this time.
0 commit comments