UnityEditor.ShaderForgeInspector.ShowCompiledCodeButton C# (CSharp) Method

ShowCompiledCodeButton() private method

private ShowCompiledCodeButton ( Shader s ) : void
s UnityEngine.Shader
return void
        private void ShowCompiledCodeButton(Shader s)
        {
                EditorGUILayout.BeginHorizontal(new GUILayoutOption[0]);
                EditorGUILayout.PrefixLabel("Compiled code", EditorStyles.miniButton);
				bool flag = (bool)sutilHasShaderSnippets.Invoke( null, new object[] { s } ) || (bool)sutilHasSurfaceShaders.Invoke( null, new object[] { s } );
                if (flag)
                {
                        GUIContent showCurrent = Styles.showCurrent;
                        Rect rect = GUILayoutUtility.GetRect(showCurrent, EditorStyles.miniButton, new GUILayoutOption[]
                        {
                                GUILayout.ExpandWidth(false)
                        });
                        Rect position = new Rect(rect.xMax - 16f, rect.y, 16f, rect.height);
						bool mDown = (bool)editorGUIMouseButtonDown.Invoke( null, new object[] { position, GUIContent.none, FocusType.Passive, GUIStyle.none } );
						if( mDown /*EditorGUI.ButtonMouseDown(position, GUIContent.none, FocusType.Passive, GUIStyle.none)*/)
                        {
							Rect last = (Rect)guilayoutgroupGetLast.Invoke( guiLayoutUtilityTopLevel.GetValue( null, null ), null ); //GUILayoutUtility.topLevel.GetLast();
							PopupWindow.Show( last, (PopupWindowContent)newSipp.Invoke(null, new object[]{s}) );
                            GUIUtility.ExitGUI();
                        }
                        if (GUI.Button(rect, showCurrent, EditorStyles.miniButton))
                        {
							sutilOpenCompiledShader.Invoke( null, new object[] { s, sippCurrentMode.GetValue( null, null ), sippCurrentPlatformMask.GetValue( null, null ), (int)sippCurrentVariantStripping.GetValue( null, null ) == 0 } );
							//ShaderUtil.OpenCompiledShader( s, sippCurrentMode.GetValue( null, null ), sippCurrentPlatformMask.GetValue( null, null ), (int)sippCurrentVariantStripping.GetValue( null, null ) == 0 );
							GUIUtility.ExitGUI();
                        }
                }
                else
                {
                        GUILayout.Button("none (fixed function shader)", GUI.skin.label, new GUILayoutOption[0]);
                }
                EditorGUILayout.EndHorizontal();
        }
        private static void ShowSurfaceShaderButton(Shader s)